[go: up one dir, main page]

CN117632978A - Road network update method and equipment - Google Patents

Road network update method and equipment Download PDF

Info

Publication number
CN117632978A
CN117632978A CN202311361732.9A CN202311361732A CN117632978A CN 117632978 A CN117632978 A CN 117632978A CN 202311361732 A CN202311361732 A CN 202311361732A CN 117632978 A CN117632978 A CN 117632978A
Authority
CN
China
Prior art keywords
image data
driving
road
vehicle
road network
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.)
Pending
Application number
CN202311361732.9A
Other languages
Chinese (zh)
Inventor
高光民
徐心照
杨自华
魏未林
张远见
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Navinfo Co Ltd
Original Assignee
Navinfo 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 Navinfo Co Ltd filed Critical Navinfo Co Ltd
Priority to CN202311361732.9A priority Critical patent/CN117632978A/en
Publication of CN117632978A publication Critical patent/CN117632978A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/02Registering or indicating driving, working, idle, or waiting time only

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Traffic Control Systems (AREA)

Abstract

本申请提供一种路网更新方法及设备,可用于数据处理技术领域。该方法包括:获取车辆在行驶过程中采集的图像数据;根据图像数据生成车辆的行驶特征;将行驶特征和路网数据库中的路网道路的道路特征进行匹配;通过图像数据更新匹配成功的路网道路在路网数据库中对应的属性信息。本申请通过车辆在行驶过程中采集的图像数据,对路网数据库中路网道路的属性信息进行更新。图像数据的采集和分析需要的成本较低,尤其是现在车辆上均安装了图像采集装置,例如,行车记录仪。在这种场景下,不需要额外购买图像采集设备,因此可以降低更新路网数据库的成本。

This application provides a road network update method and equipment, which can be used in the field of data processing technology. The method includes: obtaining image data collected by the vehicle during driving; generating the driving characteristics of the vehicle based on the image data; matching the driving characteristics with the road characteristics of the road network roads in the road network database; updating the successfully matched roads through the image data The corresponding attribute information of network roads in the road network database. This application updates the attribute information of the road network roads in the road network database through the image data collected while the vehicle is driving. The acquisition and analysis of image data requires low costs, especially now that vehicles are equipped with image acquisition devices, such as driving recorders. In this scenario, there is no need to purchase additional image acquisition equipment, so the cost of updating the road network database can be reduced.

Description

路网更新方法及设备Road network update method and equipment

技术领域Technical field

本申请涉及数据处理技术领域,尤其涉及一种路网更新方法及设备。This application relates to the field of data processing technology, and in particular to a road network update method and equipment.

背景技术Background technique

在一些应用程序中,为用户提供导航、路线规划等地图服务,这些地图服务均依赖于大量道路信息。在一个指定区域内,其中的道路相互关联、交织形成网状道路系统。因此,路网数据库应运而生,用于存储大量的道路信息,以使应用程序调用路网数据库实现地图服务。In some applications, users are provided with map services such as navigation and route planning. These map services rely on a large amount of road information. Within a designated area, the roads are interconnected and intertwined to form a network road system. Therefore, the road network database emerged as the times require and is used to store a large amount of road information so that applications can call the road network database to implement map services.

现有技术中,路网数据库中的道路信息需要定时进行更新,其更新是结合卫星遥感技术、GPS(Global Positioning System,全球定位系统)、地理信息系统和人工方式实现的。In the existing technology, the road information in the road network database needs to be updated regularly, and the update is realized by combining satellite remote sensing technology, GPS (Global Positioning System, Global Positioning System), geographic information system and manual methods.

然而,上述方案存在成本较高的问题。However, the above solution has the problem of high cost.

发明内容Contents of the invention

本申请提供一种路网更新方法及设备,用以降低路网数据库的更新成本。This application provides a road network update method and equipment to reduce the update cost of the road network database.

第一方面,本申请提供一种路网更新方法,包括:In the first aspect, this application provides a road network update method, including:

获取车辆在行驶过程中采集的图像数据;Obtain image data collected while the vehicle is driving;

根据所述图像数据生成所述车辆的行驶特征;Generate driving characteristics of the vehicle based on the image data;

将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配;Match the driving characteristics with the road characteristics of the road network roads in the road network database;

通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息。The corresponding attribute information of the successfully matched road network road in the road network database is updated through the image data.

可选地,所述道路特征包括以下至少一项:围栏区域、道路方向和道路高度。Optionally, the road features include at least one of: fenced area, road direction, and road height.

可选地,所述根据所述图像数据生成所述车辆的行驶特征,包括:Optionally, generating the driving characteristics of the vehicle based on the image data includes:

根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,所述采集信息包括以下至少一项:采集地址、采集时间、高度信息和采集图像时的相机姿态。The driving characteristics of the vehicle are generated according to the collection information corresponding to the image data. The collection information includes at least one of the following: collection address, collection time, height information and camera posture when collecting images.

可选地,所述道路方向包括以下至少一项:所述路网道路上的第一位置至第二位置的指向方向、所述路网道路的延伸方向所对应的三维向量;Optionally, the road direction includes at least one of the following: the pointing direction from the first position to the second position on the road network, and the three-dimensional vector corresponding to the extension direction of the road network;

所述行驶特征包括以下至少一项:行驶轨迹、行驶方向、行驶高度和所述相机姿态;The driving characteristics include at least one of the following: driving trajectory, driving direction, driving height and the camera attitude;

所述将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配,包括:Matching the driving characteristics with the road characteristics of the road network roads in the road network database includes:

执行以下至少一项匹配过程:所述行驶轨迹和所述围栏区域之间的匹配、所述行驶方向和所述指向方向之间的匹配、所述行驶高度和所述道路高度之间的匹配、以及所述相机姿态和所述三维向量之间的匹配;Perform at least one of the following matching processes: matching between the driving trajectory and the fence area, matching between the driving direction and the pointing direction, matching between the driving height and the road height, and the matching between the camera pose and the three-dimensional vector;

若至少一项所述匹配过程匹配成功,则确定所述行驶特征和所述道路特征匹配成功。If at least one of the matching processes is successful, it is determined that the driving characteristics and the road characteristics are successfully matched.

可选地,所述根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,包括:Optionally, generating the driving characteristics of the vehicle based on the collection information corresponding to the image data includes:

根据同一车辆所对应的多个所述图像数据分别对应的采集地址,生成所述车辆的行驶轨迹;Generate the driving trajectory of the vehicle according to the collection addresses corresponding to the plurality of image data corresponding to the same vehicle;

执行所述行驶轨迹和所述围栏区域之间的匹配,包括:Performing matching between the driving trajectory and the fence area includes:

从所述行驶轨迹中,确定落入所述围栏区域的采集地址数量;From the driving trajectory, determine the number of collection addresses falling into the fence area;

若所述采集地址数量大于或等于第一阈值,则确定所述行驶轨迹与所述围栏区域匹配成功。If the number of collected addresses is greater than or equal to the first threshold, it is determined that the driving trajectory matches the fence area successfully.

可选地,所述根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,包括:Optionally, generating the driving characteristics of the vehicle based on the collection information corresponding to the image data includes:

根据同一车辆所对应的至少两帧所述图像数据分别对应的采集地址和采集时间,确定所述车辆到达所述第一位置的第一时间,以及到达所述第二位置的第二时间;Determine the first time for the vehicle to arrive at the first position and the second time for the vehicle to arrive at the second position based on the collection address and collection time corresponding to at least two frames of the image data corresponding to the same vehicle;

若所述第一时间小于所述第二时间,则确定所述行驶方向为所述第一位置至所述第二位置的方向;If the first time is less than the second time, determine the traveling direction to be the direction from the first position to the second position;

若所述第二时间小于所述第一时间,则确定所述行驶方向为所述第二位置至所述第一位置的方向。If the second time is less than the first time, the traveling direction is determined to be the direction from the second position to the first position.

可选地,所述根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,包括:Optionally, generating the driving characteristics of the vehicle based on the collection information corresponding to the image data includes:

根据所述图像数据的采集信息和所述图像数据的画面信息,确定所述车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物;According to the collection information of the image data and the picture information of the image data, determine the shape of the driving route of the vehicle, the driving speed and whether there are obstructions above the vehicle;

若所述行驶路线形状为直线、所述行驶速度为匀速以及所述车辆上方不存在遮挡物,则确定所述行驶高度为高架路高度;If the shape of the driving route is a straight line, the driving speed is constant, and there is no obstruction above the vehicle, then the driving height is determined to be the elevated road height;

否则,确定所述行驶高度为普通路高度。Otherwise, the driving height is determined to be an ordinary road height.

可选地,所述通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息之前,还包括:Optionally, before corresponding attribute information in the road network database, the road network road that is successfully matched through the image data update also includes:

滤除以下至少一种图像数据:目标时间段外的图像数据、目标区域外的图像数据、处于目标天气状态外采集的图像数据、所述行驶道路上遮挡面积大于或等于第二阈值的图像数据、以及太阳方位角在预设角度范围外的图像数据,所述太阳方位角包括太阳和所述车辆所在直线与所述车辆的行驶方向之间的角度。Filter out at least one of the following image data: image data outside the target time period, image data outside the target area, image data collected outside the target weather state, image data with an occlusion area on the driving road greater than or equal to the second threshold , and image data with a sun azimuth angle outside the preset angle range, where the sun azimuth angle includes the angle between the straight line between the sun and the vehicle and the driving direction of the vehicle.

可选地,所述滤除以下至少一种图像数据,包括:Optionally, filtering out at least one of the following image data includes:

根据所述图像数据的采集时间和采集地址,确定日照时间段,所述日照时间段与所述采集地址在所述采集时间所对应的日出时间和日落时间相关联;Determine a sunshine time period based on the collection time and collection address of the image data, and the sunshine time period is associated with the sunrise time and sunset time corresponding to the collection address at the collection time;

根据所述日照时间段和/或当前时间之前的预设时间段,生成所述目标时间段;Generate the target time period according to the sunshine time period and/or a preset time period before the current time;

滤除所述采集时间位于对应所述目标时间段外的图像数据。Filter out image data whose acquisition time is outside the corresponding target time period.

可选地,所述滤除以下至少一种图像数据,包括:Optionally, filtering out at least one of the following image data includes:

根据所述图像数据的采集时间和采集地址,确定对应的天气状态;Determine the corresponding weather state according to the collection time and collection address of the image data;

滤除所述天气状态为所述目标天气状态之外的图像数据,所述目标天气状态包括可见度大于或等于第三阈值的天气状态。Filter out image data whose weather state is other than the target weather state, where the target weather state includes a weather state with visibility greater than or equal to a third threshold.

可选地,所述滤除以下至少一种图像数据,包括:Optionally, filtering out at least one of the following image data includes:

根据所述图像数据的采集时间和采集地址,分别确定太阳和所述车辆所形成的直线,以及所述车辆的行驶方向;According to the collection time and collection address of the image data, determine the straight line formed by the sun and the vehicle, and the driving direction of the vehicle;

确定所述直线和所述行驶方向之间的角度作为所述太阳方位角;Determine the angle between the straight line and the traveling direction as the solar azimuth angle;

滤除所述太阳方位角在所述预设角度范围之外的图像数据。Image data whose sun azimuth angle is outside the preset angle range is filtered out.

第二方面,本申请提供一种路网更新装置,包括:In the second aspect, this application provides a road network updating device, including:

图像数据获取模块,用于获取车辆在行驶过程中采集的图像数据;The image data acquisition module is used to acquire image data collected while the vehicle is driving;

行驶特征生成模块,用于根据所述图像数据生成所述车辆的行驶特征;匹配模块,用于将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配;A driving characteristic generation module, used to generate the driving characteristics of the vehicle according to the image data; a matching module, used to match the driving characteristics with the road characteristics of the road network roads in the road network database;

更新模块,用于通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息。An update module, configured to update the corresponding attribute information of the successfully matched road network road in the road network database through the image data.

可选地,所述道路特征包括以下至少一项:围栏区域、道路方向和道路高度。Optionally, the road features include at least one of: fenced area, road direction, and road height.

可选地,所述匹配模块还用于:Optionally, the matching module is also used to:

根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,所述采集信息包括以下至少一项:采集地址、采集时间、高度信息和采集图像时的相机姿态。The driving characteristics of the vehicle are generated according to the collection information corresponding to the image data. The collection information includes at least one of the following: collection address, collection time, height information and camera posture when collecting images.

可选地,所述道路方向包括以下至少一项:所述路网道路上的第一位置至第二位置的指向方向、所述路网道路的延伸方向所对应的三维向量;Optionally, the road direction includes at least one of the following: the pointing direction from the first position to the second position on the road network, and the three-dimensional vector corresponding to the extension direction of the road network;

所述行驶特征包括以下至少一项:行驶轨迹、行驶方向、行驶高度和所述相机姿态;The driving characteristics include at least one of the following: driving trajectory, driving direction, driving height and the camera attitude;

所述匹配模块还用于:The matching module is also used to:

执行以下至少一项匹配过程:所述行驶轨迹和所述围栏区域之间的匹配、所述行驶方向和所述指向方向之间的匹配、所述行驶高度和所述道路高度之间的匹配、以及所述相机姿态和所述三维向量之间的匹配;Perform at least one of the following matching processes: matching between the driving trajectory and the fence area, matching between the driving direction and the pointing direction, matching between the driving height and the road height, and the matching between the camera pose and the three-dimensional vector;

若至少一项所述匹配过程匹配成功,则确定所述行驶特征和所述道路特征匹配成功。If at least one of the matching processes is successful, it is determined that the driving characteristics and the road characteristics are successfully matched.

可选地,所述匹配模块还用于:Optionally, the matching module is also used to:

根据同一车辆所对应的多个所述图像数据分别对应的采集地址,生成所述车辆的行驶轨迹;Generate the driving trajectory of the vehicle according to the collection addresses corresponding to the plurality of image data corresponding to the same vehicle;

从所述行驶轨迹中,确定落入所述围栏区域的采集地址数量;From the driving trajectory, determine the number of collection addresses falling into the fence area;

若所述采集地址数量大于或等于第一阈值,则确定所述行驶轨迹与所述围栏区域匹配成功。If the number of collected addresses is greater than or equal to the first threshold, it is determined that the driving trajectory matches the fence area successfully.

可选地,所述匹配模块还用于:Optionally, the matching module is also used to:

根据同一车辆所对应的至少两帧所述图像数据分别对应的采集地址和采集时间,确定所述车辆到达所述第一位置的第一时间,以及到达所述第二位置的第二时间;Determine the first time for the vehicle to arrive at the first position and the second time for the vehicle to arrive at the second position based on the collection address and collection time corresponding to at least two frames of the image data corresponding to the same vehicle;

若所述第一时间小于所述第二时间,则确定所述行驶方向为所述第一位置至所述第二位置的方向;If the first time is less than the second time, determine the traveling direction to be the direction from the first position to the second position;

若所述第二时间小于所述第一时间,则确定所述行驶方向为所述第二位置至所述第一位置的方向。If the second time is less than the first time, the traveling direction is determined to be the direction from the second position to the first position.

可选地,所述匹配模块还用于:Optionally, the matching module is also used to:

根据所述图像数据的采集信息和所述图像数据的画面信息,确定所述车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物;According to the collection information of the image data and the picture information of the image data, determine the shape of the driving route of the vehicle, the driving speed and whether there are obstructions above the vehicle;

若所述行驶路线形状为直线、所述行驶速度为匀速以及所述车辆上方不存在遮挡物,则确定所述行驶高度为高架路高度;If the shape of the driving route is a straight line, the driving speed is constant, and there is no obstruction above the vehicle, then the driving height is determined to be the elevated road height;

否则,确定所述行驶高度为普通路高度。Otherwise, the driving height is determined to be an ordinary road height.

可选地,所述装置还包括:Optionally, the device also includes:

滤除模块,用于通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息之前,滤除以下至少一种图像数据:目标时间段外的图像数据、目标区域外的图像数据、处于目标天气状态外采集的图像数据、所述行驶道路上遮挡面积大于或等于第二阈值的图像数据、以及太阳方位角在预设角度范围外的图像数据,所述太阳方位角包括太阳和所述车辆所在直线与所述车辆的行驶方向之间的角度。A filtering module configured to filter out at least one of the following image data before the corresponding attribute information of the successfully matched road network road in the road network database through the image data update: image data outside the target time period, Image data outside the target area, image data collected outside the target weather state, image data with an occlusion area on the driving road greater than or equal to the second threshold, and image data with the sun azimuth outside the preset angle range, the The sun azimuth angle includes the angle between the straight line between the sun and the vehicle and the traveling direction of the vehicle.

可选地,所述滤除模块还用于:Optionally, the filtering module is also used to:

根据所述图像数据的采集时间和采集地址,确定日照时间段,所述日照时间段与所述采集地址在所述采集时间所对应的日出时间和日落时间相关联;Determine a sunshine time period based on the collection time and collection address of the image data, and the sunshine time period is associated with the sunrise time and sunset time corresponding to the collection address at the collection time;

根据所述日照时间段和/或当前时间之前的预设时间段,生成所述目标时间段;Generate the target time period according to the sunshine time period and/or a preset time period before the current time;

滤除所述采集时间位于对应所述目标时间段外的图像数据。Filter out image data whose acquisition time is outside the corresponding target time period.

可选地,所述滤除模块还用于:Optionally, the filtering module is also used to:

根据所述图像数据的采集时间和采集地址,确定对应的天气状态;Determine the corresponding weather state according to the collection time and collection address of the image data;

滤除所述天气状态为所述目标天气状态之外的图像数据,所述目标天气状态包括可见度大于或等于第三阈值的天气状态。Filter out image data whose weather state is other than the target weather state, where the target weather state includes a weather state with visibility greater than or equal to a third threshold.

可选地,所述滤除模块还用于:Optionally, the filtering module is also used to:

根据所述图像数据的采集时间和采集地址,分别确定太阳和所述车辆所形成的直线,以及所述车辆的行驶方向;According to the collection time and collection address of the image data, determine the straight line formed by the sun and the vehicle, and the driving direction of the vehicle;

确定所述直线和所述行驶方向之间的角度作为所述太阳方位角;Determine the angle between the straight line and the traveling direction as the solar azimuth angle;

滤除所述太阳方位角在所述预设角度范围之外的图像数据。Image data whose sun azimuth angle is outside the preset angle range is filtered out.

第三方面,本申请提供一种电子设备,包括存储器和至少一个处理器;In a third aspect, this application provides an electronic device, including a memory and at least one processor;

其中,存储器存储计算机执行指令;Among them, the memory stores computer execution instructions;

至少一个处理器执行存储器存储的计算机执行指令,使得电子设备实现前述第一方面的方法。At least one processor executes computer execution instructions stored in the memory, so that the electronic device implements the method of the first aspect.

第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面所述的方法。In a fourth aspect, the present application provides a computer-readable storage medium. Computer-executable instructions are stored in the computer-readable storage medium. When executed by a processor, the computer-executable instructions are used to implement the method as described in the first aspect. .

第五方面,本申请提供一种计算机程序产品,用于实现第一方面的方法。In a fifth aspect, this application provides a computer program product for implementing the method of the first aspect.

本申请实施例提供的路网更新方法及设备,可以获取车辆在行驶过程中采集的图像数据;根据图像数据生成车辆的行驶特征;将行驶特征和路网数据库中的路网道路的道路特征进行匹配;通过图像数据更新匹配成功的路网道路在路网数据库中对应的属性信息。可以看出,本申请实施例通过车辆在行驶过程中采集的图像数据,对路网数据库中路网道路的属性信息进行更新。其中,图像数据的采集和分析需要的成本较低,尤其是现在车辆上均安装了图像采集装置,例如,行车记录仪。在这种场景下,本申请实施例在不需要额外购买图像采集设备的情况下,即可实现路网数据库中路网道路的属性信息的更新,因此,可以有效的降低更新路网数据库的成本。The road network update method and equipment provided by the embodiments of the present application can obtain image data collected by the vehicle during driving; generate the driving characteristics of the vehicle based on the image data; and combine the driving characteristics with the road characteristics of the road network roads in the road network database. Matching; update the corresponding attribute information of successfully matched road network roads in the road network database through image data. It can be seen that the embodiment of the present application updates the attribute information of the road network roads in the road network database through the image data collected while the vehicle is driving. Among them, the cost of collecting and analyzing image data is relatively low, especially now that vehicles are equipped with image acquisition devices, such as driving recorders. In this scenario, the embodiment of the present application can update the attribute information of the road network roads in the road network database without purchasing additional image acquisition equipment. Therefore, the cost of updating the road network database can be effectively reduced.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.

图1是现有技术提供的路网数据库更新示意图;Figure 1 is a schematic diagram of road network database update provided by the prior art;

图2是本申请实施例提供的一种路网更新方法的步骤流程图;Figure 2 is a step flow chart of a road network update method provided by an embodiment of the present application;

图3是本申请实施例提供的一种行驶轨迹和路网道路的围栏区域之间的关系示意图;Figure 3 is a schematic diagram of the relationship between a driving trajectory and a fenced area of a road network provided by an embodiment of the present application;

图4是本申请实施例提供的一种行驶路线形状示意图;Figure 4 is a schematic diagram of a driving route shape provided by an embodiment of the present application;

图5是本申请实施例提供的一种行驶速度和图像数据之间的关系示意图;Figure 5 is a schematic diagram of the relationship between driving speed and image data provided by an embodiment of the present application;

图6是本申请实施例提供的一种行驶道路上的遮挡面积示意图;Figure 6 is a schematic diagram of the blocking area on a driving road provided by an embodiment of the present application;

图7是本申请实施例提供的一种太阳方向角的示意图;Figure 7 is a schematic diagram of a solar direction angle provided by an embodiment of the present application;

图8是本申请实施例提供的一种路网更新过程的详细流程图;Figure 8 is a detailed flow chart of a road network update process provided by an embodiment of the present application;

图9是本申请实施例提供的一种路网更新装置的结构框图;Figure 9 is a structural block diagram of a road network update device provided by an embodiment of the present application;

图10是本申请实施例提供的一种电子设备的结构框图。Figure 10 is a structural block diagram of an electronic device provided by an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Through the above-mentioned drawings, clear embodiments of the present application have been shown, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present application's concepts in any way, but are intended to illustrate the application's concepts for those skilled in the art with reference to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the appended claims.

本申请适用于路网数据库的更新场景。图1是现有技术提供的路网数据库更新示意图。参照图1所示,可以通过地理信息系统、GPS、卫星遥感技术和人工方式实现更新。然而,这种方式需要投入大量资源,成本较高。This application is suitable for the update scenario of road network database. Figure 1 is a schematic diagram of road network database update provided by the prior art. Referring to Figure 1, updates can be achieved through geographic information systems, GPS, satellite remote sensing technology and manual methods. However, this method requires a lot of resources and is costly.

为了解决上述问题,本申请通过车辆在行驶过程中采集的图像数据,对路网数据库中路网道路的属性信息进行更新。图像数据的采集和分析需要的成本较低,尤其是现在车辆上均安装了图像采集装置,例如,行车记录仪。在这种场景下,不需要额外购买图像采集设备,因此可以降低更新路网数据库的成本。另外,对图像数据进行分析和匹配可以通过计算机实现即可,成本也较低。In order to solve the above problems, this application updates the attribute information of the road network roads in the road network database through the image data collected while the vehicle is driving. The acquisition and analysis of image data requires low costs, especially now that vehicles are equipped with image acquisition devices, such as driving recorders. In this scenario, there is no need to purchase additional image acquisition equipment, so the cost of updating the road network database can be reduced. In addition, the analysis and matching of image data can be realized by computers, and the cost is low.

需要说明的是,上述图像数据是针对行驶道路采集的,从中可以分析得到行驶道路的属性信息。因此,可以将图像数据和路网数据库中的路网道路匹配,在匹配成功时,代表车辆的行驶道路为路网数据库中的路网道路。此时,可以通过图像数据更新路网道路的属性信息。It should be noted that the above image data is collected for the driving road, from which the attribute information of the driving road can be analyzed. Therefore, the image data can be matched with the road network roads in the road network database. When the matching is successful, the driving road of the representative vehicle is the road network road in the road network database. At this time, the attribute information of the road network roads can be updated through image data.

此外,本申请的图像数据由行驶在道路上的车辆采集得到,实现了众包方式的更新。由于车辆遍布各个道路,因此,可以得到针对各个道路的图像数据,有助于扩大更新范围。In addition, the image data in this application are collected from vehicles driving on the road, realizing crowdsourcing updates. Since vehicles are spread across various roads, image data for each road can be obtained, which helps expand the update range.

并且,图像处理技术已经很成熟,因此,图像数据的匹配、运算等过程消耗的时长较短,可以有效提高更新速度。Moreover, image processing technology is already very mature. Therefore, the process of matching and calculating image data takes a short time, which can effectively increase the update speed.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

图2是本申请实施例提供的一种路网更新方法的步骤流程图。参照图2所示,本申请的路网更新方法可以包括:Figure 2 is a step flow chart of a road network update method provided by an embodiment of the present application. Referring to Figure 2, the road network update method of this application may include:

S201:获取车辆在行驶过程中采集的图像数据。S201: Obtain image data collected while the vehicle is driving.

其中,这里的车辆可以是至少任意车辆,图像数据对应一帧或多帧图像,通常对应多帧图像。在本申请实施例中,以一辆车辆的多帧图像为例进行说明,以在该车辆当前的行驶道路为路网数据库中的一条路网道路时,通过该多帧图像更新该路网道路在路网数据库中的属性信息。The vehicle here can be at least any vehicle, and the image data corresponds to one or more frames of images, usually corresponding to multiple frames of images. In the embodiment of the present application, a multi-frame image of a vehicle is taken as an example to illustrate. When the current driving road of the vehicle is a road network road in the road network database, the road network road is updated through the multi-frame image. Attribute information in the road network database.

可以理解的是,图像数据可以包括:画面信息和采集信息。画面信息中包括采集到的环境画面,例如,道路画面、天空画面、部分车辆画面等。采集信息包括采集该图像数据时的一些相关信息,例如,采集时间、采集地点、高程信息、相机位姿等。其中,相机位姿是图像采集装置采集图像数据时的位姿,用于表示图像采集装置的拍摄方向,该拍摄方向可以用三维向量表示。It can be understood that the image data may include: picture information and collection information. The picture information includes collected environmental pictures, such as road pictures, sky pictures, some vehicle pictures, etc. The collection information includes some relevant information when collecting the image data, such as collection time, collection location, elevation information, camera pose, etc. Among them, the camera pose is the pose when the image acquisition device collects image data, and is used to represent the shooting direction of the image acquisition device, and the shooting direction can be represented by a three-dimensional vector.

上述图像数据是车辆上设置的图像采集装置采集得到的,图像采集装置可以为具有图像采集的任意装置,为了尽可能的提高更新准确度,可以采用高清晰度的图像采集装置。在本申请实施例中,可以使用预留有对应接口的DVR(Digital Video Recorder,数字视频录像机)采集图像数据,但本申请实施例对图像采集装置的类型不做限制。The above image data is collected by an image acquisition device installed on the vehicle. The image acquisition device can be any device capable of image acquisition. In order to improve the update accuracy as much as possible, a high-definition image acquisition device can be used. In the embodiment of the present application, a DVR (Digital Video Recorder) with a corresponding interface reserved can be used to collect image data, but the embodiment of the present application does not limit the type of the image collection device.

在一些实施方式中,车辆在接收到路网更新任务时,可以采集图像数据。也就是说,S201中的车辆是接收到路网更新任务的车辆。车辆可以将采集的图像数据上传给图像数据库中,以执行S201时,从图像数据库中获取图像数据。In some implementations, the vehicle may collect image data when receiving a road network update task. In other words, the vehicle in S201 is the vehicle that received the road network update task. The vehicle can upload the collected image data to the image database to obtain the image data from the image database when executing S201.

其中,上述路网更新任务是针对路网数据库中的至少一条或多条路网道路发起的任务。在发起该路网更新任务时,可以指定路网道路,以更新指定的路网道路的属性信息,和/或,可以指定一个目标区域,以更新该目标区域内的所有路网道路的属性信息,和/或,可以指定当前时间之前的预设时间段,以通过该预设时间段内的图像数据更新路网道路的属性信息,和/或,可以指定该路网更新任务的执行次数,以一次或多次执行该路网更新任务。The above road network update task is a task initiated for at least one or more road network roads in the road network database. When initiating the road network update task, you can specify a road network road to update the attribute information of the specified road network road, and/or you can specify a target area to update the attribute information of all road network roads in the target area. , and/or, a preset time period before the current time can be specified to update the attribute information of the road network roads through the image data within the preset time period, and/or, the number of execution times of the road network update task can be specified, Execute the road network update task once or multiple times.

其中,上述目标区域可以为行政区域,例如,可以为市、省或县城等。本申请实施例对目标区域不做限制。The above-mentioned target area may be an administrative area, for example, it may be a city, province, county, etc. The embodiment of this application does not limit the target area.

在实际应用中,图像数据录入图像数据库的时间可能会存在滞后,这样,导致我们在执行路网更新任务时,其所需要的图像数据还未录入图像数据库,在这种场景下,会导致更新错误甚至更新遗漏。为了解决这个问题,本申请实施例可以多次执行路网更新任务,以减少图像数据滞后而导致的更新遗漏。In practical applications, there may be a lag in the time when image data is entered into the image database. In this way, when we perform the road network update task, the required image data has not yet been entered into the image database. In this scenario, it will cause the update Bugs or even missing updates. In order to solve this problem, embodiments of the present application can execute the road network update task multiple times to reduce update omissions caused by image data lag.

在一些实施方式中,可以在发起一个路网更新任务时,将暂时存储在任务数据库中,以逐个执行。In some implementations, when a road network update task is initiated, it may be temporarily stored in the task database for execution one by one.

S202:根据图像数据生成车辆的行驶特征。S202: Generate the driving characteristics of the vehicle based on the image data.

其中,行驶特征用于表示车辆在行驶过程中的特征,根据该行驶特征可以确定该车辆的行驶道路,不同行驶道路对应不同的行驶特征。由于图像数据是车辆在行驶过程中采集的,因此,图像数据可以反应车辆的行驶特征。Among them, the driving characteristics are used to represent the characteristics of the vehicle during driving. According to the driving characteristics, the driving road of the vehicle can be determined. Different driving roads correspond to different driving characteristics. Since the image data is collected while the vehicle is driving, the image data can reflect the driving characteristics of the vehicle.

S203:将行驶特征和路网数据库中的路网道路的道路特征进行匹配。S203: Match the driving characteristics with the road characteristics of the road network roads in the road network database.

考虑到S203的匹配过程依赖于S202的行驶特征,因此,下面将步骤S202和S203进行联合说明。Considering that the matching process of S203 depends on the driving characteristics of S202, steps S202 and S203 will be jointly described below.

其中,路网数据库是预先创建的,其中包括有一条或多条路网道路的道路特征和属性信息,例如,路网道路的形状、路口信息、道路类型等。因此,可以对其中的至少一条路网道路的属性信息进行更新。具体更新的路网道路需要根据路网更新任务指定。Among them, the road network database is pre-created, which includes road characteristics and attribute information of one or more road network roads, such as the shape of the road network roads, intersection information, road types, etc. Therefore, the attribute information of at least one road network road can be updated. The specific updated road network roads need to be specified according to the road network update task.

可以理解的是,这里的匹配目的是为了确定图像数据是否是针对路网数据库中的路网道路采集的,包括两方面:第一方面,确定车辆的行驶道路为路网数据库中的路网道路;第二方面,确定图像采集装置的拍摄方向是否针对该路网道路。在图像数据和路网道路匹配成功时,确定采集该图像数据为针对与之匹配成功的路网道路采集的。It can be understood that the purpose of matching here is to determine whether the image data is collected for the road network roads in the road network database, which includes two aspects: First, determine that the vehicle's driving road is the road network road in the road network database. ; The second aspect is to determine whether the shooting direction of the image collection device is directed to the road network road. When the image data and the road network road are successfully matched, it is determined that the image data is collected for the road network road with which the matching is successful.

在一些实施方式中,上述匹配过程可以包括:首先,根据图像数据生成车辆的行驶特征,以将行驶特征和路网数据库中的上述路网道路的道路特征进行匹配。In some embodiments, the above matching process may include: first, generating the driving characteristics of the vehicle according to the image data to match the driving characteristics with the road characteristics of the above-mentioned road network roads in the road network database.

其中,行驶特征用于表示车辆在行驶过程中的特征,根据该行驶特征可以确定该车辆的行驶道路,不同行驶道路对应不同的行驶特征。道路特征用于表示路网道路的特征,用于唯一表示一条道路,不同路网道路对应的道路特征不同。Among them, the driving characteristics are used to represent the characteristics of the vehicle during driving. According to the driving characteristics, the driving road of the vehicle can be determined. Different driving roads correspond to different driving characteristics. Road features are used to represent the characteristics of roads in a road network and are used to uniquely represent a road. Different road network roads have different corresponding road features.

具体的,行驶特征可以包括以下至少一项:行驶轨迹、行驶方向、行驶高度和相机姿态;道路特征可以包括以下至少一项:围栏区域、道路方向和道路高度。道路方向包括以下至少一项:路网道路上第一位置至第二位置的指向方向、路网道路的延伸方向所对应的三维向量。Specifically, the driving characteristics may include at least one of the following: driving trajectory, driving direction, driving height, and camera attitude; the road characteristics may include at least one of the following: fence areas, road directions, and road heights. The road direction includes at least one of the following: the pointing direction from the first position to the second position on the road network, and the three-dimensional vector corresponding to the extension direction of the road network.

其中,上述围栏区域用于表示路网道路所在的区域,道路方向是指路网道路上允许的行驶方向,道路高度用于表示路网道路相较于地面的高度。本申请的路网道路是实际道路按照预设长度拆分或拼接得到的。在得到路网道路之后,通过围栏将其包围起来,该围栏所对应的区域称为该路网道路的围栏区域,用于判断车辆是否进入该路网道路。具体的,当车辆进入一条路网道路的围栏区域时,可以认为车辆进入该路网道路;否则认为车辆未进入该路网道路。Among them, the above-mentioned fence area is used to represent the area where the road network roads are located, the road direction refers to the allowed driving direction on the road network roads, and the road height is used to represent the height of the road network roads compared to the ground. The road network roads in this application are actual roads split or spliced according to preset lengths. After the road network is obtained, it is surrounded by a fence. The area corresponding to the fence is called the fence area of the road network and is used to determine whether the vehicle has entered the road network. Specifically, when a vehicle enters a fenced area of a road network, it can be considered that the vehicle has entered the road network; otherwise, it is considered that the vehicle has not entered the road network.

上述预设长度可以根据实际应用场景灵活设置,例如,可以设置为600米至800米,围栏区域的宽度可以为20米。当预设长度为600米至800米时,形成很多个长度在600米至800米范围内的路网道路,其对应的围栏区域的长度为600米至800米,宽度为20米。The above preset length can be flexibly set according to the actual application scenario. For example, it can be set to 600 meters to 800 meters, and the width of the fence area can be 20 meters. When the preset length is 600 meters to 800 meters, many road network roads are formed with a length ranging from 600 meters to 800 meters, and the corresponding fence areas are 600 meters to 800 meters long and 20 meters wide.

因此,将行驶特征和道路特征进行匹配,包括执行以下至少一项匹配过程:行驶轨迹和围栏区域之间的匹配(可称为第一匹配)、行驶方向和指向方向之间的匹配(可称为第二匹配)、行驶高度和道路高度之间的匹配(可称为第三匹配)、以及相机姿态和三维向量之间的匹配(可称为第四匹配);若上述至少一项匹配过程匹配成功,则确定行驶特征和道路特征匹配成功。Therefore, matching the driving characteristics and the road characteristics includes performing at least one of the following matching processes: matching between the driving trajectory and the fence area (which can be called the first matching), and the matching between the driving direction and the pointing direction (which can be called the first matching). is the second matching), the matching between driving height and road height (can be called the third matching), and the matching between the camera attitude and the three-dimensional vector (can be called the fourth matching); if at least one of the above matching processes If the matching is successful, it is determined that the driving characteristics and the road characteristics are successfully matched.

当然,为了提高匹配的准确度,可以在上述四种匹配过程均匹配成功时,确定行驶特征和道路特征匹配成功;否则,确定行驶特征和道路特征匹配失败。Of course, in order to improve the accuracy of matching, it can be determined that the matching of driving characteristics and road characteristics is successful when all the above four matching processes are successful; otherwise, it is determined that the matching of driving characteristics and road characteristics fails.

其中,行驶轨迹是车辆在行驶过程中的多个经过位置形成的轨迹,该经过位置与图像采集装置采集图像数据时提供的采集位置一致,行驶轨迹是无方向性的。当车辆的行驶轨迹与路网道路的道路形状一致时,代表第一匹配过程匹配成功,车辆的行驶道路可能为路网道路;当车辆的行驶轨迹与路网道路的道路形状不一致时,代表第一匹配过程匹配失败,车辆的行驶道路不为路网道路。The driving trajectory is a trajectory formed by multiple passing positions of the vehicle during driving. The passing positions are consistent with the collection positions provided by the image acquisition device when collecting image data, and the driving trajectory is non-directional. When the vehicle's driving trajectory is consistent with the road shape of the road network, it means that the first matching process is successful, and the vehicle's driving path may be a road network road; when the vehicle's driving trajectory is inconsistent with the road shape of the road network, it means that the third matching process is successful. The matching process fails and the vehicle's driving road is not a road network road.

行驶方向用于表示车辆从第一位置行驶至第二位置,或,从第二位置行驶至第一位置。第一位置和第二位置为路网道路上的两个位置,路网道路的指向方向可以指定为第一位置至第二位置,因此,可以判断行驶方向和指向方向是否一致。当行驶方向与指向方向一致时,代表第二匹配过程匹配成功,车辆的行驶道路可能为路网道路;当行驶方向与指向方向不一致时,代表第二匹配过程匹配失败,车辆的行驶道路不为路网道路。The traveling direction is used to indicate that the vehicle travels from a first position to a second position, or from a second position to a first position. The first position and the second position are two positions on the road network. The pointing direction of the road network can be designated as the first position to the second position. Therefore, it can be determined whether the driving direction and the pointing direction are consistent. When the driving direction is consistent with the pointing direction, it means that the second matching process is successful, and the vehicle's driving road may be a road network road; when the driving direction is inconsistent with the pointing direction, it means that the second matching process fails, and the vehicle's driving road is not. Road network roads.

行驶高度用于表示车辆在行驶时的高度,与车辆的行驶道路的高度一致。当行驶高度与道路高度一致时,代表第三匹配过程匹配成功,车辆的行驶道路可能为路网道路;当行驶方向与道路高度不一致时,代表第三匹配过程匹配失败,车辆的行驶道路不为路网道路。Ride height is used to indicate the height of the vehicle when driving, which is consistent with the height of the road the vehicle is traveling on. When the driving height is consistent with the road height, it means that the third matching process is successful, and the vehicle's driving road may be a road network road; when the driving direction is inconsistent with the road height, it means that the third matching process fails, and the vehicle's driving road is not. Road network roads.

相机姿态用于表示图像采集装置在采集图像数据时的拍摄方向,可以用三维向量表示。当相机姿态与路网道路的延伸方向所对应的三维向量一致时,代表第四匹配过程匹配成功,图像采集装置的拍摄方向是针对路网道路的;当相机姿态与路网道路的延伸方向所对应的三维向量不一致时,代表第四匹配过程匹配失败,图像采集装置的拍摄方向不是针对路网道路的。The camera posture is used to represent the shooting direction of the image acquisition device when collecting image data, and can be represented by a three-dimensional vector. When the camera posture is consistent with the three-dimensional vector corresponding to the extension direction of the road network, it means that the fourth matching process is successful. The shooting direction of the image acquisition device is directed at the road network; when the camera posture is consistent with the extension direction of the road network, When the corresponding three-dimensional vectors are inconsistent, it means that the fourth matching process fails, and the shooting direction of the image acquisition device is not aimed at the roads of the road network.

在一些实施方式中,上述行驶特征可以通过以下方式生成:根据图像数据对应的采集信息,生成车辆的行驶特征。其中,采集信息包括以下至少一项:采集地址、采集时间、高度信息和采集图像时的相机姿态。In some implementations, the above driving characteristics can be generated in the following manner: generating the driving characteristics of the vehicle based on the collected information corresponding to the image data. The collection information includes at least one of the following: collection address, collection time, height information, and camera posture when collecting images.

其中,采集信息是采集图像数据时的辅助信息,用于表示采集图像数据时的场景。上述采集地址是采集图像数据时车辆的所在地址,可以用GPS坐标表示。采集时间是采集图像数据的时间,可以用GPS时间表示。高度信息是采集图像数据时车辆所处的高度,可以用GPS高程信息表示,例如,车辆在高架上行驶或在桥下道路行驶时,高度不同。Among them, the collection information is auxiliary information when collecting image data, and is used to represent the scene when collecting image data. The above collection address is the address of the vehicle when collecting image data, which can be represented by GPS coordinates. The collection time is the time when image data is collected, which can be expressed in GPS time. Height information is the height of the vehicle when image data is collected, which can be represented by GPS elevation information. For example, the height of a vehicle is different when it is driving on an elevated highway or on a road under a bridge.

具体的,上述行驶轨迹可以通过以下方式生成:根据同一车辆所对应的多帧图像数据分别对应的采集地址,生成车辆的行驶轨迹。也就是说,行驶轨迹中包括该多帧图像数据分别对应的采集地址,将采集地址作为车辆在行驶过程中的经过地址。Specifically, the above driving trajectory can be generated in the following manner: generating the driving trajectory of the vehicle based on the collection addresses corresponding to the multiple frames of image data corresponding to the same vehicle. That is to say, the driving trajectory includes collection addresses corresponding to the multiple frames of image data, and the collection addresses are used as the passing addresses of the vehicle during driving.

相应的,上述第一匹配过程包括:从上述行驶轨迹中,确定落入围栏区域的采集地址数量。若采集地址数量大于或等于第一阈值,则确定行驶轨迹与围栏区域匹配成功,也就是第一匹配过程匹配成功;否则,确定行驶轨迹与围栏区域匹配失败,也就是第一匹配过程匹配失败。Correspondingly, the above-mentioned first matching process includes: determining the number of collection addresses falling into the fenced area from the above-mentioned driving trajectory. If the number of collected addresses is greater than or equal to the first threshold, it is determined that the driving trajectory and the fence area are successfully matched, that is, the first matching process is successful; otherwise, it is determined that the driving trajectory and the fence area fail to match, that is, the first matching process fails.

其中,上述第一阈值可以是固定的数值,例如,60。第一阈值还可以是随着行驶轨迹中的采集地址总数量动态变化的数值,具体可以为行驶轨迹中的采集地址总数量和预设占比的乘积,也就是说行驶轨迹中落入围栏区域内的采集地址数量占比是否大于或等于预设占比。例如,行驶轨迹中的采集地址总数量×70%。当然,当上述第一阈值随着行驶轨迹中的采集地址总数量动态变化时,第一匹配过程的匹配准确度更高。Wherein, the above-mentioned first threshold may be a fixed value, for example, 60. The first threshold can also be a value that changes dynamically with the total number of collection addresses in the driving trajectory. Specifically, it can be the product of the total number of collection addresses in the driving trajectory and the preset proportion. That is to say, the driving trajectory falls into the fenced area. Whether the proportion of the number of collection addresses within is greater than or equal to the preset proportion. For example, the total number of collected addresses in the driving trajectory × 70%. Of course, when the above-mentioned first threshold dynamically changes with the total number of collected addresses in the driving trajectory, the matching accuracy of the first matching process is higher.

图3是本申请实施例提供的一种行驶轨迹和路网道路的围栏区域之间的关系示意图。参照图3所示,车辆的行驶轨迹包括D1、D2、D3、D4、D5、D6、D7、D8、D9、D10共10个采集地址,这10个采集地址可以是该车辆采集10帧图像数据时分别对应的采集地址。从图3中可以看出,行驶轨迹中的9个采集地址落入路网道路的围栏区域W内,行驶轨迹中的1个采集地址落入路网道路的围栏区域W外。Figure 3 is a schematic diagram of the relationship between a driving trajectory and a fenced area of a road network provided by an embodiment of the present application. Referring to Figure 3, the driving trajectory of the vehicle includes a total of 10 collection addresses D1, D2, D3, D4, D5, D6, D7, D8, D9, and D10. These 10 collection addresses can be used to collect 10 frames of image data for the vehicle. corresponding collection addresses respectively. As can be seen from Figure 3, 9 collection addresses in the driving trajectory fall within the fenced area W of the road network, and one collection address in the driving trajectory falls outside the fenced area W of the road network.

当上述第一阈值为行驶轨迹中的采集地址总数量×70%时,对于图3所示的场景,第一阈值具体取值为10×70%=7。而由于落入围栏区域W中的采集地址数量9大于上述第一阈值7,因此,可以确定车辆的行驶轨迹和路网道路的围栏区域W匹配。When the above-mentioned first threshold is the total number of collection addresses in the driving trajectory × 70%, for the scenario shown in Figure 3, the specific value of the first threshold is 10 × 70% = 7. Since the number 9 of collected addresses falling into the fenced area W is greater than the above-mentioned first threshold 7, it can be determined that the driving trajectory of the vehicle matches the fenced area W of the road network.

综上所述,本申请实施例可以通过行驶轨迹中落入围栏区域内的采集地址数量,实现上述第一匹配过程,可以保证行驶轨迹和路网道路的围栏区域之间的准确匹配。To sum up, the embodiments of the present application can realize the above-mentioned first matching process based on the number of collected addresses that fall into the fenced area in the driving trajectory, and can ensure accurate matching between the driving trajectory and the fenced area of the road network.

对于上述第二匹配过程,可以通过以下过程实现匹配:根据同一车辆所对应的至少两帧图像数据分别对应的采集地址和采集时间,确定车辆到达第一位置的第一时间,以及到达第二位置的第二时间;然后,根据第一时间和第二时间的大小关系确定行驶方向。具体的,若第一时间小于第二时间,则确定行驶方向为第一位置至第二位置的方向;若第二时间小于第一时间,则确定行驶方向为第二位置至第一位置的方向。For the above second matching process, matching can be achieved through the following process: according to the collection address and collection time corresponding to at least two frames of image data corresponding to the same vehicle, determine the first time when the vehicle reaches the first position, and the first time when the vehicle reaches the second position. the second time; then, determine the driving direction based on the relationship between the first time and the second time. Specifically, if the first time is less than the second time, the traveling direction is determined to be the direction from the first position to the second position; if the second time is less than the first time, the traveling direction is determined to be the direction from the second position to the first position. .

其中,上述第一时间是车辆到达第一位置的时间,第二时间是车辆到达第二位置的时间。第一时间和第二时间的确定策略相同,以确定第一时间为例进行说明,可以通过以下多种策略确定第一时间。Wherein, the above-mentioned first time is the time when the vehicle reaches the first position, and the second time is the time when the vehicle reaches the second position. The determination strategies of the first time and the second time are the same. Determining the first time is used as an example for explanation. The first time can be determined through the following multiple strategies.

在第一种时间确定策略中,可以将第一位置和至少两帧图像数据分别对应的采集地址进行匹配,以将与第一位置一致的采集地址所对应的采集时间作为第一时间。In the first time determination strategy, the first position and the collection addresses corresponding to at least two frames of image data can be matched, so that the collection time corresponding to the collection address consistent with the first position is used as the first time.

在第二种时间确定策略中,可以从中选取与第一位置最接近的至少一个采集地址,然后,根据最接近的至少一个采集地址分别对应的采集时间的平均值作为第一时间。In the second time determination strategy, at least one collection address closest to the first location may be selected, and then the average value of the collection times corresponding to the at least one closest collection address may be used as the first time.

在第三种时间确定策略中,可以根据采集地址和采集时间模拟得到车辆的行驶路线,行驶路线是连续的路线,其上每个位置均对应有一个时间,用于表示车辆到达该位置的时间,然后,在该第一行驶路线上找到第一位置,以将第一位置对应的时间作为第一时间。In the third time determination strategy, the vehicle's driving route can be simulated based on the collection address and collection time. The driving route is a continuous route, and each location on it corresponds to a time, which is used to represent the time when the vehicle arrives at that location. , and then find the first location on the first driving route, and use the time corresponding to the first location as the first time.

当上述第一种时间确定策略失败时,可以采用第二时间确定策略或第三时间确定策略。When the above-mentioned first time determination strategy fails, the second time determination strategy or the third time determination strategy may be adopted.

在通过上述至少一种时间策略得到行驶方向时,可以将行驶方向与路网道路的指向方向匹配。当行驶方向和路网道路的指向方向相同时,确定上述第二匹配过程匹配成功;当行驶方向和路网道路的指向方向不相同时,确定上述第二匹配过程匹配失败。When the driving direction is obtained through at least one of the above time strategies, the driving direction can be matched with the pointing direction of the road network road. When the driving direction and the pointing direction of the road network road are the same, it is determined that the above second matching process is successful; when the driving direction and the pointing direction of the road network road are not the same, it is determined that the above second matching process fails.

在另一些实施方式中,在确定第一时间和第二时间之后,可以将第一时间和第二时间作为行驶特征,以将其与路网道路的指向方向进行匹配。以指向方向为第一位置至第二位置为例,当第一时间小于第二时间时,确定行驶方向和路网道路的指向方向匹配成功;当第一时间大于或等于第一时间时,确定行驶方向和路网道路的指向方向匹配失败。In other embodiments, after determining the first time and the second time, the first time and the second time may be used as driving characteristics to match them with the pointing direction of the road network road. Taking the pointing direction as the first position to the second position as an example, when the first time is less than the second time, it is determined that the driving direction and the pointing direction of the road network are successfully matched; when the first time is greater than or equal to the first time, it is determined The driving direction and the pointing direction of the road network failed to match.

对于前述第三种匹配过程,当图像采集装置在采集图像数据时同时提供了高程信息时,可以将高程信息作为行驶特征中的高度信息。当上述图像采集装置不提供高程信息时,可以通过以下过程确定行驶特征中的高度信息:首先,根据图像数据的采集信息和图像数据的画面信息,确定车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物;然后,根据车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物,确定行驶高度。具体的,若行驶路线形状为直线、行驶速度为匀速以及车辆上方不存在遮挡物,则代表车辆一直匀速前行,可以认为车辆未经过路口,此时,由于车辆上方不存在遮挡物,那么可以认为车辆行驶在高架桥上,此时确定行驶高度为高架路高度;否则,可以认为车辆行驶在高架桥下面的普通道路上,此时,确定行驶高度为普通路高度。For the aforementioned third matching process, when the image acquisition device provides elevation information at the same time when collecting image data, the elevation information can be used as the height information in the driving characteristics. When the above-mentioned image acquisition device does not provide elevation information, the height information in the driving characteristics can be determined through the following process: First, according to the acquisition information of the image data and the screen information of the image data, determine the shape of the vehicle's driving route, the driving speed and the height above the vehicle. Whether there are obstructions; then, the driving height is determined based on the shape of the vehicle's driving route, driving speed, and whether there are obstructions above the vehicle. Specifically, if the shape of the driving route is a straight line, the driving speed is constant, and there are no obstructions above the vehicle, it means that the vehicle has been moving forward at a constant speed, and it can be considered that the vehicle has not passed the intersection. At this time, since there are no obstructions above the vehicle, then it can If the vehicle is considered to be driving on a viaduct, the driving height is determined to be the elevated road height; otherwise, the vehicle can be considered to be driving on an ordinary road under the viaduct, and the driving height is determined to be the ordinary road height.

其中,普通路高度是高架路以外的道路高度,通常可以为0。行驶路线形状可以根据行驶轨迹确定,行驶轨迹的确定过程可以参照前述说明。行驶路线形状可以包括但不限于:直线、左转曲线、右转曲线等,行驶路线形状用于判断车辆是否直行。当行驶路线形状对应直线时,代表车辆直行,否则,代表车辆转弯。Among them, the ordinary road height is the height of roads other than elevated roads, which can usually be 0. The shape of the driving route can be determined based on the driving trajectory, and the process of determining the driving trajectory can refer to the foregoing description. The driving route shape may include but is not limited to: a straight line, a left-turn curve, a right-turn curve, etc. The driving route shape is used to determine whether the vehicle is going straight. When the shape of the driving route corresponds to a straight line, it means that the vehicle is going straight; otherwise, it means that the vehicle is turning.

图4是本申请实施例提供的一种行驶路线形状示意图。参照图4所示,当车辆从位置A1行驶至位置A2时,行驶路线形状为直线。当车辆从位置A1行驶至位置A3时,行驶路线形状为左转曲线。当车辆从位置A1行驶至位置A4时,行驶路线形状为右转曲线。Figure 4 is a schematic diagram of a driving route shape provided by an embodiment of the present application. Referring to FIG. 4 , when the vehicle travels from position A1 to position A2, the shape of the traveling route is a straight line. When the vehicle travels from position A1 to position A3, the shape of the driving route is a left-turn curve. When the vehicle travels from position A1 to position A4, the shape of the driving route is a right-turn curve.

车辆上方是否存在遮挡物,可以通过图像数据对应的画面信息分析得到。在本申请实施例中,遮挡物主要指高架桥。Whether there is an obstruction above the vehicle can be obtained by analyzing the screen information corresponding to the image data. In the embodiment of this application, the obstruction mainly refers to the viaduct.

行驶速度是车辆在行驶过程中的速度,可以为多个,任意两帧图像数据的采集之间都可以计算得到一个行驶速度。该行驶速度可以根据两帧图像数据的采集地址之间的距离、采集时间之间的时间差计算得到,具体为距离和时间差的比值。The driving speed is the speed of the vehicle during driving, and it can be multiple. A driving speed can be calculated between the collection of any two frames of image data. The driving speed can be calculated based on the distance between the collection addresses of the two frames of image data and the time difference between the collection times, specifically the ratio of the distance to the time difference.

下面给出一种行驶速度的一种计算过程。首先,对同一车辆对应的连续多帧图像数据,按照帧数间隔N-1进行图像采样,得到M帧图像,例如,当N为10时,可以从100帧图像数据中采样得到10帧图像。然后,对于采样得到的M帧图像,可以根据每两个相邻的图像数据计算得到一个行驶速度,这样,可以得到M-1个行驶速度:V_1至V_M-1。A calculation process for a driving speed is given below. First, for continuous multiple frames of image data corresponding to the same vehicle, image sampling is performed according to the frame number interval N-1 to obtain M frames of images. For example, when N is 10, 10 frames of images can be obtained by sampling from 100 frames of image data. Then, for the sampled M frames of images, a driving speed can be calculated based on each two adjacent image data. In this way, M-1 driving speeds can be obtained: V_1 to V_M-1.

在得到多个行驶速度时,可以确定行驶速度是否为匀速,具体包括:首先,计算平均速度;然后,判断M-1个行驶速度:V_1至V_M-1分别与平均速度V_A之间的差值,若差值均小于预设阈值,则确定为匀速,否则,确定为非匀速,包括:加速、减速等。When multiple driving speeds are obtained, it can be determined whether the driving speed is uniform, including: first, calculating the average speed; then, judging the difference between M-1 driving speeds: V_1 to V_M-1 and the average speed V_A , if the differences are less than the preset threshold, it is determined to be a uniform speed, otherwise, it is determined to be a non-uniform speed, including: acceleration, deceleration, etc.

上述计算平均速度的策略可以包括多种。The above-mentioned strategies for calculating average speed can include multiple methods.

在第一种平均速度的计算策略中,可以计算M-1个行驶速度的平均速度V_A。In the first average speed calculation strategy, the average speed V_A of M-1 driving speeds can be calculated.

在第二种平均速度的计算策略中,上述连续多帧图像数据是车辆进入路网道路至退出路网道路中得到的,从而可以将第一帧图像数据的采集时间作为进入时间,将最后一帧图像数据的采集时间作为退出时间,以计算行驶时长。将第一帧图像数据对应的采集地址和最后一帧图像数据对应的采集地址之间的距离作为路网道路的道路长度。可以根据道路长度和行驶时长计算得到平均速度。In the second calculation strategy of average speed, the above-mentioned consecutive multiple frames of image data are obtained from the vehicle entering the road network to exiting the road network. Therefore, the collection time of the first frame of image data can be regarded as the entry time, and the last frame of image data can be regarded as the entry time. The collection time of frame image data is used as the exit time to calculate the driving time. The distance between the collection address corresponding to the first frame of image data and the collection address corresponding to the last frame of image data is regarded as the road length of the road network. The average speed can be calculated based on the road length and driving time.

在车辆高速行驶过程中,虽然第一帧图像的采集时间滞后于进入路网道路的时长很短,但是车辆已经在路网道路上行驶了一段距离。同理,在最后一帧图像采集之后,车辆还在路网道路上行驶一段距离后才退出路网道路。因此,需要对道路长度增加一个预留长度,以使计算平均速度时使用的距离尽可能的接近实际长度,可以通过以下公式计算得到平均速度:(道路长度+预留长度)/行驶时长。When the vehicle is traveling at high speed, although the acquisition time of the first frame of image lags behind the time it enters the road network for a short period of time, the vehicle has already traveled a certain distance on the road network. In the same way, after the last frame of image collection, the vehicle still travels on the road network for a certain distance before exiting the road network. Therefore, it is necessary to add a reserved length to the road length so that the distance used in calculating the average speed is as close as possible to the actual length. The average speed can be calculated by the following formula: (road length + reserved length) / driving time.

上述预留长度与车辆的行驶速度和相邻两帧图像数据的采集时间差相关,按照经验值设置好行驶速度和采集时间差之后,可以计算得到预留长度。The above reserved length is related to the vehicle's driving speed and the collection time difference of two adjacent frames of image data. After setting the driving speed and collection time difference according to empirical values, the reserved length can be calculated.

图5是本申请实施例提供的一种行驶速度和图像数据之间的关系示意图。参照图5所示,存在10帧图像数据P1至P10,分别对应采集地址D1至D10,以及采集时间T1至T10,且T1至T10逐渐增大。因此,可以根据图像数据P1和P2的采集地址D1和D2之间的距离D(D1,D2)和T2-T1,得到第一个行驶速度V_1=D(D1,D2)/(T2-T1)。同理,可以得到第二至第九个行驶速度V_2=D(D2,D3)/(T3-T2)、V_3=D(D3,D4)/(T4-T3)、V_4=D(D4,D5)/(T5-T4)、V_5=D(D5,D6)/(T6-T5)、V_6=D(D6,D7)/(T7-T6)、V_7=D(D7,D8)/(T8-T7)、V_8=D(D8,D9)/(T9-T8)、V_9=D(D9,D10)/(T10-T9)。Figure 5 is a schematic diagram of the relationship between driving speed and image data provided by an embodiment of the present application. Referring to FIG. 5 , there are 10 frames of image data P1 to P10, which respectively correspond to the collection addresses D1 to D10 and the collection times T1 to T10, and T1 to T10 gradually increase. Therefore, the first driving speed V_1=D(D1, D2)/(T2-T1) can be obtained based on the distance D(D1, D2) and T2-T1 between the collection addresses D1 and D2 of the image data P1 and P2. . In the same way, we can get the second to ninth driving speeds V_2=D(D2, D3)/(T3-T2), V_3=D(D3, D4)/(T4-T3), V_4=D(D4, D5 )/(T5-T4), V_5=D(D5, D6)/(T6-T5), V_6=D(D6, D7)/(T7-T6), V_7=D(D7, D8)/(T8- T7), V_8=D(D8, D9)/(T9-T8), V_9=D(D9, D10)/(T10-T9).

此外,从图5中可以看出,第一帧图像P1的采集地址和最后一帧图像P10的采集地址之间的距离为实际长度。第一帧图像P1之前和最后一帧图像P10之后均具有半径为预留长度/2的半圆,以在车辆驶入路网道路之前设置预留长度/2,以及,在车辆驶出路网道路之后设置预留长度/2。In addition, it can be seen from Figure 5 that the distance between the collection address of the first frame image P1 and the collection address of the last frame image P10 is the actual length. There is a semicircle with a radius of reserved length/2 before the first frame image P1 and after the last frame image P10, so as to set the reserved length/2 before the vehicle enters the road network, and when the vehicle exits the road network Then set the reserved length/2.

S204:通过图像数据更新匹配成功的路网道路在路网数据库中对应的属性信息。S204: Update the corresponding attribute information of the successfully matched road network road in the road network database through the image data.

其中,属性信息可以是路网道路对应的可能发生变化的任意属性,包括但不限于:路口数量、路口红绿灯时长、人行道信息等。Among them, the attribute information can be any attribute that may change corresponding to the road network, including but not limited to: the number of intersections, intersection traffic light duration, sidewalk information, etc.

可以理解的是,上述属性信息可以从图像数据中的画面信息中解析得到。当图像数据中的画面信息解析得到的属性信息和路网数据库中对应的属性信息不一致时,可以通过解析得到的属性信息更新路网数据库中的属性信息。It can be understood that the above attribute information can be obtained by analyzing the picture information in the image data. When the attribute information obtained by parsing the picture information in the image data is inconsistent with the corresponding attribute information in the road network database, the attribute information in the road network database can be updated with the parsed attribute information.

在一些实施方式中,为了尽可能的提高路网道路的属性信息更新准确度,需要保证图像数据的质量。在本申请实施例中,可以在更新路网道路在路网数据库中对应的属性信息之前,还可以滤除一些质量较差的图像数据。质量较差的图像数据可以包括以下至少一种图像数据:目标时间段外的图像数据、目标区域外的图像数据、处于目标天气状态外采集的图像数据、行驶道路上遮挡面积大于或等于第二阈值的图像数据、以及太阳方位角在预设角度范围外的图像数据,太阳方位角包括太阳和车辆所在直线与车辆的行驶方向之间的角度。In some implementations, in order to improve the accuracy of updating attribute information of road network roads as much as possible, it is necessary to ensure the quality of image data. In this embodiment of the present application, some image data with poor quality can also be filtered out before updating the corresponding attribute information of the road network roads in the road network database. Image data of poor quality may include at least one of the following image data: image data outside the target time period, image data outside the target area, image data collected outside the target weather state, and the occlusion area on the driving road is greater than or equal to the second The image data of the threshold, and the image data of the sun azimuth angle outside the preset angle range, the sun azimuth angle includes the angle between the straight line between the sun and the vehicle and the driving direction of the vehicle.

其中,上述目标时间段可以是光照较好和/或时间较近的时间段。一方面,可以尽可能的保证图像数据的光照度,避免图像过暗导致的图像清晰度较差;另一方面,还可以保证图像数据尽可能是最新的,有助于保证图像数据分析得到的路网道路的属性信息是最新的,可以提高路网道路的属性信息的准确度。The above-mentioned target time period may be a time period with better lighting and/or a closer time. On the one hand, it can ensure the illumination of the image data as much as possible to avoid poor image clarity caused by too dark an image; on the other hand, it can also ensure that the image data is as up-to-date as possible, which helps to ensure the path of image data analysis. The attribute information of the network roads is the latest, which can improve the accuracy of the attribute information of the road network roads.

对于上述目标时间段外的图像数据,可以以下过程实现滤除:首先,根据图像数据的采集时间和采集地址,确定日照时间段,日照时间段与采集地址在采集时间所对应的日出时间和日落时间相关联;然后,根据日照时间段和/或当前时间之前的预设时间段,生成目标时间段;最后,滤除采集时间位于对应目标时间段外的图像数据。For image data outside the above target time period, the following process can be used to filter out: First, determine the sunshine time period based on the collection time and collection address of the image data. The sunrise time and the sunrise time corresponding to the collection time period and the collection address at the collection time are The sunset time is associated; then, the target time period is generated based on the sunshine time period and/or the preset time period before the current time; finally, the image data whose acquisition time is outside the corresponding target time period is filtered out.

上述日出时间和日落时间可以根据采集时间和采集地址从日出日落数据库中读取。由于不同时间不同地址的日出日落时间不同,因此,本申请的上述方案可以保证日出时间和日落时间是与采集时间和采集地址匹配的准确时间,有助于提高图像数据的筛选准确度,进而提高更新路网道路的属性信息的准确度。The above-mentioned sunrise time and sunset time can be read from the sunrise and sunset database according to the collection time and collection address. Since the sunrise and sunset times are different at different times and addresses, the above solution of this application can ensure that the sunrise time and sunset time are accurate times that match the collection time and collection address, which helps to improve the screening accuracy of image data. This improves the accuracy of updating attribute information of roads in the road network.

在得到上述日出时间和日落时间之后,可以确定日照时间段。可以直接将日出时间至日落时间之间的时间段作为日照时间段。但是考虑到日出之后或日落之前的光照也较低,因此,可以将日出时间+T至日落时间-T之间的时间段作为日照时间段。其中,T可以根据经验灵活设置,例如,可以设置为30分钟。After obtaining the above sunrise time and sunset time, the sunshine period can be determined. The period between sunrise time and sunset time can be directly used as the sunshine period. However, considering that the illumination is also low after sunrise or before sunset, the period between sunrise time + T and sunset time - T can be regarded as the sunshine period. Among them, T can be set flexibly based on experience, for example, it can be set to 30 minutes.

上述预设时间段的时长也可以灵活设置,例如,可以设置为3天,此时,预设时间段为最近3天。The length of the above-mentioned preset time period can also be set flexibly. For example, it can be set to 3 days. In this case, the preset time period is the last 3 days.

在确定日照时间段和/或上述预设时间段之后,可以确定目标时间段。目标时间段可以为日照时间段,或预设时间段,或日照时间段和预设时间段的重叠时间段。例如,目标时间段可以为早上7:30至晚上7:30之间的时间段,也可以为近3天的时间段,也可以包括近3天内早上7:30至晚上7:30之间的多个时间段。After determining the sunshine period and/or the above-mentioned preset time period, the target time period may be determined. The target time period can be a sunshine time period, a preset time period, or an overlapping time period of the sunshine time period and the preset time period. For example, the target time period can be the time period between 7:30 am and 7:30 pm, or the time period in the past 3 days, or it can also include the time period between 7:30 am and 7:30 pm in the past 3 days. Multiple time periods.

对于上述目标区域外的图像数据,可以通过以下过程实现滤除:确定图像数据的采集地址,以确定该采集地址是否属于目标区域。若不是,则滤除该图像数据,否则,保留该图像数据。其中,目标区域可以是出发更新任务时设置的。本申请实施例可以通过目标区域的图像数据筛选,实现对部分区域的路网道路的更新,也可以避免其余区域的图像数据的干扰,可以提高更新准确度。For image data outside the above target area, filtering can be achieved through the following process: determine the collection address of the image data to determine whether the collection address belongs to the target area. If not, the image data is filtered out, otherwise, the image data is retained. Among them, the target area can be set when starting the update task. The embodiments of the present application can update the road network in some areas by filtering the image data of the target area, and can also avoid the interference of image data in other areas, thereby improving the update accuracy.

对于上述目标天气状态外的图像数据,可以通过以下过程实现滤除:首先,根据图像数据的采集时间和采集地址,确定对应的天气状态,以保证天气状态的准确度;然后,滤除天气状态为目标天气状态之外的图像数据。目标天气状态包括可见度大于或等于第三阈值的天气状态。For image data other than the above target weather conditions, filtering can be achieved through the following process: first, determine the corresponding weather condition based on the collection time and collection address of the image data to ensure the accuracy of the weather condition; then, filter out the weather condition is image data outside the target weather state. The target weather conditions include weather conditions with visibility greater than or equal to the third threshold.

可以理解的是,天气状态与采集时间、采集地址相关联,不同采集时间和/或不同采集地址,可能对应不同的天气状态。具体的,可以根据采集时间、采集地址,从气象网中获取对应的天气状态。为了提高准确度,可以根据采集时间获取小时级的天气状态。It can be understood that the weather state is associated with the collection time and collection address, and different collection times and/or different collection addresses may correspond to different weather states. Specifically, the corresponding weather status can be obtained from the weather network based on the collection time and collection address. In order to improve accuracy, hour-level weather status can be obtained based on the collection time.

其中,可见度大于或等于第三阈值的天气状态,可以包括:晴天、或雾霾较小、或雨雪较小的天气。在可见度较大的天气状态下,采集的图像数据的清晰度较高,在可见度较低的天气状态下,采集的图像数据的清晰度较低。第三阈值可以根据经验设置,例如,可以设置为500,可见度大于或等于500时,采集的图像清晰度可以满足识别准确度的要求。The weather conditions in which the visibility is greater than or equal to the third threshold may include: sunny days, or weather with light haze, or light rain or snow. In weather conditions with greater visibility, the clarity of the image data collected is higher; in weather conditions with lower visibility, the clarity of the image data collected is lower. The third threshold can be set based on experience, for example, it can be set to 500. When the visibility is greater than or equal to 500, the clarity of the collected image can meet the requirements for recognition accuracy.

本申请可以滤除可见度小于第三阈值的天气状态下采集的图像数据,这样可以保证图像数据的清晰度,以提高路网道路的更新准确度。This application can filter out image data collected under weather conditions with visibility less than the third threshold, thus ensuring the clarity of the image data and improving the update accuracy of the road network.

对于上述行驶道路上遮挡面积大于或等于第二阈值的图像数据,可以通过以下过程实现滤除:首先,从图像数据中识别行驶道路上的遮挡面积,包括但不限于:车辆遮挡、雪遮挡、其余物体遮挡等;然后,滤除遮挡面积大于或等于第二阈值的图像数据。For the image data whose occlusion area on the driving road is greater than or equal to the second threshold, filtering can be achieved through the following process: first, identify the occlusion area on the driving road from the image data, including but not limited to: vehicle occlusion, snow occlusion, Occlusion by other objects, etc.; then, filter out image data whose occlusion area is greater than or equal to the second threshold.

其中,第二阈值可以为固定数值,例如,10平方米。第二阈值也可以随着道路面积而变化,例如,可以为道路面积×预设面积占比。例如,当预设面积占比为30%时,第二阈值为道路面积的30%。The second threshold may be a fixed value, for example, 10 square meters. The second threshold can also change with the road area, for example, it can be the road area × the preset area ratio. For example, when the preset area ratio is 30%, the second threshold is 30% of the road area.

图6是本申请实施例提供的一种行驶道路上的遮挡面积示意图。参照图6所示,道路面积为S,其中包括遮挡面积S1至S3,S1=6平方米,S2=4平方米,S3=1平方米,道路面积S为50平方米。因此,当第二阈值为道路面积S的30%=50×30%=15时,由于遮挡面积S1+S2+S3=6+4+1=11,从而该图像数据可以保留。Figure 6 is a schematic diagram of the blocking area on a driving road provided by an embodiment of the present application. Referring to Figure 6, the road area is S, including the blocking areas S1 to S3, S1=6 square meters, S2=4 square meters, S3=1 square meter, and the road area S is 50 square meters. Therefore, when the second threshold is 30%=50×30%=15 of the road area S, the image data can be retained due to the occlusion area S1+S2+S3=6+4+1=11.

当上述行驶道路或遮挡面积为规则图形时,可以从图像数据中识别得到行驶道路的长宽尺寸,以通过规则图形对应的面积公式计算得到。例如,行驶道路通常为矩形,那么可以根据长和宽乘积得到道路面积S。When the above-mentioned driving road or blocking area is a regular graphic, the length and width of the driving road can be identified from the image data and calculated through the area formula corresponding to the regular graphic. For example, driving roads are usually rectangular, so the road area S can be obtained based on the product of length and width.

本申请可以滤除遮挡面积过大的图像数据,以保证可以准确的从中识别出来路网道路的属性信息,有助于提高路网道路的属性信息更新准确度。This application can filter out image data with an excessively large occluded area to ensure that the attribute information of the road network roads can be accurately identified, which helps to improve the accuracy of updating the attribute information of the road network roads.

对于太阳方位角在预设角度范围外的图像数据,可以通过以下过程实现滤除:首先,根据图像数据的采集时间和采集地址,分别确定太阳和车辆所形成的直线,以及所述车辆的行驶方向;然后,确定该直线和行驶方向之间的角度作为太阳方位角;最后,滤除太阳方位角在预设角度范围之外的图像数据。For image data whose sun azimuth angle is outside the preset angle range, filtering can be achieved through the following process: First, according to the collection time and collection address of the image data, determine the straight line formed by the sun and the vehicle, as well as the driving direction of the vehicle. direction; then, determine the angle between the straight line and the driving direction as the sun azimuth angle; finally, filter out image data whose sun azimuth angle is outside the preset angle range.

图7是本申请实施例提供的一种太阳方向角的示意图。参照图7所示,车辆所在位置X与太阳所在位置Y形成一条直线L,其与车辆的行驶方向F形成的角度J为太阳方向角。Figure 7 is a schematic diagram of a sun direction angle provided by an embodiment of the present application. Referring to FIG. 7 , the position X of the vehicle and the position Y of the sun form a straight line L, and the angle J formed by it and the traveling direction F of the vehicle is the sun direction angle.

上述车辆所在位置X为图像数据所对应的采集地址。太阳位置Y可以根据图像数据的采集时间和采集地址确定。当太阳方位角在预设角度范围内时,采集图像数据时不是逆光的,因此,图像数据不会出现过曝问题,而当太阳方向角在预设角度范围外时,采集图像数据时是逆光的,因此,图像数据可能会出现过曝问题。例如,图像采集装置在车辆行驶过程中均朝向车辆行驶方向采集图像数据,以获取包括行驶道路的画面信息,因此,预设角度范围可以为0至20以及40至180度,预设角度范围外为20度至40度。在这种场景下,早上某一时间段,或下午某一时间段,当车辆迎着太阳行驶时,会导致针对前方道路采集的图像数据出现过曝,而其余时间不会出现过曝问题。The above vehicle location X is the collection address corresponding to the image data. The sun position Y can be determined based on the collection time and collection address of the image data. When the sun's azimuth angle is within the preset angle range, the image data is not backlit when collecting it, so the image data will not be overexposed. When the sun's azimuth angle is outside the preset angle range, the image data is backlit when it is collected. , therefore, the image data may be overexposed. For example, the image acquisition device collects image data in the direction of the vehicle while the vehicle is driving to obtain picture information including the driving road. Therefore, the preset angle range can be 0 to 20 and 40 to 180 degrees. is 20 degrees to 40 degrees. In this scenario, when a vehicle is driving toward the sun during a certain time period in the morning or a certain time period in the afternoon, the image data collected on the road ahead will be overexposed, but the problem will not occur during the rest of the time.

本申请实施例可以根据太阳方位角滤除掉可能会存在曝光问题的图像数据,以进一步提高图像数据的质量,进而提高更新路网道路的属性信息的准确度。Embodiments of the present application can filter out image data that may have exposure problems based on the sun's azimuth angle to further improve the quality of the image data, thereby improving the accuracy of updating attribute information of roads in the road network.

图8是本申请实施例提供的一种路网更新过程的详细流程图。参照图8所示,上述路网更新过程的详细流程包括以下步骤S301至S322。Figure 8 is a detailed flow chart of a road network update process provided by an embodiment of the present application. Referring to FIG. 8 , the detailed flow of the above road network update process includes the following steps S301 to S322.

S301:获取车辆在行驶过程中采集的图像数据。S301: Obtain image data collected while the vehicle is driving.

在执行S301之后,可以直行四种匹配,包括:S302至S306的第一匹配过程、S307至S311的第二匹配过程、S312至S318的第三匹配过程以及S319的第四匹配过程。这四种匹配过程可以同时进行,也可以依次进行,本申请实施例对其顺序不做限制。After executing S301, four types of matching can be performed directly, including: the first matching process of S302 to S306, the second matching process of S307 to S311, the third matching process of S312 to S318, and the fourth matching process of S319. These four matching processes can be performed simultaneously or sequentially, and the embodiments of this application do not limit their order.

S302:根据同一车辆所对应的多个图像数据分别对应的采集地址,生成车辆的行驶轨迹。S302: Generate the driving trajectory of the vehicle based on the collection addresses corresponding to the multiple image data corresponding to the same vehicle.

S303:从行驶轨迹中,确定落入围栏区域的采集地址数量。S303: Determine the number of collection addresses falling into the fenced area from the driving trajectory.

S304:确定采集地址数量是否大于或等于第一阈值。S304: Determine whether the number of collection addresses is greater than or equal to the first threshold.

若是,则进入S305,否则,进入S306。If yes, go to S305, otherwise, go to S306.

S305:确定行驶轨迹与围栏区域匹配成功。S305: It is determined that the driving trajectory and the fence area are successfully matched.

S306:确定行驶轨迹与围栏区域匹配失败。S306: It is determined that the driving trajectory and the fence area fail to match.

S307:根据同一车辆所对应的至少两帧图像数据分别对应的采集地址和采集时间,确定车辆到达第一位置的第一时间,以及到达第二位置的第二时间。S307: Determine the first time for the vehicle to arrive at the first position and the second time for it to arrive at the second position based on the collection addresses and collection times corresponding to at least two frames of image data corresponding to the same vehicle.

S308:确定第一时间是否小于第二时间。S308: Determine whether the first time is less than the second time.

若是,则进入S309;否则进入S310。If yes, go to S309; otherwise, go to S310.

S309:确定行驶方向为第一位置至第二位置的方向。S309: Determine the traveling direction as the direction from the first position to the second position.

S310:确定行驶方向为第二位置至第一位置的方向。S310: Determine the traveling direction as the direction from the second position to the first position.

S311:将行驶方向和指向方向匹配。S311: Match the driving direction and pointing direction.

S312:确定图像数据是否对应有高程信息。S312: Determine whether the image data corresponds to elevation information.

若是,则进入S313;否则进入S314。If yes, go to S313; otherwise, go to S314.

S313:将高程信息作为行驶高度。S313: Use the elevation information as the driving height.

S314:根据图像数据的采集信息和图像数据的画面信息,确定车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物。S314: Based on the collection information of the image data and the screen information of the image data, determine the shape of the vehicle's driving route, the driving speed and whether there are obstructions above the vehicle.

S315:确定行驶路线形状是否为直线、行驶速度是否为匀速以及车辆上方是否不存在遮挡物。S315: Determine whether the shape of the driving route is a straight line, whether the driving speed is uniform, and whether there are no obstructions above the vehicle.

若是,则进入S316;否则进入S317。If yes, go to S316; otherwise, go to S317.

S316:确定行驶高度为高架路高度。S316: Determine the driving height to be the elevated road height.

S317:确定行驶高度为普通路高度。S317: Determine the driving height to be the normal road height.

S318:将行驶高度和道路高度进行匹配。S318: Match ride height with road height.

S319:将采集图像时的相机姿态和路网道路的延伸方向所对应的三维向量进行匹配。S319: Match the camera posture when collecting images with the three-dimensional vector corresponding to the extension direction of the road network.

S320:确定上述四种匹配过程是否均匹配成功。S320: Determine whether all the above four matching processes are successful.

若是,则进入S320,否则不通过该图像数据对路网道路的属性信息进行匹配。If so, proceed to S320, otherwise the image data will not be used to match the attribute information of the roads in the road network.

S321:滤除以下至少一种图像数据:目标时间段外的图像数据、目标区域外的图像数据、处于目标天气状态外采集的图像数据、行驶道路上遮挡面积大于或等于第二阈值的图像数据、以及太阳方位角在预设角度范围外的图像数据。S321: Filter out at least one of the following image data: image data outside the target time period, image data outside the target area, image data collected outside the target weather state, image data with an occlusion area on the driving road greater than or equal to the second threshold. , and image data whose sun azimuth angle is outside the preset angle range.

S322:通过图像数据更新匹配成功的路网道路在路网数据库中对应的属性信息。S322: Update the corresponding attribute information of the successfully matched road network road in the road network database through the image data.

需要说明的是,上述S301至S322可以参照前述相应位置的说明,在此不再赘述。此外,上述S301至S322可以在相互独立的基础上,灵活调整顺序,本申请对其顺序不做限制。It should be noted that the above S301 to S322 may refer to the foregoing description of the corresponding positions, and will not be described again here. In addition, the order of the above-mentioned S301 to S322 can be flexibly adjusted on the basis of mutual independence, and this application does not limit the order.

图9是本申请实施例提供的一种路网更新装置的结构框图。参照图9所示,上述路网更新装置400包括:Figure 9 is a structural block diagram of a road network updating device provided by an embodiment of the present application. Referring to Figure 9, the above-mentioned road network updating device 400 includes:

图像数据获取模块401,用于获取车辆在行驶过程中采集的图像数据。The image data acquisition module 401 is used to acquire image data collected while the vehicle is driving.

行驶特征生成模块402,用于根据所述图像数据生成所述车辆的行驶特征。The driving characteristic generation module 402 is used to generate the driving characteristic of the vehicle according to the image data.

匹配模块403,用于将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配。The matching module 403 is used to match the driving characteristics with the road characteristics of the road network roads in the road network database.

更新模块404,用于通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息。The update module 404 is configured to update the attribute information corresponding to the successfully matched road network road in the road network database through the image data.

可选地,所述道路特征包括以下至少一项:围栏区域、道路方向和道路高度。Optionally, the road features include at least one of: fenced area, road direction, and road height.

可选地,所述匹配模块402还用于:Optionally, the matching module 402 is also used to:

根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,所述采集信息包括以下至少一项:采集地址、采集时间、高度信息和采集图像时的相机姿态。The driving characteristics of the vehicle are generated according to the collection information corresponding to the image data. The collection information includes at least one of the following: collection address, collection time, height information and camera posture when collecting images.

可选地,所述道路方向包括以下至少一项:所述路网道路上的第一位置至第二位置的指向方向、所述路网道路的延伸方向所对应的三维向量;Optionally, the road direction includes at least one of the following: the pointing direction from the first position to the second position on the road network, and the three-dimensional vector corresponding to the extension direction of the road network;

所述行驶特征包括以下至少一项:行驶轨迹、行驶方向、行驶高度和所述相机姿态;The driving characteristics include at least one of the following: driving trajectory, driving direction, driving height and the camera attitude;

所述匹配模块402还用于:The matching module 402 is also used to:

执行以下至少一项匹配过程:所述行驶轨迹和所述围栏区域之间的匹配、所述行驶方向和所述指向方向之间的匹配、所述行驶高度和所述道路高度之间的匹配、以及所述相机姿态和所述三维向量之间的匹配;Perform at least one of the following matching processes: matching between the driving trajectory and the fence area, matching between the driving direction and the pointing direction, matching between the driving height and the road height, and the matching between the camera pose and the three-dimensional vector;

若至少一项所述匹配过程匹配成功,则确定所述行驶特征和所述道路特征匹配成功。If at least one of the matching processes is successful, it is determined that the driving characteristics and the road characteristics are successfully matched.

可选地,所述匹配模块402还用于:Optionally, the matching module 402 is also used to:

根据同一车辆所对应的多个所述图像数据分别对应的采集地址,生成所述车辆的行驶轨迹;Generate the driving trajectory of the vehicle according to the collection addresses corresponding to the plurality of image data corresponding to the same vehicle;

从所述行驶轨迹中,确定落入所述围栏区域的采集地址数量;From the driving trajectory, determine the number of collection addresses falling into the fence area;

若所述采集地址数量大于或等于第一阈值,则确定所述行驶轨迹与所述围栏区域匹配成功。If the number of collected addresses is greater than or equal to the first threshold, it is determined that the driving trajectory matches the fence area successfully.

可选地,所述匹配模块402还用于:Optionally, the matching module 402 is also used to:

根据同一车辆所对应的至少两帧所述图像数据分别对应的采集地址和采集时间,确定所述车辆到达所述第一位置的第一时间,以及到达所述第二位置的第二时间;Determine the first time for the vehicle to arrive at the first position and the second time for the vehicle to arrive at the second position based on the collection address and collection time corresponding to at least two frames of the image data corresponding to the same vehicle;

若所述第一时间小于所述第二时间,则确定所述行驶方向为所述第一位置至所述第二位置的方向;If the first time is less than the second time, determine the traveling direction to be the direction from the first position to the second position;

若所述第二时间小于所述第一时间,则确定所述行驶方向为所述第二位置至所述第一位置的方向。If the second time is less than the first time, the traveling direction is determined to be the direction from the second position to the first position.

可选地,所述匹配模块402还用于:Optionally, the matching module 402 is also used to:

根据所述图像数据的采集信息和所述图像数据的画面信息,确定所述车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物;According to the collection information of the image data and the picture information of the image data, determine the shape of the driving route of the vehicle, the driving speed and whether there are obstructions above the vehicle;

若所述行驶路线形状为直线、所述行驶速度为匀速以及所述车辆上方不存在遮挡物,则确定所述行驶高度为高架路高度;If the shape of the driving route is a straight line, the driving speed is constant, and there is no obstruction above the vehicle, then the driving height is determined to be the elevated road height;

否则,确定所述行驶高度为普通路高度。Otherwise, the driving height is determined to be an ordinary road height.

可选地,所述装置还包括:Optionally, the device also includes:

滤除模块,用于通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息之前,滤除以下至少一种图像数据:目标时间段外的图像数据、目标区域外的图像数据、处于目标天气状态外采集的图像数据、所述行驶道路上遮挡面积大于或等于第二阈值的图像数据、以及太阳方位角在预设角度范围外的图像数据,所述太阳方位角包括太阳和所述车辆所在直线与所述车辆的行驶方向之间的角度。A filtering module configured to filter out at least one of the following image data before the corresponding attribute information of the successfully matched road network road in the road network database through the image data update: image data outside the target time period, Image data outside the target area, image data collected outside the target weather state, image data with an occlusion area on the driving road greater than or equal to the second threshold, and image data with the sun azimuth outside the preset angle range, the The sun azimuth angle includes the angle between the straight line between the sun and the vehicle and the traveling direction of the vehicle.

可选地,所述滤除模块还用于:Optionally, the filtering module is also used to:

根据所述图像数据的采集时间和采集地址,确定日照时间段,所述日照时间段与所述采集地址在所述采集时间所对应的日出时间和日落时间相关联;Determine a sunshine time period based on the collection time and collection address of the image data, and the sunshine time period is associated with the sunrise time and sunset time corresponding to the collection address at the collection time;

根据所述日照时间段和/或当前时间之前的预设时间段,生成所述目标时间段;Generate the target time period according to the sunshine time period and/or a preset time period before the current time;

滤除所述采集时间位于对应所述目标时间段外的图像数据。Filter out image data whose acquisition time is outside the corresponding target time period.

可选地,所述滤除模块还用于:Optionally, the filtering module is also used to:

根据所述图像数据的采集时间和采集地址,确定对应的天气状态;Determine the corresponding weather state according to the collection time and collection address of the image data;

滤除所述天气状态为所述目标天气状态之外的图像数据,所述目标天气状态包括可见度大于或等于第三阈值的天气状态。Filter out image data whose weather state is other than the target weather state, where the target weather state includes a weather state with visibility greater than or equal to a third threshold.

可选地,所述滤除模块还用于:Optionally, the filtering module is also used to:

根据所述图像数据的采集时间和采集地址,分别确定太阳和所述车辆所形成的直线,以及所述车辆的行驶方向;According to the collection time and collection address of the image data, determine the straight line formed by the sun and the vehicle, and the driving direction of the vehicle;

确定所述直线和所述行驶方向之间的角度作为所述太阳方位角;Determine the angle between the straight line and the traveling direction as the solar azimuth angle;

滤除所述太阳方位角在所述预设角度范围之外的图像数据。Image data whose sun azimuth angle is outside the preset angle range is filtered out.

上述装置实施例与前述方法实施例对应,具体说明可以参照前述方法实施例中的说明,本申请实施例在此不再赘述。The above device embodiment corresponds to the foregoing method embodiment. For specific description, please refer to the description in the foregoing method embodiment. The embodiments of the present application will not be described again here.

图10是本申请实施例提供的一种电子设备的结构框图。该电子设备600包括存储器602和至少一个处理器601。Figure 10 is a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 600 includes a memory 602 and at least one processor 601 .

其中,存储器602存储计算机执行指令。Among them, memory 602 stores computer execution instructions.

至少一个处理器601执行存储器602存储的计算机执行指令,使得电子设备600实现前述图2中的方法。At least one processor 601 executes computer execution instructions stored in the memory 602, so that the electronic device 600 implements the aforementioned method in FIG. 2 .

此外,该电子设备600还可以包括接收器603和发送器604,接收器603用于接收从其余装置或设备的信息,并转发给处理器601,发送器604用于将信息发送到其余装置或设备。In addition, the electronic device 600 may also include a receiver 603 and a transmitter 604, the receiver 603 is used to receive information from other devices or devices and forward it to the processor 601, and the transmitter 604 is used to send the information to other devices or devices. equipment.

