CN113094455A - Marking method and device for parking fence - Google Patents

Marking method and device for parking fence Download PDF

Info

Publication number
CN113094455A
CN113094455A CN202110261867.2A CN202110261867A CN113094455A CN 113094455 A CN113094455 A CN 113094455A CN 202110261867 A CN202110261867 A CN 202110261867A CN 113094455 A CN113094455 A CN 113094455A
Authority
CN
China
Prior art keywords
road
data
map
parking fence
fence
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.)
Withdrawn
Application number
CN202110261867.2A
Other languages
Chinese (zh)
Inventor
胡宇楠
陈弥
王佺
任帅涛
池剑迪
张毅倜
秦严严
李萌
王照
贺妤琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mobai Beijing Information Technology Co Ltd
Original Assignee
Mobai Beijing 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 Mobai Beijing Information Technology Co Ltd filed Critical Mobai Beijing Information Technology Co Ltd
Priority to CN202110261867.2A priority Critical patent/CN113094455A/en
Publication of CN113094455A publication Critical patent/CN113094455A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Abstract

The present disclosure relates to a marking method and apparatus for a parking fence, the method comprising: acquiring first position data of the selected parking fence in a first map; acquiring a road corresponding to the selected parking fence as a selected road in the first map; according to first road data of the selected road in the first map, second road data of the selected road in a second map are obtained; obtaining road offset data according to the first road data and the second road data; obtaining second position data of the selected parking fence in the second map according to the first position data and the road deviation data; marking the selected parking fence on the second map according to the second location data.

Description

Marking method and device for parking fence
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for marking a parking fence.
Background
In a scenario where a shared vehicle is used, a user typically needs to view the marked locations of parking fences (or parking areas, parking spots) on an electronic map.
Currently, the position data of a parking fence can be produced based on some electronic map. However, a base map deviation exists between different electronic maps, so that when a parking fence is marked on another electronic map through the position data, the problem of display difference of the parking fence is easy to occur, and the user is disturbed in visual perception.
Disclosure of Invention
It is an object of embodiments of the present disclosure to provide a new solution for marking a parking fence.
According to a first aspect of the present disclosure, there is provided a marking method of a parking fence, including: acquiring first position data of the selected parking fence in a first map; acquiring a road corresponding to the selected parking fence as a selected road in the first map; according to first road data of the selected road in the first map, second road data of the selected road in a second map are obtained; obtaining road offset data according to the first road data and the second road data; obtaining second position data of the selected parking fence in the second map according to the first position data and the road deviation data; marking the selected parking fence on the second map according to the second location data.
Further, the obtaining second location data of the selected parking fence in the second map according to the first location data and the road offset data comprises: obtaining third position data according to the first position data and the road deviation data; detecting whether the target position relation between the third position data and the road data in the second map meets a preset requirement or not; and under the condition that the target position relation does not meet the preset requirement, generating second position data of the selected parking fence in the second map according to the third position data, so that the position relation between the second position data and the road data in the second map meets the preset requirement.
Further, the method further comprises: obtaining a center point position and a fence width of the selected parking fence in the second map according to the third position data; acquiring the center line position and the road width of a corresponding road in the second map according to the road data in the second map; calculating a vertical distance between the center point position and the center line position; and obtaining the target position relation according to the fence width, the road width and the vertical distance.
Further, the method further comprises: and taking the third position data as second position data of the selected parking fence in the second map when the target position relation meets the preset requirement.
Further, the method further comprises: detecting whether the marked positions of the selected parking fence on the second map are intersected with the marked positions of other parking fences on the second map according to the second position data; performing a respective setting operation to mark only one of the selected parking fence and the other parking fence on the second map if an intersection is detected.
Further, the method further comprises: receiving a new request corresponding to a target parking fence; and responding to the newly added request, taking the target parking fence as the selected parking fence, and executing the step of acquiring first position data of the selected parking fence in a first map.
Further, the method further comprises: receiving a deletion request corresponding to the selected parking fence; performing a respective setup operation in response to the deletion request to unmark the selected parking fence on the second map.
Further, the method further comprises: receiving a modification request corresponding to the selected parking fence, the modification request including fourth location data; in response to the modification request, updating the first position data with the fourth position data, and performing the step of obtaining second road data of the selected road in a second map.
Further, the first road data includes: at least one of road name, road driving direction, road length, and road width.
According to a second aspect of the present disclosure, there is also provided a marking device of a parking fence, including: the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first position data of a selected parking fence in a first map; a second obtaining module, configured to obtain, in the first map, a road corresponding to the selected parking fence as a selected road; the third acquisition module is used for acquiring second road data of the selected road in a second map according to the first road data of the selected road in the first map; the first processing module is used for obtaining road offset data according to the first road data and the second road data; a second processing module, configured to obtain second location data of the selected parking fence in the second map according to the first location data and the road deviation data; a marking module for marking the selected parking fence on the second map according to the second location data.
According to a third aspect of the present disclosure, there is also provided a marking apparatus of a parking fence, comprising a memory for storing a computer program and a processor; the processor is adapted to execute the computer program to implement the method according to the first aspect of the present disclosure.
According to a fourth aspect of the present disclosure, there is also provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect of the present disclosure.
The method and the device for marking the parking fence have the advantages that for the road corresponding to the parking fence, the road data of the road in the second map is obtained according to the road data of the road in the first map, and then the road deviation data is obtained according to the two sets of road data, so that the position data of the parking fence in the second map is obtained according to the road deviation data, and the parking fence is marked on the second map according to the position data. Based on the method, the problem of parking fence display difference caused by base map deviation among different maps can be avoided, accurate display of the parking fence on the second map is supported, and good visual perception experience can be brought to a user.
Other features of embodiments of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which is to be read in connection with the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the embodiments of the disclosure.
Fig. 1 is a schematic diagram of a hardware configuration of an electronic device capable of implementing an embodiment of the present invention;
FIG. 2 is a flow diagram of a method of marking a parking fence according to one embodiment;
FIG. 3 is a schematic illustration of a marking result of a parking fence according to one embodiment;
FIG. 4 is a schematic illustration of a marking result of a parking fence according to another embodiment;
FIG. 5 is a schematic flow chart diagram of a method of marking a parking fence according to another embodiment;
FIG. 6 is a block schematic diagram of a marking device of a parking fence according to one embodiment;
fig. 7 is a hardware configuration diagram of a marking device of a parking fence according to an embodiment.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
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.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
One application scenario of the embodiment of the present disclosure is to mark a parking fence on an electronic map.
In the implementation process, the inventor finds that when the position data of the electronic fence is obtained according to the production of a certain electronic map, and the parking fence is marked on another electronic map according to the position data, the parking fence has the problem of display difference due to the fact that base map deviation exists among different maps. For example, there is a problem that the parking fence is easily laid on the road as shown in the left side view of fig. 3, and there is a problem that the parking fence covers the road as shown in the left side view of fig. 4. In fig. 3 and 4, the boundary line of the parking fence is shown by a dotted line.
In order to achieve the purpose of non-difference display of the parking fence, an optional implementation mode is that a worker manually adjusts the marking position of the parking fence through a preset tool, but the problems of low efficiency and high cost exist.
In view of the technical problems in the foregoing embodiments, the inventor proposes a method for marking a parking fence, where for a road corresponding to the parking fence, road data of the road in a second map is obtained according to road data of the road in a first map, and then road offset data is obtained according to two sets of road data, so as to obtain position data of the parking fence in the second map according to the road offset data, and accordingly mark the parking fence on the second map. Based on the method, the problem of parking fence display difference caused by base map deviation among different maps can be avoided, accurate display of the parking fence on the second map is supported, and good visual perception experience can be brought to a user.
< implementation Environment and hardware configuration >
Fig. 1 shows a schematic diagram of a hardware configuration of an electronic device 1000 that can implement an embodiment of the present invention. The electronic device 1000 can be applied to the above-mentioned scene of marking the parking fence on the electronic map.
The electronic device 1000 may be a smart phone, a portable computer, a desktop computer, a tablet computer, a server, etc., and is not limited herein.
The hardware configuration of the electronic 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. The processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, or the like, and is configured to execute a computer program, and the computer program may be written by using an instruction set of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1400 is capable of wired communication using an optical fiber or a cable, or wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.
In any of the embodiments of the present disclosure, the memory 1200 of the electronic device 1000 is configured to store instructions for controlling the processor 1100 to operate in support of implementing a marking method of a parking fence according to any of the embodiments of the present disclosure. The skilled person can design the instructions according to the disclosed solution of the present disclosure. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein. The electronic device 1000 may be installed with an intelligent operating system (e.g., Windows, Linux, android, IOS, etc. systems) and application software.
It should be understood by those skilled in the art that although a plurality of means of the electronic device 1000 are shown in fig. 1, the electronic device 1000 of the embodiments of the present disclosure may refer to only some of the means therein, for example, only the processor 1100 and the memory 1200. This is well known in the art and will not be described in further detail herein.
Various embodiments and examples according to the present invention are described below with reference to the accompanying drawings.
< method examples >
Fig. 2 is a flow diagram of a method of marking a parking fence according to one embodiment. The main body of the embodiment is, for example, an electronic device 1000 shown in fig. 1.
As shown in fig. 2, the marking method of the parking fence according to the embodiment may include the following steps S210 to S260:
step S210, obtaining first position data of the selected parking fence in the first map.
In detail, the first map may be an electronic map maintained and used inside the merchant, and the first map may be stored in the storage device in the form of data.
In this embodiment, can come automatic production parking rail according to first map, the parking rail of output can set up usually in the actual scene. Wherein, for the accurate output of guaranteeing the parking rail, still can carry out the quality control to the parking rail of output and handle, for example can screen out crossing or even repeated parking rail.
Based on the parking fence production operation, position data of the parking fence in the first map can be obtained. In one embodiment of the present disclosure, based on the position data, data of a center point position of the parking fence, a fence width, a fence length, and the like can be obtained.
In detail, the selected parking fence may be any parking fence that is automatically produced.
In one embodiment of the present disclosure, a possible implementation of producing a parking fence can be as follows: acquiring a target area located in an operation area, wherein the target area is a position area for producing a parking fence; obtaining the position relation between the target area and the ground object in the first map according to the position data of the target area; judging whether the target area meets the condition of being taken as the output of the parking fence or not according to the position relation; and if the condition is met, the target area is output as the parking area.
Specifically, the feature object may be any form of physical object located on the ground, such as a building, a facility, a site, a road, a green belt, a water system, and the like. Conditions for parking fence output may include: the distance between the target area and the ground object is within a preset distance range.
Step S220, in the first map, acquiring a road corresponding to the selected parking fence as a selected road.
In a feasible implementation manner, the corresponding relationship between the road and the parking fence can be established according to the production condition of the parking fence after the parking fence is produced. The road may be the closest road to the parking fence. Therefore, the selected road corresponding to the selected parking fence can be obtained according to the corresponding relation.
In another possible implementation manner, the road corresponding to the parking fence may be acquired according to the position data of the parking fence in the first map.
Based on this, in one embodiment of the present disclosure, a road closest to the position of the first location data may be selected as the selected road according to the first location data of the selected parking fence in the first map and according to the road data of the specific road in the first map, in combination with a preset distance recency rule.
Specifically, the specific road may be a road having a distance from the selected parking fence smaller than a preset distance threshold, or may be a road located in the same preset area as the selected parking fence.
Step S230, obtaining second road data of the selected road in a second map according to the first road data of the selected road in the first map.
In this embodiment, the second map is different from the first map, the second map may be an electronic map provided by a third party, and the marking of the parking fence may be performed based on the second map so as to show the marking effect of the parking fence on the second map to the user.
In one embodiment of the present disclosure, the second map may be stored in a storage device in the form of data.
In one embodiment of the present disclosure, the first road data includes: at least one of road name, road driving direction, road length, and road width. Correspondingly, the second number of lanes also includes: at least one of road name, road driving direction, road length, and road width.
Since the first road data and the second road data are road data of the selected road in different maps respectively, the first road data and the second road data are basically consistent. For example, the two sets of data may satisfy at least one of the same road name, the same road driving direction, the substantially same road length, and the substantially same road width.
Specifically, when the first road data includes the driving direction of the road, the selected road may be found from the road in the same direction in the second map. Usually, the distance between the position of the first position data and the selected road is smaller than the distance between the position of the first position data and any road in the same direction in the second map.
In view of the fact that not all the roads are suitable for parking, it is preferable that the second road data is acquired from a second map, and the second road data may be acquired from a set of target roads included in the second map. The set of target roads includes road data of relevant roads in the second map that are suitable for parking.
Therefore, in an embodiment of the present disclosure, the implementation of acquiring the second road data may be as follows: the method comprises the steps of obtaining an electronic map provided by a third party, obtaining road network data in the electronic map, filtering road data of roads which are not suitable for parking in the road network data to obtain road data of the roads which are suitable for parking as a target road set, and further obtaining second road data of the selected roads in a second map from the target road set.
Roads unsuitable for parking may include internal roads, elevated roads, tunnel roads, and the like.
In this embodiment, the second road data is obtained from the target data set, instead of directly obtaining the second road data from the second map, so that not only can the data obtaining efficiency be improved, but also the data obtaining accuracy can be ensured, and the method is particularly suitable for the condition that the number of the parking fences to be marked is large.
Step S240, obtaining road deviation data according to the first road data and the second road data.
Because base map deviation exists between different maps, the same object is easy to be caused to exist between different maps, and not only transverse deviation but also longitudinal deviation can exist.
In this step, based on the acquired first road data and second road data, a road deviation may be obtained, which may include a lateral deviation and a longitudinal deviation.
Step S250, obtaining second position data of the selected parking fence in the second map according to the first position data and the road deviation data.
In the first map, because the relative position relation between the selected parking fence and the corresponding road generally meets the actual requirement, after the road deviation of the road in different maps is obtained, the second position data of the selected parking fence in the second map can be obtained according to the road deviation and the first position data. Therefore, the selected parking fence can be marked on the second map according to the second position data instead of the first position data, so that the problem of display difference caused by base map deviation is solved.
In general, the offset data between the first position data and the second position data is the same as the above-described road offset data, so that the relative positional relationship between the selected parking fence and the selected road in the second map is substantially the same as that in the first map, and thus the same is true of the actual demand.
In an embodiment of the present disclosure, to illustrate a possible implementation manner of obtaining the second location data, the step S250 of obtaining the second location data of the selected parking fence in the second map according to the first location data and the road deviation data may include the following steps S2501 to S2503:
step S2501, obtaining third position data according to the first position data and the road deviation data.
In this step, the third position data after the offset can be obtained based on the first position data and the road offset data.
However, in consideration of the base map deviation existing between different maps, in the second map, even though the relative position relationship between the parking fence area corresponding to the third position data and the selected road can meet the preset requirement, it cannot be guaranteed that the relative position relationship between the parking fence area and other roads also meets the preset requirement.
Based on this, step S2502 detects whether the target position relationship between the third position data and the road data in the second map meets a preset requirement.
In detail, the road data may be a road whose distance between the position corresponding to the third position data and the road is less than a preset distance threshold, or may be a road whose position corresponding to the third position data is in the same preset area.
In this step, if the preset requirement is not met, the following step S2503 may be executed to adjust the third position data, so that the adjusted position data can support the preset requirement.
In one embodiment of the present disclosure, the preset requirement may include: the minimum spacing distance between the outer edge of the parking fence and the outer edge of the surrounding road is not less than a set value. The set value can be set to a value not less than zero as required to ensure that the parking fence does not cover the surrounding roads. For example, the set value may be 2m, 3m, or the like. In addition, the preset requirement may further include: the parking fence is parallel to the surrounding road, etc.
Based on this, in one embodiment of the present disclosure, the above-mentioned positional relationship may be determined according to a fence width, a road width, and a vertical distance between the fence and the road. As such, the method further comprises: obtaining a center point position and a fence width of the selected parking fence in the second map according to the third position data; acquiring the center line position and the road width of a corresponding road in the second map according to the road data in the second map; calculating a vertical distance between the center point position and the center line position; and obtaining the target position relation according to the fence width, the road width and the vertical distance.
In this embodiment, according to the third position data, the center point position and the fence width (assumed to be 2.5m) of the selected parking fence in the second map can be obtained. And according to the road data, the center line position and the road width of the corresponding road in the second map can be obtained. Based on the position of the central point and the position of the central line, the vertical distance between the central point and the central line can be accurately calculated. And obtaining the target position relation based on the width of the fence, the width of the road and the vertical distance.
Taking the target position relationship as the minimum distance between the edge of the parking fence and the edge of the road as an example, the minimum distance can be the difference obtained by subtracting the half width of the fence and the half width of the road from the vertical distance, respectively.
If the above-mentioned set value is 2m and the difference is smaller than 2m, it can be determined as not-conforming, and the following step S2503 can be executed to adjust the third position data, so that the difference obtained after the adjustment can be not smaller than 2m and meets the preset requirement.
Step S2503, when the target position relationship does not meet the preset requirement, generating second position data of the selected parking fence in the second map according to the third position data, so that the position relationship between the second position data and the road data in the second map meets the preset requirement.
Based on the above, the third position data can be adjusted based on the vertical direction of the road center line to be away from the road center line in the vertical direction, so as to increase the distance between the parking fence and the road, avoid the situation that the parking fence covers the road, and bring good visual perception experience to the user.
Further, based on the above, when it is determined that the vehicle is matched, the selected parking fence may be marked on the second map based on the third position data. Based on this, in one embodiment of the present disclosure, the method further comprises: and taking the third position data as second position data of the selected parking fence in the second map when the target position relation meets the preset requirement.
Step S260, marking the selected parking fence on the second map according to the second position data.
In the step, according to second position data of the selected parking fence in a second map, the selected parking fence is marked on the second map, and the relative position relation between the marked position and the surrounding roads accords with the actual situation, so that good visual perception experience can be brought to a user.
For example, referring to fig. 3, when a parking fence is marked on a second map according to the position data of the parking fence in a first map, there is a problem that the parking fence is on the road as shown in the left diagram of fig. 3, and the user's visual perception experience is poor. Based on the embodiment, when the parking fence is marked on the second map according to the position data of the parking fence in the second map, the marking effect can be as shown in the right side diagram in fig. 3, the problem of the parking fence on the road does not exist, and the user visual perception experience is good. In fig. 3, the boundary line of the parking fence is shown by a dotted line.
For example, referring to fig. 4, when the parking fence is marked on the second map according to the position data of the parking fence in the first map, there is a problem that the parking fence covers the road as shown in the left diagram of fig. 4, and the user's visual perception experience is poor. Based on the embodiment, when the parking fence is marked on the second map according to the position data of the parking fence in the second map, the marking effect can be as shown in the right side diagram in fig. 4, the problem that the parking fence covers the road does not exist, and the user visual perception experience is good. In fig. 4, the boundary line of the parking fence is shown by a dotted line.
Based on the above, in the embodiment of the disclosure, for the road corresponding to the parking fence, the road data of the road in the second map is obtained according to the road data of the road in the first map, and then the road offset data is obtained according to the two sets of road data, so that the position data of the parking fence in the second map is obtained according to the road offset data, and the parking fence is marked on the second map according to the position data. Based on the method, the problem of parking fence display difference caused by base map deviation among different maps can be avoided, accurate display of the parking fence on the second map is supported, and good visual perception experience can be brought to a user.
Based on the above, the problem of inaccurate display of the parking fence caused by the deviation of the base map can be avoided, and it is ensured that any road around any parking fence is not covered in the second map. However, for the parking fences produced according to the first map, although the parking fences do not intersect on the first map, the embodiment corrects the position data of the parking fences, and the corrected parking fences do not intersect under the condition that the parking fences are marked in the second map based on the corrected position data. Because the crossed parking fences usually do not exist in reality, the crossed problem can be avoided, and accurate display of the parking fences on the second map is guaranteed.
Based on this, in one embodiment of the present disclosure, the method further comprises: detecting whether the marked positions of the selected parking fence on the second map are intersected with the marked positions of other parking fences on the second map according to the second position data; performing a respective setting operation to mark only one of the selected parking fence and the other parking fence on the second map if an intersection is detected.
In detail, from the second position data, a parking area of the corresponding parking fence can be obtained, which is displayed with the marked position on the second map. If two marked positions are intersected, the two parking areas are intersected, and in order to ensure accurate display of the parking fences on the second map, one parking fence can be randomly reserved and the other parking fence can be deleted. It is possible, for example, to mark only any one of the two parking fences on the second map by deleting the corresponding second position data.
The parking fences marked on the second map are not always changed in consideration of the dynamic change of the areas of the operating area, the dynamic change of the parking requirements and other factors, for example, at least the changes of adding, deleting, modifying and the like of the parking fences can be involved. These 3 variations will be described below.
In detail, for the addition of a parking fence:
in one embodiment of the present disclosure, the method further comprises: receiving a new request corresponding to a target parking fence; and responding to the newly added request, taking the target parking fence as the selected parking fence, and executing the step of acquiring first position data of the selected parking fence in a first map.
Under the conditions of newly increased areas of the operating area, insufficient supply and demand of the parking areas and the like, some parking fences can be correspondingly and newly increased on the basis of the first map. Any newly added parking fence can be used as the menu fence, and the related steps are executed to realize the marking processing of the newly added parking fence on the second map.
In detail, for the deletion of the parking fence:
in one embodiment of the present disclosure, the method further comprises: receiving a deletion request corresponding to the selected parking fence; performing a respective setup operation in response to the deletion request to unmark the selected parking fence on the second map.
In the case of parking lot planning, excessive parking areas, etc., it is possible to choose not to maintain parts of the parking enclosure anymore. For any parking fence that can be deleted, marking of the parking fence on the second map can be avoided by deleting its location data in the second map.
In detail, the modification to the parking fence:
in one embodiment of the present disclosure, the method further comprises: receiving a modification request corresponding to the selected parking fence, the modification request including fourth location data; in response to the modification request, updating the first position data with the fourth position data, and performing the step of obtaining second road data of the selected road in a second map.
Under the conditions of change of an operation area, planning of parking places and the like, the marking positions of some parking fences can be adjusted. Specifically, the position data of the parking fence on the first map can be updated and adjusted, and the relevant steps are executed to adjust the mark of the parking fence on the second map.
In an embodiment of the present disclosure, in the case that there is more than one second map, for the above requirements of adding, deleting, adjusting, etc., corresponding processing operations may be performed for each second map respectively, so as to implement adding, deleting, and adjusting marks on each second map for corresponding parking fences.
Based on the above, the marking method for the parking fence according to the embodiment of the present disclosure corrects the position data of the parking fence according to the road deviation, so that the produced parking fence is matched with the second map, and is displayed on the second map after the deviation correction, thereby solving the problem that the display of the parking fence produced by using the first map on the second map has a difference, and the difference does not need to be adjusted manually, so that the parking fence can be displayed on the second map accurately, and the display problems of parking pressing the fence road, crossing the parking fence, repeating the parking fence and the like do not exist, so that the good visual perception experience can be brought to the user, and the realization process has high efficiency and low cost.
Fig. 5 is a flow chart illustrating a method for marking a parking fence according to an embodiment. The main body of the embodiment is, for example, an electronic device 1000 shown in fig. 1.
As shown in fig. 5, the method of this embodiment may include the following steps S501 to S511:
step S501, first position data of the selected parking fence in a first map is obtained.
Step S502, in the first map, acquiring a road corresponding to the selected parking fence as a selected road.
Step S503, according to the first road data of the selected road in the first map, acquiring the second road data of the selected road in the second map.
Step S504, obtaining road offset data according to the first road data and the second road data.
Step S505, obtaining third position data according to the first position data and the road deviation data.
Step S506, detecting whether the target position relationship between the third position data and the road data in the second map meets a preset requirement, and executing step S507 or step S508.
Step S507, if the target position relationship does not meet the preset requirement, generating second position data of the selected parking fence in the second map according to the third position data, so that the position relationship between the second position data and the road data in the second map meets the preset requirement, and executing step S509.
Step S508, if the target position relationship meets the preset requirement, using the third position data as the second position data of the selected parking fence in the second map, and executing step S509.
Step S509, detecting whether the marked position of the selected parking fence on the second map intersects with the marked positions of other parking fences on the second map according to the second position data.
Step S510, in case of detecting an intersection, performing a corresponding setting operation to mark only one of the selected parking fence and the other parking fence on the second map.
Step S511, marking the selected parking fence on the second map according to the second position data.
Based on the above, the position data of the parking fence can be corrected according to the road deviation, so that the output parking fence is matched with the second map, the correction processing of the parking fence is realized, the parking area is accurately marked on the second map, the process is automatic and efficient, the manual work amount is greatly reduced, and meanwhile, the trouble of visual perception brought to a user is avoided.
< apparatus embodiment >
Fig. 6 is a functional block diagram of a marking device 600 of a parking fence according to one embodiment. As shown in fig. 6, the marking apparatus 600 of the parking fence may include a first obtaining module 610, a second obtaining module 620, a third obtaining module 630, a first processing module 640, a second processing module 650, and a marking module 660. The marking apparatus 600 of the parking fence may be the electronic device 1000 shown in fig. 1, or may include the electronic device 1000 shown in fig. 1.
The first obtaining module 610 obtains first position data of the selected parking fence in the first map. The second obtaining module 620 obtains a road corresponding to the selected parking fence as a selected road in the first map. The third obtaining module 630 obtains the second road data of the selected road in the second map according to the first road data of the selected road in the first map. The first processing module 640 obtains road offset data according to the first road data and the second road data. The second processing module 650 obtains second position data of the selected parking fence in the second map according to the first position data and the road offset data. The marking module 660 marks the selected parking fence on the second map according to the second location data.
Based on the above, in the embodiment of the disclosure, for the road corresponding to the parking fence, the road data of the road in the second map is obtained according to the road data of the road in the first map, and then the road offset data is obtained according to the two sets of road data, so that the position data of the parking fence in the second map is obtained according to the road offset data, and the parking fence is marked on the second map according to the position data. Based on the method, the problem of parking fence display difference caused by base map deviation among different maps can be avoided, accurate display of the parking fence on the second map is supported, and good visual perception experience can be brought to a user.
In an embodiment of the present disclosure, the second processing module 650 obtains third position data according to the first position data and the road deviation data; detecting whether the target position relation between the third position data and the road data in the second map meets a preset requirement or not; and under the condition that the target position relation does not meet the preset requirement, generating second position data of the selected parking fence in the second map according to the third position data, so that the position relation between the second position data and the road data in the second map meets the preset requirement.
In one embodiment of the present disclosure, the second processing module 650 obtains a center point position and a fence width of the selected parking fence in the second map according to the third position data; acquiring the center line position and the road width of a corresponding road in the second map according to the road data in the second map; calculating a vertical distance between the center point position and the center line position; and obtaining the target position relation according to the fence width, the road width and the vertical distance.
In an embodiment of the present disclosure, the second processing module 650 takes the third location data as the second location data of the selected parking fence in the second map if the target location relationship meets the preset requirement.
In one embodiment of the present disclosure, the marking device 600 of the parking fence further includes a first module. The first module detects whether the marked positions of the selected parking fence on the second map are intersected with the marked positions of other parking fences on the second map according to the second position data; performing a respective setting operation to mark only one of the selected parking fence and the other parking fence on the second map if an intersection is detected.
In one embodiment of the present disclosure, the marking device 600 of the parking fence further includes a second module. The second module receives a new request corresponding to a target parking fence; in response to the addition request, the target parking fence is used as the selected parking fence, and a setting operation is performed to cause the first obtaining module 610 to perform the step of obtaining the first position data of the selected parking fence in the first map.
In one embodiment of the present disclosure, the marking device 600 of the parking fence further includes a third module. The third module receives a deletion request corresponding to the selected parking fence; performing a respective setup operation in response to the deletion request to unmark the selected parking fence on the second map.
In one embodiment of the present disclosure, the marking device 600 of the parking fence further includes a fourth module. The fourth module receives a modification request corresponding to the selected parking fence, the modification request including fourth location data; in response to the modification request, the first position data is updated with the fourth position data, and a setting operation is performed to cause the third acquiring module 630 to perform the step of acquiring second road data of the selected road in a second map.
In one embodiment of the present disclosure, the first road data includes: at least one of road name, road driving direction, road length, and road width.
Fig. 7 is a schematic hardware configuration diagram of a marking device 700 of a parking fence according to another embodiment. The marking apparatus 700 of the parking fence may be the electronic device 1000 shown in fig. 1, or may include the electronic device 1000 shown in fig. 1.
As shown in fig. 7, the marking apparatus 700 of the parking fence comprises a processor 710 and a memory 720, the memory 720 is used for storing an executable computer program, and the processor 710 is used for executing the method according to any of the above method embodiments according to the control of the computer program.
The modules of the parking fence marking device 700 may be implemented by the processor 710 in the present embodiment executing a computer program stored in the memory 720, or may be implemented by other circuit structures, which is not limited herein.
Furthermore, an embodiment of the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as any of the above method embodiments.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, 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 disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or 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 may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, 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 instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some 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. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. 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 terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. A method of marking a parking fence, comprising:
acquiring first position data of the selected parking fence in a first map;
acquiring a road corresponding to the selected parking fence as a selected road in the first map;
according to first road data of the selected road in the first map, second road data of the selected road in a second map are obtained;
obtaining road offset data according to the first road data and the second road data;
obtaining second position data of the selected parking fence in the second map according to the first position data and the road deviation data;
marking the selected parking fence on the second map according to the second location data.
2. The method of claim 1, wherein the obtaining second location data of the selected parking fence in the second map from the first location data and the road offset data comprises:
obtaining third position data according to the first position data and the road deviation data;
detecting whether the target position relation between the third position data and the road data in the second map meets a preset requirement or not;
and under the condition that the target position relation does not meet the preset requirement, generating second position data of the selected parking fence in the second map according to the third position data, so that the position relation between the second position data and the road data in the second map meets the preset requirement.
3. The method of claim 2, wherein the method further comprises:
obtaining a center point position and a fence width of the selected parking fence in the second map according to the third position data;
acquiring the center line position and the road width of a corresponding road in the second map according to the road data in the second map;
calculating a vertical distance between the center point position and the center line position;
and obtaining the target position relation according to the fence width, the road width and the vertical distance.
4. The method of claim 2, wherein the method further comprises:
and taking the third position data as second position data of the selected parking fence in the second map when the target position relation meets the preset requirement.
5. The method of claim 1, wherein the method further comprises:
detecting whether the marked positions of the selected parking fence on the second map are intersected with the marked positions of other parking fences on the second map according to the second position data;
performing a respective setting operation to mark only one of the selected parking fence and the other parking fence on the second map if an intersection is detected.
6. The method of claim 1, wherein the method further comprises:
receiving a new request corresponding to a target parking fence;
responding to the newly-added request, taking the target parking fence as the selected parking fence, and executing the step of acquiring first position data of the selected parking fence in a first map;
and/or the presence of a gas in the gas,
the method further comprises the following steps: receiving a deletion request corresponding to the selected parking fence;
performing a respective setup operation in response to the deletion request to unmark the selected parking fence on the second map;
and/or the presence of a gas in the gas,
the method further comprises the following steps: receiving a modification request corresponding to the selected parking fence, the modification request including fourth location data;
in response to the modification request, updating the first position data with the fourth position data, and performing the step of obtaining second road data of the selected road in a second map.
7. The method of claim 1, wherein the first road data comprises: at least one of road name, road driving direction, road length, and road width.
8. A parking fence marking apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first position data of a selected parking fence in a first map;
a second obtaining module, configured to obtain, in the first map, a road corresponding to the selected parking fence as a selected road;
the third acquisition module is used for acquiring second road data of the selected road in a second map according to the first road data of the selected road in the first map;
the first processing module is used for obtaining road offset data according to the first road data and the second road data;
a second processing module, configured to obtain second location data of the selected parking fence in the second map according to the first location data and the road deviation data;
a marking module for marking the selected parking fence on the second map according to the second location data.
9. A parking fence marking apparatus comprising a memory for storing a computer program and a processor; the processor is adapted to execute the computer program to implement the method according to any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110261867.2A 2021-03-10 2021-03-10 Marking method and device for parking fence Withdrawn CN113094455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110261867.2A CN113094455A (en) 2021-03-10 2021-03-10 Marking method and device for parking fence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110261867.2A CN113094455A (en) 2021-03-10 2021-03-10 Marking method and device for parking fence

Publications (1)

Publication Number Publication Date
CN113094455A true CN113094455A (en) 2021-07-09

Family

ID=76666811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110261867.2A Withdrawn CN113094455A (en) 2021-03-10 2021-03-10 Marking method and device for parking fence

Country Status (1)

Country Link
CN (1) CN113094455A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160291852A1 (en) * 2015-03-31 2016-10-06 Naver Corporation Method and system for providing zoom-controlled transportation route map or road map
US20180150086A1 (en) * 2015-10-15 2018-05-31 Kazutoshi Nobukawa Positioning System Based on Geofencing Framework
CN109345838A (en) * 2018-10-21 2019-02-15 浙江浙大中控信息技术有限公司 The method of the sub- link travel speed of calculating based on complete cartographic information
CN109561387A (en) * 2018-11-23 2019-04-02 北京摩拜科技有限公司 Adjust the method, apparatus and server of fence
CN109960768A (en) * 2019-02-28 2019-07-02 北京摩拜科技有限公司 Display methods, device, terminal device and the system of map interface
CN111182457A (en) * 2019-12-26 2020-05-19 上海炬宏信息技术有限公司 Geo-fencing and generation method, device and storage medium
WO2020180310A1 (en) * 2019-03-06 2020-09-10 Whelen Engineering Company, Inc. Systems and method for map-based geofencing
CN111930878A (en) * 2020-09-25 2020-11-13 摩拜(北京)信息技术有限公司 Method for producing parking fence and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160291852A1 (en) * 2015-03-31 2016-10-06 Naver Corporation Method and system for providing zoom-controlled transportation route map or road map
US20180150086A1 (en) * 2015-10-15 2018-05-31 Kazutoshi Nobukawa Positioning System Based on Geofencing Framework
CN109345838A (en) * 2018-10-21 2019-02-15 浙江浙大中控信息技术有限公司 The method of the sub- link travel speed of calculating based on complete cartographic information
CN109561387A (en) * 2018-11-23 2019-04-02 北京摩拜科技有限公司 Adjust the method, apparatus and server of fence
CN109960768A (en) * 2019-02-28 2019-07-02 北京摩拜科技有限公司 Display methods, device, terminal device and the system of map interface
WO2020180310A1 (en) * 2019-03-06 2020-09-10 Whelen Engineering Company, Inc. Systems and method for map-based geofencing
CN111182457A (en) * 2019-12-26 2020-05-19 上海炬宏信息技术有限公司 Geo-fencing and generation method, device and storage medium
CN111930878A (en) * 2020-09-25 2020-11-13 摩拜(北京)信息技术有限公司 Method for producing parking fence and electronic equipment

