CN115240401B - Vehicle position determining method, device, equipment, medium and product - Google Patents

Vehicle position determining method, device, equipment, medium and product Download PDF

Info

Publication number
CN115240401B
CN115240401B CN202210776995.5A CN202210776995A CN115240401B CN 115240401 B CN115240401 B CN 115240401B CN 202210776995 A CN202210776995 A CN 202210776995A CN 115240401 B CN115240401 B CN 115240401B
Authority
CN
China
Prior art keywords
position information
target
target area
determining
target vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210776995.5A
Other languages
Chinese (zh)
Other versions
CN115240401A (en
Inventor
孙宁宁
李振雷
王丙新
马建辉
孙中辉
迟云雁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive 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 FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN202210776995.5A priority Critical patent/CN115240401B/en
Publication of CN115240401A publication Critical patent/CN115240401A/en
Application granted granted Critical
Publication of CN115240401B publication Critical patent/CN115240401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/207Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles with respect to certain areas, e.g. forbidden or allowed areas with possible alerting when inside or outside boundaries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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
    • 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/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Landscapes

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

Abstract

The present application relates to the field of data mining, and in particular, to a vehicle position determining method, apparatus, computer device, storage medium, and computer program product. The method comprises the following steps: first, first position information of each target point on the boundary of the target area and second position information of the target vehicle are acquired, and then, the position relation between the target vehicle and the target area is determined according to the first position information and the second position information of each point on the boundary of the target area. According to the method and the device for determining the position relationship between the target vehicle and the target area, the position relationship between the target vehicle and the target area can be determined only through the position information of the target point on the boundary of the target area and the position information of the target vehicle, so that cost can be saved, and efficiency can be improved.

Description

Vehicle position determining method, device, equipment, medium and product
Technical Field
The present application relates to the field of data mining technology, and in particular, to a vehicle position determining method, apparatus, computer device, storage medium, and computer program product.
Background
In the port vehicle and the unmanned intelligent vehicle, the intelligent vehicle needs to run in a fixed area in the stages of testing, running and the like, but because the intelligent driving technology is not mature enough, the situation that the vehicle runs continuously beyond the area is likely to occur, in order to avoid the situation, the specific position of the vehicle needs to be determined in real time, whether the vehicle exceeds the area is judged by detecting the position relationship between the vehicle and the area, and the common technical means for detecting the position relationship between the vehicle and the area is to set an electronic fence for the vehicle.
Most of the prior electronic fences use sensors to detect the position relationship between the vehicle and the area, and use actual facilities to limit the running of the vehicle, and when the vehicle exceeds the area, alarm information can be sent out, but the cost of the electronic fence is very high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a virtual-electronic-fence-based vehicle position determination method, apparatus, computer device, computer-readable storage medium, and computer program product that can save costs and improve efficiency.
A vehicle position determination method, the method comprising:
acquiring first position information of each target point on the boundary of the target area;
acquiring second position information of the target vehicle;
and determining the position relation between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
In one embodiment, the acquiring the first position information of each target point on the boundary of the target area includes:
receiving an initial point selection instruction, and determining third position information of an initial point on the boundary of the target area according to the initial point selection instruction;
determining a maximum coordinate range based on third position information of each of the initial points;
and carrying out interpolation processing according to the maximum coordinate range to determine the target point, and calculating first position information of the target point.
In one embodiment, the determining the position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area includes:
when the first position information includes position information corresponding to the second position information of the target vehicle, the target vehicle is on the boundary of the target area.
In one embodiment, the determining the position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area further includes:
generating a unit vector according to the first position information and the position information when the position information corresponding to the second position information of the target vehicle exists in the first position information when the position information corresponding to the second position information of the target vehicle does not exist in the first position information;
determining the corresponding range of the unit vector;
and determining the position relationship between the target vehicle and the target area according to the range.
In one embodiment, the determining the positional relationship between the target vehicle and the target area according to the range includes:
determining a threshold according to the first position information;
when the range is greater than the threshold, the target vehicle is outside the target area;
when the range is less than the threshold, the target vehicle is within the target region.
In one embodiment, after determining the positional relationship between the target vehicle and the target area according to the first positional information and the second positional information of each point on the boundary of the target area, the method further includes:
and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
An electronic fence device based on internet of vehicles data, the device comprising:
the first acquisition module is used for acquiring first position information of each target point on the boundary of the target area;
the second acquisition module is used for acquiring second position information of the target vehicle;
and the determining module is used for determining the position relation between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method described above.
The vehicle position determining method, the vehicle position determining device, the computer equipment, the storage medium and the computer program product firstly acquire the first position information of each target point on the boundary of the target area and the second position information of the target vehicle, and then determine the position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area. According to the method and the device for determining the position relationship between the target vehicle and the target area, the position relationship between the target vehicle and the target area can be determined only through the position information of the target point on the boundary of the target area and the position information of the target vehicle, so that cost can be saved, and efficiency can be improved.
Drawings
FIG. 1 is a flow chart diagram of a method of vehicle position determination in one embodiment;
FIG. 2 is a flow chart of a target area and target vehicle location relationship determination step in one embodiment;
FIG. 3 is a block diagram of a vehicle position determining apparatus in one embodiment;
fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a vehicle position determining method is provided, where the method is applied to a terminal to illustrate the method, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server.
In this embodiment, the method includes the steps of:
s101, acquiring first position information of each target point on the boundary of the target area.
The target point is a latitude and longitude coordinate point on the boundary of the target area, and the first position information refers to the latitude and longitude coordinates of each target point on the boundary of the target area.
S102, second position information of the target vehicle is acquired.
The second position information refers to latitude and longitude coordinates of the target vehicle.
The terminal acquires a longitude and latitude sequence of the target vehicle from the internet of vehicles data, then de-weights the longitude and latitude coordinates, and performs precision processing on longitude and latitude data in all the remaining longitude and latitude coordinates to meet precision requirements, for example, two decimal places are reserved. The longitude and latitude sequence is a row formed by arranging all longitude and latitude coordinates on a vehicle running route according to the time sequence of arrival of the target vehicle, and the longitude and latitude coordinate deduplication refers to that for the longitude and latitude coordinates with identical longitude and latitude data, only one coordinate is reserved, and all the remaining identical coordinates are deleted.
S103, determining the position relation between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
For example, when the same position information as the second position information exists in the first position information, the target vehicle is considered to be located on the boundary of the target area.
The terminal needs to determine the position relationship between the target vehicle and the target area when the target vehicle is positioned at all coordinate points corresponding to the longitude and latitude coordinates of the target vehicle according to the sequence of the longitude and latitude coordinates in the longitude and latitude sequence of the target vehicle.
According to the vehicle position determining method provided by the embodiment, first position information of each target point on the boundary of the target area and second position information of the target vehicle are acquired, and then the position relation between the target vehicle and the target area is determined according to the first position information and the second position information of each point on the boundary of the target area. According to the method and the device for determining the position relationship between the target vehicle and the target area, the position relationship between the target vehicle and the target area can be determined only through the position information of the target point on the boundary of the target area and the position information of the target vehicle, so that cost can be saved, and efficiency can be improved.
In some embodiments, obtaining first location information for each target point on a target region boundary includes: receiving an initial point selection instruction, and determining third position information of an initial point on the boundary of the target area according to the initial point selection instruction; determining a maximum coordinate range based on third position information of each of the initial points; and carrying out interpolation processing according to the maximum coordinate range to determine the target point, and calculating first position information of the target point.
In the step, firstly, a terminal receives an operation instruction of clicking coordinate points on a visual map by a user, then the terminal acquires longitude and latitude data of the coordinate points clicked by the user, forms a set of the longitude and latitude coordinates clicked by the user according to the sequence of clicking by the user, sequentially extracts two adjacent longitude and latitude coordinates in the set according to the sequence of the set, calculates longitude and latitude data of a target point according to the extracted longitude and latitude coordinates to obtain longitude and latitude coordinates of the target point, and finally forms the set of the longitude and latitude coordinates of the target point according to the calculated sequence. The longitude and latitude coordinates selected by the user are selected by the user on the visual map according to the needs of the user, for example, the user needs to construct an electronic fence of the port car driving route, and then the user selects the longitude and latitude coordinates around the port car driving route on the visual map; the coordinate point selected by the user is the initial point on the boundary of the target area, and the longitude and latitude coordinate selected by the user is the third position information of the initial point on the boundary of the target area.
The process of the terminal calculating the first position information of the target point is as follows: first, all initial points are sequentially marked as A (x 1 ,y 1 )、B(x 2 ,y 2 )、C(x 3 ,y 3 ) … then calculates the equation of a straight line at two points A, B from the coordinates at two points A, B, denoted as y=kx+b, while calculating Δx= |x 2 -x 1 |,Δy=|y 2 -y 1 Comparing the magnitude of Deltax and Deltay, if Deltax>Δy, x is then 1 +0.01,x 1 +0.02,x 1 +0.03...x 1 +0.01 (n-1) is taken in y=kx+b to calculate the corresponding value of y, if Δx<Δy, then y 1 +0.01,y 1 +0.02,y 1 +0.03...y 1 And (2) carrying out calculation on the corresponding x value by carrying out the calculation on the value of the positive 0.01 (n-1) with the value of y=kx+b, so as to obtain a series of target points and longitude and latitude coordinates of the target points according to A, B two points, finally extracting longitude and latitude coordinates of all adjacent two initial points according to the collection sequence, and determining the longitude and latitude coordinates of all the target points and the target points according to the calculation steps and the extracted adjacent initial points, wherein the initial points also belong to the target points.
According to the method provided by the step, the user can select the initial point according to the actual situation, so that the longitude and latitude coordinates of the target point are calculated, the method is flexible, and the method can be suitable for various different actual situations.
In some embodiments, determining a positional relationship of the target vehicle and the target area based on the first positional information and the second positional information of points on the boundary of the target area includes: when there is position information corresponding to the second position information of the target vehicle in the first position information, the target vehicle is on the boundary of the target area.
In this step, if there is a target point whose latitude and longitude coordinates are the same as a certain latitude and longitude coordinate of the target vehicle, the target vehicle is on the boundary of the target area at the time point corresponding to the latitude and longitude coordinate of the target vehicle.
The method provided by the step can judge whether the target vehicle is on the boundary of the target area or not by only comparing the longitude and latitude coordinates of the target point and the target vehicle, has simple process and can save cost.
Referring to fig. 2, fig. 2 is a flowchart illustrating a step of determining a positional relationship between a target area and a target vehicle according to an embodiment of the present application. This embodiment relates to an alternative implementation of how the positional relationship of the target area and the target vehicle is determined. Determining a position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area, and further comprising:
s201, when there is no position information corresponding to the second position information of the target vehicle in the first position information, generating a unit vector from the first position information and the position information when there is no position information corresponding to the second position information of the target vehicle in the first position information.
In this step, arbitrary longitude and latitude coordinates P (x) in the longitude and latitude sequence of the target vehicle are taken 0 ,y 0 ) If there is no latitude and longitude coordinates of any one target point are the same as those of the P point, the terminal calculates a unit vector of latitude and longitude coordinates of the P point to all the target points, e.g., P point to A (x) 1 ,y 1 ) The unit vectors of (a) are:
s202, determining the extremely poor corresponding to the unit vector.
The terminal converts the unit vector of longitude and latitude coordinates from the P point to all target points into polar coordinate representation, then forms angle data of all polar coordinates into an angle data sequence S, calculates the range of all angle data in the angle data sequence S, and marks as: m=s.max-s.min.
S203, determining the position relationship between the target vehicle and the target area according to the range.
In this step, the positional relationship of the target vehicle and the target area includes that the target vehicle is within the target area and that the target vehicle is outside the target area.
The method provided by the step considers all the position relations between the target vehicle and the target area, and can determine the position of the target vehicle more accurately.
In some embodiments, determining the positional relationship of the target vehicle and the target area based on the range includes: determining a threshold value according to the first position information; when the range is greater than the threshold, the target vehicle is outside the target area; when the range is less than the threshold, the target vehicle is within the target area.
Wherein the threshold is determined based on the first location information intensity level. When the range m is greater than the threshold value, the P point is positioned outside the target area; when the margin m is less than the threshold, then the P point is located within the target region.
The terminal needs to calculate the polar difference between all longitude and latitude coordinates in the longitude and latitude sequence of the target vehicle and longitude and latitude coordinates of all target points, so as to determine the position relationship between the target vehicle and the target area when the target vehicle is positioned at all longitude and latitude coordinate points in the longitude and latitude sequence of the target vehicle.
According to the method provided by the step, the threshold value is determined according to the density degree of the target points on the boundary of the target area, so that the position of the target vehicle is determined according to the relationship between the threshold value and the extremely poor size, different threshold values can be selected according to actual conditions, and the judgment on the position of the target vehicle is more accurate.
In some embodiments, after determining the positional relationship between the target vehicle and the target area according to the first positional information and the second positional information of each point on the boundary of the target area, the method further includes: and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
In this step, the terminal may predict the impending situation so as to send out a corresponding early warning signal or a warning signal, for example, the terminal may determine, in real time, the time when the target vehicle enters the target area according to the speed of the target vehicle and the road information based on the positional relationship between the target vehicle and the target area, thereby sending out a corresponding warning message.
According to the method provided by the step, the terminal can predict the impending situation, so that a worker can prepare correspondingly for the impending situation, and dangers are avoided.
In some embodiments, the terminal acquires internet of vehicles data, extracts a longitude and latitude sequence of a target vehicle from the internet of vehicles data, and simultaneously, after receiving an initial point clicked by a user on the visual map, acquires longitude and latitude coordinates of the initial point clicked by the user, and determines a longitude and latitude set of the target point according to the longitude and latitude coordinates of the initial point. And then sequentially calculating the polar coordinates of unit vectors from all longitude and latitude coordinates in the longitude and latitude sequence of the target vehicle to all longitude and latitude coordinates in the longitude and latitude set of the target point, and determining the polar difference of the angle data sequence of all the polar coordinates corresponding to each longitude and latitude coordinate of the target vehicle. Then, the terminal judges the position relation between the target vehicle and the target area: when the target point is the same as the longitude and latitude coordinate point of a certain target vehicle, judging that the target vehicle is on the boundary of a target area; when the target point is not the same as the longitude and latitude coordinate point of a certain target vehicle, comparing the relation between the range corresponding to the longitude and latitude coordinate point of the target vehicle and the threshold value, if the range is larger than the threshold value, the target vehicle is positioned outside the target area, and if the range is smaller than the threshold value, the target vehicle is positioned inside the target area. And finally, carrying out the judgment on all coordinate points in the longitude and latitude sequence of the target vehicle, and determining the position relationship between the target vehicle and the target area when the target vehicle is positioned at all target points in the longitude and latitude sequence.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiments of the present application also provide a vehicle position determining apparatus for implementing the above-mentioned vehicle position determining method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitations in one or more embodiments of the vehicle position determining device provided below may be referred to above for limitations of the vehicle position determining method, and will not be repeated here.
In one embodiment, as shown in FIG. 3, there is provided a vehicle position determining apparatus 300 comprising: a first acquisition module 301, a second acquisition module 302, and a determination module 303, wherein:
the first acquiring module 301 is configured to acquire first position information of each target point on the boundary of the target area.
A second acquiring module 302, configured to acquire second location information of the target vehicle.
The determining module 303 is configured to determine a positional relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
In one embodiment, the first acquisition module 301 is further configured to: receiving an initial point selection instruction, and determining third position information of an initial point on the boundary of the target area according to the initial point selection instruction; determining a maximum coordinate range based on the third position information of each initial point; and carrying out interpolation processing according to the maximum coordinate range to determine a target point, and calculating first position information of the target point.
In one embodiment, the determining module 303 is further configured to: when there is position information corresponding to the second position information of the target vehicle in the first position information, the target vehicle is on the boundary of the target area.
In one embodiment, the determining module 303 includes:
and a generation unit configured to generate a unit vector from the first position information when the position information corresponding to the second position information of the target vehicle exists in the first position information when the position information corresponding to the second position information of the target vehicle does not exist in the first position information.
And the first determining unit is used for determining the range corresponding to the unit vector.
And a second determining unit for determining the positional relationship between the target vehicle and the target area according to the range.
In an embodiment, the second determining unit is further configured to: determining a threshold value according to the first position information; when the range is greater than the threshold, the target vehicle is outside the target area; when the range is less than the threshold, the target vehicle is within the target area.
In one embodiment, after determining the positional relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area, the apparatus 300 is specifically configured to: and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
The respective modules in the above-described vehicle position determination apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a vehicle position determination method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: acquiring first position information of each target point on the boundary of the target area; acquiring second position information of the target vehicle; and determining the position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
In one embodiment, the obtaining the first position information of each target point on the boundary of the target area, which is implemented when the processor executes the computer program, comprises: receiving an initial point selection instruction, and determining third position information of an initial point on the boundary of the target area according to the initial point selection instruction; determining a maximum coordinate range based on the third position information of each initial point; and carrying out interpolation processing according to the maximum coordinate range to determine a target point, and calculating first position information of the target point.
In one embodiment, determining a positional relationship of a target vehicle and a target area based on first and second positional information of points on a boundary of the target area implemented when the processor executes the computer program includes: when there is position information corresponding to the second position information of the target vehicle in the first position information, the target vehicle is on the boundary of the target area.
In one embodiment, the determining the positional relationship between the target vehicle and the target area according to the first positional information and the second positional information of each point on the boundary of the target area, which is implemented when the processor executes the computer program, further includes: generating a unit vector according to the first position information when the position information corresponding to the second position information of the target vehicle exists in the first position information when the position information corresponding to the second position information of the target vehicle does not exist in the first position information; determining the corresponding range of the unit vector; and determining the position relationship between the target vehicle and the target area according to the range.
In one embodiment, determining the positional relationship of the target vehicle and the target area according to the range, which is achieved when the processor executes the computer program, includes: determining a threshold value according to the first position information; when the range is greater than the threshold, the target vehicle is outside the target area; when the range is less than the threshold, the target vehicle is within the target area.
In one embodiment, after determining the positional relationship between the target vehicle and the target area according to the first positional information and the second positional information of each point on the boundary of the target area, the processor when executing the computer program further includes: and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring first position information of each target point on the boundary of the target area; acquiring second position information of the target vehicle; and determining the position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
In one embodiment, the computer program, when executed by the processor, is implemented to obtain first position information of each target point on the boundary of the target area, comprising: receiving an initial point selection instruction, and determining third position information of an initial point on the boundary of the target area according to the initial point selection instruction; determining a maximum coordinate range based on the third position information of each initial point; and carrying out interpolation processing according to the maximum coordinate range to determine a target point, and calculating first position information of the target point.
In one embodiment, determining a positional relationship of a target vehicle and a target area based on first and second positional information of points on a boundary of the target area, as implemented when the computer program is executed by a processor, includes: when there is position information corresponding to the second position information of the target vehicle in the first position information, the target vehicle is on the boundary of the target area.
In one embodiment, the determining the positional relationship of the target vehicle and the target area based on the first positional information and the second positional information of points on the boundary of the target area, which is implemented when the computer program is executed by the processor, further comprises: generating a unit vector according to the first position information when the position information corresponding to the second position information of the target vehicle exists in the first position information when the position information corresponding to the second position information of the target vehicle does not exist in the first position information; determining the corresponding range of the unit vector; and determining the position relationship between the target vehicle and the target area according to the range.
In one embodiment, a computer program, when executed by a processor, determines a positional relationship of a target vehicle and a target area based on a range, comprising: determining a threshold value according to the first position information; when the range is greater than the threshold, the target vehicle is outside the target area; when the range is less than the threshold, the target vehicle is within the target area.
In one embodiment, after determining the positional relationship between the target vehicle and the target area according to the first positional information and the second positional information of each point on the boundary of the target area, the computer program when executed by the processor further includes: and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of: acquiring first position information of each target point on the boundary of the target area; acquiring second position information of the target vehicle; and determining the position relationship between the target vehicle and the target area according to the first position information and the second position information of each point on the boundary of the target area.
In one embodiment, the computer program, when executed by the processor, is implemented to obtain first position information of each target point on the boundary of the target area, comprising: receiving an initial point selection instruction, and determining third position information of an initial point on the boundary of the target area according to the initial point selection instruction; determining a maximum coordinate range based on the third position information of each initial point; and carrying out interpolation processing according to the maximum coordinate range to determine a target point, and calculating first position information of the target point.
In one embodiment, determining a positional relationship of a target vehicle and a target area based on first and second positional information of points on a boundary of the target area, as implemented when the computer program is executed by a processor, includes: when there is position information corresponding to the second position information of the target vehicle in the first position information, the target vehicle is on the boundary of the target area.
In one embodiment, the determining the positional relationship of the target vehicle and the target area based on the first positional information and the second positional information of points on the boundary of the target area, which is implemented when the computer program is executed by the processor, further comprises: generating a unit vector according to the first position information when the position information corresponding to the second position information of the target vehicle exists in the first position information when the position information corresponding to the second position information of the target vehicle does not exist in the first position information; determining the corresponding range of the unit vector; and determining the position relationship between the target vehicle and the target area according to the range.
In one embodiment, a computer program, when executed by a processor, determines a positional relationship of a target vehicle and a target area based on a range, comprising: determining a threshold value according to the first position information; when the range is greater than the threshold, the target vehicle is outside the target area; when the range is less than the threshold, the target vehicle is within the target area.
In one embodiment, after determining the positional relationship between the target vehicle and the target area according to the first positional information and the second positional information of each point on the boundary of the target area, the computer program when executed by the processor further includes: and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A vehicle position determination method, the method comprising:
receiving an initial point selection instruction, and determining a third position coordinate of an initial point on the boundary of the target area according to the initial point selection instruction, wherein the position coordinate comprises longitude data and latitude data; determining a linear equation between every two adjacent initial points based on the sequence of the initial points clicked by the user and the third position coordinate of each initial point; inserting a plurality of intermediate points between every two adjacent initial points based on the magnitude relation between the longitude data difference value and the latitude data difference value corresponding to the two adjacent initial points and the linear equation, and determining the initial points and the intermediate points as target points;
acquiring first position information of each target point on the boundary of the target area;
acquiring second position information of the target vehicle;
generating a unit vector according to all the first position information and the second position information when the position information corresponding to the second position information of the target vehicle does not exist in the first position information; determining the corresponding range of the unit vector; and determining the position relationship between the target vehicle and the target area according to the range.
2. The method according to claim 1, wherein the method further comprises:
when the first position information includes position information corresponding to the second position information of the target vehicle, the target vehicle is on the boundary of the target area.
3. The method according to any one of claims 1-2, wherein said determining a positional relationship of the target vehicle and the target area from the range comprises:
determining a threshold according to the first position information;
when the range is greater than the threshold, the target vehicle is outside the target area;
when the range is less than the threshold, the target vehicle is within the target region.
4. The method according to claim 1, wherein the method further comprises:
and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
5. A vehicle position determining apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving an initial point selection instruction, determining a third position coordinate of an initial point on the boundary of the target area according to the initial point selection instruction, wherein the position coordinate comprises longitude data and latitude data; determining a linear equation between every two adjacent initial points based on the sequence of the initial points clicked by the user and the third position coordinate of each initial point; inserting a plurality of intermediate points between every two adjacent initial points based on the magnitude relation between the longitude data difference value and the latitude data difference value corresponding to the two adjacent initial points and the linear equation, and determining the initial points and the intermediate points as target points;
the first acquisition module is used for acquiring first position information of each target point on the boundary of the target area;
the second acquisition module is used for acquiring second position information of the target vehicle;
a generation module configured to generate a unit vector according to all the first position information and the second position information when no position information corresponding to the second position information of the target vehicle exists in the first position information; determining the corresponding range of the unit vector; and determining the position relationship between the target vehicle and the target area according to the range.
6. The apparatus of claim 5, wherein the vehicle position determining apparatus is specifically configured to: when the first position information includes position information corresponding to the second position information of the target vehicle, the target vehicle is on the boundary of the target area.
7. The apparatus of claim 5, wherein the generating module is further configured to: determining a threshold value according to the first position information; when the range is greater than the threshold, the target vehicle is outside the target area; when the range is less than the threshold, the target vehicle is within the target area.
8. The apparatus of claim 5, wherein the vehicle position determining apparatus is further configured to: and generating an early warning signal or a reminding signal according to the position relation between the target vehicle and the target area.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202210776995.5A 2022-07-04 2022-07-04 Vehicle position determining method, device, equipment, medium and product Active CN115240401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210776995.5A CN115240401B (en) 2022-07-04 2022-07-04 Vehicle position determining method, device, equipment, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210776995.5A CN115240401B (en) 2022-07-04 2022-07-04 Vehicle position determining method, device, equipment, medium and product

