CN109218966B - Position determination method, device, terminal and storage medium - Google Patents

Position determination method, device, terminal and storage medium Download PDF

Info

Publication number
CN109218966B
CN109218966B CN201811143309.0A CN201811143309A CN109218966B CN 109218966 B CN109218966 B CN 109218966B CN 201811143309 A CN201811143309 A CN 201811143309A CN 109218966 B CN109218966 B CN 109218966B
Authority
CN
China
Prior art keywords
information
terminal
scanning
wireless connection
parking lot
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.)
Active
Application number
CN201811143309.0A
Other languages
Chinese (zh)
Other versions
CN109218966A (en
Inventor
刘齐虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811143309.0A priority Critical patent/CN109218966B/en
Publication of CN109218966A publication Critical patent/CN109218966A/en
Application granted granted Critical
Publication of CN109218966B publication Critical patent/CN109218966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating 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 application provides a position determining method, a position determining device, a terminal and a storage medium. The method comprises the following steps: acquiring position characteristic information; detecting whether the position characteristic information meets a preset condition or not; and if the position characteristic information meets the preset condition, determining that the vehicle is in the parking lot. In the embodiment of the application, the wireless connection scanning information and the positioning information are acquired, whether the terminal is in the parking lot is judged according to the acquired wireless connection scanning information and the acquired positioning information, and the follow-up terminal can display the payment entrance of the parking fee according to the judgment result, so that the user can finish payment of the parking fee on the terminal, the user is prevented from parking at the exit of the parking lot and carrying out manual payment.

Description

Position determination method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a position determining method, a position determining device, a terminal and a storage medium.
Background
When the car owned by the user is temporarily parked in the parking lot, the user needs to pay the parking fee to the parking lot manager.
In order to enable the user to complete the payment of the parking fee more conveniently, the user can complete the advance payment of the parking fee on the terminal carried by the user. The premise of realizing the payment mode is to judge whether the user is in the parking lot and further determine the time for the user to leave the parking lot.
Disclosure of Invention
The embodiment of the application provides a position determining method, a position determining device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for determining a location, where the method includes:
acquiring position characteristic information of a terminal, wherein the position characteristic information comprises n wireless connection scanning information and/or m positioning information, n is an integer greater than 1, and m is an integer greater than 1;
detecting whether the position characteristic information meets a preset condition or not;
and if the position characteristic information meets the preset condition, determining that the terminal is positioned in the parking lot.
In another aspect, an embodiment of the present application provides a position determination apparatus, where the apparatus includes:
the information acquisition module is used for acquiring position characteristic information of a terminal, wherein the position characteristic information comprises n wireless connection scanning information and/or m positioning information, n is an integer larger than 1, and m is an integer larger than 1;
the condition detection module is used for detecting whether the position characteristic information meets a preset condition or not;
and the position determining module is used for determining that the terminal is positioned in the parking lot if the position characteristic information meets the preset condition.
In still another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the position determining method in the foregoing aspect.
In still another aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the position determination method according to the above aspect.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
through acquiring the wireless connection scanning information and the positioning information, whether the parking lot is located is judged according to the acquired wireless connection scanning information and the acquired positioning information, and the follow-up terminal can display the payment inlet of the parking fee according to the judgment result, so that the user can complete payment of the parking fee on the terminal, the user is prevented from parking at the exit of the parking lot and carrying out manual payment.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
FIG. 2 is a flow chart of a method of position determination provided by one embodiment of the present application;
FIG. 3 is a flow chart of a method of position determination provided by one embodiment of the present application;
FIG. 4 is a schematic illustration of an interface for a payment portal displaying a parking fee according to one embodiment of the present application;
FIG. 5 is a block diagram of a position determination device provided in one embodiment of the present application;
fig. 6 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment includes: a terminal 11 and a parking lot management device 12.
The terminal 11 has a function of judging whether or not it is in the parking lot. Alternatively, the terminal 11 is installed with an entry service application program, and the entry service application program implements a function of determining whether or not it is in a parking lot. Optionally, the terminal 11 also has a payment function. In the embodiment of the present application, the terminal 11 realizes payment of the parking fee through the payment function. Optionally, the terminal 11 further stores a binding relationship between the terminal 11 and the vehicle information. For example, the terminal 11 stores a correspondence relationship between the terminal 11 and the license plate number of an automobile owned by the terminal user.
The parking lot management device 12 is used to implement a function of data interaction with the terminal 11. For example, the parking lot management device 12 sends payment information (e.g., parking time, parking amount, and payment code) of the vehicle corresponding to the terminal user to the terminal 11; for another example, the parking lot management device 12 receives the payment completion notification transmitted by the terminal 11. Optionally, the parking lot management device 12 also has a license plate recognition function, and a parking lever control function. For example, the parking lot management device 12 controls the parking lever to be raised so that the vehicle passes through when recognizing that the vehicle corresponding to the end user is about to pass through the exit of the parking lot.
The terminal 11 and the parking lot management device 12 are connected by a wired or wireless network.
Optionally, the implementation environment further comprises a server. The server may be a backend server corresponding to the approach service application. The server may be a server, a server cluster, or a cloud computing service center. The server is used for providing the terminal 11 with the corresponding relation between the parking lot in the area where the terminal 11 is located and the parking lot management device 12, the corresponding relation between the parking lot in the area where the terminal 11 is located and the designated geographic position, and the corresponding relation between the parking lot in the area where the terminal 11 is located and the designated wireless connection. The terminal 11 and the server are connected through a wired or wireless network.
Referring to fig. 2, a flowchart of a position determination method according to an embodiment of the present application is shown. The method can be applied in a terminal implementing the environment shown in fig. 1. The method may include several steps as follows.
Step 201, obtaining the position characteristic information of the terminal.
In the embodiment of the application, the position characteristic information is a judgment basis for judging whether the terminal is in the parking lot. The position characteristic information comprises n wireless connection scanning information and/or m positioning information, wherein n is an integer larger than 1, and m is an integer larger than 1.
The p-th wireless connection scanning information in the n pieces of wireless connection scanning information is used for representing the scanning result of the p-th scanning process, and p is a positive integer less than or equal to n. The terminal has a WLAN function, which is a function that allows the terminal to connect to a network through a wireless connection. When the WLAN function of the terminal is in an open state, the terminal scans whether wireless connection exists in the current environment at preset time intervals. The preset time may be set according to experiments, and is not limited in the embodiment of the present application. The terminal can acquire one wireless connection scanning message in each scanning process, and the wireless connection scanning message comprises a scanning result corresponding to the scanning process. The scanning result can be used for indicating the scanned wireless connection, the scanned wireless connection refers to the wireless connection allowing the terminal to connect, and the scanning result can also be used for indicating that the wireless connection is not scanned. In the embodiment of the application, the terminal executes the scanning process n times to obtain n pieces of wireless connection scanning information.
And the qth positioning information in the m positioning information is used for representing the positioning result of the qth positioning process, and q is a positive integer less than or equal to m. The terminal is provided with a GPS module, and when the GPS function corresponding to the GPS module is in an open state, the terminal positions the current position of the terminal at preset time intervals. The preset time may be set according to experiments, and is not limited in the embodiment of the present application. The terminal can obtain a piece of positioning information in each positioning process, and the positioning information comprises a positioning result corresponding to the positioning process. The positioning result can be used for representing the geographical position information of the terminal, such as longitude and latitude information; the location information may also be used to indicate that geographic location information cannot be located. In the embodiment of the application, the terminal executes m positioning processes to obtain m positioning information.
Step 202, detecting whether the position characteristic information meets a preset condition.
On the one hand, because the parking area is in the place that is spacious relatively usually, in the parking area, wireless connection can't be scanned to the terminal usually, and the terminal can acquire wireless connection scanning information according to this characteristic to whether accord with the preset condition according to wireless connection scanning information and judge whether to be in the parking area. On the other hand, because the parking lot may be located in a relatively closed space, such as underground or indoor, at this time, in the parking lot, the terminal cannot accurately locate the current geographic position generally, and the terminal can acquire the positioning information according to the characteristics and judge whether the terminal is located in the parking lot according to whether the positioning information meets the preset conditions.
Optionally, the terminal performs the step of detecting whether the position characteristic information meets a preset condition when the terminal is located at a geographic position on a periphery side of a parking lot (e.g., an entrance of the parking lot). By the method, the terminal can be prevented from continuing the judging step, so that the power consumption of the terminal is saved. Optionally, the process may be implemented as: acquiring geographical position information of a terminal; detecting whether a parking lot corresponding to the geographical position information exists; and if the parking lot corresponding to the geographic position information exists, executing a step of detecting whether the position characteristic information meets a preset condition.
The geographical position information of the terminal is used for indicating the geographical position of the terminal. The geographical location information of the terminal may be represented by longitude and latitude of the geographical location where the terminal is located. Optionally, the terminal stores a corresponding relationship between a parking lot in an area where the terminal is located and the geographic position information, where the geographic position information may be a geographic position corresponding to an entrance of the parking lot, and the terminal may search for whether the parking lot corresponding to the geographic position information of the terminal exists from the corresponding relationship. The area where the terminal is located is actually determined according to the geographic location where the terminal is located, and may be a city, a district, a county, and the like. The correspondence may be obtained in advance by the terminal from the server.
Optionally, after detecting that the vehicle information bound to the terminal exists, the terminal performs a subsequent step of detecting whether the position feature information meets a preset condition. The vehicle information is used to indicate an identification of the vehicle, such as a license plate number, owned by the end user. By the method, the terminal can be prevented from still executing subsequent judging steps when the user does not need to pay for parking, and the power consumption of the terminal can be saved. It should be noted that the terminal stores a binding relationship between the terminal and the vehicle information, and the binding relationship is preset by the user.
In a possible implementation manner, the terminal may further detect whether the vehicle information bound to the terminal exists, and if the vehicle information bound to the terminal exists, obtain the geographical location information of the terminal; detecting whether a parking lot corresponding to the geographical position information exists; and if the parking lot corresponding to the geographic position information exists, executing a step of detecting whether the position characteristic information meets a preset condition. In another possible implementation manner, the terminal acquires geographical location information of the terminal; detecting whether a parking lot corresponding to the geographical position information exists; and if the parking lot corresponding to the geographic position information exists, detecting whether the vehicle information bound with the terminal exists, and if the vehicle information bound with the terminal exists, executing a step of detecting whether the position characteristic information meets a preset condition.
And step 203, if the position characteristic information meets the preset condition, determining that the terminal is in the parking lot.
And if the position characteristic information does not meet the preset condition, determining that the terminal is not positioned in the parking lot.
Optionally, before determining that the terminal is in the parking lot, the position determination method may further include the steps of: acquiring the moving distance of the terminal within a preset time length; if the moving distance of the terminal in the preset time length is greater than the preset distance, determining that the terminal is in the parking lot; and if the moving distance of the terminal in the preset time length is smaller than the preset distance, determining that the terminal is not in the parking lot.
The preset time length and the preset distance can be set according to actual requirements, and the embodiment of the application is not limited to this. Since the terminal is usually carried by the user, the moving distance of the terminal can be used to measure the moving distance of the user. Optionally, one or more of the following sensors are installed in the terminal: acceleration sensor, gyroscope, gravity sensor. And the terminal acquires the moving distance within the preset time length through the sensor.
When the terminal user needs to drive to leave the parking lot, the terminal user can normally and directly walk to the position near the automobile owned by the terminal user from the entrance of the parking lot, the terminal user is always in a walking state in the process, and the moving distance of the terminal pipe is continuously increased, so that whether the terminal user is in a walking state or a staying state can be judged according to the size relation between the moving distance of the terminal in the preset time length and the preset distance, and whether the terminal user needs to drive to leave the parking lot is further judged.
To sum up, the technical scheme provided by the embodiment of the application judges whether the parking lot is located according to the wireless connection scanning information and the positioning information obtained by the wireless connection scanning information and the positioning information, and the follow-up terminal can display the payment entrance of the parking fee according to the judgment result, so that the user can complete payment of the parking fee on the terminal, and the user is prevented from parking at the exit of the parking lot and carrying out manual payment.
In the above embodiment, it is described that the position feature information includes n pieces of wireless connection scanning information, and a case of determining whether or not the parking lot is present based on the wireless connection scanning information will be described below. In an alternative embodiment provided based on the embodiment shown in fig. 2, step 202 may include the following sub-steps:
step 202a, detecting whether the first scanning information and the second scanning information exist in the n wireless connection scanning information.
The first scanning information is wireless connection scanning information for scanning to a designated wireless connection. The designated wireless connection is a wireless connection corresponding to the entrance of the parking lot. The specified wireless connection may be a wireless connection corresponding to a routing device whose distance to the parking lot entrance is smaller than a preset distance, and the preset distance may be set according to an actual requirement, which is not limited in the embodiment of the present application. When the wireless connection scanning information scanned by the terminal includes the designated wireless connection, it indicates that the distance between the terminal and the entrance of the parking lot is short, that is, the terminal user may enter the parking lot.
Optionally, the terminal stores a corresponding relationship between a parking lot in an area where the terminal is located and a designated wireless connection, and when the terminal acquires wireless connection scanning information, the terminal detects whether a wireless connection included in the wireless connection scanning information exists in the corresponding relationship, and if so, the wireless connection scanning information is first scanning information; if not, the wireless connection scanning information is not the first scanning information. In addition, the correspondence relationship may be obtained by the terminal and the server.
The second scanning information refers to wireless connection scanning information that is not scanned for wireless connections. When the terminal acquires the wireless connection scanning information, if the wireless connection scanning information is detected not to include any wireless connection, the wireless connection scanning information is second scanning information; and if the wireless connection scanning information is detected to comprise wireless connection, the wireless connection scanning information is not the second scanning information.
Step 202b, if the n pieces of wireless connection scanning information include first scanning information and second scanning information, and the scanning timestamp corresponding to the first scanning information is before the scanning timestamp corresponding to the second scanning information, determining that the position characteristic information meets the preset condition.
The scanning time stamp corresponding to the first scanning information is the time when the designated wireless connection is scanned. The scanning timestamp corresponding to the second scanning information refers to the time when the wireless connection is not scanned. The terminal determines the occurrence sequence of the two conditions of the terminal by comparing the scanning time stamp of the first scanning information with the scanning time stamp corresponding to the second scanning information, and then judges whether the user is close to the parking lot or far away from the parking lot. If the user is close to the parking lot, whether the user is in the parking lot is judged according to whether the wireless connection is scanned.
When the n pieces of wireless connection scanning information comprise first scanning information and second scanning information and the scanning timestamp corresponding to the first scanning information is before the scanning timestamp corresponding to the second scanning information, the fact that the user is close to the parking lot can be judged, and in addition, the fact that the terminal cannot scan the wireless connection, the fact that the user is located in the parking lot can be judged; when the n pieces of wireless connection scanning information have the first scanning information and the second scanning information and the scanning timestamp corresponding to the first scanning information is behind the scanning timestamp corresponding to the second scanning information, it can be judged that the user is far away from the parking lot, that is, not in the parking lot.
Optionally, before determining that the terminal is located in the parking lot, the terminal may further detect whether the first continuously acquired number of the second scanning information is greater than a first preset number.
The first continuous acquisition number is used to indicate the number of second scanning information continuously acquired by the terminal. The first preset number may be actually determined according to a time interval between two adjacent scanning processes and a time interval between when the user enters the parking lot and when the user drives the vehicle to leave the parking lot, which is not limited in the embodiment of the present application. Illustratively, the first predetermined number is 5. When the terminal does not scan the wireless connection in the continuous scanning process for several times, the terminal can be judged to be always in the parking lot, and the condition that the user passes through the parking lot instead of driving to leave can be avoided being judged by mistake.
If the first continuous acquisition quantity is larger than a first preset quantity, determining that the position characteristic information meets a preset condition; and if the first continuous quantity is less than or equal to the first preset quantity, determining that the position characteristic information does not accord with the preset condition.
In the above embodiment, it is described that the position feature information includes m pieces of positioning information, and a case of determining whether the vehicle is in the parking lot based on the positioning information will be described below. In an alternative embodiment provided based on the embodiment shown in fig. 2, step 202 may include the following sub-steps:
step 202c, detecting whether the first positioning information and the second positioning information exist in the m positioning information.
The first positioning information is positioning information positioned to a designated geographic position, and the designated geographic position is a geographic position corresponding to the entrance of the parking lot. The designated geographic location may be a geographic location within an area centered on the parking lot entrance and having an area of a predetermined area. The preset area can be set according to actual requirements, and the embodiment of the application does not limit the preset area. When the positioning information located by the terminal includes the designated geographic position, it indicates that the distance between the terminal and the entrance of the parking lot is short, that is, the terminal user may enter the parking lot.
Optionally, the terminal stores a corresponding relationship between a parking lot in an area where the terminal is located and a designated geographic position, and when the terminal acquires the positioning information, the terminal detects whether the geographic position included in the positioning information exists in the corresponding relationship, and if so, the positioning information is first positioning information; if not, the positioning information is not the first positioning information. In addition, the correspondence relationship may be obtained by the terminal and the server.
The second positioning information is positioning information that cannot position the geographic location. When the terminal acquires the positioning information, if the terminal detects that the positioning information does not carry the geographic position, the positioning information is second positioning information; and if the geographic position carried in the positioning information is detected, the positioning information is not second positioning information.
Step 202d, if the first positioning information and the second positioning information exist in the m pieces of positioning information, and the positioning timestamp corresponding to the first positioning information is before the positioning timestamp corresponding to the second positioning information, determining that the position characteristic information meets the preset condition.
The positioning timestamp corresponding to the first positioning information is the time when the specified geographical position is located. The positioning timestamp corresponding to the second positioning information is the time when the geographic position cannot be positioned. The terminal determines the occurrence sequence of the two situations of the terminal by comparing the positioning time stamp of the first positioning information with the positioning time stamp corresponding to the second positioning information, and then judges whether the user is close to the parking lot or far away from the parking lot. If the user is close to the parking lot, whether the user is in the parking lot is judged according to whether the geographic position cannot be located.
When the m pieces of positioning information comprise first positioning information and second positioning information and the positioning timestamp corresponding to the first positioning information is before the positioning timestamp corresponding to the second positioning information, the fact that the user is close to the parking lot can be judged, and in addition, the fact that the terminal cannot position the geographic position can be judged to be located in the parking lot; when there are first locating information and second locating information in m locating information, and the location timestamp that first locating information corresponds is after the location timestamp that second locating information corresponds, then can judge that the user is keeping away from the parking area, also do not be in the parking area.
Optionally, before determining that the vehicle is in the parking lot, the terminal may further detect whether a second number of consecutive acquisitions of the second positioning information is greater than a second preset number.
The second consecutive acquisition number is used to indicate the number of second positioning information consecutively acquired by the terminal. The second preset number may be actually determined according to a time interval between two adjacent positioning processes and a time interval between when the user enters the parking lot and when the user drives the vehicle to leave the parking lot, which is not limited in the embodiment of the present application. Illustratively, the second preset number is 5. When the terminal is not located to the geographic position in the continuous positioning process for several times, the terminal can be judged to be always in the parking lot, and the condition that the user passes through the parking lot instead of driving to leave can be avoided being judged by mistake.
If the second continuous acquisition quantity is larger than a second preset quantity, determining that the position characteristic information meets the preset condition; and if the first continuous quantity is less than or equal to the second preset quantity, determining that the position characteristic information does not accord with the preset condition.
Referring to fig. 3, a flowchart of a position determination method according to an embodiment of the present application is shown. The method can be applied to the terminal in the implementation environment shown in fig. 1, and the method can include the following steps:
step 301, obtaining the position characteristic information of the terminal.
The location characteristic information includes n wireless connection scan information and/or m positioning information. N is an integer greater than 1, and m is an integer greater than 1.
Step 302, detecting whether the first scanning information and the second scanning information exist in the n wireless connection scanning information.
The first scanning information is wireless connection scanning information which is scanned to appointed wireless connection, and the appointed wireless connection is wireless connection corresponding to the entrance of the parking lot. The second scanning information refers to wireless connection scanning information that is not scanned for wireless connections.
Step 303, if there are first scanning information and second scanning information in the n pieces of wireless connection scanning information and the scanning timestamp corresponding to the first scanning information is before the scanning timestamp corresponding to the second scanning information, detecting whether there are first positioning information and second positioning information in the m pieces of positioning information.
The first positioning information is positioning information positioned to a designated geographic position, and the designated geographic position is a geographic position corresponding to the entrance of the parking lot. The second positioning information is positioning information that cannot position the geographic location.
Step 304, if there are the first positioning information and the second positioning information in the m positioning information, and the positioning timestamp corresponding to the first positioning information is before the positioning timestamp corresponding to the second positioning information, determining that the position feature information meets the preset condition.
It should be noted that, steps 302 to 303 may alternatively be implemented as: detecting whether first positioning information and second positioning information exist in the m pieces of positioning information; if the m pieces of positioning information comprise first positioning information and second positioning information and a positioning time stamp corresponding to the first positioning information is before a positioning time stamp corresponding to the second positioning information, detecting whether the n pieces of wireless connection scanning information comprise first scanning information and second scanning information; and if the n pieces of wireless connection scanning information comprise first scanning information and second scanning information and the scanning timestamp corresponding to the first scanning information is before the scanning timestamp corresponding to the second scanning information, determining that the position characteristic information meets the preset condition.
Step 305, determining that the terminal is in a parking lot.
And step 306, detecting whether the terminal establishes Bluetooth connection with the appointed vehicle.
The designated vehicle machine refers to a vehicle machine installed on a vehicle corresponding to the terminal user. When a terminal user enters the automobile and starts the automobile, the automobile machine on the automobile is usually started, and at the moment, if the Bluetooth function in the terminal is in an open state, the Bluetooth function in the automobile machine is also in an open state, and the Bluetooth function and the automobile machine can establish Bluetooth connection. Therefore, the terminal can judge whether the terminal user enters the automobile and starts the automobile by judging whether the terminal establishes the Bluetooth connection with the vehicle machine or not, and further judge whether the vehicle is about to be driven to leave the parking lot or not.
And 307, if the terminal is connected with the vehicle machine through the Bluetooth, displaying a payment entrance of the parking fee.
The payment entrance is used for triggering the payment process of completing the parking fee. Optionally, the terminal displays a payment entrance for the parking fee on minus one screen. The negative screen refers to a quick display page in the terminal, and is generally used for displaying various reminding cards, such as weather, schedule, application recommendation, reminding items and the like. In the embodiment of the application, the terminal displays the payment entrance of the parking fee on a negative screen, and the user can trigger the payment entrance to finish the payment process of the parking fee. Referring collectively to fig. 4, a schematic diagram of an interface for displaying a payment portal on a negative screen is shown, according to an embodiment of the present application. The terminal displays a payment entrance 42 for the parking fee on the minus one screen 41.
Optionally, after displaying the payment entrance of the parking fee, the terminal further includes: and generating and displaying first prompt information of a preset prompt mode. The preset prompting mode comprises one or more of the following combinations: prompt tone, prompt box, vibrations, first prompt message is used for the suggestion to have the payment entry. After the payment entrance is displayed, the user is reminded of the existence of the payment entrance in the modes of prompt tone, prompt box, vibration and the like, so that the situation that the user misses the prompt entrance in the walking process can be avoided.
Optionally, after displaying the payment entrance of the parking fee, the terminal further includes: and receiving an operation signal acting on the payment inlet, and sending a parking fee payment request to the parking lot management equipment according to the operation signal, wherein the parking fee payment request is used for requesting to pay the parking fee, and the parking lot payment request carries the identification (such as the license plate number) of the automobile corresponding to the terminal user and the identification of the terminal. The parking lot management equipment calculates parking amount according to the parking time of the automobile and sends the parking amount to the terminal, the terminal displays a payment page after receiving the parking amount, the payment page comprises the parking amount to be paid and an input entry of a payment password, and a user can input the payment password at the input entry to finish a payment process.
Optionally, the terminal transmits a payment completion notification for notifying that the payment process for the parking fee is completed to the parking lot management device after the completion of the payment process.
And if the terminal does not establish Bluetooth connection with the vehicle machine, ending the process.
To sum up, the technical scheme that this application embodiment provided is through after confirming to be in the parking area, still through judging whether the terminal establishes bluetooth with vehicle terminal and be connected to judge whether the terminal user will drive and leave the parking area, make the terminal show the payment entry's that the parking fee shows that the show opportunity is more accurate.
In addition, after the payment entrance is displayed, the user is reminded of the existence of the payment entrance in the modes of prompt tone, prompt box, vibration and the like, so that the condition that the user misses the prompt entrance in the walking process can be avoided. In addition, the step of subsequently judging whether the terminal is in the parking lot can be executed after the geographic position corresponding to the side (such as an entrance) of the parking lot where the terminal is located and the automobile bound with the terminal are detected, so that the step of judging whether the terminal is in the parking lot can be avoided being executed by the terminal under the unnecessary condition, and the power consumption of the terminal is saved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 5, a block diagram of a position determination device provided in an embodiment of the present application is shown. The functions of the above method examples can be realized by hardware, and the functions can also be realized by hardware executing corresponding software. The apparatus may include: an information acquisition module 501, a condition detection module 502, and a location determination module 503.
The information obtaining module 501 is configured to obtain location characteristic information of a terminal, where the location characteristic information includes n pieces of wireless connection scanning information and/or m pieces of positioning information, where n is an integer greater than 1, and m is an integer greater than 1.
A condition detecting module 502, configured to detect whether the position feature information meets a preset condition.
A location determining module 503, configured to determine that the terminal is located in the parking lot if the location characteristic information meets the preset condition.
To sum up, the technical scheme provided by the embodiment of the application judges whether the parking lot is located according to the wireless connection scanning information and the positioning information obtained by the wireless connection scanning information and the positioning information, and the follow-up terminal can display the payment entrance of the parking fee according to the judgment result, so that the user can complete payment of the parking fee on the terminal, and the user is prevented from parking at the exit of the parking lot and carrying out manual payment.
In an optional embodiment provided based on the embodiment shown in fig. 5, the location characteristic information includes the n wireless connection scanning information, and the condition detecting module 502 is configured to:
detecting whether first scanning information and second scanning information exist in the n pieces of wireless connection scanning information, wherein the first scanning information refers to wireless connection scanning information which is scanned to appointed wireless connection, the appointed wireless connection refers to wireless connection corresponding to the entrance of the parking lot, and the second scanning information refers to wireless connection scanning information which is not scanned to wireless connection;
and if the n pieces of wireless connection scanning information comprise the first scanning information and the second scanning information and the scanning time stamp corresponding to the first scanning information is before the scanning time stamp corresponding to the second scanning information, determining that the position characteristic information meets the preset condition.
Optionally, the condition detecting module 502 is further configured to:
detecting whether a first continuous acquisition quantity of the second scanning information is larger than a first preset quantity, wherein the first continuous acquisition quantity is used for representing the quantity of the second scanning information continuously acquired by a terminal;
and if the first continuous acquisition quantity is greater than the first preset quantity, determining that the position characteristic information meets the preset condition.
In an optional embodiment provided based on the embodiment shown in fig. 5, the location characteristic information includes the m pieces of positioning information, and the condition detecting module 502 is configured to:
detecting whether first positioning information and second positioning information exist in the m pieces of positioning information, wherein the first positioning information refers to positioning information positioned to a specified geographic position, the specified geographic position refers to a geographic position corresponding to an entrance of a parking lot, and the second positioning information refers to positioning information incapable of positioning the geographic position;
and if the m pieces of positioning information comprise the first positioning information and the second positioning information and the positioning time stamp corresponding to the first positioning information is before the positioning time stamp corresponding to the second positioning information, determining that the position characteristic information meets the preset condition.
Optionally, the condition detecting module 502 is further configured to:
detecting whether a second continuous acquisition quantity of the second positioning information is larger than a second preset quantity, wherein the second continuous acquisition quantity is used for representing the quantity of the second positioning information continuously acquired by a terminal;
and if the second continuous acquisition quantity is greater than the second preset quantity, determining that the position characteristic information meets the preset condition.
Optionally, the apparatus further comprises: a distance acquisition module (not shown in the figure).
The distance acquisition module is used for acquiring the moving distance of the terminal within a preset time length;
and the position determining module is used for determining that the terminal is positioned in the parking lot if the moving distance of the terminal in the preset time length is greater than the preset distance.
In an optional embodiment provided based on the embodiment shown in fig. 5, the apparatus further comprises: an entrance display module (not shown).
And the entrance display module is used for displaying a payment entrance of the parking fee, and the payment entrance is used for triggering and completing the payment process of the parking fee.
Optionally, the apparatus further comprises: a connection detection module (not shown in the figure).
The connection detection module is used for detecting whether the terminal establishes Bluetooth connection with a designated vehicle machine, wherein the designated vehicle machine is a vehicle machine installed on a vehicle corresponding to a terminal user;
an entrance display module 503, configured to execute the step of displaying the payment entrance of the parking fee if the terminal establishes the bluetooth connection with the designated vehicle.
In an optional embodiment provided based on the embodiment shown in fig. 5, the apparatus further comprises: a second obtaining module and a second detecting module (not shown in the figure).
And the second acquisition module is used for acquiring the geographical position information of the terminal, and the geographical position information of the terminal is used for representing the geographical position of the terminal.
And the second detection module is used for detecting whether a parking lot corresponding to the geographic position information exists or not.
The condition detection module 502 is further configured to, if a parking lot corresponding to the geographic location exists, perform the step of detecting whether the location characteristic information meets a preset condition.
In an optional embodiment provided based on the embodiment shown in fig. 5, the apparatus further comprises: a third detection module (not shown).
The third detection module is used for detecting whether the vehicle information bound with the terminal exists or not;
the condition detection module 502 is further configured to, if the vehicle information bound to the terminal exists, execute the step of detecting whether the position feature information meets a preset condition.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 6, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 610 and a memory 620.
Processor 610 may include one or more processing cores. The processor 610 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and calling data stored in the memory 620. Alternatively, the processor 610 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 610 may integrate one or a combination of a Central Processing Unit (CPU) and a modem. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 610, but may be implemented by a single chip.
Alternatively, the processor 610, when executing the program instructions in the memory 620, implements the position determination methods provided by the various method embodiments described below.
The Memory 620 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 620 includes a non-transitory computer-readable medium. The memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, and the like.
The structure of the terminal described above is only illustrative, and in actual implementation, the terminal may include more or less components, such as: a display screen, etc., which are not limited in this embodiment.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not intended to be limiting of terminal 600 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer readable storage medium is also provided, in which a computer program is stored, which is loaded and executed by a processor of a terminal to implement the respective steps in the above-described method embodiments.
In an exemplary embodiment, a computer program product is also provided for implementing the functions of the individual steps in the above-described method embodiments when the computer program product is executed.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A method of position determination, the method comprising:
acquiring position characteristic information of a terminal, wherein the position characteristic information comprises n wireless connection scanning information and/or m positioning information, n is an integer greater than 1, and m is an integer greater than 1;
detecting whether the position characteristic information meets a preset condition or not; when the location characteristic information includes the n pieces of wireless connection scanning information, the preset condition includes: the time of scanning for a wireless connection to a parking lot entrance is before the time of not scanning for a wireless connection; when the location feature information includes the m pieces of positioning information, the preset condition includes: the time of locating to the designated geographic location is before the time of failing to locate the geographic location;
and if the position characteristic information meets the preset condition, determining that the terminal is positioned in the parking lot.
2. The method according to claim 1, wherein the location characteristic information includes the n pieces of wireless connection scanning information, and the detecting whether the location characteristic information meets a preset condition includes:
detecting whether first scanning information and second scanning information exist in the n pieces of wireless connection scanning information, wherein the first scanning information refers to wireless connection scanning information which is scanned to appointed wireless connection, the appointed wireless connection refers to wireless connection corresponding to the entrance of the parking lot, and the second scanning information refers to wireless connection scanning information which is not scanned to wireless connection;
and if the n pieces of wireless connection scanning information comprise the first scanning information and the second scanning information and the scanning time stamp corresponding to the first scanning information is before the scanning time stamp corresponding to the second scanning information, determining that the position characteristic information meets the preset condition.
3. The method according to claim 2, wherein before determining that the position feature information meets the preset condition, the method further comprises:
detecting whether a first continuous acquisition quantity of the second scanning information is larger than a first preset quantity, wherein the first continuous acquisition quantity is used for representing the quantity of the second scanning information continuously acquired by the terminal;
and if the first continuous acquisition quantity is greater than the first preset quantity, determining that the position characteristic information meets the preset condition.
4. The method according to claim 1, wherein the location characteristic information includes the m pieces of positioning information, and the detecting whether the location characteristic information meets a preset condition includes:
detecting whether first positioning information and second positioning information exist in the m pieces of positioning information, wherein the first positioning information refers to positioning information positioned to a specified geographic position, the specified geographic position refers to a geographic position corresponding to an entrance of a parking lot, and the second positioning information refers to positioning information incapable of positioning the geographic position;
and if the m pieces of positioning information comprise the first positioning information and the second positioning information and the positioning time stamp corresponding to the first positioning information is before the positioning time stamp corresponding to the second positioning information, determining that the position characteristic information meets the preset condition.
5. The method according to claim 4, wherein before determining that the position feature information meets the preset condition, the method further comprises:
detecting whether a second continuous acquisition quantity of the second positioning information is larger than a second preset quantity, wherein the second continuous acquisition quantity is used for representing the quantity of the second positioning information continuously acquired by the terminal;
and if the second continuous acquisition quantity is greater than the second preset quantity, determining that the position characteristic information meets the preset condition.
6. The method of claim 3 or 5, wherein the determining that the terminal is in front of the parking lot further comprises:
acquiring the moving distance of the terminal within a preset time length;
and if the moving distance of the terminal in the preset time length is greater than the preset distance, determining that the terminal is in the parking lot.
7. The method according to any one of claims 1 to 5, wherein the determining that the terminal is behind a parking lot comprises:
and displaying a payment entrance of the parking fee, wherein the payment entrance is used for triggering the completion of the payment process of the parking fee.
8. The method of claim 7, wherein prior to displaying the payment entry for the parking fee, further comprising:
detecting whether the terminal establishes Bluetooth connection with a designated vehicle machine, wherein the designated vehicle machine is a vehicle machine installed on a vehicle corresponding to a terminal user;
and if the terminal establishes the Bluetooth connection with the appointed vehicle machine, executing the step of displaying the payment entrance of the parking fee.
9. The method according to any one of claims 1 to 5, wherein before detecting whether the position feature information meets a preset condition, the method further comprises:
acquiring the geographical position information of the terminal, wherein the geographical position information of the terminal is used for representing the geographical position of the terminal;
detecting whether a parking lot corresponding to the geographical position information exists;
and if the parking lot corresponding to the geographic position information exists, executing the step of detecting whether the position characteristic information meets a preset condition.
10. The method according to any one of claims 1 to 5, wherein before detecting whether the position feature information meets a preset condition, the method further comprises:
detecting whether vehicle information bound with the terminal exists or not;
and if the vehicle information bound with the terminal exists, executing the step of detecting whether the position characteristic information meets a preset condition.
11. A position determining apparatus, characterized in that the apparatus comprises:
the information acquisition module is used for acquiring position characteristic information of a terminal, wherein the position characteristic information comprises n wireless connection scanning information and/or m positioning information, n is an integer larger than 1, and m is an integer larger than 1;
the condition detection module is used for detecting whether the position characteristic information meets a preset condition or not; when the location characteristic information includes the n pieces of wireless connection scanning information, the preset condition includes: the time of scanning for a wireless connection to a parking lot entrance is before the time of not scanning for a wireless connection; when the location feature information includes the m pieces of positioning information, the preset condition includes: the time of locating to the designated geographic location is before the time of failing to locate the geographic location;
and the position determining module is used for determining that the terminal is positioned in the parking lot if the position characteristic information meets the preset condition.
12. A terminal, characterized in that the terminal comprises a processor and a memory, the memory storing a computer program which is loaded and executed by the processor to implement the position determination method according to any of claims 1 to 10.
13. A computer-readable storage medium, in which a computer program is stored which is loaded and executed by a processor to implement a position determination method according to any one of claims 1 to 10.
CN201811143309.0A 2018-09-28 2018-09-28 Position determination method, device, terminal and storage medium Active CN109218966B (en)

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 CN109218966A (en) 2019-01-15
CN109218966B true CN109218966B (en) 2020-12-29

Family

ID=64982373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811143309.0A Active 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140131666A (en) * 2013-05-06 2014-11-14 현대자동차주식회사 System and method for managing information of parking-lot, and parking-lot information providing apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN109218966A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
EP1975884B1 (en) Mobile object charging system and mobile object charging method by mobile object charging system
US10719996B2 (en) Determining vehicle occupancy using sensors
CN106710291B (en) Parking space obtaining method and device for parking lot
JP5067217B2 (en) Traffic information processing system, statistical processing device, traffic information processing method, and traffic information processing program
US10185455B2 (en) Mobile computing device for fleet telematics
CN107481548B (en) Parking management method and system
CN109218966B (en) Position determination method, device, terminal and storage medium
CN111104990B (en) Method, device, server and storage medium for determining traffic route
CN113313961B (en) Navigation method, navigation device, computer equipment and storage medium
CN108230725A (en) Method and apparatus are recommended in parking
CN105047001B (en) Realize method, vehicle and mobile terminal that vehicle parking management and control is reminded
KR101268904B1 (en) Parking-lot sharing system using in-vehicle terminal
CN107705576B (en) Vehicle fake plate detection method, server and storage medium
CN104700654A (en) Parking space reserving method and system
CN108230720A (en) Parking management method and device
US20200262454A1 (en) Travel control device and travel control method
CN107257913B (en) Method for updating parking lot information in navigation system and navigation system
CN112464796A (en) Vehicle searching method, vehicle searching system and computer readable storage medium
KR101714753B1 (en) System for managing on-street parking lot
US11391593B2 (en) Vehicle-mounted device, server, navigation system, recording medium storing map display program, and map display method
JP2004038489A (en) Vehicle operation control device, system, and method
CN113329079A (en) Vehicle unlocking method, server and terminal
CN110246361B (en) Parking management method and device based on intelligent spikes and mobile phone terminal
KR101714754B1 (en) System for managing on-street parking lot using smartphone
CN108205888B (en) Method and device for judging passenger entering and exiting station

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