Similar Documents

Publication Publication Date Title
CN108646752B (en) Control method and device of automatic driving system
US11205346B2 (en) Traffic information update method and apparatus
US20200265725A1 (en) Method and Apparatus for Planning Navigation Region of Unmanned Aerial Vehicle, and Remote Control
JP6884018B2 (en) Road facility management support device and road facility management support program
CN111586108B (en) Traffic map rendering method, device, terminal equipment, server and system
CN110487289B (en) Navigation method and navigation equipment for area without fixed lane
US11713980B2 (en) Method and apparatus for generating map
CN104482936A (en) Cloud server for providing road condition information and device for displaying road condition information
CN104142786A (en) Prompt box display method and terminal
CN110245567B (en) Obstacle avoidance method and device, storage medium and electronic equipment
US10701202B2 (en) Control of notifications on a mobile communication device based on driving conditions
US9805487B2 (en) Method and apparatus for non-occluding overlay of user interface or information elements on a contextual map
CN105651294A (en) Navigation method and navigation device for route planning
CN113094455A (en) Marking method and device for parking fence
CN111612851B (en) Method, apparatus, device and storage medium for calibrating camera
CN112633980B (en) Method, electronic device, and storage medium for vehicle website presentation
CN110244710B (en) Automatic tracing method, device, storage medium and electronic equipment
CN103943026B (en) A kind of impact point automatic placement method based on pixel distance
CN111259101B (en) Navigation route self-defining method, electronic equipment and storage medium
JP2018116013A (en) Information notification device and information notification method
CN112154302A (en) Route planning method, control terminal and computer readable storage medium
JP2014153262A (en) Information display device, information display method and information display program
CN112118419B (en) Model-based monitoring method, monitoring device, emergency command platform and computer-readable storage medium
CN113434935B (en) Method, apparatus, computer device and readable storage medium for marking temporary size
JP2014173862A (en) Drawing update controller

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210709

WW01 Invention patent application withdrawn after publication