CN113593216A - Parking method, parking device, computer equipment and computer readable storage medium - Google Patents

Parking method, parking device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN113593216A
CN113593216A CN202110918581.7A CN202110918581A CN113593216A CN 113593216 A CN113593216 A CN 113593216A CN 202110918581 A CN202110918581 A CN 202110918581A CN 113593216 A CN113593216 A CN 113593216A
Authority
CN
China
Prior art keywords
vehicle
parked
vehicles
parking
parking spot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110918581.7A
Other languages
Chinese (zh)
Other versions
CN113593216B (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.)
Zhejiang Xiaoliu Information Technology Co.,Ltd.
Original Assignee
Ningbo Xiaoliu Sharing Information 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 Ningbo Xiaoliu Sharing Information Technology Co Ltd filed Critical Ningbo Xiaoliu Sharing Information Technology Co Ltd
Priority to CN202110918581.7A priority Critical patent/CN113593216B/en
Publication of CN113593216A publication Critical patent/CN113593216A/en
Application granted granted Critical
Publication of CN113593216B publication Critical patent/CN113593216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/207Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles with respect to certain areas, e.g. forbidden or allowed areas with possible alerting when inside or outside boundaries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the invention discloses a parking method, a parking device, computer equipment and a computer readable storage medium, wherein the parking method comprises the following steps: the method comprises the steps that when a server receives a vehicle locking request, position information of vehicles to be parked is obtained, parking points where the vehicles are located are determined, when the number of first parked vehicles of the parking points is larger than or equal to a first preset number, and the number of second parked vehicles is smaller than a second preset number, two optional vehicles are selected, a reference vehicle is selected from two candidate vehicles, a first distance between the reference vehicle and the vehicles to be parked is calculated, if the first distance is smaller than a preset threshold value, a vehicle locking instruction is sent to the vehicles to be parked, and the number of the second parked vehicles is updated. Therefore, the current situation that a user has to park the vehicle to a far parking spot is improved, the parking requirement of the user is met, and the parking order of the parking spots is ensured.

Description

Parking method, parking device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of vehicles, and in particular, to a parking method, an apparatus, a computer device, and a computer-readable storage medium.
Background
When a user drives a vehicle to the nearest parking spot according to the parking spot information displayed on the terminal, whether the parking spot is full or not cannot be known, so that the user has to drive the vehicle to other parking spots when finding that the parking spot is full, and the vehicle using experience of the user is influenced.
Disclosure of Invention
In view of the above, the present invention provides a parking method, a parking apparatus, a computer device and a computer readable storage medium, so as to improve the current situation that a user has to drive a vehicle into another parking spot when finding that the parking spot is full.
In a first aspect, an embodiment of the present invention provides a parking method, which is applied to a server, and the method includes:
when a vehicle locking request is received, acquiring the position information of a vehicle to be parked corresponding to the vehicle locking request, and determining a parking point where the vehicle to be parked is located;
when the number of first parked vehicles at the parking spot is larger than or equal to a first preset number and the number of second parked vehicles is smaller than a second preset number, selecting two optional vehicles from the vehicles parked at the parking spot, wherein the number of the first parked vehicles represents the number of the vehicles parked in the parking spot, the number of the second parked vehicles represents the number of the vehicles not parked in the parking spot, the server stores the position information of each parked vehicle at the parking spot, and the optional vehicles do not park in the preset direction;
selecting an optional vehicle closest to the vehicle to be parked as a reference vehicle from the two optional vehicles, and calculating a first distance between the vehicle to be parked and the reference vehicle;
and if the first distance is smaller than the preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the second number of parked vehicles at the parking point.
Therefore, according to the parking method provided by the embodiment of the invention, when a server receives a vehicle locking request, the server obtains the position information of the vehicles to be parked and determines the parking points, when the number of the first parked vehicles at the parking points is larger than or equal to the first preset number and the number of the second parked vehicles is smaller than the second preset number, two optional vehicles are selected, a reference vehicle is selected from two candidate vehicles, the first distance between the reference vehicle and the vehicles to be parked is calculated, and if the first distance is smaller than the preset threshold value, a vehicle locking instruction is sent to the vehicles to be parked, and the number of the second parked vehicles is updated.
The parking method provided by the embodiment of the invention realizes that a user can park the vehicle to the edge of the parking spot when finding that the vehicle is fully parked in the parking spot, and initiates a vehicle locking/parking request to the server to lock/park the vehicle after the vehicle is closely attached to the vehicle in the parking spot, improves the current situation that the user has to park the vehicle to a far parking spot, meets the parking requirement of the user, ensures that the vehicle is always parked orderly when the user parks the vehicle, and ensures the parking order of the parking spot.
Optionally, in an implementation manner provided by the embodiment of the present invention, a parking spot is provided with a third preset number of electronic tags, and a server stores position information of each electronic tag;
calculating a first distance of the vehicle to be parked from a reference vehicle, comprising:
selecting a fourth preset number of electronic tags as direction reference tags according to the position information of the reference vehicle, wherein each direction reference tag and the reference vehicle are positioned in the same straight line direction;
calculating a first distance between the vehicle to be parked and the reference vehicle and a second distance between the vehicle to be parked and the reference label in each direction;
if the first distance is smaller than the preset threshold value, a vehicle locking instruction is sent to the vehicle to be parked, and the number of second parked vehicles at the parking spot is updated, wherein the method comprises the following steps:
if the first distance is smaller than the preset threshold value, determining that the vehicle to be parked and each reference label are positioned on the same straight line according to each second distance, sending a vehicle locking instruction to the vehicle to be parked, and updating the number of the second parked vehicles at the parking point.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: when a user parks a vehicle, the user needs to ensure that the vehicle to be parked and the electronic tag in the parking spot are in the same linear direction, and then the user is in the same linear direction with the parked vehicle, so that the parking order of the parking spot is further ensured.
Further, in an implementation manner provided by the embodiment of the present invention, the vehicle located in the parking spot is connected by communicating with the electronic tag to determine whether the vehicle is located in the parking spot or outside the parking spot.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: by utilizing the communication connection relation between the vehicle and the electronic tag, the server can accurately determine the first parking quantity and the second parking quantity, and the effective implementation of the parking method is ensured.
Optionally, in an implementation manner provided by the embodiment of the present invention, if the first distance is greater than or equal to the preset threshold, sending a movement prompting message to the vehicle to be parked and/or a terminal corresponding to the vehicle locking request, so as to prompt the user to move the vehicle to be parked toward the location of the reference vehicle;
acquiring the moved position information of the vehicle to be parked, and updating the first distance;
and if the updated first distance is smaller than the preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the second number of parked vehicles at the parking point.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: the user can clearly know the position where the vehicle needs to be parked, the parking efficiency of the user is improved, the parking experience of the user is improved, the user is guided to park the vehicle to the correct position through the prompt information, and the standard parking of the vehicle is guaranteed.
Optionally, in an implementation manner provided by the embodiment of the present invention, when the number of the first parked vehicles is smaller than the first preset number, the parking prompt information is sent to the to-be-parked vehicle and/or the terminal corresponding to the vehicle locking request, so as to prompt the user to park the vehicle in the parking spot.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: the user can park the vehicles at the edge of the parking spot only after the number of the vehicles in the parking spot is larger than the first preset number, so that the user can preferentially consider that the vehicles are parked in the parking spot instead of the edge of the parking spot, and the reasonable use of the parking spot is ensured.
Optionally, in an implementation manner provided by the embodiment of the present invention, after sending a vehicle locking instruction to a vehicle to be parked and updating the second number of parked vehicles at a parking spot, if the first distance is smaller than the preset threshold, the method further includes:
and recording the current position information of the vehicle to be parked.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: when a user needs to park the vehicle to the edge of the parking spot, the server can guide the user to park the vehicle according to the recorded position information of the vehicle, and therefore the follow-up user can reasonably park the vehicle at the edge of the parking spot.
Optionally, in an implementation manner provided by the embodiment of the present invention, calculating a first distance between the vehicle to be parked and the reference vehicle includes:
controlling a vehicle to be parked to establish Bluetooth connection with a reference vehicle;
a first distance between the vehicle to be parked and the reference vehicle is calculated using Bluetooth technology.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: the server can more accurately determine the first distance between the vehicle to be parked and the reference vehicle, and further reasonable implementation of the parking method is guaranteed.
In a second aspect, an embodiment of the present invention provides a parking apparatus, which is applied to a server, and includes:
the determining module is used for acquiring the position information of the vehicle to be parked corresponding to the vehicle locking request and determining a parking point where the vehicle to be parked is located when the vehicle locking request is received;
the system comprises a first selection module, a second selection module and a third selection module, wherein the first selection module is used for selecting two selectable vehicles from the vehicles parked at the parking spot when the first number of parked vehicles at the parking spot is larger than or equal to a first preset number and the second number of parked vehicles is smaller than a second preset number, the first number of parked vehicles represents the number of the vehicles parked in the parking spot, the second number of parked vehicles represents the number of the vehicles not parked in the parking spot, the server stores the position information of each parked vehicle at the parking spot, and the selectable vehicles do not park in the preset direction;
the second selection module is used for selecting the selectable vehicle closest to the vehicle to be parked from the two selectable vehicles as a reference vehicle and calculating a first distance between the vehicle to be parked and the reference vehicle;
and the locking module is used for sending a vehicle locking instruction to the vehicle to be parked if the first distance is smaller than the preset threshold value, and updating the number of the second parked vehicles at the parking point.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the parking method as disclosed in any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed on a processor, performs the parking method as disclosed in any one of the first aspects.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
FIG. 1 is a flow chart of a parking method according to an embodiment of the present invention;
FIG. 2 shows a schematic view of a parking spot provided by an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a parking method provided by the embodiment of the invention;
FIG. 4 illustrates another schematic view of a parking spot provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a parking apparatus provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Referring to fig. 1, fig. 1 shows a schematic flow chart of a parking method provided by an embodiment of the present invention, where the parking method provided by the embodiment of the present invention is applied to a server, and the parking method includes:
and S110, when the vehicle locking request is received, acquiring the position information of the vehicle to be parked corresponding to the vehicle locking request, and determining the parking point where the vehicle to be parked is located.
It is understood that when the user needs to return the vehicle when arriving at a parking spot near the destination, or when the parking spot needs to temporarily lock the vehicle, the user performs a vehicle locking operation through an application on the terminal, so as to send a vehicle locking request to the server through the terminal, or the vehicle sends a vehicle locking request to the server when arriving at the parking spot according to a preset logic. When the server receives a vehicle locking request sent by a user through a terminal or a vehicle, a geographic information acquisition request is sent to the vehicle to be parked corresponding to the vehicle locking request, so that the vehicle to be parked can acquire the position information of the vehicle through a geographic satellite, and the position information is sent to the server. Or the user sends the vehicle locking request to the server through the terminal or the vehicle to be parked, and the vehicle to be parked actively sends the position information of the vehicle to the server. It should be noted that the embodiment of the present invention does not limit the time when the vehicle to be parked transmits the own position information.
It should be further noted that the vehicle according to the embodiment of the present invention includes the shared electric bicycle, and accordingly, the parking spot includes a parking spot of the shared electric bicycle.
S120, when the number of first parked vehicles at the parking spot is larger than or equal to a first preset number and the number of second parked vehicles is smaller than a second preset number, two optional vehicles are selected from the vehicles parked at the parking spot, wherein the number of the first parked vehicles represents the number of the vehicles parked at the parking spot, the number of the second parked vehicles represents the number of the vehicles not parked at the parking spot, the server stores the position information of each parked vehicle at the parking spot, and the optional vehicles do not park in the preset direction.
It is understood that, in the embodiment of the present invention, the sum of the first number of parked vehicles and the second number of parked vehicles at the parking spot is the number of parked vehicles at the parking spot; the number of the first parked vehicles is larger than or equal to a first preset number, which indicates that the parking spot is full of parked vehicles and cannot accommodate more vehicles.
Further, a second number of parked vehicles represents vehicles parked outside the edge of the parking spot, and specifically referring to fig. 2, fig. 2 shows a schematic diagram of the parking spot provided by the embodiment of the present invention, including a first vehicle 101, a second vehicle 102, a third vehicle 103, a fourth vehicle 104, and a fifth vehicle 105 parked in the parking spot, and a sixth vehicle 106 parked outside the parking spot, and a black dotted line represents a parking range of the parking spot. Further, in the parking spot shown in fig. 2, the first number of parked vehicles is 5, and the second number of parked vehicles is 1.
It should be noted that the parking method provided by the embodiment of the present invention is applied to a parking spot capable of parking a row/line of vehicles, that is, the parking spot shown in fig. 2, in which the first vehicle 101, the second vehicle 102, the third vehicle 103, the fourth vehicle 104, and the fifth vehicle 105 are all parked in the same straight direction.
Further, let the first preset number of the parking spots shown in fig. 2 be 5, and the second preset number be 2; if a user needs to park the vehicle at the parking spot and a vehicle locking request is sent to the server by using the terminal or the vehicle, it can be known from fig. 2 that the first number of parked vehicles is equal to the first preset number, and the second number of parked vehicles is less than the second preset number, so that the server judges that the user can park the vehicle at the parking spot, and selects an optional vehicle according to the position information of all vehicles in the parking spot.
It should be noted that the preset direction in the embodiment of the present invention may be understood as a direction from the center of the parking point to two vehicles farthest to the left and right of the center of the parking point, and therefore, in fig. 2, the selectable vehicles are the leftmost sixth vehicle 106 and the rightmost fifth vehicle 105 in the parking point.
It can be further understood that, after the server in the embodiment of the present invention sends the vehicle locking instruction to the vehicle to be parked, the server records the current position information of the vehicle to be parked, so as to ensure that the subsequent vehicle can be reasonably parked at the edge of the parking spot, and further, in an implementation manner provided by the embodiment of the present invention, the parking method further includes:
and recording the current position information of the vehicle to be parked.
Therefore, the follow-up vehicle can be reasonably parked at the edge of the parking spot. It should be understood that the step of recording the location information may be performed after the server sends the vehicle locking instruction to the vehicle to be parked, or may be performed while the server sends the vehicle locking instruction to the vehicle to be parked, in which the embodiment of the present invention does not excessively limit the time when the server records the location information, and only requires that the server can accurately record the location of the vehicle when the vehicle is locked.
S130, selecting the optional vehicle closest to the vehicle to be parked as a reference vehicle from the two optional vehicles, and calculating a first distance between the vehicle to be parked and the reference vehicle.
Exemplarily, still referring to fig. 2, when the server according to the embodiment of the present invention selects a reference vehicle from two selectable vehicles, namely the sixth vehicle 106 and the fifth vehicle 105, the selectable vehicle close to the vehicle to be parked is selected as the reference vehicle according to the distance relationship between the vehicle to be parked and the two selectable vehicles, so as to avoid a situation that the user is close to the sixth vehicle 106 but needs to park the vehicle to be parked on the right side of the fifth vehicle 105, thereby ensuring the parking experience of the user.
Further, the server calculates the first distance according to the recorded position information of the sixth vehicle 106 and the acquired position information of the vehicle to be parked, so as to determine whether the vehicle to be parked is parked beside the sixth vehicle 106, that is, whether the distance between the vehicle to be parked and the sixth vehicle 106 is close enough.
And S140, if the first distance is smaller than the preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the number of the second parked vehicles at the parking spot.
Still taking fig. 2 as an example, let the reference vehicle be the sixth vehicle 106; when the first distance is smaller than the preset threshold value, the position of the vehicle to be parked is close to the position of the sixth vehicle 106, and the server determines that the vehicle to be parked is located at the edge of the parking spot, namely, the vehicle to be parked meets the requirement of edge parking, so that a vehicle locking instruction is sent to the vehicle to be parked, and the number of the second parked vehicles is updated.
It can be understood that when the user is not clear how to park the vehicle at the edge, or whether the vehicle to be parked is placed at a reasonable position, the user needs to be prompted to guide the user to park the vehicle at the edge of the parking spot, or to know whether the vehicle is parked in a standard. Therefore, in an implementation manner provided by the embodiment of the present invention, the parking method further includes:
if the first distance is greater than or equal to the preset threshold value, sending movement prompting information to the vehicle to be parked and/or a terminal corresponding to the vehicle locking request so as to prompt a user to move the vehicle to be parked towards the position of the reference vehicle;
acquiring the moved position information of the vehicle to be parked, and updating the first distance;
and if the updated first distance is smaller than the preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the second number of parked vehicles at the parking point.
Therefore, the user needing to park can clearly know the position of the vehicle to be parked and guide the user to park the vehicle to the edge of the parking spot, so that the parking experience and the parking efficiency of the user are improved, and the standard parking of the vehicle is guaranteed.
Therefore, the parking method provided by the embodiment of the invention realizes that when a user finds that the parking spot is full of vehicles, the vehicle can be parked to the edge of the parking spot, and after the vehicle is close to the vehicles in the parking spot, a vehicle locking/parking request is initiated to the server to lock/park the vehicle, so that the current situation that the user has to park the vehicle to a far parking spot is improved, the parking requirement of the user is met, the vehicle is surely parked orderly when the user parks the vehicle, and the parking order of the parking spot is further ensured.
Optionally, referring to fig. 3, fig. 3 is another schematic flow chart of the parking method according to the embodiment of the present invention, that is, in an implementation manner according to the embodiment of the present invention, a parking spot is provided with a third preset number of electronic tags, and a server stores position information of each electronic tag;
therefore, S130 of the parking method provided in the embodiment of the present invention includes:
s131, selecting a fourth preset number of electronic tags as direction reference tags according to the position information of the reference vehicle, wherein each direction reference tag and the reference vehicle are located in the same straight line direction;
s132, calculating a first distance between the vehicle to be parked and the reference vehicle and a second distance between the vehicle to be parked and each direction reference label;
further, in the parking method provided in the embodiment of the present invention, S140 includes:
and S141, if the first distance is smaller than the preset threshold value, determining that the vehicle to be parked and each reference tag are positioned on the same straight line according to each second distance, sending a vehicle locking instruction to the vehicle to be parked, and updating the number of the second parked vehicles at the parking point.
It should be noted that, in this embodiment, an electronic tag reader is disposed in the vehicle, and when a user initiates parking, the vehicle scans the electronic tag in the parking spot by the electronic tag reader to obtain the unique tag information of the electronic tag, so that the server obtains the vehicle locking request and also receives the corresponding unique tag information, and thus the server can determine that the vehicle corresponding to the vehicle locking request is parked in the parking spot. Alternatively, the tag unique information may include location information of the electronic tag.
Further, when the user parks in a non-edge mode, namely the vehicle is parked in the parking spot, the electronic tag in the parking spot can be scanned by the vehicle, otherwise, the server determines that the user does not park the vehicle according to the standard, and the user cannot lock/park the vehicle.
It should be noted that, in this embodiment, since the readable distance of the electronic tag is short, and all vehicles parked in the parking spot need to be locked after the electronic tag is scanned, all vehicles parked in the parking spot can be considered to be on the same straight line, that is, all vehicles in the parking spot are in a regular parking state.
Therefore, in order to further ensure that the user parks the vehicle at the edge of the parking spot and the parking order of the parking spot is not affected, the server does not only need to judge whether the first distance between the vehicle to be parked and the reference vehicle is smaller than a preset threshold value, but also needs to judge whether the vehicle to be parked and the reference tag in each direction are in the same straight line, namely, whether the vehicle to be parked and the reference vehicle are parked on the same straight line is judged. It should be noted that, since the parking direction provided by the embodiment of the present invention is applied to a parking spot where a row of vehicles can be parked, all the electronic tags are located on the same line.
Exemplarily, referring to fig. 4, fig. 4 shows another schematic diagram of a parking spot provided by an embodiment of the present invention, which includes a first direction reference tag 111, a second direction reference tag 112, a third direction reference tag 113, and a vehicle 114 to be parked, and a process of determining, by a server, whether the vehicle to be parked and each direction reference tag are located on the same straight line includes: the positions of first direction reference label 111, second direction reference label 112, and third direction reference label 113 are obtained and a first label spacing S1 between first direction reference label 111 and second direction reference label 112 is calculated and a second label spacing S2 between second direction reference label 112 and third direction reference label 113 is calculated.
According to the position of the vehicle 114 to be parked, a first tag distance L1 of the vehicle 114 to be parked from the first direction reference tag 111, a first tag distance L2 of the vehicle 114 to be parked from the second direction reference tag 112, and a first tag distance L3 of the vehicle 114 to be parked from the third direction reference tag 111 are calculated.
If L2-L1 equals S1 and L3-L2 equals S2, then it is determined that the vehicle 114 to be parked is in the same direction as each directional reference tag.
It should be noted that the manner for determining whether the vehicle to be returned and each direction reference tag are on the same straight line provided by the embodiment of the present invention is only an optional manner, and other manners may also be set according to actual situations.
Therefore, based on the implementation mode, the embodiment of the invention ensures that a user can finish returning the vehicle at the edge only after the user parks the vehicle at the edge of the parking spot and the vehicle in the parking spot is in the same straight line direction, and further ensures the parking order of the parking spot.
Further, in an implementation manner provided by the embodiment of the present invention, the vehicle located in the parking spot is connected by communicating with the electronic tag to determine whether the vehicle is located in the parking spot or outside the parking spot.
Specifically, the vehicles in the parking spots are in communication connection with the electronic tags closest to the vehicles, and then the server can accurately determine the first parking number and the second parking number by utilizing the communication connection relation between the electronic tags and the vehicles, so that the effective implementation of the parking method is guaranteed.
Optionally, in an implementation manner provided by the embodiment of the present invention, when the number of the first parked vehicles is smaller than the first preset number, the parking prompt information is sent to the to-be-parked vehicle and/or the terminal corresponding to the vehicle locking request, so as to prompt the user to park the vehicle in the parking spot.
It can be understood that, according to the parking method provided by the embodiment of the present invention, if and only if the parking spot is full of vehicles, the server guides the user to park the vehicles outside the edge of the parking spot, and if the parked vehicles in the parking spot are used by other users and the first parking number is smaller than the first preset number, the user needs to park the vehicles in the parking spot, so as to ensure the rational use of the parking spot. Therefore, the user is enabled to give priority to stopping the vehicle in the parking spot instead of the edge of the parking spot, and the standard parking of the vehicle is guaranteed.
Optionally, in an implementation manner provided in the embodiment of the present invention, S130 includes:
controlling a vehicle to be parked to establish Bluetooth connection with a reference vehicle;
a first distance between the vehicle to be parked and the reference vehicle is calculated using Bluetooth technology.
It can be understood that the position information related in the embodiment of the present invention may be understood as geographic position information acquired by a vehicle through a geographic satellite; there may then be a certain error in calculating the first distance of the vehicle to be parked from the reference vehicle.
Therefore, in order to avoid calculation errors, the embodiment of the invention adopts a mode of calculating the first distance by using the bluetooth technology to ensure that the calculation of the first distance is accurate, thereby further ensuring the reasonable implementation of the parking method.
Corresponding to the parking method provided by the embodiment of the present invention, the embodiment of the present invention further provides a parking apparatus, referring to fig. 5, and fig. 5 shows a schematic structural diagram of the parking apparatus provided by the embodiment of the present invention, where the parking apparatus 200 provided by the embodiment of the present invention is applied to a server, and the parking apparatus 200 includes:
the determining module 210 is configured to, when receiving a vehicle locking request, obtain position information of a vehicle to be parked corresponding to the vehicle locking request, and determine a parking spot where the vehicle to be parked is located;
the first selecting module 220 is configured to select two selectable vehicles from the vehicles parked at the parking spot when the first number of parked vehicles at the parking spot is greater than or equal to a first preset number and the second number of parked vehicles is less than a second preset number, where the first number of parked vehicles represents the number of vehicles parked in the parking spot, the second number of parked vehicles represents the number of vehicles not parked in the parking spot, the server stores position information of each parked vehicle at the parking spot, and no vehicle is parked in a preset direction of the selectable vehicle;
the second selecting module 230 is configured to select, from the two selectable vehicles, a selectable vehicle closest to the vehicle to be parked as a reference vehicle, and calculate a first distance between the vehicle to be parked and the reference vehicle;
and the locking module 240 is configured to send a vehicle locking instruction to the vehicle to be parked if the first distance is smaller than the preset threshold, and update the number of the second parked vehicles at the parking spot.
It can be understood that the technical solution of the parking apparatus disclosed in the embodiment of the present invention is used for executing the parking method disclosed in the embodiment through the synergistic effect of the functional modules, and the embodiment and the beneficial effects related to the parking method are also applicable to this embodiment, and are not described herein again.
The embodiment of the invention also provides computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the parking method disclosed in the embodiment of the invention when running on the processor.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when running on a processor, executes the parking method disclosed in the embodiment of the present invention.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention 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.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A parking method, applied to a server, the method comprising:
when a vehicle locking request is received, acquiring position information of a vehicle to be parked corresponding to the vehicle locking request, and determining a parking point where the vehicle to be parked is located;
when the number of first parked vehicles of the parking spot is larger than or equal to a first preset number and the number of second parked vehicles of the parking spot is smaller than a second preset number, two optional vehicles are selected from the vehicles parked in the parking spot, wherein the number of the first parked vehicles represents the number of the vehicles parked in the parking spot, the number of the second parked vehicles represents the number of the vehicles not parked in the parking spot, the server stores position information of each parked vehicle of the parking spot, and the optional vehicles do not park in the preset direction;
selecting an optional vehicle closest to the vehicle to be parked as a reference vehicle from the two optional vehicles, and calculating a first distance between the vehicle to be parked and the reference vehicle;
and if the first distance is smaller than a preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the second number of parked vehicles at the parking spot.
2. The parking method according to claim 1, wherein a third preset number of electronic tags are provided to the parking spot, and the server stores position information of each electronic tag;
the calculating a first distance of the vehicle to be parked from the reference vehicle comprises:
selecting a fourth preset number of electronic tags as direction reference tags according to the position information of the reference vehicle, wherein each direction reference tag and the reference vehicle are positioned in the same straight line direction;
calculating a first distance between the vehicle to be parked and the reference vehicle and a second distance between the vehicle to be parked and each of the directional reference tags;
if the first distance is smaller than a preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the second number of parked vehicles at the parking spot, including:
if the first distance is smaller than a preset threshold value, determining that the vehicles to be parked and the reference labels are located on the same straight line according to the second distances, sending vehicle locking instructions to the vehicles to be parked, and updating the number of the second parked vehicles at the parking spots.
3. The parking method of claim 2 wherein the vehicle located within a parking spot is communicatively coupled to the electronic tag to determine whether the vehicle is located within or outside the parking spot.
4. The parking method of claim 1, further comprising:
if the first distance is larger than or equal to the preset threshold value, sending movement prompting information to the vehicle to be parked and/or a terminal corresponding to the vehicle locking request so as to prompt a user to move the vehicle to be parked towards the position of the reference vehicle;
acquiring the moved position information of the vehicle to be parked, and updating the first distance;
and if the updated first distance is smaller than a preset threshold value, sending a vehicle locking instruction to the vehicle to be parked, and updating the second number of parked vehicles at the parking spot.
5. The parking method of claim 1, further comprising:
and when the number of the first parked vehicles is smaller than a first preset number, sending parking prompt information to the to-be-parked vehicle and/or a terminal corresponding to the vehicle locking request so as to prompt a user to park the vehicle in a parking spot.
6. The parking method according to claim 1, wherein after sending a vehicle locking command to the vehicle to be parked and updating the second number of parked vehicles at the parking spot if the first distance is smaller than a preset threshold, the method further comprises:
and recording the current position information of the vehicle to be parked.
7. The parking method according to claim 1, wherein said calculating a first distance of the vehicle to be parked from the reference vehicle comprises:
controlling the vehicle to be parked to establish Bluetooth connection with the reference vehicle;
and calculating a first distance between the vehicle to be parked and the reference vehicle by utilizing Bluetooth technology.
8. A parking apparatus, applied to a server, the apparatus comprising:
the system comprises a determining module, a parking position determining module and a parking position determining module, wherein the determining module is used for acquiring the position information of a vehicle to be parked corresponding to a vehicle locking request and determining a parking point where the vehicle to be parked is located when the vehicle locking request is received;
the system comprises a first selecting module, a second selecting module and a server, wherein the first selecting module is used for selecting two selectable vehicles from the vehicles parked at the parking spot when the first number of parked vehicles at the parking spot is larger than or equal to a first preset number and the second number of parked vehicles is smaller than a second preset number, the first number of parked vehicles represents the number of the vehicles parked in the parking spot, the second number of parked vehicles represents the number of the vehicles not parked in the parking spot, the server stores the position information of each parked vehicle at the parking spot, and the selectable vehicles do not park in the preset direction;
the second selection module is used for selecting the optional vehicle closest to the vehicle to be parked from the two optional vehicles as a reference vehicle and calculating a first distance between the vehicle to be parked and the reference vehicle;
and the locking module is used for sending a vehicle locking instruction to the vehicle to be parked and updating the second number of parked vehicles at the parking spot if the first distance is smaller than a preset threshold value.
9. A computer arrangement, characterized by comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs the parking method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when run on a processor, performs the parking method according to any one of claims 1-7.
CN202110918581.7A 2021-08-11 2021-08-11 Parking method, parking device, computer equipment and computer readable storage medium Active CN113593216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110918581.7A CN113593216B (en) 2021-08-11 2021-08-11 Parking method, parking device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110918581.7A CN113593216B (en) 2021-08-11 2021-08-11 Parking method, parking device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113593216A true CN113593216A (en) 2021-11-02
CN113593216B CN113593216B (en) 2022-05-31