Publications (2)

Publication Number Publication Date
CN115240401A CN115240401A (en) 2022-10-25
CN115240401B true CN115240401B (en) 2024-04-09

Family

ID=83672151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210776995.5A Active CN115240401B (en) 2022-07-04 2022-07-04 Vehicle position determining method, device, equipment, medium and product

Country Status (1)

Country Link
CN (1) CN115240401B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110570647A (en) * 2019-09-06 2019-12-13 北京嘀嘀无限科技发展有限公司 prompting method and system based on electronic fence
CN110751855A (en) * 2018-07-24 2020-02-04 东旭科技集团有限公司 Method and device for outputting prompt information, street lamp and readable storage medium
CN111199639A (en) * 2019-12-26 2020-05-26 北京摩拜科技有限公司 Method, device and system for adjusting parking fence area and server
CN112087708A (en) * 2020-08-14 2020-12-15 江苏省电力试验研究院有限公司 Layout method and layout device of electronic fence and storage medium
CN113611131A (en) * 2021-07-22 2021-11-05 上汽通用五菱汽车股份有限公司 Vehicle passing method, device, equipment and computer readable storage medium
CN113721621A (en) * 2021-08-30 2021-11-30 阿波罗智联(北京)科技有限公司 Vehicle control method, device, electronic device, and storage medium
CN114495544A (en) * 2022-01-20 2022-05-13 智道网联科技(北京)有限公司 Signal lamp state reminding method and device based on vehicle road cloud cooperation and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016204823A1 (en) * 2016-03-23 2017-09-28 Ford Global Technologies, Llc GPS-based area recognition in vehicles
CN105828292A (en) * 2016-05-09 2016-08-03 青岛海信移动通信技术股份有限公司 Position detecting method and device based on geo-fencing
CN111246376B (en) * 2018-11-28 2021-11-16 北京嘀嘀无限科技发展有限公司 System and method for determining whether a target belongs to a target geofence

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110751855A (en) * 2018-07-24 2020-02-04 东旭科技集团有限公司 Method and device for outputting prompt information, street lamp and readable storage medium
CN110570647A (en) * 2019-09-06 2019-12-13 北京嘀嘀无限科技发展有限公司 prompting method and system based on electronic fence
CN111199639A (en) * 2019-12-26 2020-05-26 北京摩拜科技有限公司 Method, device and system for adjusting parking fence area and server
CN112087708A (en) * 2020-08-14 2020-12-15 江苏省电力试验研究院有限公司 Layout method and layout device of electronic fence and storage medium
CN113611131A (en) * 2021-07-22 2021-11-05 上汽通用五菱汽车股份有限公司 Vehicle passing method, device, equipment and computer readable storage medium
CN113721621A (en) * 2021-08-30 2021-11-30 阿波罗智联(北京)科技有限公司 Vehicle control method, device, electronic device, and storage medium
CN114495544A (en) * 2022-01-20 2022-05-13 智道网联科技(北京)有限公司 Signal lamp state reminding method and device based on vehicle road cloud cooperation and electronic equipment

