CN110796888A - Parking position searching method and device, electronic equipment and readable storage medium - Google Patents

Parking position searching method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110796888A
CN110796888A CN201911048891.7A CN201911048891A CN110796888A CN 110796888 A CN110796888 A CN 110796888A CN 201911048891 A CN201911048891 A CN 201911048891A CN 110796888 A CN110796888 A CN 110796888A
Authority
CN
China
Prior art keywords
walking
user
time
stride
parking position
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.)
Pending
Application number
CN201911048891.7A
Other languages
Chinese (zh)
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 Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN201911048891.7A priority Critical patent/CN110796888A/en
Publication of CN110796888A publication Critical patent/CN110796888A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/14Receivers specially adapted for specific applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Navigation (AREA)

Abstract

The application provides a parking position searching method, a parking position searching device, electronic equipment and a readable storage medium, and the parking position searching method comprises the following steps: recording at least one direction in which a user passes in a walking process from a parking position to a first entrance and exit of the parking lot according to a direction sensor; calculating the walking distance of the user in each direction in the at least one direction according to the walking steps of the user recorded by the acceleration sensor; and acquiring a walking path from the parking position to the first access according to the at least one direction and the walking distance in each direction in the at least one direction. According to the multiple directions that the user passes and the distance of walking in every direction, acquire the walking route of user from parking position to first access & exit, then can carry out the seeking of parking position according to this walking route for the user can conveniently acquire the position of vehicle, improves the practicality.

Description