Family

ID=78257158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110918581.7A Active CN113593216B (en) 2021-08-11 2021-08-11 Parking method, parking device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113593216B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115527360A (en) * 2022-09-01 2022-12-27 汉海信息技术(上海)有限公司 Method and medium for determining vehicle home parking point

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014641A (en) * 2010-07-05 2012-01-19 Sage Co Ltd User management system in car sharing system, user management method, program and computer readable recording medium
KR20170072846A (en) * 2015-12-15 2017-06-27 경희대학교 산학협력단 System and method of a shared parking model in vehicular network using fog and cloud environment
CN207517055U (en) * 2017-08-18 2018-06-19 鄂尔多斯市普渡科技有限公司 Vehicle condition verifies system when a kind of shared automatic driving car is returned the car
CN111815991A (en) * 2019-05-30 2020-10-23 北京嘀嘀无限科技发展有限公司 Shared automobile parking management and control method, electronic equipment and storage medium
CN112950922A (en) * 2021-01-26 2021-06-11 浙江得图网络有限公司 Fixed-point returning method for sharing electric vehicle
KR20210090877A (en) * 2020-01-13 2021-07-21 엄동환 System and method for sharing and managing idle parking area

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014641A (en) * 2010-07-05 2012-01-19 Sage Co Ltd User management system in car sharing system, user management method, program and computer readable recording medium
KR20170072846A (en) * 2015-12-15 2017-06-27 경희대학교 산학협력단 System and method of a shared parking model in vehicular network using fog and cloud environment
CN207517055U (en) * 2017-08-18 2018-06-19 鄂尔多斯市普渡科技有限公司 Vehicle condition verifies system when a kind of shared automatic driving car is returned the car
CN111815991A (en) * 2019-05-30 2020-10-23 北京嘀嘀无限科技发展有限公司 Shared automobile parking management and control method, electronic equipment and storage medium
KR20210090877A (en) * 2020-01-13 2021-07-21 엄동환 System and method for sharing and managing idle parking area
CN112950922A (en) * 2021-01-26 2021-06-11 浙江得图网络有限公司 Fixed-point returning method for sharing electric vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115527360A (en) * 2022-09-01 2022-12-27 汉海信息技术(上海)有限公司 Method and medium for determining vehicle home parking point
CN115527360B (en) * 2022-09-01 2024-03-15 汉海信息技术(上海)有限公司 Method and medium for judging vehicle attribution parking point

