Parking fence range determination method, device and readable storage medium
By reporting the positioning position through the static positioning device in the parking fence and combining it with the clustering algorithm to determine the abnormal positioning environment, the parking fence range is dynamically adjusted, which solves the problem of insufficient positioning accuracy in the existing technology and improves the user's car return experience.
Patent Information
- Application Number
- CN202210240776.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-03-10
AI Technical Summary
The existing GPS and WiFi positioning methods have low positioning accuracy in the parking fence, which leads to users parking in the parking fence but the positioning position is not in the fence, and they cannot return the car, which makes the user experience poor.
The static positioning device in the parking fence reports the positioning position, and the clustering algorithm is used to determine whether the parking fence is in an abnormal positioning environment. If so, the fence range is expanded; otherwise, a smaller range is used.
It improves positioning accuracy, avoids the situation where users are unable to return the car, and improves the user's return experience.
Smart Images

Figure CN114827899B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of vehicle technology, and more specifically, to a method and device for determining a fence range of a parking fence, and a readable storage medium. Background Art
[0002] To regulate the parking of shared vehicles, users must park the vehicles in the preset parking fences after using the vehicles.
[0003] Currently, the vehicle can be located by GPS (Global Positioning System), WiFi, etc. If the location of the vehicle falls within a parking fence, the user is allowed to return the vehicle.
[0004] However, the positioning accuracy of positioning methods such as GPS and WiFi is not high. It is easy for users to park within the parking fence but the positioning position is not within the parking fence, making it impossible to return the car, resulting in a poor user experience when returning the car. Summary of the invention
[0005] One purpose of an embodiment of the present invention is to provide a new technical solution for determining the fence range of a parking fence.
[0006] According to a first aspect of the present invention, a method for determining the fence range of a parking fence is provided, comprising: for each positioning device of at least one positioning device in a stationary state within the parking fence, obtaining each positioning position output by the positioning device; determining whether the parking fence is in an abnormal positioning environment based on each of the positioning positions obtained; when the parking fence is in an abnormal positioning environment, determining the fence range of the parking fence to be a range obtained by extending a first distance value outward from the fence boundary of the parking fence; and, when the parking fence is not in an abnormal positioning environment, determining the fence range of the parking fence to be a range obtained by extending a second distance value outward from the fence boundary of the parking fence; wherein the first distance value is greater than the second distance value.
[0007] Optionally, determining whether the parking fence is in an abnormal positioning environment based on each of the acquired positioning positions includes: determining a positioning position clustering degree value corresponding to the positioning device based on each positioning position output by the positioning device and in combination with a set clustering algorithm; determining a positioning position clustering degree value corresponding to the parking fence based on a positioning position clustering degree value corresponding to each of the positioning devices; determining whether the parking fence is in an abnormal positioning environment based on the positioning position clustering degree value corresponding to the parking fence.
[0008] Optionally, the method of determining a positioning position aggregation degree value corresponding to the positioning device based on each positioning position output by the positioning device and in combination with a set clustering algorithm includes: determining, based on the clustering algorithm, each positioning position that serves as a noise positioning position from each positioning position output by the positioning device; and determining a positioning position aggregation degree value corresponding to the positioning device based on the total number of each positioning position output by the positioning device and the total number of each positioning position determined as a noise positioning position.
[0009] Optionally, determining the positioning position concentration value corresponding to the positioning device according to the total number of positioning positions output by the positioning device and the total number of positioning positions determined as noise positioning positions comprises: substituting the total number of positioning positions output by the positioning device and the total number of positioning positions determined as noise positioning positions into a setting formula to obtain the positioning position concentration value corresponding to the positioning device; the setting formula comprises: Wherein, w represents the positioning position concentration value corresponding to the positioning device, noiseCount represents the total number of each positioning position determined as the noise positioning position, and totalCount represents the total number of each positioning position output by the positioning device.
[0010] Optionally, the method also includes: in response to a return request for a target vehicle issued by a user, obtaining the positioning position of the target vehicle; determining whether the positioning position of the target vehicle is within the fence range of the parking fence; and performing a return process for the target vehicle if the positioning position of the target vehicle is within the fence range of the parking fence.
[0011] Optionally, the at least one positioning device in a stationary state within the parking fence includes: at least one vehicle in a locked state within the parking fence.
[0012] Optionally, the first distance value is 50m and the second distance value is 20m.
[0013] According to a second aspect of the present invention, a device for determining a fence range of a parking fence is also provided, comprising: an acquisition module for acquiring each positioning position output by each positioning device of at least one positioning device in a stationary state within the parking fence; a first determination module for determining whether the parking fence is in an abnormal positioning environment based on each of the acquired positioning positions; and a second determination module for determining, when the parking fence is in an abnormal positioning environment, that the fence range of the parking fence is a range obtained by extending a first distance value outward from the fence boundary of the parking fence, and, when the parking fence is not in an abnormal positioning environment, determining that the fence range of the parking fence is a range obtained by extending a second distance value outward from the fence boundary of the parking fence; wherein the first distance value is greater than the second distance value.
[0014] According to a third aspect of the present invention, there is also provided a device for determining the fence range of a parking fence, comprising a memory and a processor, wherein the memory is used to store a computer program; the processor is used to execute the computer program to implement the method according to the first aspect of the present invention.
[0015] According to a fourth aspect of the present invention, there is further provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method according to the first aspect of the present invention is implemented.
[0016] One beneficial effect of the embodiment of the present invention is that, according to each positioning position reported by the stationary positioning device in the parking fence, it is determined whether the parking fence is in an abnormal positioning environment. If it is in an abnormal positioning environment, a larger fence range is used, otherwise a smaller fence range is used. This embodiment combines the positioning accuracy that can be supported by the environment in which the parking fence is located, and correspondingly determines the fence range of the parking fence reasonably, so as to avoid the situation where the user parks in the parking fence but the positioning position is not in the parking fence, and thus cannot return the car, thereby improving the user's car return experience.
[0017] Other features and advantages of embodiments of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments of the invention.
[0019] Figure 1 is a schematic diagram of an implementation environment in which a method for determining a fence range of a parking fence according to an embodiment can be applied, and a system composition structure in which the method can be implemented;
[0020] Figure 2 is a flow chart of a method for determining a fence range of a parking fence according to an embodiment;
[0021] Figure 3 is a flow chart of a method for determining a fence range of a parking fence according to another embodiment;
[0022] Figure 4 is a block diagram of a device for determining a fence range of a parking fence according to an embodiment;
[0023] Figure 5 It is a schematic diagram of the hardware structure of a device for determining a fence range of a parking fence according to one embodiment. DETAILED DESCRIPTION
[0024] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0025] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0026] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0027] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0028] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0029] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0030] An application scenario of an embodiment of the present invention is a scenario of determining a fence range of a parking fence.
[0031] In an optional implementation, for any parking fence, the fence boundary of the parking fence can be extended outward by a set distance as the fence range of the parking fence. By comparing the positioning position of the vehicle with the fence range of the parking fence, it can be determined whether the vehicle is in the parking fence.
[0032] Among them, the location of the vehicle can be determined through positioning technologies such as GPS and Wi-Fi. However, the positioning accuracy of these positioning technologies is usually affected by the environment in which the vehicle is located.
[0033] Taking GPS positioning technology as an example, if the vehicle is located in an environment surrounded by tall buildings, there will be large positioning errors, long positioning time, or even positioning failure.
[0034] Taking Wi-Fi positioning technology as an example, if the vehicle is located in an environment far away from a wireless access point, the vehicle may be positioned near the wireless access point, thus being far away from its actual location.
[0035] Based on the above content, if the value of the above-mentioned set distance is large, for a parking fence in a normal positioning environment (i.e., the positioning error caused by the environment is small), it is possible that the vehicle is not actually within the parking fence, but the vehicle's positioning position is within the fence range of the parking fence, resulting in an erroneous judgment that the vehicle is within the parking fence, which fails to achieve the purpose of standardized parking.
[0036] If the value of the above-mentioned set distance is small, for a parking fence in an abnormal positioning environment (i.e., the positioning error caused by the environment is large), it is possible that the vehicle is actually inside the parking fence, but the vehicle's positioning position is not within the fence range of the parking fence, resulting in an erroneous judgment that the vehicle is not within the parking fence, and the user's vehicle return experience is poor.
[0037] In response to the technical problems existing in the above embodiments, the inventors proposed a method for determining the fence range of a parking fence, the method comprising: for each positioning device of at least one positioning device in a stationary state within the parking fence, obtaining each positioning position output by the positioning device; determining whether the parking fence is in an abnormal positioning environment based on each positioning position obtained; when the parking fence is in an abnormal positioning environment, determining the fence range of the parking fence to be a range obtained by extending a first distance value outward from the fence boundary of the parking fence; and, when the parking fence is not in an abnormal positioning environment, determining the fence range of the parking fence to be a range obtained by extending a second distance value outward from the fence boundary of the parking fence; wherein the first distance value is greater than the second distance value.
[0038] <Implementation environment and hardware configuration>
[0039] like Figure 1 As shown, the fence range determination system 100 of the parking fence includes a server 2000 , a terminal device 1000 , and a vehicle 3000 .
[0040] The server 2000 and the terminal device 1000, as well as the server 2000 and the vehicle 3000, can be connected to each other through a network 4000. The network 4000 based on which the vehicle 3000 and the server 2000, as well as the terminal device 1000 and the server 2000 communicate can be the same or different. The network 4000 can be a wireless communication network or a wired communication network, and can be a local area network or a wide area network.
[0041] The server 2000 provides a business point for processing, database, and communication facilities. The server 2000 can be an integrated server, a distributed server across multiple computers, a computer data center, a cloud server, or a server cluster deployed in the cloud. The server can be of various types, such as but not limited to a network server, a news server, a mail server, a message server, an advertising server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or an embedded logic component or a combination of two or more such components for executing the appropriate functions supported or implemented by the server. The specific configuration of the server 2000 may include but is not limited to a processor 2100, a memory 2200, an interface device 2300, and a communication device 2400. The processor 2100 is used to execute a computer program written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 2200 is, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 2300 is, for example, a USB interface, a serial interface, a parallel interface, etc. The communication device 2400 is, for example, capable of wired communication or wireless communication, and may include WiFi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc.
[0042] As used in the embodiment of the present invention, the memory 2200 of the server 2000 is used to store a computer program, which is used to control the processor 2100 to operate to support the implementation of the method according to the embodiment of the present invention. A technician can design the computer program according to the scheme disclosed in the present invention. How the computer program controls the processor to operate is well known in the art, so it will not be described in detail here.
[0043] It should be understood by those skilled in the art that Figure 1 In addition to the devices shown, the server 2000 may also include other devices, which are not limited here.
[0044] In this embodiment, the terminal device 1000 is, for example, a mobile phone, a portable computer, a tablet computer, a PDA, a wearable device, etc.
[0045] The terminal device 1000 is installed with a vehicle application client, and the user can use the vehicle 3000 by operating the vehicle application client.
[0046] The terminal device 1000 may include but is not limited to a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. Among them, the processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, etc., for executing a computer program, and the computer program may be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 may include, for example, a USB interface, a serial interface, a parallel interface, etc. The communication device 1400 may, for example, be capable of wired communication using an optical fiber or cable, or wireless communication, and may specifically include WiFi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc. The display device 1500 may be, for example, a liquid crystal display screen, a touch display screen, etc. The input device 1600 may include, for example, a touch screen, a keyboard, somatosensory input, etc. The speaker 1170 is used to output audio signals, and the microphone 1180 is used to pick up audio signals.
[0047] In the embodiment of the present invention, the memory 1200 of the terminal device 1000 is used to store a computer program, which is used to control the processor 1100 to operate to support the implementation of the method according to the embodiment of the present invention. How the computer program controls the processor to operate is well known in the art, so it is not described in detail here. The terminal device 1000 can be installed with an intelligent operating system (such as Windows, Linux, Android, IOS, etc.) and application software.
[0048] It should be understood by those skilled in the art that although Figure 1 , multiple devices of the terminal device 1000 are shown, but the terminal device 1000 of the embodiment of the present invention may only involve some of the devices, for example, only the processor 1100, the memory 1200, etc.
[0049] Vehicle 3000 may be Figure 1 The bicycle shown in the figure may also be in various forms such as a tricycle, an electric power-assisted bicycle, a motorcycle, and a four-wheeled passenger vehicle, and the like, without limitation thereto.
[0050] The vehicle 3000 may include, but is not limited to, a processor 3100, a memory 3200, an interface device 3300, a communication device 3400, a display device 3500, an input device 3600, and the like. The processor 3100 may be a microprocessor MCU, and the like. The memory 3200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, and the like. The interface device 3300 may include, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 3400 may, for example, be capable of wired communication using optical fiber or cable, or wireless communication, and may specifically include WiFi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, and the like. The display device 3500 may, for example, be a liquid crystal display, a touch display, and the like. The input device 3600 may, for example, include a touch screen, a keyboard, and the like, or may be a microphone for inputting voice information.
[0051] In the embodiment of the present invention, the memory 3200 of the vehicle 3000 is used to store a computer program, which is used to control the processor 3100 to operate to support the implementation of the method according to the embodiment of the present invention. How the computer program controls the processor to operate is well known in the art, so it will not be described in detail here.
[0052] Despite Figure 1 , multiple devices of the vehicle 3000 are shown; however, the present invention may only involve some of the devices, for example, the vehicle 3000 only involves the processor 3100 , the memory 3200 and the communication device 3400 .
[0053] It should be understood that although Figure 1 Only one server 2000, terminal device 1000, and vehicle 3000 are shown, but this does not mean that their respective numbers are limited. The system may include multiple servers 2000, multiple terminal devices 1000, and multiple vehicles 3000.
[0054] Hereinafter, various embodiments and examples according to the present invention are described with reference to the accompanying drawings.
[0055] <Method Example>
[0056] Figure 2 FIG. 1 is a flow chart of a method for determining a fence range of a parking fence according to an embodiment. Figure 1 Server 2000 in.
[0057] like Figure 2 As shown, the method for determining the fence range of the parking fence of this embodiment may include the following steps S210 to S240:
[0058] Step S210: for each positioning device of at least one positioning device in a stationary state within the parking fence, obtain each positioning position output by the positioning device.
[0059] Preferably, the at least one positioning device may be at least one vehicle in a locked state within the parking fence. The vehicle has completed the previous order and has not yet started the next order. In other embodiments of the present invention, the at least one positioning device may also be a dedicated positioning device arranged or placed within the parking fence.
[0060] In this embodiment, the positioning device can obtain its positioning position based on positioning technologies such as GPS, Wi-Fi, etc.
[0061] In this embodiment, the positioning device can periodically sample the positioning position to obtain various positioning positions of the positioning device at different time points. Since the positioning device is in a stationary state, each positioning position should theoretically be consistent with the actual position of the positioning device.
[0062] Based on the above, in one embodiment of the present invention, the at least one positioning device in a stationary state within the parking fence includes: at least one vehicle in a locked state within the parking fence.
[0063] In this embodiment, after the user parks the vehicle in the parking fence and completes the vehicle return operation, the vehicle is in a stationary state, so that it can periodically report its own positioning position to the server, so that the server can identify whether the parking fence where the vehicle is located is in an abnormal positioning environment based on the distribution characteristics of the positioning position, that is, whether the parking fence is a positioning abnormality fence.
[0064] It is feasible to obtain all positioning positions of vehicles in the parking fence from the end of the previous order to the start of the next order.
[0065] Step S220, determining whether the parking fence is in an abnormal positioning environment based on each of the acquired positioning positions, and executing step S230 or step S240.
[0066] In this embodiment, the positioning device is located in the parking fence, and the two are in the same external environment. In this way, it is possible to determine whether the external environment is an abnormal positioning environment based on the impact of the external environment on the positioning accuracy of the positioning device.
[0067] Thus, in this step, it can be determined whether the parking fence where the positioning device is located is located in an abnormal positioning environment based on each positioning position obtained.
[0068] Generally speaking, the less accurate positioning is supported by the parking fence, the greater the positioning error of the vehicle in the parking fence, the greater the positioning error of each positioning position reported by the positioning device, the more dispersed these positioning positions are, and the more difficult it is to show clustering characteristics. Conversely, the easier it is to show clustering characteristics. In this way, it is possible to distinguish whether the parking fence environment is a positioning abnormal environment based on the degree of clustering of these positioning positions.
[0069] Based on this, in one embodiment of the present invention, the step S220, determining whether the parking fence is in an abnormal positioning environment according to each of the acquired positioning positions, may include the following steps S2201 to S2203:
[0070] Step S2201: Determine the clustering degree value of the positioning position corresponding to the positioning device according to each positioning position output by the positioning device and in combination with a set clustering algorithm.
[0071] In this step, based on the set clustering algorithm, for any positioning device, the degree of clustering of all positioning positions output by the positioning device can be determined. Feasibly, the clustering algorithm can be a DBSCAN coordinate clustering denoising algorithm.
[0072] In detail, cluster analysis is performed on these positioning positions based on a clustering algorithm to obtain each positioning position that is noise in these positioning positions. The higher the clustering degree, the fewer the number of noise points, and vice versa. In this way, the clustering degree can be determined based on the total number of positioning points and the number of noise points.
[0073] Taking the DBSCAN clustering algorithm as an example, by setting appropriate minpoints and eps values (such as minpoints=3, eps=10m), cluster analysis can be performed on the obtained positioning positions to determine which positioning positions are noise points, thereby determining the number of noise points.
[0074] Among them, eps, namely Epsilon, is the distance threshold, which is used to define a neighborhood. The sample type is defined by counting the number of samples in the neighborhood.
[0075] Among them, minPoints is the minimum number of samples in the neighborhood, and is the threshold of the number of samples. If the number of samples in the neighborhood of a sample is greater than the threshold, the sample is called a core sample. If the number of samples in the neighborhood of a sample is less than the threshold, the sample is called a boundary sample. If a sample is not in the neighborhood of any core sample, the sample is called a noise sample.
[0076] Based on this, in one embodiment of the present invention, the step S2201, according to each positioning position output by the positioning device and in combination with a set clustering algorithm, determines the positioning position aggregation value corresponding to the positioning device, which may include the following steps S22011 to S22012:
[0077] Step S22011: According to the clustering algorithm, various positioning positions output by the positioning device are determined as noise positioning positions.
[0078] In this step, cluster analysis is performed on all positioning positions output by a positioning device based on a clustering algorithm, so that the positioning positions that are noise points can be determined, and thus the number of the positioning positions in this part can be determined.
[0079] Step S22012: Determine the positioning position concentration value corresponding to the positioning device according to the total number of positioning positions output by the positioning device and the total number of positioning positions determined as noise positioning positions.
[0080] In this step, the positioning position aggregation degree value of the positioning device is determined according to the total number of all positioning positions output by the positioning device and the total number of positioning positions that are noise points.
[0081] In one embodiment of the present invention, the step S22012, determining the positioning position aggregation value corresponding to the positioning device according to the total number of each positioning position output by the positioning device and the total number of each positioning position determined as the noise positioning position, includes:
[0082] By substituting the total number of each positioning position output by the positioning device and the total number of each positioning position determined as the noise positioning position into a setting formula, a positioning position aggregation degree value corresponding to the positioning device is obtained;
[0083] The setting formula includes:
[0084] Wherein, w represents the positioning position concentration value corresponding to the positioning device, noiseCount represents the total number of each positioning position determined as the noise positioning position, and totalCount represents the total number of each positioning position output by the positioning device.
[0085] For example, if a positioning position outputs 23 positioning positions in total, among which there are 3 positioning positions that are noise points, then the positioning position aggregation degree value of the positioning position may be w=1-3 / 23.
[0086] In this embodiment, the greater the proportion of noise points in all positioning points, the lower the degree of aggregation of these positioning points, and the more dispersed these positioning points are, indicating that the environment where the parking fence is located is not conducive to accurate vehicle positioning, and the parking fence is in an abnormal positioning environment. On the contrary, the parking fence is not in an abnormal positioning environment.
[0087] It can be seen that based on the above formula, this embodiment can accurately judge whether the parking fence is located in an abnormal positioning environment. Based on the judgment result, a suitable fence range can be determined for the parking fence to support the user's accurate judgment on whether to return the car in accordance with regulations.
[0088] Step S2202: Determine the positioning position concentration value corresponding to the parking fence according to the positioning position concentration value corresponding to each of the positioning devices.
[0089] In this step, when there are multiple positioning devices, the average value of the positioning position concentration degree values of the multiple positioning devices can be calculated, and the average value can be used as the positioning position concentration degree value of the parking fence.
[0090] Step S2203, determining whether the parking fence is in an abnormal positioning environment based on the positioning position concentration value corresponding to the parking fence.
[0091] In this step, the obtained aggregation degree value may be compared with a preset threshold to determine whether the parking fence is in an abnormal positioning environment.
[0092] Taking the aggregation value calculated by the above formula as an example, the higher the aggregation value, the smaller the positioning error and the higher the positioning accuracy. If the aggregation value is greater than or equal to the preset threshold, it can be determined that the parking fence is not located in an abnormal positioning environment. Otherwise, it is located in an abnormal positioning environment.
[0093] Step S230, when the parking fence is in an abnormal positioning environment, determine the fence range of the parking fence as a range obtained by extending a first distance value outward from the fence boundary of the parking fence.
[0094] In an abnormal positioning environment, if the user returns the vehicle in this environment, the positioning error caused by the environment to the vehicle positioning is large. In order to avoid the situation where the user parks the vehicle in the parking fence, but the fence range is small, so that the vehicle positioning position is outside the fence range of the parking fence, resulting in the erroneous judgment result that the user has not parked in a standardized manner, a larger fence range can be set for the parking fence. In this way, even if the user returns the vehicle in an abnormal positioning environment, the standardized return can be accurately judged, which improves the user's return experience.
[0095] Preferably, if it is determined that the positioning position of the vehicle is within the fence range of the parking fence, it can be considered that the vehicle is within the parking fence, that is, it can be considered that the user has parked the vehicle in a standardized manner.
[0096] Step S240, when the parking fence is not in an abnormal positioning environment, determine the fence range of the parking fence as a range obtained by extending a second distance value outward from the fence boundary of the parking fence; wherein the first distance value is greater than the second distance value.
[0097] In a normal positioning environment, if the user returns the vehicle in this environment, the positioning error caused by the environment to the vehicle positioning is small. In order to avoid the situation where the user does not park the vehicle in the parking fence, but the fence range is large, so that the vehicle positioning position is within the fence range of the parking fence, thereby obtaining an erroneous judgment result that the user has parked in a standardized manner, a smaller fence range can be set for the parking fence. In this way, when the user returns the vehicle in a normal positioning environment, an accurate judgment of the standardized return can be achieved to ensure that the vehicle is parked in a standardized manner.
[0098] In this embodiment, compared with the parking fence in a normal positioning environment, a more relaxed vehicle return judgment strategy is adopted for the parking fence in an abnormal positioning environment, which can reduce the adverse impact of inaccurate positioning on the user's vehicle return experience.
[0099] In one embodiment of the present invention, the first distance value is any value between 40m and 60m, and the second distance value is any value between 10m and 30m. Preferably, the first distance value is 50m, and the second distance value is 20m.
[0100] It can be seen that this embodiment reasonably determines the fence range of the parking fence based on the impact of the environment in which the parking fence is located on the vehicle positioning error, so that the fence range of the parking fence in a normal positioning environment is smaller, while the fence range of the parking fence in an abnormal positioning environment is larger. Based on this, not only can the vehicle be parked in a standardized manner, but also the situation where the vehicle is not parked in a standardized manner can be avoided, thereby improving the user's vehicle return experience.
[0101] In addition, for the fence range determination method that directly uses the various positioning positions of the positioning device in the parking fence as the fence range of the parking fence, the determined fence range has a certain degree of specificity and is more suitable for accurately judging whether the positioning device is located in the parking fence, but its universality is low and is not conducive to accurately judging whether each vehicle is located in the parking fence.
[0102] Different from this implementation method, this embodiment uses the various positioning positions of the positioning device in the parking fence as a reference benchmark to determine the fence range of the parking fence. The buffer distance of the fence range relative to the boundary of the parking fence can be set as needed, so that this buffer distance can be applicable to any vehicle and is universal for all vehicles to be returned, which is conducive to accurately judging whether each vehicle is located in the parking fence.
[0103] As can be seen from the above, this embodiment provides a method for determining the fence range of a parking fence. For each positioning device in at least one positioning device in a stationary state within the parking fence, the method obtains each positioning position output by the positioning device; according to each positioning position obtained, determines whether the parking fence is in a positioning abnormal environment; when the parking fence is in a positioning abnormal environment, determines the fence range of the parking fence as a range obtained by extending the first distance value outward based on the fence boundary of the parking fence, and, when the parking fence is not in a positioning abnormal environment, determines the fence range of the parking fence as a range obtained by extending the second distance value outward based on the fence boundary of the parking fence; wherein the first distance value is greater than the second distance value. It can be seen that this embodiment determines whether the parking fence is in a positioning abnormal environment based on each positioning position reported by the stationary positioning device within the parking fence, and uses a larger fence range if it is in a positioning abnormal environment, otherwise uses a smaller fence range. This embodiment combines the positioning accuracy that the environment in which the parking fence is located to reasonably determine the fence range of the parking fence, so as to avoid the situation where the user parks in the parking fence but the positioning position is not in the parking fence, and thus cannot return the car, thereby improving the user's car return experience.
[0104] After the fence range of each parking fence is determined, when the user needs to return the car, it can be judged whether to allow the user to return the car based on this.
[0105] Based on this, in one embodiment of the present invention, the method further includes the following steps S250 to S270:
[0106] Step S250, in response to a vehicle return request issued by a user for a target vehicle, obtaining the location of the target vehicle.
[0107] Specifically, after the user finishes using the vehicle, the user can park the vehicle in any parking fence in the surrounding area according to regulations, and then issue a return request. Based on the return request, the location of the vehicle used by the user can be obtained.
[0108] Step S260, determining whether the positioning position of the target vehicle is within the fence range of the parking fence.
[0109] In this step, it is determined whether the positioning position of the vehicle is within the fence range of a certain parking fence based on the positioning position of the vehicle and the fence range of the predetermined parking fence.
[0110] Step S270, when the positioning position of the target vehicle is within the fence range of the parking fence, the target vehicle is returned.
[0111] In this step, if the vehicle's positioning position is within the fence range of a certain parking fence, it can be considered that the vehicle is within the parking fence, so the vehicle can be returned, such as pushing payment information to the user.
[0112] In this embodiment, whether the user has parked properly is determined based on the determined appropriate fence range, and the user is allowed to return the car and pay the fee only when the user has parked properly. This implementation method can improve the accuracy of fixed-point return and provide a better user experience.
[0113] <Example>
[0114] Figure 3 A flow chart of a method for determining a fence range of a parking fence according to an embodiment is given. The implementation subject of this embodiment may be Figure 1 Server 2000 is shown.
[0115] like Figure 3 As shown, the method for determining the fence range of the parking fence of this embodiment may include the following steps S301 to S310:
[0116] Step S301: for each first vehicle in at least one locked vehicle within the parking fence, obtain each positioning position output by the first vehicle.
[0117] The first vehicle is any one of the at least one vehicle.
[0118] Step S302: According to a set clustering algorithm, various positioning positions are determined as noise positioning positions from various positioning positions output by the first vehicle.
[0119] Step S303, by substituting the total number of each positioning position output by the first vehicle and the total number of each positioning position determined as the noise positioning position into a set formula, the positioning position concentration degree value corresponding to the first vehicle is obtained.
[0120] Step S304: determining the positioning position concentration value corresponding to the parking fence according to the positioning position concentration value corresponding to each of the first vehicles.
[0121] Step S305, determining whether the parking fence is in an abnormal positioning environment based on the positioning position concentration value corresponding to the parking fence, and executing step S306 or step S307.
[0122] Step S306, when the parking fence is in an abnormal positioning environment, determine that the fence range of the parking fence is a range obtained by expanding the fence boundary of the parking fence outward by 50m, and execute step S308.
[0123] Step S307, when the parking fence is not in an abnormal positioning environment, determine the fence range of the parking fence as a range obtained by extending the fence boundary of the parking fence outward by 20m.
[0124] Step S308, in response to the vehicle return request issued by the user for the target vehicle, obtaining the location of the target vehicle.
[0125] Step S309, determining whether the positioning position of the target vehicle is within the fence range of the parking fence.
[0126] Step S310, when the positioning position of the target vehicle is within the fence range of the parking fence, the target vehicle is returned.
[0127] <Equipment Embodiment>
[0128] Figure 4 FIG. 4 is a block diagram of a device 400 for determining a fence range of a parking fence according to an embodiment. Figure 4 As shown, the device 400 for determining the fence range of the parking fence may include an acquisition module 410 , a first determination module 420 and a second determination module 430 .
[0129] The parking fence range determination device 400 may be Figure 1 Server 2000 is shown.
[0130] The acquisition module 410 is used to acquire each positioning position output by the positioning device for each of the at least one positioning device in a stationary state within the parking fence. The first determination module 420 is used to determine whether the parking fence is in an abnormal positioning environment based on each of the acquired positioning positions. The second determination module 430 is used to determine that the fence range of the parking fence is a range obtained by extending a first distance value outward from the fence boundary of the parking fence when the parking fence is in an abnormal positioning environment, and to determine that the fence range of the parking fence is a range obtained by extending a second distance value outward from the fence boundary of the parking fence when the parking fence is not in an abnormal positioning environment; wherein the first distance value is greater than the second distance value.
[0131] This embodiment determines whether the parking fence is in an abnormal positioning environment based on the positioning positions reported by the stationary positioning device in the parking fence. If it is in an abnormal positioning environment, a larger fence range is used, otherwise a smaller fence range is used. This embodiment combines the positioning accuracy that the environment in which the parking fence is located to reasonably determine the fence range of the parking fence accordingly, so as to avoid the situation where the user parks in the parking fence but the positioning position is not in the parking fence, and thus cannot return the car, thereby improving the user's car return experience.
[0132] In one embodiment of the present invention, the first determination module 420 is used to determine the positioning position clustering value corresponding to the positioning device based on each positioning position output by the positioning device and in combination with a set clustering algorithm; determine the positioning position clustering value corresponding to the parking fence based on the positioning position clustering value corresponding to each positioning device; and determine whether the parking fence is in an abnormal positioning environment based on the positioning position clustering value corresponding to the parking fence.
[0133] In one embodiment of the present invention, the first determination module 420 is used to determine, according to the clustering algorithm, each positioning position that serves as a noise positioning position from each positioning position output by the positioning device; and determine the positioning position clustering degree value corresponding to the positioning device according to the total number of each positioning position output by the positioning device and the total number of each positioning position determined as a noise positioning position.
[0134] In one embodiment of the present invention, the first determination module 420 is used to obtain the positioning position aggregation value corresponding to the positioning device by substituting the total number of each positioning position output by the positioning device and the total number of each positioning position determined as the noise positioning position into the above setting formula.
[0135] In one embodiment of the present invention, the device 400 for determining the fence range of the parking fence also includes: a module for obtaining the positioning position of the target vehicle in response to a return request for the target vehicle issued by a user; a module for determining whether the positioning position of the target vehicle is within the fence range of the parking fence; and a module for performing a return process for the target vehicle when the positioning position of the target vehicle is within the fence range of the parking fence.
[0136] In one embodiment of the present invention, the at least one positioning device in a stationary state within the parking fence includes: at least one vehicle in a locked state within the parking fence.
[0137] In one embodiment of the present invention, the first distance value is 50m, and the second distance value is 20m.
[0138] Figure 5 4 is a schematic diagram of the hardware structure of a device 500 for determining a fence range of a parking fence according to another embodiment.
[0139] like Figure 5 As shown, the device 500 for determining the fence range of the parking fence includes a processor 510 and a memory 520, wherein the memory 520 is used to store an executable computer program, and the processor 510 is used to execute a method such as any of the above method embodiments according to the control of the computer program.
[0140] The parking fence range determination device 500 may be Figure 1 Server 2000 is shown.
[0141] Each module of the above parking fence range determination device 500 can be implemented by the processor 510 in this embodiment executing a computer program stored in the memory 520, or can be implemented by other circuit structures, which is not limited here.
[0142] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0143] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0144] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0145] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0146] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0147] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0148] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0149] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0150] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for determining a fence range of a parking fence, characterized in that: include: For each positioning device of at least one positioning device in a stationary state within the parking fence, obtaining each positioning position output by the positioning device; Determine whether the parking fence is in an abnormal positioning environment according to each of the acquired positioning positions; In the case where the parking fence is in an abnormal positioning environment, determining the fence range of the parking fence to be a range obtained by extending a first distance value outward from a fence boundary of the parking fence, and in the case where the parking fence is not in an abnormal positioning environment, determining the fence range of the parking fence to be a range obtained by extending a second distance value outward from the fence boundary of the parking fence; Wherein, the first distance value is greater than the second distance value; Wherein, determining whether the parking fence is in an abnormal positioning environment according to each of the acquired positioning positions includes: According to each positioning position output by the positioning device and in combination with a set clustering algorithm, a positioning position clustering degree value corresponding to the positioning device is determined; Determine the positioning position concentration value corresponding to the parking fence according to the positioning position concentration value corresponding to each positioning device; According to the positioning position concentration degree value corresponding to the parking fence, it is determined whether the parking fence is in an abnormal positioning environment.
2. The method according to claim 1, characterized in that: The determining, based on each positioning position output by the positioning device and in combination with a set clustering algorithm, a positioning position clustering degree value corresponding to the positioning device includes: According to the clustering algorithm, from the various positioning positions output by the positioning device, determining the various positioning positions as noise positioning positions; According to the total number of each positioning position output by the positioning device and the total number of each positioning position determined as the noise positioning position, the positioning position concentration degree value corresponding to the positioning device is determined.
3. The method according to claim 2, characterized in that Determining the positioning position aggregation value corresponding to the positioning device according to the total number of positioning positions output by the positioning device and the total number of positioning positions determined as noise positioning positions includes: By substituting the total number of each positioning position output by the positioning device and the total number of each positioning position determined as the noise positioning position into a setting formula, a positioning position aggregation degree value corresponding to the positioning device is obtained; The setting formula includes: Wherein, w represents the positioning position concentration value corresponding to the positioning device, noiseCount represents the total number of each positioning position determined as the noise positioning position, and totalCount represents the total number of each positioning position output by the positioning device.
4. The method according to claim 1, characterized in that: The method further comprises: In response to a vehicle return request issued by a user for a target vehicle, obtaining a location of the target vehicle; Determining whether the positioning position of the target vehicle is within the fence range of the parking fence; When the positioning position of the target vehicle is within the fence range of the parking fence, a vehicle return process is performed on the target vehicle.
5. The method according to claim 1, characterized in that The at least one positioning device in a stationary state within the parking fence includes: at least one vehicle in a locked state within the parking fence.
6. The method according to claim 1, characterized in that The first distance value is 50m, and the second distance value is 20m.
7. A device for determining the fence range of a parking fence, characterized in that: include: An acquisition module, configured to acquire, for each of the at least one positioning device in a stationary state within the parking fence, each positioning position output by the positioning device; A first determination module is used to determine whether the parking fence is in an abnormal positioning environment according to each of the acquired positioning positions; as well as, a second determination module, configured to determine, when the parking fence is in an abnormal positioning environment, that the fence range of the parking fence is a range obtained by extending a first distance value outward from a fence boundary of the parking fence, and, when the parking fence is not in an abnormal positioning environment, to determine that the fence range of the parking fence is a range obtained by extending a second distance value outward from the fence boundary of the parking fence; Wherein, the first distance value is greater than the second distance value; Wherein, determining whether the parking fence is in an abnormal positioning environment according to each of the acquired positioning positions includes: According to each positioning position output by the positioning device and in combination with a set clustering algorithm, a positioning position clustering degree value corresponding to the positioning device is determined; Determine the positioning position concentration value corresponding to the parking fence according to the positioning position concentration value corresponding to each positioning device; According to the positioning position concentration degree value corresponding to the parking fence, it is determined whether the parking fence is in an abnormal positioning environment.
8. A device for determining a fence range of a parking fence, comprising a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the computer program to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for realizing high-precision electronic fence
CN109218977A