Parking position searching method and device, electronic equipment and readable storage medium
Technical Field
The application relates to the field of vehicle measurement, in particular to a parking position searching method and device, electronic equipment and a readable storage medium.
Background
There are many existing methods for finding a vehicle in a parking lot, and the common methods include the following: firstly, positioning is based on a vehicle-mounted GPS; positioning based on WiFi signals, alarms or other monitoring terminals; thirdly, the car owner is prompted through the flashing light or the whistle of the car. For the vehicle searching mode, firstly, the vehicle is searched by vehicle-mounted GPS positioning, and the GPS is difficult to play and has poor effect in places with poor signals such as an underground parking garage; moreover, positioning of the WiFi signal, the alarm or other monitoring terminals requires installation of other auxiliary and interactive devices and the like, so that the realization technology is complex and the signal is unstable; in addition, the mode of reminding the owner of the car through the flashing light or whistling of the car is greatly influenced by the field, the user is difficult to judge the position of the car remotely and accurately, and the practicability is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for searching a parking position, an electronic device, and a readable storage medium, so as to solve the problem that it is difficult to search a vehicle in a parking lot in the prior art.
In a first aspect, an embodiment of the present application provides a parking position search method, where the method includes: recording at least one direction in which a user passes in a walking process from a parking position to a first entrance and exit of the parking lot according to a direction sensor; calculating the walking distance of the user in each direction in the at least one direction according to the walking steps of the user recorded by the acceleration sensor; and acquiring a walking path from the parking position to the first access according to the at least one direction and the walking distance in each direction in the at least one direction.
In the above embodiment, a plurality of directions through which the user passes during walking from the parking position to the first doorway may be recorded by the direction sensor; recording the walking steps of the user by using an acceleration sensor, thereby calculating the walking distance of the user in each direction; and then, a walking path from the parking position to the first access is obtained according to a plurality of directions passed by the user and the walking distance in each direction, and then the parking position can be searched according to the walking path, so that the user can conveniently obtain the position of the vehicle, and the practicability is improved.
In one possible design, the calculating the distance traveled by the user in each direction of the at least one direction according to the number of steps traveled by the user recorded by the acceleration sensor includes: recording the walking steps of the user in each direction by using the acceleration sensor; recording the walking time of the user in each direction by using a timer; calculating the step frequency of the user in each direction according to the walking step number in each direction and the walking time corresponding to the walking step number; obtaining the stride of the user in each direction according to the functional relation between the stride frequency and the stride; and calculating the walking distance in each direction according to the stride in each direction and the corresponding walking steps.
In the above-described embodiment, the number of walking steps of the user may be recorded by the acceleration sensor for each of the plurality of directions, the walking time of the user may be recorded by the timer, and the step frequency of the user in each direction may be calculated from the number of walking steps and the walking time corresponding to the number of walking steps. And then, according to the pre-stored relationship between the stride frequency and the stride, the stride of the user in each direction is obtained, and then the walking distance in each direction can be calculated according to the stride and the walking steps.
In one possible design, the calculating the step frequency in each direction of the user according to the walking step number in each direction and the walking time corresponding to the walking step number includes: dividing the walking time corresponding to each direction into a plurality of time intervals according to a preset time length; for each direction in the at least one direction, obtaining the walking step number corresponding to each time interval in a plurality of time intervals, and calculating the step frequency of each time interval in the plurality of time intervals; obtaining the stride in each direction of the user according to the functional relationship between the stride frequency and the stride, including: obtaining the stride of each time interval in the plurality of time intervals of the user according to the functional relation between the stride frequency and the stride; calculating the walking distance in each direction according to the stride in each direction and the corresponding walking steps, including: calculating the walking distance in each time interval of a plurality of time intervals according to the stride of each time interval and the walking number of the same time interval with the stride; and calculating the sum of the walking distance of each time interval of the plurality of time intervals, wherein the sum is the walking distance in the corresponding direction.
In the above embodiment, when calculating the step frequency in each direction, the walking in each direction may be divided into a plurality of time intervals according to a preset time length, and then the walking steps corresponding to each time interval are respectively counted to obtain the step frequency, so as to obtain the stride; and then, calculating the walking distance of each time interval in the plurality of time intervals, and then performing addition operation on the walking distances to obtain the walking distance in the corresponding direction. Because the speed of the user in walking is uncertain, the user can be divided into a plurality of process sections according to the time, and then the walking distance of each process section is calculated, so that the predicted distance is more accurate.
In a possible design, after dividing the walking time corresponding to each direction into a plurality of time intervals according to a preset time length, for each direction in the at least one direction, obtaining a walking step number corresponding to each time interval in the plurality of time intervals, and before calculating a step frequency of each time interval in the plurality of time intervals, the method further includes: for each of a plurality of time intervals, judging whether the user stays within the duration; if yes, recording the stay time of the user in the corresponding time interval, and calculating the difference value between the interval time length of the time interval and the stay time, wherein the difference value is the activity time in the corresponding time interval, and the activity time is used for calculating the step frequency of the corresponding time interval; if not, taking the interval time length of the time interval as the activity time.
In the above embodiment, after dividing the walking time of the user into a plurality of time intervals, further determining whether the user stays in each time interval, if yes, subtracting the staying time of the user, calculating the step frequency of the corresponding time interval according to the activity time of the user, and subtracting the staying time of the user, thereby further improving the accuracy of predicting the walking distance of the user.
In one possible design, the recording, by a timer, the walking time of the user in each direction includes: for each of the at least one direction, recording a total time of duration of the user in the same direction; judging whether the user stays in the same direction within the duration time by using the acceleration sensor; if yes, recording the staying time of the user in the same direction, and calculating the difference value between the total time and the staying time, wherein the difference value is the walking time in the same direction; and if not, taking the total time as the walking time in the same direction.
In the above embodiment, all the staying times of the user in the same direction may be calculated, then all the staying times in the same direction may be subtracted to obtain the walking time in the direction, and then the walking time may be divided according to the time intervals, which also further improves the accuracy of predicting the walking distance of the user.
In one possible design, the method further includes: acquiring a plurality of step frequencies of a user and a step corresponding to each step frequency in the plurality of step frequencies; and fitting a functional relation between the step frequency and the step length of the user by utilizing the plurality of step frequencies of the user and the step length corresponding to each step frequency in the plurality of step frequencies.
In the above embodiment, for the same user, a plurality of stride frequencies of the user and a stride corresponding to each stride frequency may be obtained, then a functional relationship between the stride frequencies and the stride is fitted according to the corresponding relationship between the stride frequencies and the stride, and then the stride of the user may be directly obtained according to the stride frequency of the user by using the functional relationship, so that the prediction may be performed according to the functional relationship between the stride frequencies and the stride when the stride cannot be calculated by using the GPS recorded distance.
In one possible design, the obtaining a plurality of stride frequencies of the user and a stride corresponding to each of the plurality of stride frequencies includes: when the GPS is started, recording multiple times of historical walking data of a user, wherein the historical walking data comprises historical traveling distance, historical walking time and historical walking step number; calculating the step frequency of each historical walking data in the multiple historical walking data according to the historical walking step number and the corresponding historical walking time; calculating the step length of each historical walking data in the multiple historical walking data according to the historical walking step number and the corresponding historical walking distance; and establishing a corresponding relation between the step frequency and the step length, and obtaining a plurality of step frequencies and the step length corresponding to each step frequency in the plurality of step frequencies.
In the above-described embodiments, the historical walking data of the user, including the historical travel distance, the historical walking time, and the historical walking step number, may be recorded a plurality of times while the terminal device of the user is in an environment with GPS signals. And then, calculating the stride according to the historical walking step number and the historical travelling distance, calculating the step frequency according to the historical walking time and the historical walking step number, and then establishing the corresponding relation between the stride and the step frequency.
In one possible design, the method further includes: obtaining the coordinate of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot; when the user is detected to be at a second entrance of the parking lot, generating a path from the second entrance to the parking position according to the position of the second entrance in the parking lot map and the coordinates of the parking position in the parking lot map.
In the above-described embodiment, the absolute coordinates of the parking position in the parking lot map may be obtained from the relative positional relationship between the first entrance and the parking position and the parking lot map, and then, when it is detected that the user is at the second entrance, a path between the absolute coordinates of the parking position and the absolute coordinates of the second entrance may be generated from the absolute coordinates of the parking position and the absolute coordinates of the second entrance, so that the user can still smoothly find the vehicle when entering the parking lot through another entrance of the parking lot.
In one possible design, after the obtaining of the walking path of the user from the parking position to the first doorway, the method further includes: and generating a traveling path from the first entrance to the parking position according to the traveling path from the parking position to the first entrance.
In the above-described embodiment, the traveling path from the first doorway to the parking position is generated based on the traveling path from the parking position to the first doorway, thereby better guiding the user to smoothly find the vehicle.
In one possible design, the method further includes: obtaining the coordinate of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot; and sending the coordinates to target terminal equipment so that the target terminal equipment plans a path from the target terminal equipment to the coordinates according to the current position of the target terminal equipment and the coordinates.
In the above embodiment, after obtaining the absolute coordinates of the parking position according to the parking lot map and the relative positional relationship between the first doorway and the parking position, the absolute coordinates may be sent to the target terminal device held by the other user, so that the other user may plan a route from the current position to the parking position according to the current position of the target terminal device itself and the absolute coordinates of the parking position, so that the other user may move to the parking position by himself or herself, and perform navigation of the parking position for more users.
In a second aspect, an embodiment of the present application provides a parking position finding apparatus, where the apparatus includes: the direction recording module is used for recording at least one direction in which a user passes in the walking process from a parking position to a first entrance and exit of the parking lot according to the direction sensor; the distance calculation module is used for calculating the walking distance of the user in each direction in the at least one direction according to the user data recorded by the acceleration sensor; and the path generation module is used for generating a walking path from the parking position to the first access according to the at least one direction and the walking distance in each direction in the at least one direction.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the method of the first aspect or any of the alternative implementations of the first aspect.
In a fourth aspect, the present application provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect or any of the optional implementations of the first aspect.
In a fifth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a parking position searching method according to an embodiment of the present application;
FIG. 2 is a schematic view of a detailed flow chart of step S120 in FIG. 1;
FIG. 3 is a partial flowchart of another embodiment of step S120 of FIG. 1;
fig. 4 is a schematic flowchart illustrating a part of steps of a parking position searching method according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a part of steps of a parking position searching method according to an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a part of steps of a parking position searching method according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating specific steps of step S410 in FIG. 6;
fig. 8 is a schematic structural block diagram of a parking position finding device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The parking position search method shown in fig. 1 may be executed by a terminal device carried by a user, where the terminal device may be a mobile terminal device such as a mobile phone and a tablet computer, or may also be an intelligent wearable device such as an intelligent bracelet and an intelligent watch, and the parking position search method includes the following steps S110 to S130:
and step S110, recording at least one direction in which a user passes in the walking process from the parking position to the first entrance and exit of the parking lot according to the direction sensor.
The direction sensor is a sensor for recording the walking direction of the user, and can be a gyroscope or a compass, and the direction sensor can record the moving direction of the user in the whole process from the parking position to the end of the first entrance and exit of the parking lot.
Optionally, step S110 may be passively triggered when the user gets off the vehicle, where the passive triggering may be triggered by the user through a voice instruction, or may be triggered by the user clicking a start button of the terminal device, and the way that the user passively triggers the direction sensor is not to be construed as a limitation to the present application.
Alternatively, step S110 may also be actively triggered by the terminal device detecting that the user is changed from the driving state to the walking state, for example, when the terminal device detects that the user is changed from the sitting state to the standing state walking movement, the controller of the terminal device may send a control instruction for turning on the detection to the direction sensor.
And step S120, calculating the walking distance of the user in each direction in the at least one direction according to the walking steps of the user in each direction recorded by the acceleration sensor.
The sequence numbers of step S110 and step S120 do not limit the execution order of the two steps, and step S110 and step S120 may be executed simultaneously. During the walking process of the user from the parking position to the first entrance and exit of the parking lot, at least one direction in which the user passes can be recorded by using the direction sensor, and the walking step number of the user in each direction in the at least one direction can be recorded by using the acceleration sensor.
Referring to fig. 2, fig. 2 shows a flowchart of the specific step of step S120, which specifically includes the following steps S121 to S125:
and step S121, recording the walking steps of the user in each direction by using the acceleration sensor.
The acceleration sensor can work simultaneously with the direction sensor, when the direction sensor detects that the user is switched from one direction to the other direction, the acceleration sensor can record the walking step number of the user in the previous direction, and record the walking step number of the user in the new direction from zero.
And step S122, recording the walking time of the user in each direction by using a timer.
The timer can also work with the direction sensor and the acceleration sensor, when the direction sensor detects that the user is switched from one direction to the other direction, the timer can record the walking time of the user in the previous direction, and record the walking time of the user in the new direction from zero.
Step S123, calculating the step frequency of the user in each direction according to the walking step number in each direction and the walking time corresponding to the walking step number.
Alternatively, the step frequency of the user in each direction may be calculated by dividing the number of steps taken in each direction by the time taken to walk in the corresponding direction.
For example, let us say that the number of steps the user walks in direction a is a, and the walking time is T1; then the walking steps of the user in the direction B are B, and the walking time is T2; the user then walks in direction C for a number of steps C and for a walking time T3. The stride frequency of the user in direction a is a/T1, the stride frequency of the user in direction B is B/T2, and the stride frequency of the user in direction C is C/T3.
Optionally, in an embodiment, referring to fig. 3, the step S123 specifically includes the following steps S1231 to S1232:
step S1231, dividing the walking time corresponding to each direction into a plurality of time intervals according to a preset time length.
Step S1232, for each direction in the at least one direction, obtaining a walking step number corresponding to each time interval in a plurality of time intervals, and calculating a step frequency of each time interval in the plurality of time intervals.
For each of the plurality of directions, the walking time of each direction may be divided into a plurality of time intervals according to a preset time length, and then the step frequency may be calculated for each time interval, respectively.
For example, if the walking time T1 of the user in the direction a is 47 seconds and the time interval is 10 seconds, the T1 is divided into 10 seconds, and the T1 can be divided into four complete time intervals T1, T2, T3, T4 and an incomplete time interval T5 corresponding to 7 seconds. The acceleration sensor may acquire the respective walking step numbers a1, a2, A3, a4, a5 of the user in the above five time intervals, and then divide the respective walking step numbers of the user in the five time intervals by the five time intervals, respectively, and may calculate the step frequency of each time interval.
Step S124, obtaining the stride of the user in each direction according to the functional relationship between the stride frequency and the stride.
Optionally, there may be a mapping relationship between the stride frequency and the stride, the stride frequency may be an independent variable, the stride may be a dependent variable, and the stride of the user in each direction may be obtained according to a functional relationship between the stride frequency and the stride.
Optionally, in an embodiment, referring to fig. 3, the step S124 specifically includes a step S1241: step S1241, obtaining a stride of each time interval of the plurality of time intervals of the user according to a functional relationship between the stride frequency and the stride.
When the step frequency in each direction is calculated, walking in each direction can be divided into a plurality of time intervals according to a preset time length, and then the walking steps corresponding to each time interval are respectively counted to obtain the step frequency, so that the stride is obtained.
Step S125, calculating a walking distance in each direction according to the stride in each direction and the corresponding walking step number.
Alternatively, the walking distance in each direction may be directly calculated according to the stride in each direction and the number of walking steps in the corresponding direction.
Optionally, in an embodiment, referring to fig. 3, the step S125 specifically includes the following steps S1251 to S1252:
step S1251, calculating a walking distance in each of the plurality of time intervals according to the stride of each time interval and the walking number of the same time interval as the stride.
Step S1252, calculating a sum of the distance traveled for each of the plurality of time intervals, the sum being the distance traveled in the corresponding direction.
After the stride is calculated, the walking distance of each time interval in a plurality of time intervals can be calculated according to the stride and the walking number belonging to the same time interval with the stride, and then the walking distance in the corresponding direction is obtained by adding the walking distances.
Because the speed of the user in walking is uncertain, the user can be divided into a plurality of process sections according to the time, and then the walking distance of each process section is calculated, so that the predicted distance is more accurate.
Optionally, referring to fig. 4, between step S1231 and step S1232, the following steps S210 to S230 may be further included:
step S210, judging whether the user stays in the duration time or not for each time interval in the plurality of time intervals, if so, executing step S220; if not, go to step S230.
Step S220, recording the staying time of the user in the corresponding time interval, and calculating a difference between the interval time length of the time interval and the staying time, where the difference is the activity time in the corresponding time interval.
The activity time is used to calculate a step frequency for the corresponding time interval.
Step S230, taking the interval time length of the time interval as the active time.
Optionally, in the foregoing embodiment, the time intervals may be divided, and then it is determined whether the user stays within the duration in each time interval, if so, the stay time of the user may be subtracted from the corresponding time interval to obtain the activity time of the user, and the activity time is used to calculate the step frequency in the time interval.
For example, if the stay time of the time interval t1 is t1 ', the stay time of t2 is t 2', the stay times of t3, t4 and t5 are not stay times, the activity time corresponding to the time interval t1 is (t1-t1 '), the activity time corresponding to the time interval t2 is (t2-t 2'), and the activity times corresponding to the time intervals t3, t4 and t5 are t3, t4 and t5, respectively.
After the walking time of the user is divided into a plurality of time intervals, whether the user stays in each time interval is further judged, if yes, the staying time of the user can be subtracted, the step frequency of the corresponding time interval is calculated according to the activity time of the user, the staying time of the user is subtracted, and the accuracy of predicting the walking distance of the user is further improved.
Step S130, obtaining a walking path from the parking position to the first entrance according to the at least one direction and a walking distance in each direction of the at least one direction.
The direction sensors can be used for recording a plurality of directions which the user passes in the walking process from the parking position to the first entrance; recording the walking steps of the user by using an acceleration sensor, thereby calculating the walking distance of the user in each direction; then, according to the multiple directions passed by the user and the walking distance in each direction, the walking path from the parking position to the first access is obtained, and then the parking position can be searched according to the walking path, so that the user can conveniently obtain the position of the vehicle, and the practicability is improved.
Optionally, after step S130, the parking position search method provided in the embodiment of the present application includes: and generating a traveling path from the first entrance to the parking position according to the traveling path from the parking position to the first entrance.
And generating a traveling path from the first entrance to the parking position according to the traveling path from the parking position to the first entrance, thereby better guiding the user to smoothly find the vehicle.
Optionally, referring to fig. 5, in an embodiment, the step S122 specifically includes the following steps S310 to S340:
step S310, for each direction of the at least one direction, recording a total time of duration of the user in the same direction.
Step S320, judging whether the user stays in the same direction within the duration time by using the acceleration sensor, if so, executing step S330; if not, go to step S340.
And step S330, recording the staying time of the user in the same direction, and calculating the difference value between the total time and the staying time, wherein the difference value is the walking time in the same direction.
And step S340, taking the total time as the walking time in the same direction.
In the above embodiment, all the staying time of the user in the same direction may be calculated first, then all the staying time may be subtracted in the same direction to obtain the real walking time in the direction, then the real walking time may be divided into time intervals, the walking step frequency of the user in each time interval may be calculated, the walking distance of the user in each time interval may be calculated, and the walking distance of the user in each direction may be obtained by summing. The above embodiment also improves the accuracy of predicting the walking distance of the user.
Optionally, referring to fig. 6, fig. 6 is a schematic flowchart illustrating a partial step of a parking position searching method provided in the embodiment of the present application, and specifically includes the following steps S410 to S420:
step S410, a plurality of step frequencies of the user and a stride corresponding to each step frequency of the plurality of step frequencies are obtained.
Step S420, fitting a functional relationship between the step frequency and the step length of the user by using the plurality of step frequencies of the user and the step length corresponding to each step frequency of the plurality of step frequencies.
The method comprises the steps of obtaining a plurality of step frequencies of a user and the step length corresponding to each step frequency for the same user, fitting a functional relation between the step frequencies and the step lengths according to the corresponding relation between the step frequencies and the step lengths, and directly obtaining the step length of the user according to the step frequency of the user by using the functional relation, so that the step length can be predicted according to the functional relation between the step frequencies and the step lengths under the condition that the step length cannot be calculated by using the GPS recorded distance.
Optionally, referring to fig. 7, fig. 7 shows a specific flowchart of step S410, which includes the following steps S411 to S414:
step S411, when the GPS is started, recording multiple times of historical walking data of the user, wherein the historical walking data comprises historical traveling distance, historical walking time and historical walking step number.
Step S412, calculating the step frequency of each time of the historical walking data in the multiple times of historical walking data according to the historical walking step number and the corresponding historical walking time.
Step S413, calculating a stride of each of the plurality of times of historical walking data according to the historical walking step number and the corresponding historical distance traveled.
Step S414, establishing a corresponding relationship between the step frequency and the step length, and obtaining a plurality of step frequencies and a step length corresponding to each step frequency of the plurality of step frequencies.
Historical walking data of the user may be recorded multiple times while the terminal device of the user is in an environment with GPS signals, the historical walking data including historical travel distance, historical walking time, and historical number of steps walked. And then, calculating the stride according to the historical walking step number and the historical travelling distance, calculating the step frequency according to the historical walking time and the historical shape step number, and then establishing the corresponding relation between the stride and the step frequency.
Optionally, the method further comprises: and obtaining the coordinates of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot. When the user is detected to be at a second entrance of the parking lot, generating a path from the second entrance to the parking position according to the position of the second entrance in the parking lot map and the coordinates of the parking position in the parking lot map.
The second doorway may be another doorway different from the first doorway among a plurality of doorways of the parking lot. The absolute coordinates of the parking position in the parking lot map can be obtained according to the relative position relation between the first entrance and the parking position and the parking lot map, and then when the fact that the user is located at the second entrance is detected, a path between the first entrance and the second entrance can be generated according to the absolute coordinates of the parking position and the absolute coordinates of the second entrance, so that the user can still successfully find the vehicle when entering the parking lot through other entrances and exits of the parking lot.
Optionally, the method further comprises: and obtaining the coordinates of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot.
And sending the coordinates to target terminal equipment so that the target terminal equipment plans a path from the target terminal equipment to the coordinates according to the current position of the target terminal equipment and the coordinates.
After the absolute coordinates of the parking position are obtained according to the parking lot map and the relative position relationship between the first entrance and the parking position, the absolute coordinates can be sent to target terminal equipment held by other users, so that the other users can plan a path from the current position to the parking position according to the current position of the target terminal equipment and the absolute coordinates of the parking position, and the other users can go to the parking position by themselves to perform parking position navigation on more users.
Referring to fig. 8, fig. 8 illustrates a parking position finding device provided in an embodiment of the present application, where the device 800 includes:
the direction recording module 810 is configured to record, according to the direction sensor, at least one direction in which the user passes through during a walking process from the parking location to the first entrance and exit of the parking lot.
A distance calculating module 820, configured to calculate a distance traveled by the user in each of the at least one direction according to the user data recorded by the acceleration sensor.
A path generating module 830, configured to generate a walking path from the parking location to the first entrance according to the at least one direction and a distance traveled in each direction of the at least one direction.
A distance calculating module 820, specifically configured to record the number of walking steps of the user in each direction by using the acceleration sensor; recording the walking time of the user in each direction by using a timer; calculating the step frequency of the user in each direction according to the walking step number in each direction and the walking time corresponding to the walking step number; obtaining the stride of the user in each direction according to the functional relation between the stride frequency and the stride; and calculating the walking distance in each direction according to the stride in each direction and the corresponding walking steps.
The distance calculating module 820 is further configured to divide the walking time corresponding to each direction into a plurality of time intervals according to a preset time length; for each direction in the at least one direction, obtaining the walking step number corresponding to each time interval in a plurality of time intervals, and calculating the step frequency of each time interval in the plurality of time intervals; obtaining the stride of each time interval in the plurality of time intervals of the user according to the functional relation between the stride frequency and the stride; calculating the walking distance in each time interval of a plurality of time intervals according to the stride of each time interval and the walking number of the same time interval with the stride; and calculating the sum of the walking distance of each time interval of the plurality of time intervals, wherein the sum is the walking distance in the corresponding direction.
A distance calculation module 820, specifically further configured to record, for each of the at least one direction, a total time duration of the user in the same direction; judging whether the user stays in the same direction within the duration time by using the acceleration sensor; if yes, recording the staying time of the user in the same direction, and calculating the difference value between the total time and the staying time, wherein the difference value is the walking time in the same direction; and if not, taking the total time as the walking time in the same direction.
The distance calculating module 820 is further configured to obtain a plurality of step frequencies of the user and a stride corresponding to each of the step frequencies; and fitting a functional relation between the step frequency and the step length of the user by utilizing the plurality of step frequencies of the user and the step length corresponding to each step frequency in the plurality of step frequencies.
The distance calculation module 820 is further configured to record multiple times of historical walking data of the user when the GPS is turned on, where the historical walking data includes historical travel distance, historical walking time, and historical walking steps; calculating the step frequency of each historical walking data in the multiple historical walking data according to the historical walking step number and the corresponding historical walking time; calculating the step length of each historical walking data in the multiple historical walking data according to the historical walking step number and the corresponding historical walking distance; and establishing a corresponding relation between the step frequency and the step length, and obtaining a plurality of step frequencies and the step length corresponding to each step frequency in the plurality of step frequencies.
The device further comprises:
and the stay judging module is used for judging whether the user stays in the duration time or not for each time interval in the plurality of time intervals.
The first activity time confirming module is used for recording the stay time of the user in the corresponding time interval, calculating the difference value between the interval time length of the time interval and the stay time, wherein the difference value is the activity time in the corresponding time interval, and the activity time is used for calculating the step frequency of the corresponding time interval.
And the second activity time confirmation module is used for taking the interval time length of the time interval as the activity time.
And the coordinate determination module is used for obtaining the coordinate of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot.
And the first path generation module is used for generating a path from the second access to the parking position according to the position of the second access in the parking lot map and the coordinates of the parking position in the parking lot map when the user is detected to be at the second access of the parking lot.
And the second path generation module is used for generating a walking path from the first access to the parking position according to the walking path from the parking position to the first access.
And the coordinate sending module is used for sending the coordinates to the target terminal equipment so that the target terminal equipment plans a path from the target terminal equipment to the coordinates according to the current position of the target terminal equipment and the coordinates.
The parking position finding device shown in fig. 8 corresponds to the parking position finding method shown in fig. 1, and will not be described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (13)

1. A parking position finding method, characterized in that the method comprises:
recording at least one direction in which a user passes in a walking process from a parking position to a first entrance and exit of the parking lot according to a direction sensor;
calculating the walking distance of the user in each direction in the at least one direction according to the walking steps of the user recorded by the acceleration sensor;
and acquiring a walking path from the parking position to the first access according to the at least one direction and the walking distance in each direction in the at least one direction.
2. The method of claim 1, wherein calculating the distance the user walks in each of the at least one direction based on the number of steps the user has walked recorded by the acceleration sensor comprises:
recording the walking steps of the user in each direction by using the acceleration sensor;
recording the walking time of the user in each direction by using a timer;
calculating the step frequency of the user in each direction according to the walking step number in each direction and the walking time corresponding to the walking step number;
obtaining the stride of the user in each direction according to the functional relation between the stride frequency and the stride;
and calculating the walking distance in each direction according to the stride in each direction and the corresponding walking steps.
3. The method of claim 2, wherein the calculating the step frequency in each direction of the user according to the walking step number in each direction and the walking time corresponding to the walking step number comprises:
dividing the walking time corresponding to each direction into a plurality of time intervals according to a preset time length;
for each direction in the at least one direction, obtaining the walking step number corresponding to each time interval in a plurality of time intervals, and calculating the step frequency of each time interval in the plurality of time intervals;
obtaining the stride in each direction of the user according to the functional relationship between the stride frequency and the stride, including:
obtaining the stride of each time interval in the plurality of time intervals of the user according to the functional relation between the stride frequency and the stride;
calculating the walking distance in each direction according to the stride in each direction and the corresponding walking steps, including:
calculating the walking distance in each time interval of a plurality of time intervals according to the stride of each time interval and the walking number of the same time interval with the stride;
and calculating the sum of the walking distance of each time interval of the plurality of time intervals, wherein the sum is the walking distance in the corresponding direction.
4. The method according to claim 3, wherein after the dividing the walking time corresponding to each direction into a plurality of time intervals according to the preset time length, before obtaining, for each direction in the at least one direction, the walking step number corresponding to each time interval in the plurality of time intervals and calculating the step frequency of each time interval in the plurality of time intervals, the method further comprises:
for each of a plurality of time intervals, judging whether the user stays within the duration;
if yes, recording the stay time of the user in the corresponding time interval, and calculating the difference value between the interval time length of the time interval and the stay time, wherein the difference value is the activity time in the corresponding time interval, and the activity time is used for calculating the step frequency of the corresponding time interval;
if not, taking the interval time length of the time interval as the activity time.
5. The method of claim 2, wherein said recording the walking time of the user in each direction with a timer comprises:
for each of the at least one direction, recording a total time of duration of the user in the same direction;
judging whether the user stays in the same direction within the duration time by using the acceleration sensor;
if yes, recording the staying time of the user in the same direction, and calculating the difference value between the total time and the staying time, wherein the difference value is the walking time in the same direction;
and if not, taking the total time as the walking time in the same direction.
6. The method of claim 2, further comprising:
acquiring a plurality of step frequencies of a user and a step corresponding to each step frequency in the plurality of step frequencies;
and fitting a functional relation between the step frequency and the step length of the user by utilizing the plurality of step frequencies of the user and the step length corresponding to each step frequency in the plurality of step frequencies.
7. The method of claim 6, wherein obtaining a plurality of stride frequencies of a user and a stride corresponding to each of the plurality of stride frequencies comprises:
when the GPS is started, recording multiple times of historical walking data of a user, wherein the historical walking data comprises historical traveling distance, historical walking time and historical walking step number;
calculating the step frequency of each historical walking data in the multiple historical walking data according to the historical walking step number and the corresponding historical walking time;
calculating the step length of each historical walking data in the multiple historical walking data according to the historical walking step number and the corresponding historical walking distance;
and establishing a corresponding relation between the step frequency and the step length, and obtaining a plurality of step frequencies and the step length corresponding to each step frequency in the plurality of step frequencies.
8. The method of claim 1, further comprising:
obtaining the coordinate of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot;
when the user is detected to be at a second entrance of the parking lot, generating a path from the second entrance to the parking position according to the position of the second entrance in the parking lot map and the coordinates of the parking position in the parking lot map.
9. The method of claim 1, wherein after the obtaining a path of travel of the user from the parking location to the first doorway, the method further comprises:
and generating a traveling path from the first entrance to the parking position according to the traveling path from the parking position to the first entrance.
10. The method of claim 1, further comprising:
obtaining the coordinate of the parking position in the parking lot map according to the relative position relation between the first access and the parking position and the parking lot map of the parking lot;
and sending the coordinates to target terminal equipment so that the target terminal equipment plans a path from the target terminal equipment to the coordinates according to the current position of the target terminal equipment and the coordinates.
11. A parking position finding apparatus, characterized in that the apparatus comprises:
the direction recording module is used for recording at least one direction in which a user passes in the walking process from the parking position to the first entrance and exit of the parking lot according to the direction sensor;
the distance calculation module is used for calculating the walking distance of the user in each direction in the at least one direction according to the user data recorded by the acceleration sensor;
and the path generation module is used for generating a walking path from the parking position to the first access according to the at least one direction and the walking distance in each direction in the at least one direction.
12. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the method of any one of claims 1-10 when executed.
13. A readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the method of any one of claims 1-10.
CN201911048891.7A 2019-10-29 2019-10-29 Parking position searching method and device, electronic equipment and readable storage medium Pending CN110796888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911048891.7A CN110796888A (en) 2019-10-29 2019-10-29 Parking position searching method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911048891.7A CN110796888A (en) 2019-10-29 2019-10-29 Parking position searching method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110796888A true CN110796888A (en) 2020-02-14