Also Published As

Publication number Publication date
CN115240401A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
EP3186662B1 (en) Measuring traffic speed in a road network
CN115240401B (en) Vehicle position determining method, device, equipment, medium and product
CN113903016B (en) Bifurcation point detection method, bifurcation point detection device, computer equipment and storage medium
CN115858659A (en) Vector track display method and device, computer equipment and storage medium
CN111405463B (en) Information acquisition method and device, electronic equipment and storage medium
CN114872718A (en) Vehicle trajectory prediction method, vehicle trajectory prediction device, computer equipment and storage medium
CN115544191A (en) Three-dimensional point cloud crowdsourcing type semantic map updating method and device
CN116128835B (en) Point cloud analysis-based power transmission wire sag measurement method, device and equipment
CN115810012B (en) Transmission tower inclination detection method, device, equipment and storage medium
CN115965856B (en) Image detection model construction method, device, computer equipment and storage medium
CN115905342B (en) Method and device for thinning track of moving object on water and computer equipment
CN116279935B (en) Vehicle dumping early warning method and device and computer equipment
CN116522148A (en) Vehicle driving track determining method, device, computer equipment and storage medium
CN117741646A (en) Method, device, computer equipment and storage medium for determining speed of target object
CN116309834A (en) Mobile equipment positioning method and device and mobile equipment
CN117876027A (en) Data processing method, device, computer equipment and storage medium
CN116010538A (en) Traffic thermodynamic diagram generation method, device, equipment, storage medium and program product
CN117842055A (en) Wrong driving behavior reminding method and device, vehicle-mounted terminal and storage medium
CN115187935A (en) Vehicle behavior prediction method, device, base station, storage medium, and program product
CN117909739A (en) Model monitoring method, device, computer equipment and storage medium
CN116883563A (en) Method, device, computer equipment and storage medium for rendering annotation points
CN116137063A (en) Training method, device, equipment, storage medium and product of target detection model
Rosely et al. Improving simplification performance using FSA: experimental result
CN117274637A (en) Pedestrian track prediction method, device, computer equipment and storage medium
CN116142219A (en) Performance evaluation method, device, computer apparatus, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant