[go: up one dir, main page]

CN113888865B - Electronic device and vehicle information acquisition method - Google Patents

Electronic device and vehicle information acquisition method Download PDF

Info

Publication number
CN113888865B
CN113888865B CN202111152170.8A CN202111152170A CN113888865B CN 113888865 B CN113888865 B CN 113888865B CN 202111152170 A CN202111152170 A CN 202111152170A CN 113888865 B CN113888865 B CN 113888865B
Authority
CN
China
Prior art keywords
vehicle
target
information
bound
license plate
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.)
Expired - Fee Related
Application number
CN202111152170.8A
Other languages
Chinese (zh)
Other versions
CN113888865A (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.)
Hisense TransTech Co Ltd
Original Assignee
Hisense TransTech 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 Hisense TransTech Co Ltd filed Critical Hisense TransTech Co Ltd
Priority to CN202111152170.8A priority Critical patent/CN113888865B/en
Publication of CN113888865A publication Critical patent/CN113888865A/en
Application granted granted Critical
Publication of CN113888865B publication Critical patent/CN113888865B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/0116Measuring and analyzing of parameters relative to traffic conditions based on the source of data from roadside infrastructure, e.g. beacons
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention relates to an electronic device and a vehicle information acquisition method, relating to the technical field of vehicle-road cooperation, wherein the method comprises the following steps: receiving position information of first vehicles acquired by a radar, and determining the ID of each first vehicle acquired by the radar; after receiving information of a second vehicle acquired by target gate equipment, if the target second vehicle is acquired for the first time by the target gate equipment, determining a target first vehicle from first vehicles acquired by a radar; and if the ID of the target first vehicle is not bound with the appearance characteristic information before the preset time period, and the running sequence determined according to the position information of the target first vehicle is the same as the determined running sequence of the target second vehicle, binding the ID of the target first vehicle with the appearance characteristic information of the target second vehicle. The embodiment of the invention can determine that the vehicle ID of the same vehicle is bound with the appearance characteristic information acquired by the target gate device, thereby solving the problem of incomplete monitoring data in the prior art.

Description

电子设备及车辆信息获取方法Electronic device and vehicle information acquisition method

技术领域technical field

本发明涉及车路协同技术领域,尤其涉及一种电子设备及车辆信息获取方法。The invention relates to the technical field of vehicle-road coordination, in particular to an electronic device and a vehicle information acquisition method.

背景技术Background technique

为了能够更好的进行交通管理,现有的道路上会布设多个雷达,当车辆经过雷达时,雷达能够监控车辆的位置,从而监控路上的车辆。In order to better manage traffic, multiple radars will be deployed on the existing roads. When a vehicle passes by the radar, the radar can monitor the position of the vehicle, thereby monitoring the vehicles on the road.

监控时会给车辆分配ID,然而,一般其他设备识别车辆身份是车牌号、号牌类型等等车辆的外观特征信息,其他的设备不能够通过ID识别车辆的身份,例如,当该车辆发生车祸时,进行身份识别的是车辆的车牌号、车辆类型等等,这样导致如果只知道车辆的ID时,车辆的信息不全面。Vehicles will be assigned an ID during monitoring. However, other devices generally identify the vehicle’s identity as the license plate number, license plate type, and other appearance feature information of the vehicle. Other devices cannot identify the vehicle’s identity through the ID. For example, when the vehicle has an accident At the same time, it is the license plate number, vehicle type, etc. of the vehicle that are used for identity recognition, so that if only the ID of the vehicle is known, the information of the vehicle is not comprehensive.

发明内容Contents of the invention

本发明提供一种电子设备及车辆信息获取方法,能够将车辆ID和目标卡口设备获取该车辆的外观特征信息,从而使得两个信息进行绑定,从而解决现有技术中监控数据不全面的问题。The present invention provides an electronic device and a method for obtaining vehicle information, which can obtain the appearance feature information of the vehicle from the vehicle ID and the target bayonet device, so that the two information can be bound together, thereby solving the problem of incomplete monitoring data in the prior art question.

第一方面,本发明实施例提供的一种电子设备,包括:接收单元和处理器;In the first aspect, an electronic device provided by an embodiment of the present invention includes: a receiving unit and a processor;

所述接收模块,用于接收雷达发送的信息,以及接收雷达对应的卡口设备发送的信息;The receiving module is used to receive the information sent by the radar, and receive the information sent by the bayonet device corresponding to the radar;

所述处理器,用于接收雷达采集的第一车辆的位置信息,并确定雷达采集到的每个第一车辆的ID;The processor is configured to receive the position information of the first vehicle collected by the radar, and determine the ID of each first vehicle collected by the radar;

在接收到目标卡口设备采集的第二车辆的信息后,确定每个第二车辆是否由所述目标卡口设备首次采集到;其中,所述目标卡口设备的监控区域和所述雷达的监控区域具有重叠区域;目标卡口设备采集的第二车辆的信息包括用于识别车辆身份的外观特征信息和车辆的行驶顺序;After receiving the information of the second vehicle collected by the target checkpoint device, it is determined whether each second vehicle is collected by the target checkpoint device for the first time; wherein, the monitoring area of the target checkpoint device and the radar's The monitoring area has an overlapping area; the information of the second vehicle collected by the target bayonet device includes appearance feature information for identifying the identity of the vehicle and the driving sequence of the vehicle;

若存在目标第二车辆由目标卡口设备首次采集到,则从雷达采集的第一车辆中,确定目标第一车辆;其中,接收到目标第一车辆的位置信息的时间,在接收到所述目标第二车辆的信息的时间之前的第一预设时长内,且所述目标第一车辆的ID在预设时间段未绑定外观特征信息;所述预设时间段为接收到所述目标第二车辆的信息的时间之前的第二预设时长;If there is a target second vehicle that is collected by the target checkpoint device for the first time, then from the first vehicle collected by the radar, determine the target first vehicle; wherein, when the position information of the target first vehicle is received, when the position information of the target first vehicle is received, the Within the first preset time period before the information of the target second vehicle, and the ID of the target first vehicle has not been bound to the appearance characteristic information within the preset time period; the preset time period is when the target vehicle is received a second preset duration before the time of the information of the second vehicle;

若所述目标第一车辆的ID在所述预设时间段之前未绑定外观特征信息,且根据所述目标第一车辆的位置信息确定的行驶顺序,与目标第二车辆的行驶顺序相同,则将所述目标第一车辆的ID和目标第二车辆的外观特征信息进行绑定,以实现监控路上行驶的车辆。If the ID of the target first vehicle is not bound to the appearance characteristic information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the driving sequence of the target second vehicle, Then bind the ID of the target first vehicle with the appearance characteristic information of the target second vehicle, so as to monitor the vehicles driving on the road.

上述电子设备,确定雷达检测的车辆的ID,同时,利用目标卡口设备获取用于识别车辆身份的外观特征信息,如果目标卡口设备第一次采集到该车辆,则确定该车辆获取时间之前的预设时长内雷达采集的车辆,如果车辆的ID没有绑定外观特征信息,且确定两个车辆的行驶前后顺序相同后,说明两个车辆为同一车辆,绑定ID和外观特征信息,从而获取车辆的更多信息,解决了现有技术中监控数据不全面的问题,提高了监控效率。The above-mentioned electronic device determines the ID of the vehicle detected by the radar, and at the same time, uses the target bayonet device to obtain the appearance feature information for identifying the vehicle identity. If the target bayonet device collects the vehicle for the first time, it is determined that the vehicle is acquired before the time For vehicles collected by radar within the preset time period, if the ID of the vehicle is not bound with appearance feature information, and it is determined that the order of the two vehicles before and after driving is the same, it means that the two vehicles are the same vehicle, and the ID and appearance feature information are bound, so that Obtaining more information of the vehicle solves the problem of incomplete monitoring data in the prior art and improves monitoring efficiency.

在一种可能的实现方式中,所述处理器,具体用于:In a possible implementation manner, the processor is specifically configured to:

若目标第一车辆的数量为一个,则确定所述目标车辆的行驶顺序为第一行驶顺序;If the number of the target first vehicle is one, then determine that the driving sequence of the target vehicle is the first driving sequence;

若目标第一车辆的数量为多个,则针对每个目标第一车辆,根据接收所述目标第一车辆的位置信息的时间和接收所述目标第二车辆的信息的时间之间的时间间隔、所述目标第一车辆的车速、所述目标第一车辆的加速度,确定所述目标第一车辆在时间间隔内行驶的距离;If there are multiple target first vehicles, for each target first vehicle, according to the time interval between the time of receiving the position information of the target first vehicle and the time of receiving the information of the target second vehicle , the vehicle speed of the target first vehicle, the acceleration of the target first vehicle, determining the distance traveled by the target first vehicle within a time interval;

根据所述目标第一车辆在时间间隔内行驶的距离和所述目标第一车辆的位置信息,确定目标卡口设备采集所述目标第一车辆时所述目标第一车辆的位置信息;According to the distance traveled by the target first vehicle within the time interval and the position information of the target first vehicle, determine the position information of the target first vehicle when the target checkpoint device collects the target first vehicle;

根据目标卡口设备采集所述目标第一车辆时所述目标第一车辆的位置信息,确定所述目标第一车辆的行驶顺序。The driving order of the target first vehicles is determined according to the position information of the target first vehicles when the target checkpoint device collects the target first vehicles.

由于雷达和目标卡口设备获取信息的频率不同,所以上述电子设备,确定通过目标卡口设备获取目标第二车辆的位置信息,这样在与目标卡口设备获取目标第一车辆的行驶顺序判断过程中,能够使得判断的更加准确。Because the radar and the target bayonet device acquire information at different frequencies, the above-mentioned electronic device determines to obtain the position information of the target second vehicle through the target bayonet device. , which can make the judgment more accurate.

在一种可能的实现方式中,所述处理器,还用于:In a possible implementation manner, the processor is further configured to:

确定所述目标第一车辆和所述目标第二车辆所在的车道相同。It is determined that the target first vehicle and the target second vehicle are located in the same lane.

上述电子设备,确定所述目标第一车辆和所述目标第二车辆所在的车道相同时,能够提高两个车辆的行驶顺序判断的成功率。The above-mentioned electronic device can improve the success rate of determining the driving order of the two vehicles when it is determined that the lanes in which the target first vehicle and the target second vehicle are located are the same.

在一种可能的实现方式中,所述处理器,还用于:In a possible implementation manner, the processor is further configured to:

若所述目标第一车辆的ID在所述预设时间段之前已绑定外观特征信息,且根据所述目标第一车辆的位置信息确定的行驶顺序,与目标第二车辆的行驶顺序相同,则根据目标第二车辆的外观特征信息的置信度和所述ID已绑定的外观特征信息的置信度,对所述ID已绑定的外观特征信息进行修正。If the ID of the target first vehicle has been bound to appearance feature information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the driving sequence of the target second vehicle, The ID-bound appearance feature information is corrected according to the confidence level of the target second vehicle's appearance feature information and the confidence level of the ID-bound appearance feature information.

上述电子设备,能够在身份信息已绑定外观特征信息后,再次获取已绑定的车辆的外观特征信息后,可以修改绑定的外观特征信息,提高绑定信息的可信度。The above-mentioned electronic device can modify the bound appearance feature information after the identity information has been bound with the appearance feature information and obtain the bound appearance feature information of the vehicle again, so as to improve the credibility of the bound information.

在一种可能的实现方式中,其中,所述外观特征信息包括车牌号,所述处理器,具体用于:In a possible implementation manner, wherein the appearance feature information includes a license plate number, the processor is specifically configured to:

若接收到目标第二车辆的车牌号的置信度和所述ID已绑定的车牌号的置信度之间的差值超过预设值,且接收到目标第二车辆的车牌号的置信度大于所述ID已绑定的车牌号的置信度,则将所述ID已绑定的车牌号,更新为接收到目标第二车辆的车牌号;或If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the license plate number bound to the ID exceeds a preset value, and the confidence degree of the license plate number of the target second vehicle is greater than The confidence of the ID-bound license plate number is updated to receive the license plate number of the target second vehicle; or

若接收到目标第二车辆的车牌号的置信度和所述ID已绑定的车牌号的置信度之间的差值不超过预设值,则针对所述ID已绑定的车牌号中的每个号码,根据接收到目标第二车辆的车牌号中的所述号码的置信度,和所述ID已绑定的车牌号中的所述号码的置信度中,置信度大的号码,更新所述ID已绑定的所述车牌号中的所述号码。If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the ID-bound license plate number does not exceed the preset value, then for the ID-bound license plate number Each number is updated according to the confidence degree of the number in the license plate number of the target second vehicle received, and the confidence degree of the number in the license plate number to which the ID has been bound, the number with a higher degree of confidence The number in the license plate number to which the ID is bound.

上述电子设备,能够通过置信度,修改外观特征信息中的车牌号,身份信息绑定的车牌号是车辆正确的车牌号,提高了获取的信息的可信度。The above-mentioned electronic device can modify the license plate number in the appearance feature information through the confidence level, and the license plate number bound to the identity information is the correct license plate number of the vehicle, which improves the credibility of the obtained information.

第二方面,本发明实施例提供的一种车辆信息获取方法,包括:In the second aspect, a vehicle information acquisition method provided by an embodiment of the present invention includes:

接收雷达采集的第一车辆的位置信息,并确定雷达采集到的每个第一车辆的ID;receiving the position information of the first vehicle collected by the radar, and determining the ID of each first vehicle collected by the radar;

在接收到目标卡口设备采集的第二车辆的信息后,确定每个第二车辆是否由所述目标卡口设备首次采集到;其中,所述目标卡口设备的监控区域和所述雷达的监控区域具有重叠区域;目标卡口设备采集的第二车辆的信息包括用于识别车辆身份的外观特征信息和车辆的行驶顺序;After receiving the information of the second vehicle collected by the target checkpoint device, it is determined whether each second vehicle is collected by the target checkpoint device for the first time; wherein, the monitoring area of the target checkpoint device and the radar's The monitoring area has an overlapping area; the information of the second vehicle collected by the target bayonet device includes appearance feature information for identifying the identity of the vehicle and the driving sequence of the vehicle;

若存在目标第二车辆由目标卡口设备首次采集到,则从雷达采集的第一车辆中,确定目标第一车辆;其中,接收到目标第一车辆的位置信息的时间,在接收到所述目标第二车辆的信息的时间之前的第一预设时长内,且所述目标第一车辆的ID在预设时间段未绑定外观特征信息;所述预设时间段为接收到所述目标第二车辆的信息的时间之前的第二预设时长;If there is a target second vehicle that is collected by the target checkpoint device for the first time, then from the first vehicle collected by the radar, determine the target first vehicle; wherein, when the position information of the target first vehicle is received, when the position information of the target first vehicle is received, the Within the first preset time period before the information of the target second vehicle, and the ID of the target first vehicle has not been bound to the appearance characteristic information within the preset time period; the preset time period is when the target vehicle is received a second preset duration before the time of the information of the second vehicle;

若所述目标第一车辆的ID在所述预设时间段之前未绑定外观特征信息,且根据所述目标第一车辆的位置信息确定的行驶顺序,与目标第二车辆的行驶顺序相同,则将所述目标第一车辆的ID和目标第二车辆的外观特征信息进行绑定,以实现监控路上行驶的车辆。If the ID of the target first vehicle is not bound to the appearance characteristic information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the driving sequence of the target second vehicle, Then bind the ID of the target first vehicle with the appearance characteristic information of the target second vehicle, so as to monitor the vehicles driving on the road.

在一种可能的实现方式中,根据所述目标第一车辆的位置信息确定行驶顺序,包括:In a possible implementation manner, determining the driving sequence according to the position information of the target first vehicle includes:

若目标第一车辆的数量为一个,则确定所述目标车辆的行驶顺序为第一行驶顺序;If the number of the target first vehicle is one, then determine that the driving sequence of the target vehicle is the first driving sequence;

若目标第一车辆的数量为多个,则针对每个目标第一车辆,根据接收所述目标第一车辆的位置信息的时间和接收所述目标第二车辆的信息的时间之间的时间间隔、所述目标第一车辆的车速、所述目标第一车辆的加速度,确定所述目标第一车辆在时间间隔内行驶的距离;If there are multiple target first vehicles, for each target first vehicle, according to the time interval between the time of receiving the position information of the target first vehicle and the time of receiving the information of the target second vehicle , the vehicle speed of the target first vehicle, the acceleration of the target first vehicle, determining the distance traveled by the target first vehicle within a time interval;

根据所述目标第一车辆在时间间隔内行驶的距离和所述目标第一车辆的位置信息,确定目标卡口设备采集所述目标第一车辆时所述目标第一车辆的位置信息;According to the distance traveled by the target first vehicle within the time interval and the position information of the target first vehicle, determine the position information of the target first vehicle when the target checkpoint device collects the target first vehicle;

根据目标卡口设备采集所述目标第一车辆时所述目标第一车辆的位置信息,确定所述目标第一车辆的行驶顺序。The driving order of the target first vehicles is determined according to the position information of the target first vehicles when the target checkpoint device collects the target first vehicles.

在一种可能的实现方式中,将所述目标第一车辆的ID和目标第二车辆的外观特征信息进行绑定之前,所述方法还包括:In a possible implementation manner, before binding the ID of the target first vehicle and the appearance feature information of the target second vehicle, the method further includes:

确定所述目标第一车辆和所述目标第二车辆所在的车道相同。It is determined that the target first vehicle and the target second vehicle are located in the same lane.

在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:

若所述目标第一车辆的ID在所述预设时间段之前已绑定外观特征信息,且根据所述目标第一车辆的位置信息确定的行驶顺序,与目标第二车辆的行驶顺序相同,则根据目标第二车辆的外观特征信息的置信度和所述ID已绑定的外观特征信息的置信度,对所述ID已绑定的外观特征信息进行修正。If the ID of the target first vehicle has been bound to appearance feature information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the driving sequence of the target second vehicle, The ID-bound appearance feature information is corrected according to the confidence level of the target second vehicle's appearance feature information and the confidence level of the ID-bound appearance feature information.

在一种可能的实现方式中,其中,所述外观特征信息包括车牌号,根据目标第二车辆的外观特征信息的置信度和所述ID已绑定的外观特征信息的置信度,对所述ID已绑定的外观特征信息进行修正,包括:In a possible implementation manner, wherein the appearance feature information includes a license plate number, the confidence level of the target second vehicle's appearance feature information and the appearance feature information bound to the ID is determined. The appearance feature information that has been bound to the ID is corrected, including:

若接收到目标第二车辆的车牌号的置信度和所述ID已绑定的车牌号的置信度之间的差值超过预设值,且接收到目标第二车辆的车牌号的置信度大于所述ID已绑定的车牌号的置信度,则将所述ID已绑定的车牌号,更新为接收到目标第二车辆的车牌号;或If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the license plate number bound to the ID exceeds a preset value, and the confidence degree of the license plate number of the target second vehicle is greater than The confidence of the ID-bound license plate number is updated to receive the license plate number of the target second vehicle; or

若接收到目标第二车辆的车牌号的置信度和所述ID已绑定的车牌号的置信度之间的差值不超过预设值,则针对所述ID已绑定的车牌号中的每个号码,根据接收到目标第二车辆的车牌号中的所述号码的置信度,和所述ID已绑定的车牌号中的所述号码的置信度中,置信度大的号码,更新所述ID已绑定的所述车牌号中的所述号码。If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the ID-bound license plate number does not exceed the preset value, then for the ID-bound license plate number Each number is updated according to the confidence degree of the number in the license plate number of the target second vehicle received, and the confidence degree of the number in the license plate number to which the ID has been bound, the number with a higher degree of confidence The number in the license plate number to which the ID is bound.

第三方面,本申请还提供一种计算机存储介质,其上存储有计算机程序,该程序被处理单元执行时实现第二方面所述的车辆信息获取方法的步骤。In a third aspect, the present application further provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processing unit, the steps of the vehicle information acquisition method described in the second aspect are realized.

另外,第二方面至第三方面中任一种实现方式所带来的技术效果可参见第一方面中不同实现方式所带来的技术效果,此处不再赘述。In addition, for the technical effects brought about by any one of the implementations from the second aspect to the third aspect, refer to the technical effects brought about by different implementations in the first aspect, which will not be repeated here.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理,并不构成对本发明的不当限定。The accompanying drawings here are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present invention, and used together with the specification to explain the principle of the present invention, and do not constitute an improper limitation of the present invention.

图1是本发明实施例提供的一种道路上的场景示意图;FIG. 1 is a schematic diagram of a scene on a road provided by an embodiment of the present invention;

图2是本发明实施例提供的一种监控道路上的车辆的场景示意图;FIG. 2 is a schematic diagram of a scene for monitoring vehicles on a road provided by an embodiment of the present invention;

图3是本发明实施例提供的一种电子设备的结构图;FIG. 3 is a structural diagram of an electronic device provided by an embodiment of the present invention;

图4是本发明实施例提供的一种车辆信息获取方法的流程图;Fig. 4 is a flowchart of a vehicle information acquisition method provided by an embodiment of the present invention;

图5是本发明实施例提供的一种雷达和目标卡口设备的布局图;Fig. 5 is a layout diagram of a radar and target bayonet device provided by an embodiment of the present invention;

图6是本发明实施例提供的一种目标卡口设备拍摄的图像示意图;Fig. 6 is a schematic diagram of an image captured by a target bayonet device provided by an embodiment of the present invention;

图7是本发明实施例提供的一种雷达和目标卡口设备采集周期有时间差时两个设备采集信息的示意图;Fig. 7 is a schematic diagram of information collected by two devices when there is a time difference in the collection cycle of a radar and target bayonet device provided by an embodiment of the present invention;

图8A是本发明实施例提供的第一种车辆行驶过程中的雷达和目标卡口设备拍摄到车辆的示意图;Fig. 8A is a schematic diagram of the vehicle captured by the radar and the target checkpoint device during the driving of the first vehicle according to the embodiment of the present invention;

图8B是本发明实施例提供的第二种车辆行驶过程中的雷达和目标卡口设备拍摄到车辆的示意图;Fig. 8B is a schematic diagram of the vehicle captured by the radar and the target checkpoint device during the driving process of the second type of vehicle provided by the embodiment of the present invention;

图8C是本发明实施例提供的第三种车辆行驶过程中的雷达和目标卡口设备拍摄到车辆的示意图;Fig. 8C is a schematic diagram of the vehicle captured by the radar and the target bayonet device during the driving process of the third type of vehicle provided by the embodiment of the present invention;

图9是本发明实施例提供的一种多个车辆分布在多个车道的雷达和目标卡口设备拍摄到车辆的示意图。FIG. 9 is a schematic diagram of a vehicle captured by a radar and target checkpoint equipment provided by an embodiment of the present invention in which multiple vehicles are distributed in multiple lanes.

具体实施方式Detailed ways

为了使本领域普通人员更好地理解本发明的技术方案,下面将结合附图,对本发明实施例中的技术方案进行清楚、完整地描述。In order to enable ordinary persons in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

需要说明的是,本发明的说明书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。It should be noted that the terms "first" and "second" in the description of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

本发明实施例描述的应用场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本发明实施例提供的技术方案对于类似的技术问题,同样适用。The application scenarios described in the embodiments of the present invention are to illustrate the technical solutions of the embodiments of the present invention more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present invention. It appears that the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

为了能够更好的监控路上行驶的车辆,在路上会布设多个雷达,同时,在重要的道路节点,会布设卡口设备,摄像机等,结合图1所示,路上布设雷达Radar1~Radar6,和卡口设备Camera1~Camera2,其中,雷达Radar1和卡口设备Camera1设置的地点比较近,雷达Radar1的监控区域和卡口设备Camera1的识别区域具有重叠区域,雷达Radar6和卡口设备Camera2设置的地点比较近,雷达Radar6的监控区域和卡口设备Camera2的识别区域具有重叠区域。In order to better monitor the vehicles on the road, multiple radars will be deployed on the road. At the same time, bayonet devices, cameras, etc. will be deployed on important road nodes. As shown in Figure 1, radars Radar1~Radar6 will be deployed on the road, and The bayonet devices Camera1~Camera2, among them, the radar Radar1 and the bayonet device Camera1 are set relatively close, the monitoring area of the radar Radar1 and the bayonet device Camera1 have an overlapping area, and the location of the radar Radar6 and the bayonet device Camera2 is compared Recently, the monitoring area of the radar Radar6 and the recognition area of the bayonet device Camera2 overlap.

当车辆1经过雷达Radar1时,通过雷达Radar1获取该车辆1的位置,以及确定雷达识别该车辆1的ID,车辆1继续行驶,卡口设备Camera1会拍摄到该车辆1,从而获取该车辆1的外观特征信息,例如,车牌号,号牌类型等等,由于卡口设备Camera1和雷达Radar1拍摄到的车辆为同一车辆,将通过雷达Radar1确定的该车辆1的ID和通过卡口设备Camera1获取到的外观特征信息进行绑定。When the vehicle 1 passes the radar Radar1, the position of the vehicle 1 is obtained through the radar Radar1, and the ID of the vehicle 1 is determined by the radar. The vehicle 1 continues to drive, and the bayonet device Camera1 will capture the vehicle 1, thereby obtaining the vehicle 1's ID. Appearance feature information, such as license plate number, license plate type, etc. Since the vehicle captured by the bayonet device Camera1 and the radar Radar1 is the same vehicle, the ID of the vehicle 1 determined by the radar Radar1 and the bayonet device Camera1 are obtained. Binding of appearance feature information.

当雷达Radar2采集经过的车辆时,雷达Radar2获取车辆的ID,如果雷达Radar2采集到的车辆为车辆1,则记录车辆1的位置,并将该位置绑定车辆1的ID;同样的,雷达Radar3采集经过的车辆时,雷达Radar3获取车辆的ID,如果雷达Radar3采集到的车辆为车辆1,则记录车辆1的位置,并将该位置绑定车辆1的ID;雷达Radar4采集经过的车辆时,雷达Radar4获取车辆的ID,如果雷达Radar4采集到的车辆为车辆1,则记录车辆1的位置,并将该位置绑定车辆1的ID,雷达Radar5采集经过的车辆时,雷达Radar5获取车辆的ID,如果雷达Radar5采集到的车辆为车辆1,则记录车辆1的位置,并将该位置绑定车辆1的ID。When radar Radar2 collects passing vehicles, radar Radar2 obtains the ID of the vehicle. If the vehicle collected by radar Radar2 is vehicle 1, record the position of vehicle 1 and bind the position to the ID of vehicle 1; similarly, radar Radar3 When collecting passing vehicles, radar Radar3 obtains the ID of the vehicle. If the vehicle collected by radar Radar3 is vehicle 1, record the location of vehicle 1 and bind the location to the ID of vehicle 1; when radar Radar4 collects passing vehicles, Radar4 obtains the ID of the vehicle. If the vehicle collected by Radar4 is Vehicle 1, record the location of Vehicle 1 and bind the location to the ID of Vehicle 1. When Radar5 collects passing vehicles, Radar5 obtains the ID of the vehicle. , if the vehicle collected by Radar5 is vehicle 1, record the location of vehicle 1 and bind the location to the ID of vehicle 1.

雷达Radar6采集经过的车辆时,雷达Radar6获取车辆的ID,如果雷达Radar6采集到的车辆为车辆1,则记录车辆1的位置,同时通过卡口设备Camera2获取的外观特征信息,然后当通过卡口设备Camera2获取的外观特征信息的置信度高于通过卡口设备Camera1获取的外观特征信息的置信度,则将卡口设备Camera2的外观特征信息,替换ID绑定的通过卡口设备Camera1获取的外观特征信息;当通过卡口设备Camera2获取的外观特征信息的置信度不高于通过卡口设备Camera1获取的外观特征信息的置信度,则ID绑定的通过卡口设备Camera1获取的外观特征信息不改变。When the radar Radar6 collects passing vehicles, the radar Radar6 obtains the ID of the vehicle. If the vehicle collected by the radar Radar6 is vehicle 1, the position of the vehicle 1 is recorded. At the same time, the appearance feature information obtained by the bayonet device Camera2 is then passed through the bayonet. If the confidence level of the appearance feature information acquired by the camera2 is higher than the confidence level of the appearance feature information acquired by the bayonet device Camera1, the appearance feature information of the bayonet device Camera2 is replaced by the ID-bound appearance obtained by the bayonet device Camera1 feature information; when the confidence of the appearance feature information obtained through the bayonet device Camera2 is not higher than the confidence degree of the appearance feature information obtained through the bayonet device Camera1, the ID-bound appearance feature information obtained through the bayonet device Camera1 is not Change.

通过上述监控过程,可以监控路上行驶的车辆,车辆行驶的轨迹,当车辆发生车祸时,能够通过监控的车辆的信息,快速获取车辆的位置,便于交通管理。Through the above monitoring process, the vehicles on the road and the trajectory of the vehicles can be monitored. When a vehicle accident occurs, the location of the vehicle can be quickly obtained through the information of the monitored vehicle, which is convenient for traffic management.

示例性的,结合图2所示,针对道路上的车辆,当道路上的雷达检测到车辆时,会进行突出显示,例如采用原点闪烁显示车辆1、车辆2、车辆3、车辆4,同时当点击该原点时,会显示对应的车辆的信息。例如,选择车辆1时,显示绑定的外观特征信息,京A.123,小型车,A品牌2021款,白色,同时显示该车辆1经过的位置信息,(经度1,维度1),(经度2,维度2),(经度3,维度3),(经度4,维度4)。Exemplarily, as shown in FIG. 2 , for vehicles on the road, when the radar on the road detects the vehicle, it will be highlighted, for example, vehicle 1, vehicle 2, vehicle 3, and vehicle 4 are displayed by flashing at the origin. When the origin is clicked, the corresponding vehicle information will be displayed. For example, when vehicle 1 is selected, the bound appearance feature information is displayed, Beijing A.123, small car, A brand 2021 model, white, and the location information of the vehicle 1 passing by is displayed at the same time, (longitude 1, latitude 1), (longitude 2, latitude 2), (longitude 3, latitude 3), (longitude 4, latitude 4).

以下结合附图介绍本发明实施例提出的电子设备和车辆信息获取方法。The method for acquiring electronic equipment and vehicle information proposed by the embodiments of the present invention will be described below with reference to the accompanying drawings.

图3示出了电子设备300的结构示意图。FIG. 3 shows a schematic structural diagram of an electronic device 300 .

下面以电子设备300为例对实施例进行具体说明。应该理解的是,图3所示电子设备300仅是一个范例,并且电子设备300可以具有比图3中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。Hereinafter, the embodiment will be specifically described by taking the electronic device 300 as an example. It should be understood that the electronic device 300 shown in FIG. 3 is merely an example, and that the electronic device 300 may have more or fewer components than those shown in FIG. 3 , two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

图3中示例性示出了根据示例性实施例中电子设备300的硬件配置框图。如图3所示,电子设备300包括:射频(radio frequency,RF)电路310、存储器320、无线保真(Wireless Fidelity,Wi-Fi)模块330、处理器340、蓝牙模块350、电源360等部件。FIG. 3 exemplarily shows a hardware configuration block diagram of an electronic device 300 according to an exemplary embodiment. As shown in FIG. 3 , the electronic device 300 includes: a radio frequency (radio frequency, RF) circuit 310, a memory 320, a wireless fidelity (Wireless Fidelity, Wi-Fi) module 330, a processor 340, a Bluetooth module 350, a power supply 360 and other components .

RF电路310可用于在收发信息或通话过程中信号的接收和发送,可以接收基站的下行数据后交给处理器340处理;可以将上行数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。The RF circuit 310 can be used for receiving and sending signals in the process of sending and receiving information or talking, can receive the downlink data from the base station and hand it over to the processor 340 for processing; and can send the uplink data to the base station. Typically, RF circuits include, but are not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, duplexers, and the like.

Wi-Fi属于短距离无线传输技术,电子设备300可以通过Wi-Fi模块330帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。Wi-Fi is a short-distance wireless transmission technology. The electronic device 300 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 330, which provides users with wireless broadband Internet access.

蓝牙模块350,用于通过蓝牙协议来与其他具有蓝牙模块的蓝牙设备进行信息交互。例如,电子设备300可以通过蓝牙模块350与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。The bluetooth module 350 is configured to exchange information with other bluetooth devices with bluetooth modules through the bluetooth protocol. For example, the electronic device 300 can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 350, so as to perform data interaction.

电子设备300通过RF电路310、Wi-Fi模块330、蓝牙模块350中的部分或全部与雷达进行通信,接收雷达发送的信息;电子设备300通过RF电路310、Wi-Fi模块330、蓝牙模块350中的部分或全部与雷达对应的卡口设备进行通信,接收雷达对应的卡口设备发送的信息。The electronic device 300 communicates with the radar through part or all of the RF circuit 310, the Wi-Fi module 330, and the Bluetooth module 350, and receives the information sent by the radar; Some or all of them communicate with the bayonet device corresponding to the radar, and receive information sent by the bayonet device corresponding to the radar.

存储器320可用于存储软件程序及数据。处理器340通过运行存储在存储器320的软件程序或数据,从而执行电子设备300的各种功能以及数据处理。存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。存储器320存储有使得电子设备300能运行的操作系统。本申请中存储器320可以存储操作系统及各种应用程序,还可以存储执行本申请实施例所述方法的代码。The memory 320 can be used to store software programs and data. The processor 340 executes various functions and data processing of the electronic device 300 by executing software programs or data stored in the memory 320 . The memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. The memory 320 stores an operating system enabling the electronic device 300 to run. In the present application, the memory 320 may store an operating system and various application programs, and may also store codes for executing the methods described in the embodiments of the present application.

处理器340是电子设备300的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器320内的软件程序,以及调用存储在存储器320内的数据,执行电子设备300的各种功能和处理数据。在一些实施例中,处理器340可包括一个或多个处理单元;处理器340还可以集成应用处理器和基带处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器340中。本申请中处理器340可以运行操作系统、应用程序、用户界面显示及触控响应,以及本申请实施例所述的处理方法。The processor 340 is the control center of the electronic device 300. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs stored in the memory 320 and calling data stored in the memory 320, the electronic device executes 300 various functions and processing data. In some embodiments, the processor 340 may include one or more processing units; the processor 340 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the baseband The processor mainly handles wireless communication. It can be understood that the above-mentioned baseband processor may not be integrated into the processor 340 . In this application, the processor 340 can run an operating system, application programs, user interface display and touch response, as well as the processing method described in the embodiment of this application.

电子设备300还包括给各个部件供电的电源360(比如电池)。电源可以通过电源管理系统与处理器340逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗等功能。电子设备300还可配置有电源按钮,用于终端的开机和关机,以及锁屏等功能。The electronic device 300 also includes a power source 360 (such as a battery) for powering various components. The power supply can be logically connected to the processor 340 through the power management system, so that functions such as charging, discharging and power consumption can be managed through the power management system. The electronic device 300 may also be configured with a power button for turning on and off the terminal, and locking the screen.

其中,该电子设备300可以为多接入边缘计算(Multi-access Edge Computing,MEC)设备,该MEC设备可以是PC、服务器等设备。Wherein, the electronic device 300 may be a Multi-access Edge Computing (Multi-access Edge Computing, MEC) device, and the MEC device may be a PC, a server and other devices.

MEC设备在通过雷达第一次检测到车辆时,还没有给车辆分配ID的车辆分配ID。然后与该雷达有重叠区域的雷达检测到该车辆时,可以给ID记录当前雷达采集的位置,当前雷达与下一个雷达有重叠区域后,确定两个雷达采集到同一个车辆,给ID记录下一个雷达采集的位置,依次类推,两个有重叠区域的雷达,通过ID记录车辆的位置,从而能够监控车辆的行驶路径。When the MEC device detects the vehicle for the first time through the radar, it has not yet assigned the vehicle ID to the vehicle. Then, when the radar that has an overlapping area with the radar detects the vehicle, it can record the location collected by the current radar to the ID. After the current radar and the next radar have an overlapping area, it is determined that the two radars have collected the same vehicle, and record it to the ID. The location collected by one radar, and so on, two radars with overlapping areas, record the location of the vehicle through ID, so that the driving path of the vehicle can be monitored.

在本发明实施例中,雷达会实时地对其监控区域内的车辆进行检测,并对每个车辆的信息进行采集,并将采集到的信息发送给MEC设备。该信息包含该车辆的位置信息等,确定雷达采集到的车辆的ID。In the embodiment of the present invention, the radar will detect the vehicles in its monitoring area in real time, collect the information of each vehicle, and send the collected information to the MEC device. This information includes the location information of the vehicle, etc., and determines the ID of the vehicle collected by the radar.

卡口设备会实时地对其识别区域内的车辆进行检测,并对每个车辆的信息进行采集,并将采集到的信息发送给MEC设备。该信息中包含用于识别第二车辆身份的外观特征信息、和该车辆的行驶顺序等。The bayonet device will detect the vehicles in its identification area in real time, collect the information of each vehicle, and send the collected information to the MEC device. The information includes appearance feature information for identifying the identity of the second vehicle, the driving sequence of the vehicle, and the like.

MEC设备能够将通过雷达获取的ID和与雷达具有重叠监控区域的卡口设备获取的车辆的外观特征信息进行绑定。The MEC device can bind the ID obtained through the radar with the appearance feature information of the vehicle obtained by the bayonet device that has an overlapping monitoring area with the radar.

以下介绍本发明实施例具体方案。The specific solutions of the embodiments of the present invention are introduced below.

结合图4所示,本发明实施例提供了一种车辆信息获取方法,应用于电子设备,包括:As shown in FIG. 4 , an embodiment of the present invention provides a method for acquiring vehicle information, which is applied to electronic devices, including:

S400:接收雷达采集的第一车辆的位置信息,并确定雷达采集到的每个第一车辆的ID;S400: Receive the position information of the first vehicle collected by the radar, and determine the ID of each first vehicle collected by the radar;

确定雷达采集到的车辆的ID的过程如上所示;ID(Identity document,身份标识号)是身份证标识号、账号、唯一编码、专属号码、工业设计、国家简称、法律词汇、通用账户、译码器、软件公司等各类专有词汇的缩写。The process of determining the ID of the vehicle collected by the radar is as shown above; ID (Identity document) is the ID number, account number, unique code, exclusive number, industrial design, country abbreviation, legal vocabulary, general account, translation The abbreviation of various proprietary words such as encoders and software companies.

雷达能够检测车辆的信息,包括第一车辆的经度、纬度、速度、车道、车长、车宽,以及以雷达为中心的XY坐标系中的X轴距离、Y轴距离。The radar can detect vehicle information, including the longitude, latitude, speed, lane, vehicle length, and vehicle width of the first vehicle, as well as the X-axis distance and Y-axis distance in the XY coordinate system centered on the radar.

S401:在接收到目标卡口设备采集的第二车辆的信息后,确定每个第二车辆是否由目标卡口设备首次采集到;其中,目标卡口设备的监控区域和雷达的监控区域具有重叠区域;目标卡口设备采集的第二车辆的信息包括用于识别车辆身份的外观特征信息;S401: After receiving the information of the second vehicle collected by the target checkpoint device, determine whether each second vehicle is collected by the target checkpoint device for the first time; wherein, the monitoring area of the target checkpoint device and the monitoring area of the radar overlap area; the information of the second vehicle collected by the target bayonet device includes appearance feature information for identifying the identity of the vehicle;

其中,结合图5所示,雷达的监控区域为黑色加粗的实线围成的区域,目标卡口设备的监控区域为黑色虚线围成的区域,雷达的监控区域和目标卡口设备的监控区域具有共同的区域,该雷达和目标卡口设备能够在比较短的时间段内采集到同一车辆的信息。Wherein, as shown in Figure 5, the monitoring area of the radar is the area enclosed by the black thickened solid line, the monitoring area of the target bayonet equipment is the area enclosed by the black dotted line, the monitoring area of the radar and the monitoring of the target bayonet equipment The area has a common area, and the radar and the target bayonet device can collect information of the same vehicle within a relatively short period of time.

目标卡口设备获取车辆的信息,包括车牌类型、车牌颜色、车牌亮度、车牌字符个数、车牌号码、整个车牌号码置信度、车牌号码每位号码的置信度、车辆主品牌、车辆子品牌、车辆子品牌年款、车辆类型、车辆颜色、所属车道、行驶顺序等信息。The target bayonet device obtains vehicle information, including license plate type, license plate color, license plate brightness, number of license plate characters, license plate number, confidence degree of the entire license plate number, confidence degree of each number of the license plate number, vehicle main brand, vehicle sub-brand, Vehicle sub-brand year, vehicle type, vehicle color, lane to which it belongs, driving sequence and other information.

例如,卡口设备包括摄像机和处理器,摄像机拍摄图像后发送给处理器,处理器根据拍摄的图像识别出车牌类型、车牌颜色、车牌亮度、车牌字符个数、车牌号码、整个车牌号码置信度、车牌号码每位号码的置信度、车辆主品牌、车辆子品牌、车辆子品牌年款、车辆类型、车辆颜色、所属车道,然后将识别出的车辆的信息发送给电子设备。For example, the bayonet device includes a camera and a processor. The camera captures an image and sends it to the processor. The processor recognizes the license plate type, license plate color, license plate brightness, license plate character number, license plate number, and the confidence level of the entire license plate number based on the captured image. , the confidence level of each number of the license plate number, the main brand of the vehicle, the sub-brand of the vehicle, the year of the sub-brand of the vehicle, the type of vehicle, the color of the vehicle, the lane it belongs to, and then send the information of the identified vehicle to the electronic device.

其中,卡口设备还会识别出图像中车辆的行驶顺序。Among them, the bayonet device will also recognize the driving sequence of the vehicles in the image.

其中,如果摄像机拍摄的图像中只有一个车辆,那么行驶顺序为第一顺序。如果摄像机拍摄的图像中有多个车辆,那么确定每个车辆的行驶顺序。Wherein, if there is only one vehicle in the image captured by the camera, the driving order is the first order. If there are multiple vehicles in the image captured by the camera, determine the driving order of each vehicle.

对于行驶顺序,结合图6所示,卡口设备拍摄的图像中有三个车辆,车辆1、车辆2和车辆3,结合图5所示的卡口设备的位置,车辆1的行驶顺序为第一顺序,车辆2的行驶顺序为第二顺序,车辆3的行驶顺序为第三顺序。Regarding the driving order, as shown in Figure 6, there are three vehicles in the image taken by the bayonet device, vehicle 1, vehicle 2 and vehicle 3, combined with the position of the bayonet device shown in Figure 5, the driving order of vehicle 1 is the first Sequence, the driving sequence of vehicle 2 is the second sequence, and the driving sequence of vehicle 3 is the third sequence.

S402:若存在目标第二车辆由目标卡口设备首次采集到,则从雷达采集的第一车辆中,确定目标第一车辆;其中,接收到目标第一车辆的位置信息的时间,在接收到目标第二车辆的信息的时间之前的第一预设时长内,且目标第一车辆的ID在预设时间段未绑定外观特征信息;预设时间段为接收到目标第二车辆的信息的时间之前的第二预设时长;S402: If there is a target second vehicle that is collected by the target bayonet device for the first time, then determine the target first vehicle from the first vehicles collected by the radar; wherein, when the position information of the target first vehicle is received, Within the first preset time period before the information of the target second vehicle, and the ID of the target first vehicle is not bound to the appearance characteristic information within the preset time period; the preset time period is when the information of the target second vehicle is received a second preset duration before time;

当雷达和目标卡口设备能拍摄到同一个车辆时,一辆车经过雷达后又经过该卡口设备,当雷达采集到车辆的信息后,如果接收卡口设备发送的信息时间比接收雷达发送的车辆的信息的时间之间的间隔比较长,则可能来自两个车辆,所以,预设时长可以为雷达采集周期,即接收到目标第一车辆的位置信息的时间,在接收到所述目标第二车辆的信息的时间之前的一个雷达采集周期内,这样雷达和卡口设备检测到的车辆是同一个的可能性比较高。When the radar and the target bayonet device can capture the same vehicle, a vehicle passes the radar and then passes through the bayonet device. After the radar collects the information of the vehicle, if the receiving time If the time interval between the information of the vehicle is relatively long, it may come from two vehicles. Therefore, the preset duration can be the radar acquisition cycle, that is, the time when the position information of the first vehicle of the target is received. In a radar collection period before the information of the second vehicle, the possibility that the vehicle detected by the radar and the bayonet device is the same is relatively high.

同时,当车辆在雷达监控区域内时,雷达均会检测到车辆,如果有多个车辆行驶在雷达监控区域,所以目标卡口设备拍摄的车辆会不同,当行驶在前面的车辆被目标卡口设备检测到后,进行绑定,这时雷达中就有已经绑定的车辆,那么这些车辆是无需再次进行ID和外观特征信息进行绑定,所以,找到的目标第一车辆的ID在预设时间段未绑定外观特征信息;预设时间段为接收到目标第二车辆的信息的时间之前的第二预设时长。At the same time, when the vehicle is in the radar monitoring area, the radar will detect the vehicle. If there are multiple vehicles driving in the radar monitoring area, the vehicles captured by the target bayonet device will be different. When the vehicle driving in front is detected by the target bayonet After the device is detected, it is bound. At this time, there are already bound vehicles in the radar. Then these vehicles do not need to bind the ID and appearance feature information again. Therefore, the ID of the first vehicle found is in the preset The appearance feature information is not bound to the time period; the preset time period is the second preset time period before the time when the information of the target second vehicle is received.

其中,第一预设时长与第二预设时长的长度不一定,一般第二预设时长比较长,但也不会太长,一般设定在10分钟以内。Wherein, the length of the first preset duration and the second preset duration is not necessarily the same, generally the second preset duration is relatively long, but not too long, generally set within 10 minutes.

S403:若目标第一车辆的ID在预设时间段之前未绑定外观特征信息,且根据目标第一车辆的位置信息确定的行驶顺序,与确定的目标第二车辆的行驶顺序相同,则将目标第一车辆的ID和目标第二车辆的外观特征信息进行绑定,以实现监控路上行驶的车辆。S403: If the ID of the target first vehicle has not been bound to appearance feature information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the determined driving sequence of the target second vehicle, then The ID of the target first vehicle is bound with the appearance feature information of the target second vehicle, so as to monitor the vehicles on the road.

由于雷达采样周期比较快,卡口设备采样周期比较慢,结合图7所示,当车辆进入到雷达监控区域后,雷达开始检测车辆,车辆a和车辆b,在雷达采样周期内,检测到车辆a和车辆b,由于此时卡口设备并没有达到采样周期的起始时间点,所以,车辆a和车辆b移动一段之间之后,达到采样周期的起始时间点,目标卡口设备采集车辆a和车辆b,为了能够更好了还原一个车辆在目标卡口设备采集时的实际位置,本发明实施例提供了对位置信息进行修正,再进行顺序确定。Since the radar sampling period is relatively fast, the bayonet equipment sampling period is relatively slow. As shown in Figure 7, when the vehicle enters the radar monitoring area, the radar starts to detect the vehicle, vehicle a and vehicle b. During the radar sampling period, the vehicle is detected a and vehicle b, since the bayonet device has not reached the start time point of the sampling period at this time, after moving for a while, vehicle a and vehicle b reach the start time point of the sampling period, and the target bayonet device collects the vehicle a and vehicle b, in order to better restore the actual position of a vehicle when it is collected by the target bayonet device, the embodiment of the present invention provides that the position information is corrected, and then the sequence is determined.

具体来说:Specifically:

若目标第一车辆的数量为一个,则确定目标车辆的行驶顺序为第一行驶顺序;If the quantity of the target first vehicle is one, then determine that the driving sequence of the target vehicle is the first driving sequence;

若目标第一车辆的数量为多个,则针对每个目标第一车辆,根据接收目标第一车辆的位置信息的时间和接收目标第二车辆的信息的时间之间的时间间隔、目标第一车辆的车速、目标第一车辆的加速度,确定目标第一车辆在时间间隔内行驶的距离;If there are multiple target first vehicles, for each target first vehicle, according to the time interval between the time of receiving the position information of the target first vehicle and the time of receiving the information of the target second vehicle, the target first vehicle The speed of the vehicle and the acceleration of the target first vehicle determine the distance traveled by the target first vehicle within the time interval;

根据目标第一车辆在时间间隔内行驶的距离和目标第一车辆的位置信息,确定目标卡口设备采集目标第一车辆时目标第一车辆的位置信息;According to the distance traveled by the target first vehicle within the time interval and the position information of the target first vehicle, determine the position information of the target first vehicle when the target checkpoint device collects the target first vehicle;

根据目标卡口设备采集所述目标第一车辆时目标第一车辆的位置信息,确定目标第一车辆的行驶顺序。According to the position information of the target first vehicle when the target checkpoint device collects the target first vehicle, the driving sequence of the target first vehicle is determined.

再结合图7所示,根据时间、车速、加速度和距离之间的函数关系,确定车辆a在两个接收时间之间的时间间隔内,车辆a行驶的距离H。并将雷达检测到的位置信息A点加上车辆a行驶的距离H,得到目标卡口设备采集车辆a时车辆a的位置B点。同样的,得到目标卡口设备采集车辆b时车辆b的位置C点,根据位置B和位置C确定两个车辆的行驶顺序。Combined with Fig. 7, according to the functional relationship between time, vehicle speed, acceleration and distance, determine the distance H traveled by vehicle a in the time interval between two receiving times. The position information point A detected by the radar is added to the distance H traveled by the vehicle a to obtain the position point B of the vehicle a when the target bayonet device collects the vehicle a. Similarly, the position C point of vehicle b when the target bayonet device collects vehicle b is obtained, and the driving order of the two vehicles is determined according to position B and position C.

由于目标卡口设备会拍摄图片,目标卡口设备会根据图片上车辆的位置确定行驶顺序,例如,图6所示,图片上的位置车辆1的行驶顺序为第一顺序,车辆2的行驶顺序为第二顺序,车辆3的行驶顺序为第三顺序,然而,当车辆1并非首次采集到的,那么需要调整车辆2和车辆3的行驶顺序,按照之前的行驶顺序进行调整,即车辆2的行驶顺序为第一顺序,车辆3的行驶顺序为第二顺序。所以,本发明提出根据图片上车辆的位置确定初始行驶顺序,和目标卡口设备是否为首次采集到的车辆的信息,确定车辆的行驶顺序。Since the target bayonet device will take pictures, the target bayonet device will determine the driving order according to the position of the vehicles on the picture, for example, as shown in Figure 6, the driving order of the vehicle 1 on the picture is the first order, and the driving order of the vehicle 2 It is the second sequence, and the driving sequence of vehicle 3 is the third sequence. However, when vehicle 1 is not collected for the first time, then the driving sequence of vehicle 2 and vehicle 3 needs to be adjusted according to the previous driving sequence, that is, vehicle 2’s The traveling order is the first order, and the traveling order of the vehicle 3 is the second order. Therefore, the present invention proposes to determine the initial driving order according to the position of the vehicles on the picture, and whether the target bayonet device is the first collected vehicle information to determine the driving order of the vehicles.

举一个示例:Take an example:

结合图8A所示,由于车辆a、车辆b、车辆c均在雷达监控区域内,雷达会按照自己的采集周期上报车辆a、车辆b、车辆c的位置信息,车辆在上前行驶,目标卡口设备拍摄到车辆a时,上报给电子设备,电子设备首次接收到目标卡口设备采集到的车辆a,车辆a为目标第二车辆,然后确定目标第一车辆为车辆a、车辆b、车辆c,由于车辆a的ID在预设时间段未绑定外观特征信息,即这个时间段车辆a并未绑定外观特征信息,同时,车辆a的ID在这个时间段之前也没有绑定外观特征信息,根据雷达上报的车辆a、车辆b、车辆c的位置信息,确定车辆a、车辆b、车辆c的行驶顺序,车辆a的行驶顺序为第一顺序,车辆b的行驶顺序为第二顺序,车辆c的行驶顺序为第三顺序。As shown in Figure 8A, since vehicle a, vehicle b, and vehicle c are all within the radar monitoring area, the radar will report the location information of vehicle a, vehicle b, and vehicle c according to its own collection cycle. When the vehicle a is photographed by the checkpoint device, it will be reported to the electronic device. The electronic device receives the vehicle a collected by the target checkpoint device for the first time, and the vehicle a is the second target vehicle, and then determines that the first target vehicle is vehicle a, vehicle b, vehicle c. Since the ID of vehicle a is not bound to appearance feature information during the preset time period, that is, vehicle a is not bound to appearance feature information during this time period, and at the same time, the ID of vehicle a is not bound to appearance feature information before this time period Information, according to the position information of vehicle a, vehicle b, and vehicle c reported by the radar, determine the driving order of vehicle a, vehicle b, and vehicle c, the driving order of vehicle a is the first order, and the driving order of vehicle b is the second order , the driving order of vehicle c is the third order.

目标卡口设备上报的车辆的行驶顺序,由于目标卡口设备只拍到车辆a同时,车辆a也是首次采集的,所以,确定车辆a的行驶顺序即为目标卡口设备上报的行驶顺序,这样将车辆a的编号可以绑定车辆a的外观特征信息。The driving sequence of the vehicles reported by the target bayonet device, since the target bayonet device only captures vehicle a and vehicle a is also collected for the first time, so determining the driving sequence of vehicle a is the driving sequence reported by the target bayonet device. The number of vehicle a can be bound to the appearance feature information of vehicle a.

结合图8B所示,车辆继续行驶,目标卡口设备拍摄到车辆a和车辆b,由于车辆a并非是目标卡口设备首次采集到的车辆,所以,只需要对车辆b进行下面的步骤,同时,车辆a并未目标卡口设备首次采集到的车辆,虽然目标卡口设备上报的车辆的行驶顺序中车辆a为第一,车辆b为第二,但是车辆a非首次,所以,确定车辆b最终的行驶顺序为第一。As shown in Figure 8B, the vehicle continues to drive, and the target bayonet device captures vehicle a and vehicle b. Since vehicle a is not the first vehicle captured by the target bayonet device, the following steps only need to be performed on vehicle b, and at the same time , Vehicle a is not the first vehicle collected by the target checkpoint device. Although vehicle a is the first and vehicle b is the second in the driving order of the vehicles reported by the target checkpoint device, vehicle a is not the first time, so determine vehicle b The final driving order is first.

同样的,雷达还是会检测到车辆a、车辆b、车辆c,车辆a在预设时间内已经绑定外观特征信息,所以,车辆b,车辆c为目标第一车辆,车辆b的位置和车辆c的位置可知,车辆b的行驶顺序为第一,车辆c的行驶顺序为第二,所以,由于雷达采集的车辆b的行驶顺序目标卡口设备采集到的车辆b的行驶顺序均为第一,所以将雷达采集的车辆b的ID和目标卡口设备采集到的车辆b的外观特征信息进行绑定。Similarly, the radar will still detect vehicle a, vehicle b, and vehicle c. Vehicle a has bound appearance feature information within a preset time. Therefore, vehicle b and vehicle c are the first target vehicles. The position of vehicle b and vehicle The position of c shows that the driving order of vehicle b is the first, and the driving order of vehicle c is the second. Therefore, because the driving order of vehicle b collected by the radar is the first, the driving order of vehicle b collected by the target checkpoint device is all first. , so the ID of vehicle b collected by the radar and the appearance feature information of vehicle b collected by the target checkpoint device are bound.

结合图8C所示,车辆继续行驶,目标卡口设备拍摄到车辆b和车辆c,由于车辆车辆b并非是目标卡口设备首次采集到的车辆,所以,只需要对车辆c进行下面的步骤,同时,车辆b并未目标卡口设备首次采集到的车辆,目标卡口设备上报的车辆的行驶顺序中车辆b为第一,车辆c为第二,但是车辆b非首次,所以,确定车辆c最终的行驶顺序为第一。As shown in Figure 8C, the vehicle continues to drive, and the target bayonet device captures vehicle b and vehicle c. Since vehicle b is not the first vehicle collected by the target bayonet device, only the following steps need to be performed on vehicle c. At the same time, vehicle b is not the vehicle collected by the target checkpoint device for the first time. Vehicle b is the first and vehicle c is the second in the driving sequence of the vehicles reported by the target checkpoint device. However, vehicle b is not the first time. Therefore, determine vehicle c The final driving order is first.

同样的,雷达还是会检测到车辆a、车辆b、车辆c,车辆a和车辆b在预设时间内已经绑定外观特征信息,所以,车辆c为目标第一车辆,由于目标第一车辆只有一个,所以,车辆c的行驶顺序为第一。Similarly, the radar will still detect vehicle a, vehicle b, and vehicle c. Vehicle a and vehicle b have bound appearance feature information within the preset time. Therefore, vehicle c is the first target vehicle. Since the target first vehicle only has One, therefore, the driving order of vehicle c is the first.

由于雷达采集的车辆c的行驶顺序目标卡口设备采集到的车辆c的行驶顺序均为第一,所以将雷达采集的车辆c的ID和目标卡口设备采集到的车辆c的外观特征信息进行绑定。Since the driving order of vehicle c collected by the radar and the driving order of vehicle c collected by the target bayonet device are all first, the ID of vehicle c collected by the radar and the appearance feature information of vehicle c collected by the target bayonet device are compared. bound.

这样本发明能够通过雷达和目标卡口设备采集同一车辆的不同信息,并将两个不同的信息进行绑定,绑定后车辆的信息例如,车辆的经度、纬度、速度、车道、车长、车宽,以及以雷达为中心的XY坐标系中的X轴距离、Y轴距离、用于雷达识别第一车辆的身份信息,车牌类型、车牌颜色、车牌亮度、车牌字符个数、车牌号码、整个车牌号码置信度、车牌号码每位号码的置信度、车辆主品牌、车辆子品牌、车辆子品牌年款、车辆类型、车辆颜色、所属车道等信息,从而丰富了监控车辆的信息的丰富度。In this way, the present invention can collect different information of the same vehicle through radar and target bayonet equipment, and bind the two different information. The information of the vehicle after binding is, for example, the longitude, latitude, speed, lane, vehicle length, Vehicle width, and the X-axis distance and Y-axis distance in the XY coordinate system centered on the radar, the identity information for the radar to identify the first vehicle, the license plate type, license plate color, license plate brightness, number of license plate characters, license plate number, The confidence of the entire license plate number, the confidence of each number of the license plate number, the main brand of the vehicle, the sub-brand of the vehicle, the year of the sub-brand of the vehicle, the type of vehicle, the color of the vehicle, the lane it belongs to, etc., thus enriching the information richness of the monitored vehicles .

为了能够提高判断两个车辆的行驶前后顺序的成功率,将所述目标第一车辆的ID和目标第二车辆的外观特征信息进行绑定之前,所述方法还包括:In order to improve the success rate of judging the order of the two vehicles before and after driving, before binding the ID of the target first vehicle and the appearance feature information of the target second vehicle, the method further includes:

确定目标第一车辆和目标第二车辆所在的车道相同。It is determined that the lanes where the target first vehicle and the target second vehicle are located are the same.

具体来说,由于道路分为多个车道,由于雷达和目标卡口设备距离比较近时,当通过雷达获取到的车辆,和通过目标卡口设备获取到的车辆所在的车道相同时,他们为同一车辆的可能性比较高。Specifically, since the road is divided into multiple lanes, when the distance between the radar and the target checkpoint device is relatively close, when the vehicle obtained through the radar is in the same lane as the vehicle obtained through the target checkpoint device, they are The possibility of the same vehicle is relatively high.

如果路上的车辆比较密集,那么在相同的时间段内,雷达会发送给电子设备多个车辆的信息,目标卡口设备发送给电子设备多个车辆的信息。If the vehicles on the road are relatively dense, then in the same time period, the radar will send the information of multiple vehicles to the electronic device, and the target bayonet device will send the information of multiple vehicles to the electronic device.

例如,结合图9所示,当车辆a,车辆b,车辆c经过雷达和目标卡口设备时,车辆a和车辆b时并排的,所以,车辆b和车辆c为同一车辆,车辆b在车辆c的前方。For example, as shown in Figure 9, when vehicle a, vehicle b, and vehicle c pass through the radar and target checkpoint equipment, vehicle a and vehicle b are side by side, so vehicle b and vehicle c are the same vehicle, and vehicle b is in the vehicle in front of c.

在雷达识别时,车辆a、车辆b、车辆c均在雷达监控区域内,所以,雷达采集车辆1的信息,雷达采集车辆2的信息,雷达采集车辆3的信息,发送给电子设备,车辆a、车辆b、车辆c均在卡口设备识别区域内,目标卡口设备同时采集到车辆a、车辆b、车辆c的信息,发送给电子设备,通过目标识别卡口设备拍摄的图片,识别出车辆a在车道1的行驶顺序为第一个,识别出车辆b在车道2的行驶前后顺序为第一个,识别出车辆c在车道3的行驶顺序为第二个,这时,由于车辆a、车辆b这两个车辆的车道不同,可以确定车辆a、车辆b这两个车辆为不同的车辆。During radar identification, vehicle a, vehicle b, and vehicle c are all in the radar monitoring area, so the radar collects the information of vehicle 1, the radar collects the information of vehicle 2, the radar collects the information of vehicle 3, and sends it to the electronic device, vehicle a , vehicle b, and vehicle c are all within the identification area of the bayonet device, and the target bayonet device simultaneously collects the information of vehicle a, vehicle b, and vehicle c, and sends it to the electronic device. Through the pictures taken by the target recognition bayonet device, the The driving order of vehicle a in lane 1 is the first, and the driving order of vehicle b in lane 2 is recognized as the first, and the driving order of vehicle c in lane 3 is recognized as the second. At this time, because vehicle a The two vehicles, vehicle a and vehicle b, have different lanes, so it can be determined that the two vehicles, vehicle a and vehicle b, are different vehicles.

对于车辆b、车辆c来说,由于两个车辆的车道相同时,车辆b在车道2的行驶顺序为第一个、车辆c在车道3的行驶顺序为第二个。For vehicle b and vehicle c, when the lanes of the two vehicles are the same, the driving order of vehicle b in lane 2 is the first, and the driving order of vehicle c in lane 3 is the second.

所以,雷达发送的位置信息中确定该目标车辆的车道和行驶顺序,例如在车道1中存在一个车辆,该车辆的行驶前后顺序为第一个,在车道2中存在两个车辆,一个车辆的行驶顺序为第一个,另一个车辆的行驶顺序为第二个,那个与目标卡口设备的车道和行驶顺序进行匹配,得到雷达采集的车道1的车辆为车辆a,雷达采集的车道2的行驶顺序为第一个的车辆为车辆b,雷达采集的车道2的行驶顺序为第二个的车辆为车辆c。Therefore, the lane and driving sequence of the target vehicle are determined in the position information sent by the radar. For example, there is a vehicle in lane 1, and the driving sequence of the vehicle is the first. There are two vehicles in lane 2, and the driving order of one vehicle The driving sequence is the first, and the driving sequence of the other vehicle is the second, and that one is matched with the lane and driving sequence of the target bayonet device, and the vehicle in lane 1 collected by the radar is vehicle a, and the vehicle in lane 2 collected by the radar is The first vehicle in the driving sequence is vehicle b, and the second vehicle in the lane 2 collected by the radar is vehicle c.

同上可知,本发明可以通过判断车道、判断行驶顺序来确定为同一车辆的可能性。As can be seen from the above, the present invention can determine the possibility of being the same vehicle by judging the lane and judging the driving sequence.

当然,由于车辆的外观特征信息是通过照片识别的,那么拍照时可能拍摄不清楚,导致识别错误,为了使获取的信息可行度更高,本发明提出若目标第一车辆的ID在所述预设时间段之前已绑定外观特征信息,且根据目标第一车辆的位置信息确定的行驶顺序,与确定的目标第二车辆的行驶顺序相同,则根据目标第二车辆的外观特征信息的置信度和ID已绑定的外观特征信息的置信度,对ID已绑定的外观特征信息进行修正。Of course, since the appearance feature information of the vehicle is identified through photos, it may be unclear when taking pictures, resulting in recognition errors. Assuming that the appearance characteristic information has been bound before the time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the determined driving sequence of the target second vehicle, then according to the confidence degree of the appearance characteristic information of the target second vehicle The confidence degree of the ID-bound appearance feature information is corrected for the ID-bound appearance feature information.

具体来说,其中,外观特征信息包括车牌号。若接收到目标第二车辆的车牌号的置信度和ID已绑定的车牌号的置信度之间的差值超过预设值,且接收到目标第二车辆的车牌号的置信度大于ID已绑定的车牌号的置信度,则将ID已绑定的车牌号,更新为接收到目标第二车辆的车牌号;或Specifically, the appearance feature information includes the license plate number. If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the ID-bound license plate number exceeds a preset value, and the confidence degree of the license plate number of the target second vehicle is greater than the ID bound Confidence of the bound license plate number, the license plate number whose ID has been bound is updated to receive the license plate number of the target second vehicle; or

若接收到目标第二车辆的车牌号的置信度和ID已绑定的车牌号的置信度之间的差值不超过预设值,则针对ID已绑定的车牌号中的每个号码,根据接收到目标第二车辆的车牌号中的号码的置信度,和ID已绑定的车牌号中的号码的置信度中,置信度大的号码,更新ID已绑定的所述车牌号中的号码。If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the ID-bound license plate number does not exceed the preset value, then for each number in the ID-bound license plate number, According to the confidence degree of the number in the license plate number of the target second vehicle received, and the confidence degree of the number in the license plate number whose ID has been bound, the number with a higher degree of confidence is updated in the license plate number with the ID bound number.

其中,每个卡口设备在识别车辆的车牌号时会得到每个车牌号的置信度,以及车牌号中的每个号码的置信度,该置信度是卡口设备在通过神经网络识别车牌号时,会得到每个号码的概率,将该概率作为该号码的置信度。Among them, when each bayonet device recognizes the license plate number of the vehicle, it will obtain the confidence degree of each license plate number and the confidence degree of each number in the license plate number. When , the probability of each number will be obtained, and the probability will be used as the confidence level of the number.

本发明实施例还提供一种电子设备,包括:接收单元和处理器;The embodiment of the present invention also provides an electronic device, including: a receiving unit and a processor;

所述接收单元,用于接收雷达发送的信息,以及接收目标卡口设备发送的信息;接收单元可以为图2中的射频(radio frequency,RF)电路210、无线保真(WirelessFidelity,Wi-Fi)模块230、蓝牙模块350。The receiving unit is used to receive information sent by the radar and receive information sent by the target bayonet device; the receiving unit can be a radio frequency (radio frequency, RF) circuit 210 in FIG. 2 , a wireless fidelity (Wireless Fidelity, Wi-Fi ) module 230, bluetooth module 350.

所述处理器,用于接收雷达采集的第一车辆的位置信息,并确定雷达采集到的每个第一车辆的ID;The processor is configured to receive the position information of the first vehicle collected by the radar, and determine the ID of each first vehicle collected by the radar;

在接收到目标卡口设备采集的第二车辆的信息后,确定每个第二车辆是否由所述目标卡口设备首次采集到;其中,所述目标卡口设备的监控区域和所述雷达的监控区域具有重叠区域;目标卡口设备采集的第二车辆的信息包括用于识别车辆身份的外观特征信息和车辆的行驶顺序;After receiving the information of the second vehicle collected by the target checkpoint device, it is determined whether each second vehicle is collected by the target checkpoint device for the first time; wherein, the monitoring area of the target checkpoint device and the radar's The monitoring area has an overlapping area; the information of the second vehicle collected by the target bayonet device includes appearance feature information for identifying the identity of the vehicle and the driving sequence of the vehicle;

若存在目标第二车辆由目标卡口设备首次采集到,则从雷达采集的第一车辆中,确定目标第一车辆;其中,接收到目标第一车辆的位置信息的时间,在接收到所述目标第二车辆的信息的时间之前的预设时长内,且所述目标第一车辆的ID在预设时间段未绑定外观特征信息;所述预设时间段为接收到所述目标第二车辆的信息的时间之前的第二预设时长;If there is a target second vehicle that is collected by the target checkpoint device for the first time, then from the first vehicle collected by the radar, determine the target first vehicle; wherein, when the position information of the target first vehicle is received, when the position information of the target first vehicle is received, the Within the preset time period before the information of the target second vehicle, and the ID of the target first vehicle has not been bound to the appearance feature information within the preset time period; the preset time period is when the target second vehicle is received. a second preset time period before the time of the information of the vehicle;

若所述目标第一车辆的ID在所述预设时间段之前未绑定外观特征信息,且根据所述目标第一车辆的位置信息确定的行驶顺序,与目标第二车辆的行驶顺序相同,则将所述目标第一车辆的ID和目标第二车辆的外观特征信息进行绑定,以实现监控路上行驶的车辆。If the ID of the target first vehicle is not bound to the appearance characteristic information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the driving sequence of the target second vehicle, Then bind the ID of the target first vehicle with the appearance characteristic information of the target second vehicle, so as to monitor the vehicles driving on the road.

可选的,所述处理器,具体用于:Optionally, the processor is specifically used for:

根若目标第一车辆的数量为一个,则确定所述目标车辆的行驶顺序为第一行驶顺序;If the number of the target first vehicle is one, then determine that the driving sequence of the target vehicle is the first driving sequence;

若目标第一车辆的数量为多个,则针对每个目标第一车辆,根据接收所述目标第一车辆的位置信息的时间和接收所述目标第二车辆的信息的时间之间的时间间隔、所述目标第一车辆的车速、所述目标第一车辆的加速度,确定所述目标第一车辆在时间间隔内行驶的距离;If there are multiple target first vehicles, for each target first vehicle, according to the time interval between the time of receiving the position information of the target first vehicle and the time of receiving the information of the target second vehicle , the vehicle speed of the target first vehicle, the acceleration of the target first vehicle, determining the distance traveled by the target first vehicle within a time interval;

根据所述目标第一车辆在时间间隔内行驶的距离和所述目标第一车辆的位置信息,确定目标卡口设备采集所述目标第一车辆时所述目标第一车辆的位置信息;According to the distance traveled by the target first vehicle within the time interval and the position information of the target first vehicle, determine the position information of the target first vehicle when the target checkpoint device collects the target first vehicle;

根据目标卡口设备采集所述目标第一车辆时所述目标第一车辆的位置信息,确定所述目标第一车辆的行驶顺序。The driving order of the target first vehicles is determined according to the position information of the target first vehicles when the target checkpoint device collects the target first vehicles.

可选的,所述处理器,还用于:Optionally, the processor is also used for:

确定所述目标第一车辆和所述目标第二车辆所在的车道相同。It is determined that the target first vehicle and the target second vehicle are located in the same lane.

可选的,所述处理器,还用于:Optionally, the processor is also used for:

若所述目标第一车辆的ID在所述预设时间段之前已绑定外观特征信息,且根据所述目标第一车辆的位置信息确定的行驶顺序,与目标第二车辆的行驶顺序相同,则根据目标第二车辆的外观特征信息的置信度和所述ID已绑定的外观特征信息的置信度,对所述ID已绑定的外观特征信息进行修正。If the ID of the target first vehicle has been bound to appearance feature information before the preset time period, and the driving sequence determined according to the position information of the target first vehicle is the same as the driving sequence of the target second vehicle, The ID-bound appearance feature information is corrected according to the confidence level of the target second vehicle's appearance feature information and the confidence level of the ID-bound appearance feature information.

可选的,其中,所述外观特征信息包括车牌号,所述处理器,具体用于:Optionally, wherein the appearance feature information includes a license plate number, and the processor is specifically used to:

若接收到目标第二车辆的车牌号的置信度和所述ID已绑定的车牌号的置信度之间的差值超过预设值,且接收到目标第二车辆的车牌号的置信度大于所述ID已绑定的车牌号的置信度,则将所述ID已绑定的车牌号,更新为接收到目标第二车辆的车牌号;或If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the license plate number bound to the ID exceeds a preset value, and the confidence degree of the license plate number of the target second vehicle is greater than The confidence of the ID-bound license plate number is updated to receive the license plate number of the target second vehicle; or

若接收到目标第二车辆的车牌号的置信度和所述ID已绑定的车牌号的置信度之间的差值不超过预设值,则针对所述ID已绑定的车牌号中的每个号码,根据接收到目标第二车辆的车牌号中的所述号码的置信度,和所述ID已绑定的车牌号中的所述号码的置信度中,置信度大的号码,更新所述ID已绑定的所述车牌号中的所述号码。If the difference between the confidence degree of the license plate number of the target second vehicle and the confidence degree of the ID-bound license plate number does not exceed the preset value, then for the ID-bound license plate number Each number is updated according to the confidence degree of the number in the license plate number of the target second vehicle received, and the confidence degree of the number in the license plate number to which the ID has been bound, the number with a higher degree of confidence The number in the license plate number to which the ID is bound.

在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器,上述指令可由电子设备的处理器执行以完成上述车辆信息获取方法。可选地,存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a storage medium including instructions, such as a memory including instructions, which can be executed by a processor of an electronic device to complete the above method for acquiring vehicle information. Alternatively, the storage medium may be a non-transitory computer readable storage medium such as ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage medium. equipment etc.

本发明实施例还提供一种计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行实现本发明实施例上述任意一项所述的车辆信息获取方法。The embodiment of the present invention also provides a computer program product, which, when the computer program product runs on the electronic device, enables the electronic device to implement the vehicle information acquisition method described in any one of the above embodiments of the present invention.

本领域技术人员在考虑说明书及实践这里发明的发明后,将容易想到本发明的其它实施方案。本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未发明的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention invented herein. The present invention is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not invented by the present invention . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. An electronic device, comprising: a receiving unit and a processor;
the receiving unit is used for receiving information sent by the radar and receiving information sent by the target card port equipment;
the processor is used for receiving the position information of the first vehicles collected by the radar and determining the ID of each first vehicle collected by the radar;
after receiving information of second vehicles acquired by target gate equipment, determining whether each second vehicle is acquired by the target gate equipment for the first time; wherein the monitoring area of the target gate device and the monitoring area of the radar have an overlapping area; the information of the second vehicle collected by the target gate device comprises appearance characteristic information used for identifying the identity of the vehicle and the driving sequence of the vehicle;
if the target second vehicle is acquired by the target gate equipment for the first time, determining a target first vehicle from the first vehicles acquired by the radar; the method comprises the steps that the time of receiving position information of a target first vehicle is within a first preset time before the time of receiving information of a target second vehicle, and appearance feature information is not bound to an ID of the target first vehicle in a preset time period; the preset time period is a second preset time period before the time of receiving the information of the target second vehicle;
if the ID of the target first vehicle is not bound with the appearance characteristic information before the preset time period, and the running sequence determined according to the position information of the target first vehicle is the same as the running sequence of the target second vehicle, binding the ID of the target first vehicle and the appearance characteristic information of the target second vehicle to realize monitoring of the vehicles running on the road;
if the number of the target first vehicles is one, determining that the driving sequence of the target vehicles is a first driving sequence;
if the number of the target first vehicles is multiple, determining the distance traveled by each target first vehicle within a time interval according to the time interval between the time of receiving the position information of the target first vehicle and the time of receiving the information of the target second vehicle, the speed of the target first vehicle and the acceleration of the target first vehicle;
determining the position information of the target first vehicle when the target gate equipment acquires the target first vehicle according to the running distance of the target first vehicle in a time interval and the position information of the target first vehicle;
and determining the running sequence of the target first vehicle according to the position information of the target first vehicle when the target first vehicle is collected by the target gate equipment.
2. The electronic device of claim 1, wherein the processor is further configured to:
and determining that the lanes where the target first vehicle and the target second vehicle are located are the same.
3. The electronic device of any of claims 1-2, wherein the processor is further configured to:
and if the ID of the target first vehicle is bound with the appearance characteristic information before the preset time period, and the running sequence determined according to the position information of the target first vehicle is the same as the running sequence of the target second vehicle, correcting the appearance characteristic information bound with the ID according to the confidence coefficient of the appearance characteristic information of the target second vehicle and the confidence coefficient of the appearance characteristic information bound with the ID.
4. The electronic device of claim 3, wherein the appearance characteristic information comprises a license plate number, and wherein the processor is specifically configured to:
if the difference between the confidence coefficient of the received license plate number of the target second vehicle and the confidence coefficient of the ID-bound license plate number exceeds a preset value, and the confidence coefficient of the received license plate number of the target second vehicle is greater than the confidence coefficient of the ID-bound license plate number, updating the ID-bound license plate number into the received license plate number of the target second vehicle; or
If the difference between the confidence level of the received license plate number of the target second vehicle and the confidence level of the ID-bound license plate number does not exceed a preset value, updating the number in the ID-bound license plate number for each number in the ID-bound license plate number according to the number with the larger confidence level in the confidence level of the number in the received license plate number of the target second vehicle and the confidence level of the number in the ID-bound license plate number.
5. A vehicle information acquisition method characterized by comprising:
receiving position information of the first vehicles acquired by the radar, and determining the ID of each first vehicle acquired by the radar;
after receiving information of second vehicles acquired by target gate equipment, determining whether each second vehicle is acquired by the target gate equipment for the first time; wherein a monitoring area of the target gate device and a monitoring area of the radar have an overlapping area; the information of the second vehicle, which is acquired by the target gate device, comprises appearance characteristic information for identifying the identity of the vehicle;
if the target second vehicle is acquired by the target gate equipment for the first time, determining a target first vehicle from the first vehicles acquired by the radar; the method comprises the steps that the time of receiving position information of a target first vehicle is within a first preset time period before the time of receiving information of a target second vehicle, and appearance feature information of an ID of the target first vehicle is not bound in a preset time period; the preset time period is a second preset time period before the time of receiving the information of the target second vehicle;
if the ID of the target first vehicle is not bound with the appearance characteristic information before the preset time period, and the running sequence determined according to the position information of the target first vehicle is the same as the running sequence of the determined target second vehicle, the ID of the target first vehicle and the appearance characteristic information of the target second vehicle are bound to realize monitoring of the vehicles running on the road;
if the number of the target first vehicles is one, determining that the driving sequence of the target vehicles is a first driving sequence;
if the number of the target first vehicles is multiple, determining the distance traveled by each target first vehicle within a time interval according to the time interval between the time of receiving the position information of the target first vehicle and the time of receiving the information of the target second vehicle, the speed of the target first vehicle and the acceleration of the target first vehicle;
determining the position information of the target first vehicle when the target gate equipment acquires the target first vehicle according to the running distance of the target first vehicle in a time interval and the position information of the target first vehicle;
and determining the driving sequence of the target first vehicle according to the position information of the target first vehicle when the target first vehicle is collected by the target gate device.
6. The vehicle information acquisition method according to claim 5, wherein before the binding of the ID of the target first vehicle and the appearance characteristic information of the target second vehicle, the method further comprises:
and determining that the lane where the target first vehicle and the target second vehicle are located is the same.
7. The vehicle information acquisition method according to any one of claims 5 to 6, characterized by further comprising:
if the ID of the target first vehicle is bound with the appearance feature information before the preset time period, and the running sequence determined according to the position information of the target first vehicle is the same as the running sequence of the determined target second vehicle, the ID bound appearance feature information is corrected according to the confidence coefficient of the appearance feature information of the target second vehicle and the confidence coefficient of the ID bound appearance feature information.
8. The vehicle information acquisition method according to claim 7, wherein the appearance feature information includes a license plate number, and the modifying the ID-bound appearance feature information according to the confidence of the appearance feature information of the target second vehicle and the confidence of the ID-bound appearance feature information includes:
if the difference between the confidence coefficient of the received license plate number of the target second vehicle and the confidence coefficient of the ID-bound license plate number exceeds a preset value, and the confidence coefficient of the received license plate number of the target second vehicle is greater than the confidence coefficient of the ID-bound license plate number, updating the ID-bound license plate number into the received license plate number of the target second vehicle; or
If the difference value between the confidence degree of the received license plate number of the target second vehicle and the confidence degree of the ID-bound license plate number does not exceed a preset value, updating the number in the ID-bound license plate number aiming at each number in the ID-bound license plate number according to the number with the larger confidence degree in the confidence degree of the number in the received license plate number of the target second vehicle and the confidence degree of the number in the ID-bound license plate number.
CN202111152170.8A 2021-09-29 2021-09-29 Electronic device and vehicle information acquisition method Expired - Fee Related CN113888865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111152170.8A CN113888865B (en) 2021-09-29 2021-09-29 Electronic device and vehicle information acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111152170.8A CN113888865B (en) 2021-09-29 2021-09-29 Electronic device and vehicle information acquisition method

Publications (2)

Publication Number Publication Date
CN113888865A CN113888865A (en) 2022-01-04
CN113888865B true CN113888865B (en) 2022-11-11

Family

ID=79008163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111152170.8A Expired - Fee Related CN113888865B (en) 2021-09-29 2021-09-29 Electronic device and vehicle information acquisition method

Country Status (1)

Country Link
CN (1) CN113888865B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114755676B (en) * 2022-06-16 2022-10-04 浙江宇视科技有限公司 A radar vision cooperative target tracking method and system
CN119516792B (en) * 2025-01-22 2025-03-21 浙江云通数达科技有限公司 A method, device, equipment and medium for determining a target vehicle

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622290B (en) * 2017-09-18 2021-05-28 江苏本能科技有限公司 Radio frequency identification and radar linkage processing method and system and data processing equipment
CN110609274B (en) * 2018-06-15 2022-07-01 杭州海康威视数字技术股份有限公司 Distance measurement method, device and system
CN108877234B (en) * 2018-07-24 2021-03-26 河北德冠隆电子科技有限公司 Four-dimensional real-scene traffic simulation vehicle illegal lane occupation tracking detection system and method
CN110515073B (en) * 2019-08-19 2021-09-07 南京慧尔视智能科技有限公司 Multi-radar cross-regional networking multi-target tracking and identification method and device
CN113393675B (en) * 2021-05-24 2023-03-21 青岛海信网络科技股份有限公司 A vehicle ID determination method, device, equipment and medium

Also Published As

Publication number Publication date
CN113888865A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN110473406B (en) Search support system, search support device, and search support method
US7630515B2 (en) Method of and apparatus for setting image-capturing conditions, and computer program
CN112784174B (en) Method, device and system for determining pose
JP2020061079A (en) Traffic violation vehicle identification system, server, and vehicle control program
CN105469102A (en) Vehicle driving information recording method and vehicle driving information recording device
KR102085489B1 (en) Hybrid breath alcohol analyzing management system
CN108200536A (en) Driving vehicle driver and passenger recognition methods and system
CN109271810A (en) A kind of exam information record system and exam information recording method based on block chain
CN113888865B (en) Electronic device and vehicle information acquisition method
CN108877269A (en) A kind of detection of intersection vehicle-state and V2X broadcasting method
CN111797713B (en) License plate recognition method and photographing equipment
CN110556022A (en) Parking lot parking space indication method and device based on artificial intelligence and electronic equipment
CN106303399A (en) The collection of vehicle image data, offer method, equipment, system and server
CN106991823A (en) Licence plate recognition method and device
CN104916156A (en) Method for acquiring vehicle parking position information and device thereof
JP2019079330A (en) Stolen vehicle tracking system
JP2021002162A (en) Image processing apparatus and program for image processing
CN114092868B (en) System and method for traceability monitoring and management of people and vehicles
CN115601738B (en) Parking information acquisition method, device, equipment, storage medium and program product
CN113744535B (en) Dynamic coordinate synchronization method and device for RFID (radio frequency identification) tag and video inspection vehicle
US10872421B2 (en) Object tracking method and object tracking device
JP2018036817A (en) Vehicle information management system, vehicle information management device, and vehicle information management method
CN114387693B (en) Vehicle charge management method, device, computer equipment and storage medium
CN111145212A (en) Target tracking processing method and device
JP2008217432A (en) Traveling track specifying device, traveling track specifying system, computer program, and driving track specifying method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20221111

CF01 Termination of patent right due to non-payment of annual fee