在示例性实施例中,还提供了一种非临时性的计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,该计算机执行指令被处理器执行时用于实现上述路网更新方法。In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided. Computer-executable instructions are stored in the computer-readable storage medium. When executed by the processor, the computer-executable instructions are used to implement the above-mentioned road network. Update method.

在示例性实施例中,还提供了一种计算机程序产品,用于实现前述路网更新方法。In an exemplary embodiment, a computer program product is also provided for implementing the aforementioned road network update method.

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

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

Claims (14)

1.一种路网更新方法,其特征在于,所述方法包括:1. A road network update method, characterized in that the method includes: 获取车辆在行驶过程中采集的图像数据;Obtain image data collected while the vehicle is driving; 根据所述图像数据生成所述车辆的行驶特征;Generate driving characteristics of the vehicle based on the image data; 将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配;Match the driving characteristics with the road characteristics of the road network roads in the road network database; 通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息。The corresponding attribute information of the successfully matched road network road in the road network database is updated through the image data. 2.根据权利要求1所述的方法,其特征在于,所述道路特征包括以下至少一项:围栏区域、道路方向和道路高度。2. The method of claim 1, wherein the road characteristics include at least one of: fenced area, road direction, and road height. 3.根据权利要求2所述的方法,其特征在于,所述根据所述图像数据生成所述车辆的行驶特征,包括:3. The method according to claim 2, characterized in that generating the driving characteristics of the vehicle according to the image data includes: 根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,所述采集信息包括以下至少一项:采集地址、采集时间、高度信息和采集图像时的相机姿态。The driving characteristics of the vehicle are generated according to the collection information corresponding to the image data. The collection information includes at least one of the following: collection address, collection time, height information and camera posture when collecting images. 4.根据权利要求3所述的方法,其特征在于,所述道路方向包括以下至少一项:所述路网道路上的第一位置至第二位置的指向方向、所述路网道路的延伸方向所对应的三维向量;4. The method according to claim 3, wherein the road direction includes at least one of the following: the pointing direction from the first position to the second position on the road network, the extension of the road network The three-dimensional vector corresponding to the direction; 所述行驶特征包括以下至少一项:行驶轨迹、行驶方向、行驶高度和所述相机姿态;The driving characteristics include at least one of the following: driving trajectory, driving direction, driving height and the camera attitude; 所述将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配,包括:Matching the driving characteristics with the road characteristics of the road network roads in the road network database includes: 执行以下至少一项匹配过程:所述行驶轨迹和所述围栏区域之间的匹配、所述行驶方向和所述指向方向之间的匹配、所述行驶高度和所述道路高度之间的匹配、以及所述相机姿态和所述三维向量之间的匹配;Perform at least one of the following matching processes: matching between the driving trajectory and the fence area, matching between the driving direction and the pointing direction, matching between the driving height and the road height, and the matching between the camera pose and the three-dimensional vector; 若至少一项所述匹配过程匹配成功,则确定所述行驶特征和所述道路特征匹配成功。If at least one of the matching processes is successful, it is determined that the driving characteristics and the road characteristics are successfully matched. 5.根据权利要求4所述的方法,其特征在于,所述根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,包括:5. The method according to claim 4, characterized in that generating the driving characteristics of the vehicle according to the collection information corresponding to the image data includes: 根据同一车辆所对应的多个所述图像数据分别对应的采集地址,生成所述车辆的行驶轨迹;Generate the driving trajectory of the vehicle according to the collection addresses corresponding to the plurality of image data corresponding to the same vehicle; 执行所述行驶轨迹和所述围栏区域之间的匹配,包括:Performing matching between the driving trajectory and the fence area includes: 从所述行驶轨迹中,确定落入所述围栏区域的采集地址数量;From the driving trajectory, determine the number of collection addresses falling into the fence area; 若所述采集地址数量大于或等于第一阈值,则确定所述行驶轨迹与所述围栏区域匹配成功。If the number of collected addresses is greater than or equal to the first threshold, it is determined that the driving trajectory matches the fence area successfully. 6.根据权利要求4所述的方法,其特征在于,所述根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,包括:6. The method according to claim 4, characterized in that generating the driving characteristics of the vehicle according to the collection information corresponding to the image data includes: 根据同一车辆所对应的至少两帧所述图像数据分别对应的采集地址和采集时间,确定所述车辆到达所述第一位置的第一时间,以及到达所述第二位置的第二时间;Determine the first time for the vehicle to arrive at the first position and the second time for the vehicle to arrive at the second position based on the collection address and collection time corresponding to at least two frames of the image data corresponding to the same vehicle; 若所述第一时间小于所述第二时间,则确定所述行驶方向为所述第一位置至所述第二位置的方向;If the first time is less than the second time, determine the traveling direction to be the direction from the first position to the second position; 若所述第二时间小于所述第一时间,则确定所述行驶方向为所述第二位置至所述第一位置的方向。If the second time is less than the first time, the traveling direction is determined to be the direction from the second position to the first position. 7.根据权利要求4所述的方法,其特征在于,所述根据所述图像数据对应的采集信息,生成所述车辆的行驶特征,包括:7. The method according to claim 4, characterized in that generating the driving characteristics of the vehicle according to the collection information corresponding to the image data includes: 根据所述图像数据的采集信息和所述图像数据的画面信息,确定所述车辆的行驶路线形状、行驶速度和车辆上方是否存在遮挡物;According to the collection information of the image data and the picture information of the image data, determine the shape of the driving route of the vehicle, the driving speed and whether there are obstructions above the vehicle; 若所述行驶路线形状为直线、所述行驶速度为匀速以及所述车辆上方不存在遮挡物,则确定所述行驶高度为高架路高度;If the shape of the driving route is a straight line, the driving speed is constant, and there is no obstruction above the vehicle, then the driving height is determined to be the elevated road height; 否则,确定所述行驶高度为普通路高度。Otherwise, the driving height is determined to be an ordinary road height. 8.根据权利要求1至7任一项所述的方法,其特征在于,所述通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息之前,还包括:8. The method according to any one of claims 1 to 7, characterized in that the road network road successfully matched by the image data update is preceded by the corresponding attribute information in the road network database. include: 滤除以下至少一种图像数据:目标时间段外的图像数据、目标区域外的图像数据、处于目标天气状态外采集的图像数据、行驶道路上遮挡面积大于或等于第二阈值的图像数据、以及太阳方位角在预设角度范围外的图像数据,所述太阳方位角包括太阳和所述车辆所在直线与所述车辆的行驶方向之间的角度。Filter out at least one of the following image data: image data outside the target time period, image data outside the target area, image data collected outside the target weather state, image data with an occlusion area on the driving road greater than or equal to the second threshold, and Image data whose sun azimuth angle is outside the preset angle range. The sun azimuth angle includes the angle between the straight line between the sun and the vehicle and the driving direction of the vehicle. 9.根据权利要求8所述的方法,其特征在于,所述滤除以下至少一种图像数据,包括:9. The method of claim 8, wherein filtering out at least one of the following image data includes: 根据所述图像数据的采集时间和采集地址,确定日照时间段,所述日照时间段与所述采集地址在所述采集时间所对应的日出时间和日落时间相关联;Determine a sunshine time period based on the collection time and collection address of the image data, and the sunshine time period is associated with the sunrise time and sunset time corresponding to the collection address at the collection time; 根据所述日照时间段和/或当前时间之前的预设时间段,生成所述目标时间段;Generate the target time period according to the sunshine time period and/or a preset time period before the current time; 滤除所述采集时间位于对应所述目标时间段外的图像数据。Filter out image data whose acquisition time is outside the corresponding target time period. 10.根据权利要求8所述的方法,其特征在于,所述滤除以下至少一种图像数据,包括:10. The method according to claim 8, characterized in that filtering out at least one of the following image data includes: 根据所述图像数据的采集时间和采集地址,确定对应的天气状态;Determine the corresponding weather state according to the collection time and collection address of the image data; 滤除所述天气状态为所述目标天气状态之外的图像数据,所述目标天气状态包括可见度大于或等于第三阈值的天气状态。Filter out image data whose weather state is other than the target weather state, where the target weather state includes a weather state with visibility greater than or equal to a third threshold. 11.根据权利要求8所述的方法,其特征在于,所述滤除以下至少一种图像数据,包括:11. The method of claim 8, wherein filtering out at least one of the following image data includes: 根据所述图像数据的采集时间和采集地址,分别确定太阳和所述车辆所形成的直线,以及所述车辆的行驶方向;According to the collection time and collection address of the image data, determine the straight line formed by the sun and the vehicle, and the driving direction of the vehicle; 确定所述直线和所述行驶方向之间的角度作为所述太阳方位角;Determine the angle between the straight line and the traveling direction as the solar azimuth angle; 滤除所述太阳方位角在所述预设角度范围之外的图像数据。Image data whose sun azimuth angle is outside the preset angle range is filtered out. 12.一种路网更新装置,其特征在于,包括:12. A road network updating device, characterized in that it includes: 图像数据获取模块,用于获取车辆在行驶过程中采集的图像数据;The image data acquisition module is used to acquire image data collected while the vehicle is driving; 行驶特征生成模块,用于根据所述图像数据生成所述车辆的行驶特征;A driving characteristic generation module, configured to generate the driving characteristics of the vehicle according to the image data; 匹配模块,用于将所述行驶特征和路网数据库中的路网道路的道路特征进行匹配;A matching module for matching the driving characteristics with the road characteristics of the road network roads in the road network database; 更新模块,用于通过所述图像数据更新匹配成功的所述路网道路在所述路网数据库中对应的属性信息。An update module, configured to update the corresponding attribute information of the successfully matched road network road in the road network database through the image data. 13.一种电子设备,包括存储器和至少一个处理器;13. An electronic device including a memory and at least one processor; 其中,所述存储器存储计算机执行指令;Wherein, the memory stores computer execution instructions; 所述至少一个处理器执行所述存储器存储的所述计算机执行指令,使得所述电子设备实现权利要求1至11任一项所述的路网更新方法。The at least one processor executes the computer execution instructions stored in the memory, so that the electronic device implements the road network update method described in any one of claims 1 to 11. 14.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至11任一项所述的方法。14. A computer-readable storage medium, characterized in that computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used to implement any one of claims 1 to 11 the method described.
CN202311361732.9A 2023-10-19 2023-10-19 Road network update method and equipment Pending CN117632978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311361732.9A CN117632978A (en) 2023-10-19 2023-10-19 Road network update method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311361732.9A CN117632978A (en) 2023-10-19 2023-10-19 Road network update method and equipment

Publications (1)

Publication Number Publication Date
CN117632978A true CN117632978A (en) 2024-03-01

Family

ID=90027742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311361732.9A Pending CN117632978A (en) 2023-10-19 2023-10-19 Road network update method and equipment

Country Status (1)

Country Link
CN (1) CN117632978A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118689893A (en) * 2024-08-27 2024-09-24 浙江吉利控股集团有限公司 Data updating method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118689893A (en) * 2024-08-27 2024-09-24 浙江吉利控股集团有限公司 Data updating method, device and storage medium

Similar Documents

Publication Publication Date Title
EP3719449B1 (en) Driving condition specific sensor quality index
US20210012122A1 (en) Need-Sensitive Image And Location Capture System And Method
CN108196285B (en) Accurate positioning system based on multi-sensor fusion
CN111999752A (en) Method, apparatus and computer storage medium for determining road information data
CN112380312A (en) Laser map updating method based on grid detection, terminal and computer equipment
CN118816852A (en) Sparse maps for autonomous vehicle navigation
CN104573733A (en) High-precision map generation system and method based on high-definition ortho-photo map
CN110411440B (en) Road acquisition method, device, server and storage medium
CN111739323B (en) Method and device for acquiring intersection information
CN113313943A (en) Road side perception-based intersection traffic real-time scheduling method and system
CN117632978A (en) Road network update method and equipment
WO2025087122A1 (en) Identification for traffic behavior
CN114066974A (en) Target track generation method and device, electronic equipment and medium
CN115164918A (en) Semantic point cloud map construction method and device and electronic equipment
CN111651547B (en) Acquisition method, device and readable storage medium of high-precision map data
Minnikhanov et al. Detection of traffic anomalies for a safety system of smart city
CN115331181A (en) Vehicle image fusion method and device, computer equipment and storage medium
CN111435565A (en) Road traffic state detection method, road traffic state detection device, electronic equipment and storage medium
US20240295403A1 (en) Navigation system with semantic data map mechanism and method of operation thereof
CN115984417A (en) Semantic mapping method and device and storage medium
CN110764526A (en) Unmanned aerial vehicle flight control method and device
CN113920257A (en) Analysis report generation method and device, electronic equipment and storage medium
KR102581962B1 (en) Real-time precision road map update system that can independently set detection events for each area
US20240212224A1 (en) Method for generating traffic event video
CN115880888B (en) A method, device and medium for guiding intersection safety based on digital twin

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