Family

ID=69442259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911048891.7A Pending CN110796888A (en) 2019-10-29 2019-10-29 Parking position searching method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110796888A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226061A (en) * 2008-02-21 2008-07-23 上海交通大学 Method for locating walker
CN104949675A (en) * 2015-06-12 2015-09-30 上海卓易科技股份有限公司 Indoor navigation method and mobile equipment
CN105318868A (en) * 2014-06-03 2016-02-10 中兴通讯股份有限公司 Navigation information acquisition method and device and mobile terminal
CN106441296A (en) * 2015-08-04 2017-02-22 中兴通讯股份有限公司 Motion track recording method and user equipment
CN107830859A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 A kind of localization method, device and computer-readable recording medium
US20180128639A1 (en) * 2016-11-04 2018-05-10 Bury Sp.Z.O.O. Method and device system for finding a parked vehicle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226061A (en) * 2008-02-21 2008-07-23 上海交通大学 Method for locating walker
CN105318868A (en) * 2014-06-03 2016-02-10 中兴通讯股份有限公司 Navigation information acquisition method and device and mobile terminal
CN104949675A (en) * 2015-06-12 2015-09-30 上海卓易科技股份有限公司 Indoor navigation method and mobile equipment
CN106441296A (en) * 2015-08-04 2017-02-22 中兴通讯股份有限公司 Motion track recording method and user equipment
US20180128639A1 (en) * 2016-11-04 2018-05-10 Bury Sp.Z.O.O. Method and device system for finding a parked vehicle
CN107830859A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 A kind of localization method, device and computer-readable recording medium

Similar Documents

Publication Publication Date Title
JP6783751B2 (en) Methods and equipment to use portable navigation with improved quality of map information assistance
CN106611497B (en) Traffic volume prediction system, traffic volume prediction method, vehicle display device, and vehicle
Hashemi et al. A critical review of real-time map-matching algorithms: Current issues and future directions
CN110455291B (en) Method and apparatus for indoor location-finding using magnetic field anomalies
JP5510007B2 (en) Route search device and route guidance system
KR20160026707A (en) System for determining the location of entrances and areas of interest
CN112455331B (en) Vehicle anti-collision early warning method and system and vehicle-mounted computer equipment
US8135536B2 (en) Lead route guidance system, portable route lead guidance device, and program
CN110858453A (en) Autonomous parking in an indoor parking facility
JP2002181569A (en) Position-determining method and system
KR102330985B1 (en) method for guidance of parking in parking space
JP2018124416A (en) Movement assist system, movement assist device, movement assist terminal, movement assist method, map creation system, map creation device, and information acquisition terminal
US20210041255A1 (en) Routing with u-turn inhibition
JP7294323B2 (en) Moving body management device, moving body management system, moving body management method, and computer program
CN110796888A (en) Parking position searching method and device, electronic equipment and readable storage medium
CN116481541A (en) Vehicle autonomous return control method, device and medium without satellite navigation
CN112815962A (en) Calibration method and device for parameters of combined application sensor
JP2001330465A (en) Automobile navigation system
JP6720763B2 (en) Driving support system
CN102809383B (en) Drive guiding device and traveling bootstrap technique
JP2020015417A (en) Driving support method and driving support device
KR20200136235A (en) Method and system for identifying movement means based on a user movement path
CN117109592B (en) Vehicle navigation method, device, computer equipment and storage medium
JP5930242B2 (en) Traffic information processing apparatus, processing method thereof, and program
JP5920196B2 (en) Moving distance calculation device, position management device, moving distance calculation method, and position management method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication