CN115050207B - Method, device and storage medium for determining parking position - Google Patents

Method, device and storage medium for determining parking position Download PDF

Info

Publication number
CN115050207B
CN115050207B CN202210651983.XA CN202210651983A CN115050207B CN 115050207 B CN115050207 B CN 115050207B CN 202210651983 A CN202210651983 A CN 202210651983A CN 115050207 B CN115050207 B CN 115050207B
Authority
CN
China
Prior art keywords
vehicle
parking
determining
terminal
time
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
CN202210651983.XA
Other languages
Chinese (zh)
Other versions
CN115050207A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Xiaomi Automobile Technology Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Xiaomi Automobile Technology 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 Beijing Xiaomi Mobile Software Co Ltd, Xiaomi Automobile Technology Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210651983.XA priority Critical patent/CN115050207B/en
Publication of CN115050207A publication Critical patent/CN115050207A/en
Application granted granted Critical
Publication of CN115050207B publication Critical patent/CN115050207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • G08G1/133Traffic 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 within the vehicle ; Indicators inside the vehicles or at stops
    • 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/029Location-based management or tracking services

Abstract

The present disclosure relates to a method, apparatus and storage medium for determining a parking position. The method for determining the parking position is applied to a terminal and comprises the following steps: responding to the connection between the terminal and a vehicle, and recording the current position of the vehicle as a first position; recording a current position of the vehicle as a second position in response to the terminal disconnecting from the vehicle; and determining the parking position of the vehicle according to the first position and the second position. Through the parking position acquisition method and device, a user can acquire the parking position conveniently, and user experience is improved.

Description

Method, device and storage medium for determining parking position
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a method, a device and a storage medium for determining a parking position.
Background
With the continuous progress of technology, terminal technology is widely applied in more and more aspects, for example, the terminal technology can be applied to a scene of recording and searching for a parking position.
In the related art, for example: when the user drives to a more unfamiliar scene or drives to a more unfamiliar scene, the recording of the parking position is troublesome and the key information such as the vehicle position, the parking time and the like still need to be recorded manually under the condition of not being familiar with the surrounding environment.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and storage medium for determining a parking position.
According to a first aspect of embodiments of the present disclosure, there is provided a method for determining a parking position, applied to a terminal, the method including: responding to the connection between the terminal and a vehicle, and recording the current position of the vehicle as a first position; recording a current position of the vehicle as a second position in response to the terminal disconnecting from the vehicle; and determining the parking position of the vehicle according to the first position and the second position.
In one embodiment, the determining the parking position of the vehicle based on the first position and the second position includes: determining a distance difference between the second location and the first location; and if the distance difference is larger than a distance threshold value, recording a parking position, and determining the second position as the parking position of the vehicle.
In yet another embodiment, the method further comprises: and if the distance difference is smaller than or equal to the distance threshold value, determining the parking position is not carried out.
In yet another embodiment, the method further comprises: determining a first time at which the terminal is disconnected from the vehicle; if the terminal and the vehicle are connected again after the terminal and the vehicle are disconnected, determining a second time for the terminal and the vehicle to be connected again; and taking the time difference between the second time and the first time as the parking duration of the vehicle.
In yet another embodiment, the method further comprises: and sending the parking position to one or more other terminals preset so as to share the parking position and the parking time with the one or more other terminals.
In yet another embodiment, before the determining the parking position of the vehicle according to the first position and the second position, the method further includes: determining that the second location is not in a resident region of the vehicle.
In yet another embodiment, the method further comprises: and when the second position is in the resident area of the vehicle, the parking position is not determined.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for determining a parking position, applied to a terminal, the apparatus comprising: a recording unit that records a current position of the vehicle as a first position in response to the terminal establishing a connection with the vehicle, and records a current position of the vehicle as a second position in response to the terminal disconnecting the connection with the vehicle; and the processing unit is used for determining the parking position of the vehicle according to the first position and the second position.
In one embodiment, the processing unit determines the parking position of the vehicle from the first position and the second position in the following manner: determining a distance difference between the second location and the first location; and if the distance difference is larger than a distance threshold value, recording a parking position, and determining the second position as the parking position of the vehicle.
In another embodiment, the processing unit is further configured to: and if the distance difference is smaller than or equal to the distance threshold value, determining the parking position is not carried out.
In another embodiment, the processing unit is further configured to: determining a first time at which the terminal is disconnected from the vehicle; if the terminal and the vehicle are connected again after the terminal and the vehicle are disconnected, determining a second time for the terminal and the vehicle to be connected again; and taking the time difference between the second time and the first time as the parking duration of the vehicle.
In another embodiment, the apparatus further comprises a transmitting unit: the sending unit is used for sending the parking position to one or more other terminals preset so as to share the parking position and the parking time with the one or more other terminals.
In another embodiment, the processing unit is further configured to: before determining a parking position of the vehicle based on the first position and the second position, it is determined that the second position is not in a resident area of the vehicle.
In another embodiment, the processing unit is further configured to: and when the second position is in the resident area of the vehicle, the parking position is not determined.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for determining a parking position, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: a method for performing the first aspect or any of the embodiments of the first aspect for determining a parking position.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored therein instructions which, when executed by a processor of a terminal, enable the terminal including the processor to perform the method of determining a parking position of the first aspect or any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: when a user drives to a strange scene, the position and the parking time of the vehicle are automatically recorded when the user leaves the vehicle, so that the user can find the parking position of the user conveniently. The user experience is optimized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of determining a parking position according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of determining a parking position of a vehicle based on a first location and a second location, according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of recording a parking duration according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a method of recording a parking position according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating a method of recording parking positions according to an exemplary embodiment
FIG. 6 is a flowchart illustrating a method of determining a parking position in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for determining a parking position according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating an apparatus 200 for determining a parking position according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure.
In the related art, when the parking position of the current vehicle is recorded, it is determined whether the moving speed of the current vehicle exceeds a preset speed threshold. However, for setting the speed threshold, a scientific setting method is difficult to find. Meanwhile, when the user runs on a road crowded with traffic jam, the set speed threshold may be reached, so that an error may occur in the recording of the parking position. In the related art, the key information of parking such as parking position, parking time and the like is required to be recorded manually by a user, so that the intelligent parking system is relatively low in intelligence and relatively poor in user experience.
In the related art, the parking areas where the user resides and the non-resident parking areas are difficult to distinguish, and the parking areas familiar to the user can be recorded at the same time for the resident areas, so that the power consumption is high. Meanwhile, in the related art, for example, a vehicle is parked in an area where the vehicle is not resident, and another user drives the vehicle again, so that the parking position is not easily found.
The method for determining the parking position is convenient and quick to obtain the parking position and the parking time, and meanwhile the parking position can be shared with other appointed users, so that user experience is improved.
Fig. 1 is a flowchart illustrating a method of determining a parking position according to an exemplary embodiment, and the method of determining a parking position is applied to a terminal as shown in fig. 1, and includes the following steps.
In step S11, in response to the terminal establishing a connection with the vehicle, the current position of the vehicle is recorded as the first position.
In the embodiment of the disclosure, the terminal establishes connection with the vehicle, wherein the connection manner includes, but is not limited to, connection manners such as bluetooth connection, hot spot connection, universal serial bus connection (USB, universal Serial Bus), and the like. And responding to the connection between the terminal and the vehicle, and recording the current position of the vehicle as a first position. The first position is understood to be the starting position of the vehicle in which a movement takes place.
In the embodiment of the disclosure, the method for recording the vehicle position may be a method for satellite positioning, network positioning or terminal cache map positioning. The method for recording the position of the vehicle may be a satellite positioning method when the user and the vehicle are in an outdoor environment. The method of recording the vehicle location may be a network location method when the user is in an indoor environment with the vehicle. When the user terminal is in a network-free environment, the method for recording the vehicle position can also adopt a map cached by the terminal for positioning.
Taking Bluetooth connection as an example, a user terminal and a vehicle are connected in a Bluetooth mode, judging that the user drives the vehicle to prepare for traveling at the moment, and recording the position where the terminal and the vehicle are connected as a starting position.
In step S12, the current position of the vehicle is recorded as the second position in response to the terminal being disconnected from the vehicle.
In the embodiment of the disclosure, the terminal is disconnected from the vehicle, which can be understood as that the user leaves the vehicle and records the current position of the vehicle as the second position. The second position is understood to be the end position of the movement of the vehicle.
In step S13, a parking position of the vehicle is determined based on the first position and the second position.
In the embodiment of the disclosure, the first position may be used as a starting position, and the second position may be used as an ending position. According to the starting position and the ending position of the vehicle, the second position of the vehicle, namely the ending position, can be judged as the parking position. A stop position of the vehicle is determined based on the second position of the vehicle.
According to the method for determining the parking position, the current states of the user and the vehicle are judged through the connection state of the recording terminal and the vehicle. And recording the parking position of the vehicle according to the current connection state of the user and the vehicle.
The following embodiments of the present disclosure further explain and explain the method of determining the parking position of the vehicle according to the first position and the second position in the above embodiments of the present disclosure.
FIG. 2 is a flowchart illustrating a method of determining a parking position of a vehicle based on a first position and a second position, according to an exemplary embodiment, as shown in FIG. 2, the method of determining a parking position of a vehicle based on the first position and the second position comprising the following steps.
In step S21, a distance difference between the second position and the first position is determined.
In the embodiment of the disclosure, the second position is taken as a stop position, the first position is taken as a start position, and the distance difference is the distance difference between the end position and the start position. The distance difference may be a distance traveled by the vehicle.
In step S22, if the difference in distance is greater than the distance threshold, the parking position is recorded and the second position is determined as the parking position of the vehicle.
In the embodiment of the disclosure, the distance threshold may be a preset value, for example, the distance threshold is set to 500 meters, and when the distance difference between the second position and the first position is greater than 500 meters, the second position is used as the parking position to record the parking position.
In the embodiment of the disclosure, the distance threshold value can be set according to the habit of the user, so that larger errors are prevented, and meanwhile, the power consumption is reduced.
In step S23, if the difference in distance is less than or equal to the distance threshold, the determination of the parking position is not performed.
In the embodiment of the present disclosure, for example, when the distance difference between the second position and the first position is less than or equal to 500 meters, the current vehicle movement distance may be considered to be short, and the operation of recording the parking position may not be performed. Wherein, for example, the user has a temporary arrangement to leave the vehicle, and the vehicle position is not recorded when the distance travelled by the vehicle has not exceeded a preset distance threshold.
The following embodiments of the present disclosure further explain and explain the method of recording a parking position in the above embodiments of the present disclosure.
Fig. 3 is a flowchart illustrating a method of recording a parking duration according to an exemplary embodiment, and the method of recording a parking duration includes the following steps as shown in fig. 3.
In step S31, a first time at which the terminal is disconnected from the vehicle is determined.
In the embodiment of the disclosure, when the terminal is disconnected from the vehicle, it may be determined that the user leaves the vehicle, and the terminal records the disconnection time, where the time acquired by the terminal may be from the system time of the terminal or an automatically calibrated time value provided by the network.
In step S32, if the terminal and the vehicle are again connected after the terminal and the vehicle are disconnected, a second time at which the terminal and the vehicle are again connected is determined.
In the embodiment of the disclosure, disconnection of the terminal from the vehicle may be understood as a parking start time, and when the terminal and the vehicle are connected again, may be understood as a parking end time, and the time when parking is determined to be a second time.
In step S33, the time difference between the second time and the first time is taken as the parking time period of the vehicle.
In the embodiment of the disclosure, the second time may be a time of ending the parking, and the first time may be a time of starting the parking. And calculating the time difference between the second time and the first time, and obtaining the time difference between the start of parking and the end of parking of the vehicle. The time difference between the start of the vehicle parking and the end of the vehicle parking is taken as the parking duration of the vehicle.
In the embodiment of the disclosure, for example, the time for disconnecting the user from the vehicle is 8:00, the time for establishing the connection again is 12:00, and it may be determined that the user starts to park at 8:00 and ends to park at 12:00. Whereby a specific parking time can be obtained.
In the embodiment of the disclosure, the method for acquiring the specific parking time by the user does not need manual recording by the user. Meanwhile, when parking in a strange place, the user can record the parking time by himself or herself, and the parking fee is also a certificate, so that the user experience is improved.
The following embodiments of the present disclosure further explain and explain the method of recording a parking position in the above embodiments of the present disclosure.
Fig. 4 is a flowchart illustrating a method of recording a parking position according to an exemplary embodiment, and the method of recording a parking position includes the following steps as shown in fig. 4.
In step S41, the parking position is transmitted to one or more other terminals preset.
In the embodiment of the disclosure, the recorded parking positions can be shared with other terminals of the appointed user, so that the purpose of sharing the parking positions is achieved. For example, after a parking scenario occurs, a first user parks. During return, the first user temporarily takes something and gives the vehicle to the second user for driving. The second user is unfamiliar with the parking location and cannot find the parking location quickly. The first user may send the parking location to the second user.
In step S42, the parking position and the duration of parking are shared to one or more users, and the other users find the vehicle according to the shared parking position.
In the disclosed embodiments, for example, a first user may send a parking location to a second user. When the driver changes to the second user, if the second user is difficult to find the position where the first user parks the vehicle, the position where the vehicle parks can be quickly found by the parking position sent by the first user. Meanwhile, the parking time length is shared to the second user, and the second user can also master the parking time length more accurately. The user experience is optimized, the process of searching the parking position and recording the parking time is more intelligent, and the efficiency is higher.
The following embodiments of the present disclosure further explain and explain the method of recording a parking position in the above embodiments of the present disclosure.
Fig. 5 is a flowchart illustrating a method of recording a parking position according to an exemplary embodiment, and the method of recording a parking position includes the following steps as shown in fig. 5.
In step S51, it is determined whether the second location is in a resident region of the vehicle.
In the embodiment of the present disclosure, the resident area, such as an address of a home, an address of a company, etc., may be set in advance through a geofence technique. And positioning the disconnection position of the terminal and the vehicle, and judging whether the disconnection position is in a preset resident area.
Among other things, geofencing is an application of location based services (LBS, location Based Service) that can enclose a virtual geographic boundary with a virtual fence. The terminal may receive automatic notifications and warnings when it enters, leaves, or is active within a predetermined geographic area.
In step S52, if the second position is in the parking area of the vehicle, the determination of the parking position is not performed.
In the embodiment of the disclosure, the position where the terminal is disconnected from the vehicle is judged to be in a preset resident area, namely, the user parks the vehicle in the resident area. At this time, the parking position is easy for the user to find, and the position where the terminal recorded in the resident area is disconnected from the vehicle can be removed, so that the parking position is not determined.
In step S53, if the second position is not in the parking area of the vehicle, the parking position is determined.
In the embodiment of the disclosure, the position where the terminal is disconnected from the vehicle is judged not to be in the preset resident area, namely, the user parks the vehicle in the non-resident area. In this case, it is considered that the parking position is less easily found by the user, and the parking position is recorded.
The following describes a method for determining a parking position according to the above embodiment of the present disclosure by taking a mobile terminal, a vehicle-mounted terminal, and a bluetooth system as an example.
FIG. 6 is a flowchart illustrating a method of determining a parking position in accordance with an exemplary embodiment.
Referring to fig. 6, in an embodiment of the present disclosure, a bluetooth connection is established in response to a mobile terminal. And judging whether the vehicle Bluetooth connection is established with the vehicle-mounted terminal. If the vehicle-mounted Bluetooth connection is judged, the position of the current vehicle is recorded as the position 1, and if the vehicle-mounted Bluetooth connection is not judged, the current process is ended.
In the embodiment of the disclosure, in response to the mobile terminal being connected with the vehicle-mounted terminal for the first time, the user needs to determine whether the connection is the vehicle-mounted bluetooth by himself, if so, the user manually pulls the vehicle-mounted bluetooth, and stores the vehicle-mounted bluetooth as data to be recorded in a database. When the mobile terminal is connected with the vehicle-mounted terminal again, the vehicle-mounted terminal can be connected with the mobile terminal without manual operation of a user.
In the embodiment of the present disclosure, the method for recording the current position of the vehicle may be a satellite positioning method, a network positioning method or a terminal cache map positioning method. Satellite positioning may be used to locate the position of the current vehicle when the user is in an outdoor environment with the vehicle. When the user and the vehicle are in an indoor environment, the position of the current vehicle can be positioned by adopting a network positioning method of the terminal. When the user and the vehicle are in the poor network environment, the map cached by the mobile terminal can be used for positioning the current vehicle. The satellite positioning method is accurate in positioning, free of network limitation and high in precision. The network positioning method is characterized by fast speed and can be positioned instantly as long as the network is connected.
In the embodiment of the disclosure, it is determined that the mobile terminal is in vehicle bluetooth connection with the vehicle-mounted terminal, the current vehicle position is recorded as a position 1, and the position 1 can be used as a starting position. When the mobile terminal and the vehicle-mounted terminal are disconnected with Bluetooth, the current position of the vehicle is recorded as a position 2, and the position 2 can be used as a termination position.
In the embodiment of the present disclosure, it is determined whether the current position 2 is within a preset resident area. Wherein the resident area may be set as a home address area, a company address area, or a more familiar area. If the position 2 is the resident area, ending the current parking process. If the position 2 is not in the resident area and the distance between the position 2 and the position 1 is 500 meters or more, the current parking progress is judged, and the position 2 is recorded as the parking position. And recording the parking time according to the mobile terminal system time or the network synchronization time, and taking the parking time as the parking start time.
In the embodiment of the present disclosure, for example, a home address area and a company address area may be set as the resident area. In a scene that a user starts to work, the user starts from home, the mobile terminal is connected with the vehicle-mounted terminal, and the current position is recorded as a first position. The user parks and shops in the supermarket 300 m away from the first position, and the mobile terminal is disconnected with the vehicle-mounted terminal. The current vehicle position is the second position. Judging whether the current vehicle position is in the resident area or not through the geofence technology, and if not, continuing to judge the distance between the second position and the first position of the current vehicle. And determining that the distance between the first position and the second position is 300 meters and is smaller than the distance threshold value of 500 meters, and not recording the current position as the second position.
In the embodiment of the disclosure, the user returns to the vehicle, and the mobile terminal is connected with the vehicle-mounted terminal again. When the user drives to the company address area set as the resident area, the connection between the mobile terminal and the vehicle-mounted terminal is disconnected, whether the current vehicle position is in the resident area is judged through the geofence technology, and if the current vehicle position is in the resident area, the current position is not recorded as the second position.
In the embodiment of the disclosure, in a scene of driving and traveling of a user, the user drives from a home address, a mobile terminal and a vehicle-mounted terminal are connected, and the position of the current vehicle is recorded as a first position. When the strange destination is reached, the mobile terminal is disconnected with the vehicle-mounted terminal, and the current position of the vehicle is recorded as a second position. Determining whether the second location is in the resident region by a geofencing technique, and if the second location is not in the resident region, determining a distance between the second location and the first location. If the distance between the second position and the first position is larger than a preset distance threshold value, judging that the current parking position is a strange scene. Recording the current second position as the parking position. And simultaneously, the time for disconnecting the mobile terminal from the vehicle-mounted terminal is recorded and is recorded as the first time.
In the embodiment of the disclosure, when the user wants to find the vehicle position, the user can directly find the second position, namely, the parking position. When the mobile terminal and the vehicle-mounted terminal are connected again, judging that the user finds the vehicle, recording the time again, and recording the time as the second time.
In the embodiment of the disclosure, when the mobile terminal establishes connection with the vehicle-mounted terminal again, the second time may be understood as the parking end time, and the first time may be understood as the parking start time. The difference between the parking ending time and the parking starting time is the parking time. For example: the time for disconnection was 14:00 and the time for reconnection was 16:00, and the parking time of the vehicle was 2 hours. The parking time length is convenient to grasp, the parking fee is calculated, and the user experience is optimized. This is referred to as the end of a parking process.
In the embodiment of the disclosure, the recorded second position, i.e. the parking position, may be shared to a preset designated user. The method is applied to a scene that a new user is unfamiliar with the parking position and cannot easily find the parking position when driving again. Wherein the last user may share the parking location to a designated one or more users. The appointed user can find the current position of the vehicle according to the parking position. The process of finding the position of the vehicle by a new user under the condition of changing the user is facilitated. Meanwhile, the parking time of the vehicle can be obtained, and the rechecking of the parking time and the calculation of the parking fee are convenient.
In the embodiment of the disclosure, the method for recording the parking position and the parking time is free from manual recording by a user, and the key information is automatically recorded by the mobile terminal. Even if the user does not remember the specific location where he or she parks the vehicle, looking at the record in the mobile terminal can easily find the location where the vehicle parks and look at the parking duration. The user experience is optimized, the problem that the user is difficult to find the vehicle is solved, and the complicated steps of self-operation of the user are greatly facilitated. Meanwhile, the resident parking position is filtered, and meaningless position reporting is avoided. The scene distinction between driving and parking states is optimized, and the power consumption is lower. In the use process, the vehicle position can be shared to the appointed user, and the use is flexible.
Based on the same conception, the embodiment of the disclosure also provides a device for determining the parking position.
It will be appreciated that, in order to implement the above-mentioned functions, the apparatus for determining a parking position according to the embodiments of the present disclosure includes a hardware structure and/or a software module that perform each function. The disclosed embodiments may be implemented in hardware or a combination of hardware and computer software, in combination with the various example elements and algorithm steps disclosed in the embodiments of the disclosure. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of the embodiments of the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus for determining a parking position according to an exemplary embodiment. Referring to fig. 7, the apparatus includes a recording unit 101 and a processing unit 102.
The recording unit 101 records the current position of the vehicle as a first position in response to the terminal establishing a connection with the vehicle, and records the current position of the vehicle as a second position in response to the terminal disconnecting the connection with the vehicle.
The processing unit 102 is configured to determine a parking position of the vehicle based on the first position and the second position.
In one embodiment, the processing unit 102 determines the parking position of the vehicle from the first position and the second position in the following manner: determining a distance difference between the second location and the first location; and if the distance difference is larger than a distance threshold value, recording a parking position, and determining the second position as the parking position of the vehicle.
In another embodiment, the processing unit 102 is further configured to: and if the distance difference is smaller than or equal to the distance threshold value, determining the parking position is not carried out.
In another embodiment, the processing unit 102 is further configured to: determining a first time at which the terminal is disconnected from the vehicle; if the terminal and the vehicle are connected again after the terminal and the vehicle are disconnected, determining a second time for the terminal and the vehicle to be connected again; and taking the time difference between the second time and the first time as the parking duration of the vehicle.
In another embodiment, the apparatus further comprises a transmitting unit including: and sending the parking position to one or more other preset terminals.
In another embodiment, the processing unit 102 is further configured to: before determining a parking position of the vehicle based on the first position and the second position, it is determined that the second position is not in a resident area of the vehicle.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram illustrating an apparatus 200 for determining a parking position according to an exemplary embodiment. For example, apparatus 200 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the apparatus 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interactions between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 206 provides power to the various components of the device 200. The power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 200.
The multimedia component 208 includes a screen between the device 200 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 further includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing assembly 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 214 includes one or more sensors for providing status assessment of various aspects of the apparatus 200. For example, the sensor assembly 214 may detect the on/off state of the device 200, the relative positioning of the components, such as the display and keypad of the device 200, the sensor assembly 214 may also detect a change in position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and a change in temperature of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate communication between the apparatus 200 and other devices in a wired or wireless manner. The device 200 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 204, including instructions executable by processor 220 of apparatus 200 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
It is understood that the term "plurality" in this disclosure means two or more, and other adjectives are similar thereto. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It is further understood that the terms "first," "second," and the like are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the expressions "first", "second", etc. may be used entirely interchangeably. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that "connected" includes both direct connection where no other member is present and indirect connection where other element is present, unless specifically stated otherwise.
It will be further understood that although operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims (10)

1. A method of determining a parking location, for use with a terminal, the method comprising:
responding to the connection between the terminal and a vehicle, and recording the current position of the vehicle as a first position;
recording a current position of the vehicle as a second position in response to the terminal disconnecting from the vehicle;
determining whether the second location is in a resident region of the vehicle;
determining that the second position is not in a resident area of the vehicle, and determining a parking position of the vehicle according to the first position and the second position;
determining that the second location is in a resident area of the vehicle, and not determining the parking location;
and sending the parking position to one or more other terminals preset so as to share the parking position and the parking time with the one or more other terminals.
2. The method of claim 1, wherein the determining the parking position of the vehicle based on the first position and the second position comprises:
determining a distance difference between the second location and the first location;
and if the distance difference is larger than a distance threshold value, recording a parking position, and determining the second position as the parking position of the vehicle.
3. The method according to claim 2, wherein the method further comprises:
and if the distance difference is smaller than or equal to the distance threshold value, determining the parking position is not carried out.
4. A method according to any one of claims 1 to 3, characterized in that the method further comprises:
determining a first time at which the terminal is disconnected from the vehicle;
if the terminal and the vehicle are connected again after the terminal and the vehicle are disconnected, determining a second time for the terminal and the vehicle to be connected again;
and taking the time difference between the second time and the first time as the parking duration of the vehicle.
5. An apparatus for determining a parking position, applied to a terminal, comprising:
a recording unit that records a current position of the vehicle as a first position in response to the terminal establishing a connection with the vehicle, and records a current position of the vehicle as a second position in response to the terminal disconnecting the connection with the vehicle;
a processing unit for determining whether the second location is in a resident area of the vehicle;
determining that the second position is not in a resident area of the vehicle, and determining a parking position of the vehicle according to the first position and the second position; determining that the second location is in a resident area of the vehicle, and not determining the parking location;
the apparatus further includes a transmitting unit:
the sending unit is used for sending the parking position to one or more other terminals preset so as to share the parking position and the parking time with the one or more other terminals.
6. The apparatus of claim 5, wherein the processing unit determines the parking position of the vehicle from the first position and the second position by:
determining a distance difference between the second location and the first location;
and if the distance difference is larger than a distance threshold value, recording a parking position, and determining the second position as the parking position of the vehicle.
7. The apparatus of claim 6, wherein the processing unit is further configured to:
and if the distance difference is smaller than or equal to the distance threshold value, determining the parking position is not carried out.
8. The apparatus according to any one of claims 5 to 7, wherein the processing unit is further configured to:
determining a first time at which the terminal is disconnected from the vehicle;
if the terminal and the vehicle are connected again after the terminal and the vehicle are disconnected, determining a second time for the terminal and the vehicle to be connected again;
and taking the time difference between the second time and the first time as the parking duration of the vehicle.
9. An apparatus for determining a parking position, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: a method for performing the determination of a parking position as claimed in any one of claims 1 to 4.
10. A storage medium having instructions stored therein which, when executed by a processor of a terminal, enable the terminal comprising the processor to perform the method of determining a parking position according to any one of claims 1 to 4.
CN202210651983.XA 2022-06-10 2022-06-10 Method, device and storage medium for determining parking position Active CN115050207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210651983.XA CN115050207B (en) 2022-06-10 2022-06-10 Method, device and storage medium for determining parking position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210651983.XA CN115050207B (en) 2022-06-10 2022-06-10 Method, device and storage medium for determining parking position

Publications (2)

Publication Number Publication Date
CN115050207A CN115050207A (en) 2022-09-13
CN115050207B true CN115050207B (en) 2023-09-26

Family

ID=83161219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210651983.XA Active CN115050207B (en) 2022-06-10 2022-06-10 Method, device and storage medium for determining parking position

Country Status (1)

Country Link
CN (1) CN115050207B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637114A (en) * 2018-12-13 2019-04-16 成都三柚科技有限公司 Parking management method, device and berth server
WO2019147111A2 (en) * 2019-02-21 2019-08-01 엘지전자 주식회사 Method and device for recording parking location

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637114A (en) * 2018-12-13 2019-04-16 成都三柚科技有限公司 Parking management method, device and berth server
WO2019147111A2 (en) * 2019-02-21 2019-08-01 엘지전자 주식회사 Method and device for recording parking location

Also Published As

Publication number Publication date
CN115050207A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US11516377B2 (en) Terminal, focusing method and apparatus, and computer readable storage medium
EP3156767B1 (en) Method and device for navigating and method and device for generating a navigation video
CN109029479B (en) Navigation reminding method and device, electronic equipment and computer readable storage medium
EP3128774A1 (en) Methods, devices and system for accessing network
CN105956091B (en) Extended information acquisition method and device
US20200186238A1 (en) Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control device
CN113077647B (en) Parking lot navigation method and device, electronic equipment and storage medium
CN114009003A (en) Image acquisition method, device, equipment and storage medium
CN106533907B (en) Information sending method and device
CN109525966B (en) Intelligent device query method and device and storage medium
CN108133181B (en) Method for acquiring indication information, AR device and storage medium
EP3104282A1 (en) Search method and search apparatus
EP3667453A1 (en) Drone control method and device, drone and core network device
CN106506808B (en) Method and device for prompting communication message
CN112927378A (en) Payment management method and device for parking lot, electronic equipment and storage medium
CN115050207B (en) Method, device and storage medium for determining parking position
CN111654819A (en) Garage vehicle positioning method and device and storage medium
CN111225111A (en) Function control method, function control device, and storage medium
CN108009676B (en) Pet route planning method and device
CN111538543B (en) Lost article searching method, lost article searching device and storage medium
CN105430170B (en) Message synchronization method and device and electronic equipment
EP4161054A1 (en) Anchor point information processing method, apparatus and device and storage medium
CN114422578A (en) Shared vehicle control method, device, equipment, readable storage medium and product
CN113460092A (en) Method, device, equipment, storage medium and product for controlling vehicle
CN108595716B (en) Information display method and device and computer readable storage medium

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