Also Published As

Publication number Publication date
CN113593216B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN102334147B (en) Vehicle-mounted information processing apparatus and information processing method
JP3316842B2 (en) Automatic guided vehicle system and automatic guided vehicle guidance method
CN111907521B (en) Transverse control method and device for automatic driving vehicle and storage medium
CN111497828A (en) Automatic parking method, device, medium and equipment
CN103781685A (en) Autonomous driving control system for vehicle
CN111278716B (en) Method for autonomously parking a current vehicle along a training trajectory
CN113593216B (en) Parking method, parking device, computer equipment and computer readable storage medium
CN112912291A (en) Method for planning a parking process supported by a parking assistance system
CN110796889A (en) Parking space determining method and device for passenger-riding parking
CN112348035A (en) Vehicle key point detection method and device and electronic equipment
EP3813035A1 (en) Vehicle control method and device
CN111683850B (en) Parking support device and parking support method
CN111768254A (en) Order processing method and device
CN112270825A (en) Parking determination method and device, electronic equipment and storage medium
CN112286204A (en) Control method and device of automatic guiding device, processor and electronic equipment
CN117213510A (en) Automatic driving tracking travel information processing method, device, equipment and storage medium
CN113596728B (en) Vehicle parking method and device and terminal equipment
CN111824064B (en) Vehicle anti-theft method and device
CN113723646A (en) Vehicle parking method and device and terminal equipment
US9483892B2 (en) Smart key apparatus and method for processing signal of smart key apparatus
CN113706788B (en) Method and device for determining shared vehicle returning time and computer equipment
US10395443B2 (en) Testing for errors of a sensor system for acquiring a state of occupancy of a parking space
CN111142422A (en) Sensor information processing method for ios system
CN111861625A (en) Abnormal order determining method and device
EP4019350B1 (en) Method and device for automatic parking, vehicle and 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
CP03 Change of name, title or address

Address after: Room 101 (201) -6, Building 5, Building 6 and 7, Kexin Building, Shounan Street, Yinzhou District, Ningbo City, Zhejiang Province, 315100

Patentee after: Zhejiang Xiaoliu Information Technology Co.,Ltd.

Address before: Room 1401-1, No.6 and No.7, building 5, Kexin building, Shounan street, Yinzhou District, Ningbo City, Zhejiang Province, 315000

Patentee before: NINGBO LIUBIKE INFORMATION TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address