WO2021115320A1 - Traffic evaluation method and system - Google Patents

Traffic evaluation method and system Download PDF

Info

Publication number
WO2021115320A1
WO2021115320A1 PCT/CN2020/134868 CN2020134868W WO2021115320A1 WO 2021115320 A1 WO2021115320 A1 WO 2021115320A1 CN 2020134868 W CN2020134868 W CN 2020134868W WO 2021115320 A1 WO2021115320 A1 WO 2021115320A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
traffic flow
data
historical
time period
Prior art date
Application number
PCT/CN2020/134868
Other languages
French (fr)
Chinese (zh)
Inventor
王宏伟
孙伟力
蒙元
吴天龙
Original Assignee
北京嘀嘀无限科技发展有限公司
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 北京嘀嘀无限科技发展有限公司 filed Critical 北京嘀嘀无限科技发展有限公司
Publication of WO2021115320A1 publication Critical patent/WO2021115320A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Definitions

  • the input/output 230 may input and/or output signals, data, information, and the like. In some embodiments, the input/output 230 may implement the interaction between the user and the processing device 110. In some embodiments, the input/output 230 may include an input device and an output device.
  • the input device may include a keyboard, a mouse, a touch screen, a microphone, etc., or any combination thereof.
  • the output device may include a display device, a speaker, a printer, a projector, etc. or any combination thereof.
  • a road has two or more nodes.
  • the two or more nodes may include the start point, the end point of the road, and the intersection of the road and other roads.
  • a part of the road between two intersections can be called a link.
  • the road section may be referred to as a target road section.
  • the target road section may be given an identification (ID) to distinguish it from other road sections.
  • ID identification
  • the response time may be used to indicate the length of time that the traffic flow speed of the target road section drops from a normal value to a minimum value. For example, in a heavy rainfall weather, starting from precipitation, the traffic flow speed of the target road section drops from a normal value to a minimum value.
  • the recovery time is used to indicate the length of time for the traffic flow speed of the target road section to recover from the lowest value to the normal value. For example, under heavy rainfall, the time period for the traffic flow velocity of the target road section to recover from the lowest value to the normal value at the end of the heavy rainfall.
  • the response rate may be used to indicate the rate at which the traffic flow speed of the target road section drops from a normal value to a minimum value.
  • the recovery rate is used to indicate the rate at which the traffic flow speed of the target road section recovers from the lowest value to the normal value.
  • the traffic flow velocity of the target road section is restored from the lowest value to the normal value after the end of the heavy rainfall.
  • the traffic evaluation parameters can not only indicate the size of the traffic performance loss of the target road section under the conditions of the meteorological data, but also the response time and response rate (for example, loss time and loss rate) and recovery time/rate. To evaluate the traffic recovery capability of the target road section under the weather data condition.
  • the reference traffic flow data includes the average processing results from 9:00 to 18:00 of the reference traffic flow data corresponding to a batch of Friday, for example, 9
  • the traffic flow curve corresponding to 18:00 to 18:00.
  • the processing device 110 (or the traffic assessment module 330) may determine one or more predicted traffic flow speeds corresponding to the one or more assessment moments based on the traffic flow speed prediction curve, and based on the traffic flow speed
  • the reference curve determines one or more reference traffic flow speeds corresponding to the one or more evaluation moments.
  • the processing device 110 (or the traffic evaluation module 330) can determine the traffic flow speed corresponding to each evaluation time on the speed flow curve.
  • t′ 0 , t′ 1 , and t′ 2 may be the evaluation moments
  • m 0 , m 2 may be reference traffic flow data
  • m 0 , m 1 , and m 2 may be predicted traffic flow data.
  • the processing device 110 may determine one or more first differences between the one or more evaluation moments, and specify the one or more first differences One of the values is used as the response time or the recovery time.
  • the traffic flow speed of the target road section (whether it is the predicted traffic flow speed or the reference traffic speed) is not affected by weather conditions.
  • the predicted traffic flow speed of the target road section is affected by weather conditions and drops to the lowest value.
  • the predicted traffic flow speed of the target road section begins to recover until it returns to the maximum value at time t′ 2.
  • the initial machine model may include a deep learning model.
  • sequence-to-sequence model may be a sequence-to-sequence model based on attention.
  • the attention-based sequence-to-sequence model may be based on an encoder and decoder architecture.
  • the encoder may include an encoder based on long short-term memory (LSTM), including LSTM, Bi-LSTM, CNN-LSTM, Conv-LSTM, TGC-LSTM, etc.
  • the decoder may include a decoder based on Gated Recurrent Unit (GRU), including GRU, Bi-GRU, DCGRU, and so on.
  • GRU Gated Recurrent Unit
  • a dropout technique with a ratio of 0.15 can be used to reduce overfitting during the training process.
  • the mean square error (Mean Squared Error) can be used as the loss function, and RMSprop as the optimizer (for example, the optimization loss function has a problem of excessive swing in the update, and further accelerates the convergence speed of the function), where the training batch
  • the size (Batch Size) is 64
  • the period (Epoch) is 400
  • Early Stopping technology is used in the training process to obtain the best training effect.
  • Step 1001 Obtain historical weather data and traffic flow historical data of the predetermined area.
  • the second type of parameters is about the key points of the traffic speed curve, where m 0 is the speed value at time t 0 ; t′ 0 is the same as t 0 ; m 1 is the lowest speed value of the traffic network in the observation window period T; t ′ 1 is the time to capture m 1 ; m 2 is determined by the following way, in the period (t′ 1 , t′ 1 +3), the speed value of the restored traffic network should be equal to m 0 , if the traffic in this period The maximum speed of the network is still less than m 0 , then the maximum speed is selected as the value of m 2 ; t′ 2 is the time to capture and confirm m 2.
  • the second determining module 1330 is configured to determine the traffic recovery capability based on the traffic flow data of the predetermined time.
  • the management department should grasp the specific conditions and changing trends of the urban transportation network, and be able to resume more effective emergency preparedness, response and handling plans.
  • the present disclosure can match meteorological data and traffic flow data for each road section in a predetermined area, by constructing a deep sequence model to predict the overall traffic flow speed of all road sections in the transportation network of the predetermined area, and at the same time construct a traffic recovery based on traffic performance loss Performance index capture algorithm, in the prediction of traffic flow speed, the traffic recovery performance index capture algorithm is used to obtain the prediction result of traffic recovery performance, and the prediction accuracy of traffic recovery performance index under different extreme weather and different geographical locations Make an evaluation.
  • the present disclosure can effectively use massive meteorological data, travel data, traffic data, etc. to optimize the depth sequence model, and through the depth sequence model to simulate and predict the traffic network conditions after extreme weather and the recovery performance of the traffic network, it is a good way for urban traffic. Before, during and after the occurrence of extreme weather or disasters, the management department should grasp the specific conditions and changing trends of the urban transportation network, and be able to resume more effective emergency preparedness, response and handling plans.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Primary Health Care (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Operations Research (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Traffic Control Systems (AREA)
  • Game Theory and Decision Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)

Abstract

A traffic evaluation method used for a target road section, the method comprising: acquiring meteorological data of a target road section within a certain time period and historical traffic flow data within a historical time period prior to the time period (401); on the basis of the historical traffic flow data and the meteorological data, using a trained prediction model to determine predicted traffic flow data of the target road section within the time period (403); and on the basis of the predicted traffic flow data, determining at least one traffic evaluation parameter related to the target road section within the time period (405), wherein the traffic evaluation parameter is used for evaluating the traffic recovery capacity of the target road section under the meteorological data condition.

Description

交通评估方法和系统Traffic evaluation method and system
优先权声明Priority statement
本申请要求2019年12月11日提交的申请号为201911267745.3的中国专利申请的优先权,所述申请以全文引用的方式并入本文中。This application claims the priority of the Chinese patent application with application number 201911267745.3 filed on December 11, 2019, which is incorporated herein by reference in its entirety.
技术领域Technical field
本申请涉及交通技术领域,特别涉及交通性能评估方法和系统。This application relates to the field of traffic technology, in particular to a method and system for evaluating traffic performance.
背景技术Background technique
城市交通管理部门希望能够提前了解所在城市在各种天气下的城市道路交通运行情况。例如,在极端天气导致的灾前、灾中和灾后的城市道路交通运行情况,继而在极端天气来临前做出更为合适的车辆、人员、路口信号灯调配方案。因此,有必要提出一种交通性能评估方案,用于对道路在各种天气情况下的交通性能进行评估。The urban traffic management department hopes to know in advance the operation of urban road traffic in the city in which it is located. For example, before, during and after the disaster caused by extreme weather, urban road traffic operation conditions, and then make more suitable vehicles, personnel, and intersection signal lights deployment plan before the arrival of extreme weather. Therefore, it is necessary to propose a traffic performance evaluation program to evaluate the road traffic performance under various weather conditions.
发明内容Summary of the invention
本申请一些实施例提供一种系统。所述系统包括至少一个存储介质,所述存储介质包括指令。以及至少一个处理器,所述至少一个处理器与所述至少一个存储介质通信,其中,在执行所述指令时,所述至少一个处理器被配置为执行以下操作。获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据;基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据;基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数,所述交通评估参数用于评估所述目标路段在所述气象数据条件下的交通恢复能力。Some embodiments of the application provide a system. The system includes at least one storage medium, and the storage medium includes instructions. And at least one processor, the at least one processor is in communication with the at least one storage medium, wherein, when the instruction is executed, the at least one processor is configured to perform the following operations. Obtain the meteorological data of the target road section in a certain time period and the historical traffic flow data in the historical time period before the time period; based on the historical traffic flow data and the meteorological data, use the trained prediction model to determine Predicting traffic flow data of the target road section in the time period; based on the predicted traffic flow data, determining at least one traffic evaluation parameter related to the target road section in the time period, and the traffic evaluation parameter is used for Evaluate the traffic recovery capability of the target road section under the weather data condition.
本申请一些实施例提供一种在计算设备上实现的方法。所述计算设备具有至少一个储存介质,所述存储介质用于存储指令。以及至少一个与所述至少一个存储介质通信的处理器。所述方法包括以下操作。获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据;基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据;基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数,所述交通评估参数用于评估所述目标路段在所述气象数据条件下的交通恢复能力。Some embodiments of the present application provide a method implemented on a computing device. The computing device has at least one storage medium, and the storage medium is used to store instructions. And at least one processor in communication with the at least one storage medium. The method includes the following operations. Obtain the meteorological data of the target road section in a certain time period and the historical traffic flow data in the historical time period before the time period; based on the historical traffic flow data and the meteorological data, use the trained prediction model to determine Predicting traffic flow data of the target road section in the time period; based on the predicted traffic flow data, determining at least one traffic evaluation parameter related to the target road section in the time period, and the traffic evaluation parameter is used for Evaluate the traffic recovery capability of the target road section under the weather data condition.
本申请一些实施例提供一种计算机可读存储介质,所述存储介质存储计算机指令,当计算机读取存储介质中的计算机指令后,计算机执行如下方法。所述方法包括:获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据;基 于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据;基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数,所述交通评估参数用于评估所述目标路段在所述气象数据条件下的交通恢复能力。Some embodiments of the present application provide a computer-readable storage medium that stores computer instructions. After the computer reads the computer instructions in the storage medium, the computer executes the following method. The method includes: obtaining meteorological data of a target road section in a certain period of time and historical traffic flow data of a historical period of time before the period of time; based on the historical traffic flow data and the meteorological data, using training A good prediction model determines the predicted traffic flow data of the target road section in the time period; based on the predicted traffic flow data, determines at least one traffic evaluation parameter related to the target road section in the time period, the The traffic evaluation parameter is used to evaluate the traffic recovery capability of the target road section under the weather data condition.
附图说明Description of the drawings
本申请将以示例性实施例的方式进一步说明,这些示例性实施例将通过附图进行详细描述。这些实施例并非限制性的,在这些实施例中,相同的编号表示相同的结构,其中:This application will be further described in the form of exemplary embodiments, and these exemplary embodiments will be described in detail with the accompanying drawings. These embodiments are not restrictive. In these embodiments, the same number represents the same structure, in which:
图1是根据本申请一些实施例所示的示例性交通评估系统的示意图;Fig. 1 is a schematic diagram of an exemplary traffic evaluation system according to some embodiments of the present application;
图2是根据本申请一些实施例所示的示例性计算设备的示例性硬件组件和/或软件组件的示意图;Fig. 2 is a schematic diagram of exemplary hardware components and/or software components of an exemplary computing device according to some embodiments of the present application;
图3A是根据本申请一些实施例所示的示例性处理设备的模块图;Fig. 3A is a block diagram of an exemplary processing device according to some embodiments of the present application;
图3B是根据本申请一些实施例所示的另一种示例性处理设备的模块图;Fig. 3B is a block diagram of another exemplary processing device according to some embodiments of the present application;
图4是根据本申请一些实施例所示的交通评估参数的确定方法的示例性流程图;Fig. 4 is an exemplary flowchart of a method for determining traffic evaluation parameters according to some embodiments of the present application;
图5是根据本申请一些实施例所示的交通评估参数的确定方法的示例性流程图;Fig. 5 is an exemplary flowchart of a method for determining traffic evaluation parameters according to some embodiments of the present application;
图6是根据本申请一些实施例所示的确定预测模型的示例性流程图;Fig. 6 is an exemplary flowchart of determining a prediction model according to some embodiments of the present application;
图7是根据本申请一些实施例所示用于描述气象数据对应的天气情况的示例性曲线图;FIG. 7 is an exemplary graph for describing weather conditions corresponding to meteorological data according to some embodiments of the present application;
图8是根据本申请一些实施例所示的交通流速度曲线的示例性示意图;Fig. 8 is an exemplary schematic diagram of a traffic flow speed curve according to some embodiments of the present application;
图9是根据本申请一些实施例所示的一种极端天气的交通信息处理方法的示例性流程图;Fig. 9 is an exemplary flow chart of a method for processing traffic information in extreme weather according to some embodiments of the present application;
图10是根据本申请一些实施例所示的获取预定区域的气象数据集合和交通流数据集合的示例性流程图;FIG. 10 is an exemplary flow chart for obtaining a collection of weather data and a collection of traffic flow data in a predetermined area according to some embodiments of the present application;
图11是根据本申请一些实施例所示的确定预定时间的交通流数据的示例性流程图;FIG. 11 is an exemplary flowchart of determining traffic flow data at a predetermined time according to some embodiments of the present application;
图12是根据本申请一些实施例所示的确定交通恢复能力的示例性流程图;FIG. 12 is an exemplary flowchart of determining the traffic recovery capability according to some embodiments of the present application;
图13是根据本申请一些实施例所示的极端天气的交通信息处理装置的模块图;和FIG. 13 is a block diagram of a traffic information processing device for extreme weather according to some embodiments of the present application; and
图14是根据本申请一些实施例所示的一种电子设备的模块图。Fig. 14 is a block diagram of an electronic device according to some embodiments of the present application.
具体实施方式Detailed ways
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图将本申请 应用于其它类似情景。除非从语言环境中显而易见或另做说明,图中相同标号代表相同结构或操作。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some examples or embodiments of the application. For those of ordinary skill in the art, without creative work, the application can be applied to the application according to these drawings. Other similar scenarios. Unless it is obvious from the language environment or otherwise stated, the same reference numerals in the figures represent the same structure or operation.
应当理解,本文使用的“系统”、“装置”、“单元”和/或“模组”是用于区分不同级别的不同组件、元件、部件、部分或装配的一种方法。然而,如果其他词语可实现相同的目的,则可通过其他表达来替换所述词语。It should be understood that the “system”, “device”, “unit” and/or “module” used herein is a method for distinguishing different components, elements, parts, parts, or assemblies of different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其它的步骤或元素。As shown in the present application and claims, unless the context clearly suggests exceptional circumstances, the words "a", "an", "an" and/or "the" do not specifically refer to the singular, but may also include the plural. Generally speaking, the terms "include" and "include" only suggest that the clearly identified steps and elements are included, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements.
本申请中使用了流程图用来说明根据本申请的实施例的系统所执行的操作。应当理解的是,前面或后面操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各个步骤。同时,也可以将其他操作添加到这些流程中,或从这些流程移除某一步或数步操作。In this application, a flowchart is used to illustrate the operations performed by the system according to the embodiment of the application. It should be understood that the preceding or following operations are not necessarily performed exactly in order. Instead, the steps can be processed in reverse order or at the same time. At the same time, you can also add other operations to these processes, or remove a step or several operations from these processes.
本申请的实施例可以应用于不同的运输系统,不同的运输系统包括但不限于陆地、海洋、航空、航天等中的一种或几种的组合。例如,出租车、专车、顺风车、巴士、代驾、火车、动车、高铁、船舶、飞机、热气球、无人驾驶的交通工具、收/送快递等应用了管理和/或分配的运输系统。本申请的不同实施例应用场景包括但不限于网页、浏览器插件、客户端、定制系统、企业内部分析系统、人工智能机器人等中的一种或几种的组合。应当理解的是,本申请的系统及方法的应用场景仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其它类似情景。例如,其他类似的引导用户停车系统。The embodiments of the present application can be applied to different transportation systems, and different transportation systems include, but are not limited to, one or a combination of land, ocean, aviation, aerospace, and the like. For example, taxis, private cars, ride-hailing cars, buses, agent driving, trains, high-speed trains, ships, airplanes, hot air balloons, unmanned vehicles, collection/delivery express delivery, etc. which apply management and/or distribution transportation systems . The application scenarios of different embodiments of the present application include, but are not limited to, one or a combination of web pages, browser plug-ins, clients, customized systems, enterprise internal analysis systems, artificial intelligence robots, and the like. It should be understood that the application scenarios of the system and method of the present application are only some examples or embodiments of the present application. For those of ordinary skill in the art, they can also be based on these drawings without creative work. Apply this application to other similar scenarios. For example, other similar guidance users to park systems.
目前,对于道路交通性能的评估,相关技术中多采用基于网络拓扑结构和仿真的方法进行,数学复杂度较高,在工程实际中存在困难。另一些方案是基于数据驱动方法对交通网络在极端天气下的性能表现进行评估和预测的技术,但方法主要集中在常规统计模型方面,如logistics regression等。基于现实数据和机器学习模型对道路交通性能的评估进行研究的技术还较少。At present, for the evaluation of road traffic performance, methods based on network topology and simulation are mostly used in related technologies. The mathematical complexity is high and there are difficulties in engineering practice. Other solutions are based on data-driven methods to evaluate and predict the performance of the transportation network in extreme weather, but the methods are mainly focused on conventional statistical models, such as logistics regression. There are still few technologies for research on road traffic performance evaluation based on real data and machine learning models.
在某地区发生极端天气的过程中,很多研究基于网络和优化的方法对城市道路交通网络的恢复能力进行了建模分析。但这类研究一般都包含研究者主观的建模侧重和针对某些确定网络节点攻击的假设,存在一些建模上的人为判断和对系统影响类型上(如恐怖袭击等)的限制。极端天气对于城市道路交通网络的干扰较为随机而且影响因素很多,网络和优化的方法对于这类研究问题并不是特别适用。In the process of extreme weather in a certain area, many studies have modeled and analyzed the resilience of urban road traffic networks based on network and optimization methods. However, this type of research generally includes the researcher's subjective modeling emphasis and assumptions for certain network node attacks. There are some artificial judgments in modeling and restrictions on the type of system impact (such as terrorist attacks, etc.). The interference of extreme weather on the urban road traffic network is relatively random and has many influencing factors. The network and optimization methods are not particularly suitable for this kind of research problems.
针对这种情况,一些研究尝试使用大数据的方法来评估城市道路交通网络遇到极端天 气的恢复能力,从而能覆盖更多对系统的影响类型。例如可以针对不同的极端天气种类,同时也减少了研究结论中一些人择要素的影响,更为全面和客观。这一类研究使用交通大数据(例如公交出行数据和出租车轨迹数据等)的统计建模方法来估计某个城市在某个极端天气事件下的交通恢复能力的时空变化情况,获取了关于恢复能力的一些定量的时空分布规律。但是,这类研究依旧存在一些局限。例如由于极端天气参数和交通参数间并非直接相关,这种复杂非线性关系的建模如果采用一般统计模型的平滑曲线拟合往往效果较差,这导致基于常规统计模型(如Logistics Regression)的恢复能力研究往往仅能对单一城市和单一极端天气事件下交通恢复能力进行案例分析,研究方法和结论的通用性较为局限。In response to this situation, some studies have tried to use big data methods to assess the resilience of urban road traffic networks to extreme weather, so as to cover more types of impacts on the system. For example, it can target different types of extreme weather, while also reducing the influence of some anthropogenic elements in the research conclusions, making it more comprehensive and objective. This type of research uses statistical modeling methods of traffic big data (such as bus travel data and taxi trajectory data, etc.) to estimate the temporal and spatial changes of a city’s traffic recovery capacity under an extreme weather event, and obtain information about the recovery Some quantitative temporal and spatial distribution laws of capacity. However, this type of research still has some limitations. For example, because extreme weather parameters and traffic parameters are not directly related, the modeling of this complex nonlinear relationship is often less effective if the smooth curve fitting of general statistical models is used, which leads to recovery based on conventional statistical models (such as Logistics Regression) Capability research is often only able to carry out case analysis of traffic recovery capabilities in a single city and a single extreme weather event, and the generality of research methods and conclusions is relatively limited.
因此,基于现有的网络和统计的研究视角,往往难以对不同的影响类型和大样本恢复能力事件进行分析,也难以对不同类型极端天气下的城市道路交通网络恢复能力特性得到一般性的和规律性的结论,造成准确率低下。Therefore, based on the existing network and statistical research perspectives, it is often difficult to analyze different impact types and large sample recovery events, and it is also difficult to obtain a general summary of the recovery capability characteristics of urban road traffic networks under different types of extreme weather. Regular conclusions result in low accuracy.
申请所披露的交通性能评估方法,基于大数据以及深度学习模型,对道路的交通流速度进行预测。并利用预测结果结合历史交通流速度,确定道路的交通性能的综合性判定,可以获取精准结果。The traffic performance evaluation method disclosed in the application is based on big data and deep learning models to predict the road traffic flow speed. And use the prediction result combined with the historical traffic flow speed to determine the comprehensive judgment of the road traffic performance, and accurate results can be obtained.
图1是根据本申请的一些实施例所示的示例性交通评估系统的示意图。在一些实施例中,交通评估系统100可以用于评估某一道路或某一区域内的多条道路在各种天气情况下的交通性能。例如,交通评估系统100可以用于评估在极端天气例如暴雨、台风等天气下道路的交通性能损失和性能恢复。在一些实施例中,交通评估系统100可以预测在极端天气发生时道路的交通流数据。例如,交通评估系统100可以基于与道路相关的历史气象数据和历史交通流数据确定在极端天气发生时道路的交通流数据。并基于预测的交通流数据对道路的交通性能进行评估。Fig. 1 is a schematic diagram of an exemplary traffic assessment system according to some embodiments of the present application. In some embodiments, the traffic evaluation system 100 may be used to evaluate the traffic performance of a certain road or multiple roads in a certain area under various weather conditions. For example, the traffic evaluation system 100 can be used to evaluate road traffic performance loss and performance recovery under extreme weather such as heavy rain, typhoon, and the like. In some embodiments, the traffic assessment system 100 can predict traffic flow data on the road when extreme weather occurs. For example, the traffic evaluation system 100 may determine the traffic flow data of the road when extreme weather occurs based on historical weather data and historical traffic flow data related to the road. And based on the predicted traffic flow data, the road traffic performance is evaluated.
如图1所示,交通评估系统100可以包括处理设备110、车辆120、存储设备130、网络140以及信息源150。处理设备110可以处理从车辆120、存储设备130和/或信息源150处获取的数据和/或信息。在一些实施例中,处理设备110可以处理所获取的信息和/或数据以执行本申请描述的一个或多个功能。例如,处理设备110可以获取一段时间内多个车辆120在需要进行交通性能评估的道路上的行驶速度,以及该道路相关的天气数据。并根据所获取的数据训练一个预测模型。在道路的交通性能评估过程中,处理设备110利用该预测模型确定在预测的天气条件下该道路的交通性能。在一些实施例中,处理设备110可以是独立的服务器或者服务器组。服务器组可以是集中式的或者分布式的(例如,处理设备110可以是分布系统)。在一些实施例中,处理设备110可以是本地的或者远程的。例如,处理设备110可通过网络140访问从车辆120、存储设备130和/或信息源150处获取信息和/或数据。 在一些实施例中,处理设备110可直接与车辆120、存储设备130和/或信息源150连接以获取信息和/或数据。在一些实施例中,处理设备110可在云平台上执行。例如,云平台可包括私有云、公共云、混合云、社区云、分散式云、内部云等中的一种或其任意组合。在一些实施例中,处理设备110可以集成于车辆120中。在一些实施例中,处理设备110可以通过图2所示的计算设备200实现。As shown in FIG. 1, the traffic evaluation system 100 may include a processing device 110, a vehicle 120, a storage device 130, a network 140 and an information source 150. The processing device 110 may process data and/or information obtained from the vehicle 120, the storage device 130, and/or the information source 150. In some embodiments, the processing device 110 may process the acquired information and/or data to perform one or more functions described in this application. For example, the processing device 110 may obtain the driving speed of a plurality of vehicles 120 on a road that needs to be evaluated for traffic performance within a period of time, and weather data related to the road. And train a predictive model based on the acquired data. In the process of evaluating the traffic performance of the road, the processing device 110 uses the prediction model to determine the traffic performance of the road under predicted weather conditions. In some embodiments, the processing device 110 may be an independent server or a server group. The server group may be centralized or distributed (for example, the processing device 110 may be a distributed system). In some embodiments, the processing device 110 may be local or remote. For example, the processing device 110 may access and obtain information and/or data from the vehicle 120, the storage device 130, and/or the information source 150 through the network 140. In some embodiments, the processing device 110 may be directly connected to the vehicle 120, the storage device 130, and/or the information source 150 to obtain information and/or data. In some embodiments, the processing device 110 may be executed on a cloud platform. For example, the cloud platform may include one or any combination of private cloud, public cloud, hybrid cloud, community cloud, decentralized cloud, internal cloud, etc. In some embodiments, the processing device 110 may be integrated in the vehicle 120. In some embodiments, the processing device 110 may be implemented by the computing device 200 shown in FIG. 2.
在一些实施例中,处理设备110可以包含一个或多个子处理设备(例如,单核处理器或多核处理器)。仅仅作为示例,处理设备110可以包括中央处理器(CPU)、专用集成电路(ASIC)、专用指令处理器(ASIP)、图形处理器(GPU)、物理处理器(PPU)、数字信号处理器(DSP)、现场可编程门阵列(FPGA)、可编辑逻辑电路(PLD)、控制器、微控制器单元、精简指令集电脑(RISC)、微处理器等或其任意组合。In some embodiments, the processing device 110 may include one or more sub-processing devices (for example, a single-core processor or a multi-core processor). For example only, the processing device 110 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction processor (ASIP), a graphics processing unit (GPU), a physical processor (PPU), a digital signal processor ( DSP), Field Programmable Gate Array (FPGA), Editable Logic Circuit (PLD), Controller, Microcontroller Unit, Reduced Instruction Set Computer (RISC), Microprocessor, etc. or any combination thereof.
车辆120可以是具备在道路上行驶资格/能力的车辆,包括摩托车、轿车、轿跑车、跑车、皮卡车、旅行车、运动型多功能车(SUV)、货车、换乘车等。在一些实施例中,车辆120可以包括车载终端。车载终端可以获取车辆120在行驶过程中所产生的位置数据和行驶数据,例如,定位位置、速度、加速度等。在一些实施例中,车辆120的相关人员(例如,司机和/或乘客)可以配有使用者终端,例如,智能移动设备比如智能手机。使用者终端可以安装有各类传感器,例如,定位装置、速度传感器、加速度传感器等。当车辆120的相关人员(例如,司机和/或乘客)携带使用者终端驾驶或乘坐车辆120时,这些传感器可以获取使用者终端的位置数据和运动数据,作为车辆120在行驶过程中的位置数据和行驶数据。The vehicle 120 may be a vehicle with the qualification/ability to drive on the road, including a motorcycle, a car, a coupe, a sports car, a pickup truck, a station wagon, a sports utility vehicle (SUV), a truck, a transfer vehicle, and the like. In some embodiments, the vehicle 120 may include an in-vehicle terminal. The vehicle-mounted terminal can obtain the position data and driving data generated by the vehicle 120 during the driving process, for example, positioning position, speed, acceleration, and so on. In some embodiments, relevant personnel of the vehicle 120 (for example, a driver and/or passengers) may be equipped with a user terminal, for example, a smart mobile device such as a smart phone. The user terminal may be equipped with various sensors, such as positioning devices, speed sensors, acceleration sensors, and so on. When the relevant personnel of the vehicle 120 (for example, the driver and/or passenger) carry the user terminal to drive or ride the vehicle 120, these sensors can obtain the location data and movement data of the user terminal as the location data of the vehicle 120 during the driving process. And driving data.
在一些实施例中,车辆120和/或使用者终端所具备的定位功能可以通过多种定位技术实现,例如,全球定位系统(GPS)、全球卫星导航系统(GLONASS)、北斗导航系统(BDS)、伽利略定位系统(GALILEO)、准天顶卫星系统(QZSS)、无线保真(Wi-Fi)定位技术等。在一些实施例中,车辆120可以将采集到的数据/信息通过网络140传输至处理设备110进行后续步骤。车辆120还可以将采集到的数据/信息存储至自身的存储器中,或通过网络140传输至存储设备130进行存储。在一些实施例中,车辆120包括的多个车辆例如车辆120-1、120-2、……、120-n可以共同采集数据。例如,多个车辆可以共同采集在同一条道路上行驶时所产生的各种数据。In some embodiments, the positioning function of the vehicle 120 and/or the user terminal can be implemented by multiple positioning technologies, for example, the global positioning system (GPS), the global satellite navigation system (GLONASS), and the Beidou navigation system (BDS) , Galileo positioning system (GALILEO), quasi-zenith satellite system (QZSS), wireless fidelity (Wi-Fi) positioning technology, etc. In some embodiments, the vehicle 120 may transmit the collected data/information via the network 140 to the processing device 110 for subsequent steps. The vehicle 120 may also store the collected data/information in its own memory, or transmit it to the storage device 130 via the network 140 for storage. In some embodiments, multiple vehicles included in the vehicle 120, such as vehicles 120-1, 120-2,..., 120-n, may collectively collect data. For example, multiple vehicles can collectively collect various data generated when driving on the same road.
存储设备130可以存储数据和/或指令。在一些实施例中,存储设备130可以存储车辆120和/或处理设备110获取的数据/信息。例如,存储设备130可以存储多个车辆在行驶时产生的行驶数据(例如,定位位置、行驶速度、行驶加速度等)。在一些实施例中,存储设备130可以存储处理设备110用于执行或使用以完成本申请中描述的示例性方法的数据和/或指令。在一些实施例中,存储设备130可以是处理设备110或者车辆120的一部分。The storage device 130 may store data and/or instructions. In some embodiments, the storage device 130 may store data/information acquired by the vehicle 120 and/or the processing device 110. For example, the storage device 130 may store driving data (for example, positioning positions, driving speeds, driving accelerations, etc.) generated when a plurality of vehicles are driving. In some embodiments, the storage device 130 may store data and/or instructions used by the processing device 110 to execute or use to complete the exemplary methods described in this application. In some embodiments, the storage device 130 may be part of the processing device 110 or the vehicle 120.
在一些实施例中,存储设备130可以包括大容量存储器、可移动存储器、易失性读写存储器、只读存储器(ROM)等或其任意组合。示例性的大容量存储器可以包括磁盘、光盘、固态磁盘等。示例性可移动存储器可以包括闪存驱动器、软盘、光盘、存储卡、压缩盘、磁带等。示例性的挥发性只读存储器可以包括随机存取内存(RAM)。示例性的RAM可包括动态RAM(DRAM)、双倍速率同步动态RAM(DDR SDRAM)、静态RAM(SRAM)、闸流体RAM(T-RAM)和零电容RAM(Z-RAM)等。示例性的ROM可以包括掩模ROM(MROM)、可编程ROM(PROM)、可擦除可编程ROM(EPROM)、电子可擦除可编程ROM(EEPROM)、光盘ROM(CD-ROM)和数字通用磁盘ROM等。在一些实施例中,存储设备130可以在云平台上实现。仅作为示例,云平台可以包括私有云、公共云、混合云、社区云、分布云、内部云、多层云等或其任意组合。在一些实施例中,特定类型的历史数据可以统一存储在一个云平台上,以便多个处理设备110或者车辆120访问或者更新,且保证数据的实时性和跨平台使用。In some embodiments, the storage device 130 may include mass memory, removable memory, volatile read-write memory, read-only memory (ROM), etc., or any combination thereof. Exemplary mass storage devices may include magnetic disks, optical disks, solid state disks, and the like. Exemplary removable storage may include flash drives, floppy disks, optical disks, memory cards, compact disks, magnetic tapes, and the like. An exemplary volatile read-only memory may include random access memory (RAM). Exemplary RAM may include dynamic RAM (DRAM), double rate synchronous dynamic RAM (DDR SDRAM), static RAM (SRAM), thyristor RAM (T-RAM), zero capacitance RAM (Z-RAM), and the like. Exemplary ROMs may include mask ROM (MROM), programmable ROM (PROM), erasable programmable ROM (EPROM), electronically erasable programmable ROM (EEPROM), compact disk ROM (CD-ROM), and digital General-purpose disk ROM, etc. In some embodiments, the storage device 130 may be implemented on a cloud platform. For example only, the cloud platform may include private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, internal cloud, multi-layer cloud, etc., or any combination thereof. In some embodiments, specific types of historical data may be uniformly stored on a cloud platform, so that multiple processing devices 110 or vehicles 120 can access or update, and ensure the real-time and cross-platform use of the data.
在一些实施例中,存储设备130可以连接到网络140以与交通评估系统100中的一个或以上组件(例如,处理设备110、车辆120、信息源150)通信。交通评估系统100中的一个或以上组件可以通过网络140访问存储设备130中存储的数据或指令。在一些实施例中,存储设备130可以与交通评估系统100中的一个或以上组件(例如,处理设备110、车辆120、信息源150)直接连接或通信。In some embodiments, the storage device 130 may be connected to the network 140 to communicate with one or more components in the traffic assessment system 100 (for example, the processing device 110, the vehicle 120, the information source 150). One or more components in the traffic evaluation system 100 can access data or instructions stored in the storage device 130 through the network 140. In some embodiments, the storage device 130 may directly connect or communicate with one or more components in the traffic assessment system 100 (for example, the processing device 110, the vehicle 120, and the information source 150).
网络140可以促进信息和/或数据的交换。在一些实施例中,交通评估系统100中的一个或以上组件(例如,处理设备110、车辆120、存储设备130、信息源150)可以通过网络140向/从交通评估系统100中的其他组件发送和/或接收信息和/或数据。例如,处理设备110可以通过网络140从车辆120、存储设备130和/或信息源150获取与道路相关的交通流数据和/或天气数据。又例如,处理设备110还可以通过网络140从存储设备130处获取历史运输服务相关的历史服务数据。The network 140 may facilitate the exchange of information and/or data. In some embodiments, one or more components in the traffic assessment system 100 (for example, the processing device 110, the vehicle 120, the storage device 130, and the information source 150) can be sent to/from other components in the traffic assessment system 100 via the network 140 And/or receive information and/or data. For example, the processing device 110 may obtain road-related traffic flow data and/or weather data from the vehicle 120, the storage device 130, and/or the information source 150 through the network 140. For another example, the processing device 110 may also obtain historical service data related to historical transportation services from the storage device 130 via the network 140.
在一些实施例中,网络140可以为任意形式的有线或无线网络或其任意组合。仅作为示例,网络140可以包括缆线网络、有线网络、光纤网络、远程通信网络、内部网络、互联网、局域网(LAN)、广域网(WAN)、无线局域网(WLAN)、城域网(MAN)、公共交换电话网络(PSTN)、蓝牙 TM网络、紫蜂 TM网络、近场通讯(NFC)网络、全球移动通讯系统(GSM)网络、码分多址(CDMA)网络、时分多址(TDMA)网络、通用分组无线服务(GPRS)网络、增强数据速率GSM演进(EDGE)网络、宽带码分多址接入(WCDMA)网络、高速下行分组接入(HSDPA)网络、长期演进(LTE)网络、用户数据报协议(UDP)网络、传输控制协议/互联网协议(TCP/IP)网络、短信息服务(SMS)网络、无线应用协议 (WAP)网络、超宽带(UWB)网络、移动通信(1G、2G、3G、4G、5G)网络、Wi-Fi、Li-Fi、窄带物联网(NB-IoT)等或其任意组合。在一些实施例中,交通评估系统100可以包括一个或以上网络接入点。例如,交通评估系统100可以包括有线或无线网络接入点,例如基站和/或无线接入点,交通评估系统100的一个或以上组件可以通过其连接到网络140以交换数据和/或信息。 In some embodiments, the network 140 may be any form of wired or wireless network or any combination thereof. For example only, the network 140 may include a cable network, a wired network, an optical fiber network, a telecommunication network, an internal network, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), public switched telephone network (PSTN), Bluetooth (TM) network, ZigBee TM network, near field communication (NFC) network, global system for mobile communications (GSM) network, Code division Multiple Access (CDMA) networks, Time division Multiple Access (TDMA) network , General Packet Radio Service (GPRS) network, Enhanced Data Rate GSM Evolution (EDGE) Network, Wideband Code Division Multiple Access (WCDMA) Network, High Speed Downlink Packet Access (HSDPA) Network, Long Term Evolution (LTE) Network, User Datagram Protocol (UDP) network, Transmission Control Protocol/Internet Protocol (TCP/IP) network, short message service (SMS) network, wireless application protocol (WAP) network, ultra-wideband (UWB) network, mobile communication (1G, 2G) , 3G, 4G, 5G) networks, Wi-Fi, Li-Fi, Narrowband Internet of Things (NB-IoT), etc. or any combination thereof. In some embodiments, the traffic assessment system 100 may include one or more network access points. For example, the traffic assessment system 100 may include wired or wireless network access points, such as base stations and/or wireless access points, through which one or more components of the traffic assessment system 100 may be connected to the network 140 to exchange data and/or information.
信息源150可以用于为交通评估系统100提供参考信息。在一些实施例中,参考信息可以包括天气信息、交通信息、地理信息、法律法规信息、新闻事件、生活资讯、生活指南信息等。信息源150可以通过单个中央服务器、彼此连接(例如,通过通信链路连接)的多个服务器或多个个人设备实现。例如,个人设备可以生成内容(例如,文本、语音、图像、视频)并上载到云服务器。相应地,信息源150可以由多个个人设备和云服务器实现。在一些实施例中,存储设备130、处理设备110和/或车辆120也可以作为信息源。例如,车辆120实时反馈的速度和/或定位信息可以作为参考信息以供其他设备获取。The information source 150 may be used to provide reference information for the traffic evaluation system 100. In some embodiments, the reference information may include weather information, traffic information, geographic information, legal and regulatory information, news events, life information, life guide information, and the like. The information source 150 may be implemented by a single central server, multiple servers connected to each other (for example, connected through a communication link), or multiple personal devices. For example, a personal device can generate content (e.g., text, voice, image, video) and upload it to a cloud server. Correspondingly, the information source 150 may be implemented by multiple personal devices and cloud servers. In some embodiments, the storage device 130, the processing device 110, and/or the vehicle 120 may also serve as information sources. For example, the real-time feedback speed and/or positioning information of the vehicle 120 may be used as reference information for other devices to obtain.
本领域普通技术人员应当理解,当交通评估系统100的组件执行时,该组件可以通过电信号和/或电磁信号执行。例如,当车辆120处理任务时,例如识别、获取或确认对象时,车辆120可在其处理器中操作逻辑电路来处理该任务。当车辆120向处理设备110发送行驶数据时,车辆120的处理器可产生编码该数据的电信号。然后,车辆120的处理器可以将电信号发送到输出端口。若车辆120经由有线网络与处理设备110通信,则输出端口可物理连接至电缆,其进一步将电信号传输至处理设备110的输入端口。如果车辆120通过无线网络与处理设备110通信,车辆120的输出端口可以是一个或以上天线,天线可以将电信号转换为电磁信号。在电子设备中,当电子设备的处理器处理指令、发送指令和/或执行动作时,指令和/或动作经由电信号传导。例如,当处理器从储存介质(例如,存储设备130)检索或保存数据时,可以将电信号发送到储存介质的读/写设备,该读/写设备可在储存介质中读取或写入结构化数据。结构化数据可以电信号的形式经由电子设备的总线传输至处理器。此处,电信号可以指一个电信号、一系列电信号和/或多个不连续的电信号。Those of ordinary skill in the art should understand that when the components of the traffic assessment system 100 are executed, the components may be executed by electrical signals and/or electromagnetic signals. For example, when the vehicle 120 processes a task, such as identifying, acquiring, or confirming an object, the vehicle 120 may operate a logic circuit in its processor to process the task. When the vehicle 120 sends driving data to the processing device 110, the processor of the vehicle 120 may generate an electrical signal that encodes the data. Then, the processor of the vehicle 120 may send the electrical signal to the output port. If the vehicle 120 communicates with the processing device 110 via a wired network, the output port may be physically connected to a cable, which further transmits electrical signals to the input port of the processing device 110. If the vehicle 120 communicates with the processing device 110 through a wireless network, the output port of the vehicle 120 may be one or more antennas, and the antennas may convert electrical signals into electromagnetic signals. In an electronic device, when the processor of the electronic device processes instructions, sends instructions, and/or performs actions, the instructions and/or actions are conducted via electrical signals. For example, when the processor retrieves or saves data from a storage medium (for example, the storage device 130), it can send an electrical signal to a read/write device of the storage medium, and the read/write device can read or write in the storage medium. Structured data. The structured data can be transmitted to the processor via the bus of the electronic device in the form of electrical signals. Here, the electrical signal may refer to one electrical signal, a series of electrical signals, and/or multiple discontinuous electrical signals.
图2是根据本申请一些实施例所示的示例性计算设备的示例性硬件组件和/或软件组件的示意图。在一些实施例中,处理设备110可以通过计算设备200实现。如图2所示,计算设备200可包括处理器210、存储器220、输入/输出(I/O)230和通信端口240。Fig. 2 is a schematic diagram of exemplary hardware components and/or software components of an exemplary computing device according to some embodiments of the present application. In some embodiments, the processing device 110 may be implemented by the computing device 200. As shown in FIG. 2, the computing device 200 may include a processor 210, a memory 220, an input/output (I/O) 230, and a communication port 240.
处理器210可以执行计算机指令(例如,程序代码)并可以根据本申请中描述的技术执行处理设备110的功能。计算机指令可以用于执行本申请中描述的特定功能,计算机指令可以包括程序、对象、组件、数据结构、程序、模块、功能等。在一些实施例中,处理器210可以包括一个或多个硬件处理器,例如微控制器、微处理器、精简指令集计算机(reduced  instruction set computer(RISC))、特定应用集成电路(application specific integrated circuit(ASIC))、应用程序特定的指令集处理器(application-specific instruction-set processor(ASIP))、中央处理单元(central processing unit(CPU))、图形处理单元(graphics processing unit(GPU))、物理处理单元(physics processing unit(PPU))、数字信号处理器(digital signal processor(DSP))、现场可编程门阵列(field programmable gate array(FPGA))、先进的RISC机器(advanced RISC machine(ARM))、可编程逻辑器件(programmable logic device(PLD))、能够执行一个或多个功能的任何电路或处理器等其中一种或几种的组合。The processor 210 may execute computer instructions (for example, program code) and may perform the functions of the processing device 110 according to the technology described in this application. Computer instructions can be used to perform specific functions described in this application, and computer instructions can include programs, objects, components, data structures, programs, modules, functions, and so on. In some embodiments, the processor 210 may include one or more hardware processors, such as a microcontroller, a microprocessor, a reduced instruction set computer (RISC), and an application specific integrated circuit (application specific integrated circuit). circuit (ASIC)), application-specific instruction-set processor (ASIP), central processing unit (CPU), graphics processing unit (GPU)) , Physical processing unit (physics processing unit (PPU)), digital signal processor (digital signal processor (DSP)), field programmable gate array (FPGA)), advanced RISC machine (advanced RISC machine( ARM)), programmable logic device (PLD), any circuit or processor capable of performing one or more functions, or a combination of several of them.
仅用于说明,在计算设备200中仅描述一个处理器。然而,需要说明的是,计算设备200也可以包括多个处理器。本申请中描述的由一个处理器执行的操作和/或方法也可以由多个处理器共同或分别执行。例如,如果本申请中描述的计算设备200的处理器执行操作A和操作B,应当理解的是,操作A和操作B也可以由计算设备中200中的两个或两个以上不同处理器共同或分别执行(例如,第一处理器执行操作A和第二处理器执行操作B,或第一处理器和第二处理器共同执行操作A和B)。For illustration only, only one processor is described in the computing device 200. However, it should be noted that the computing device 200 may also include multiple processors. The operations and/or methods described in this application that are executed by one processor may also be executed jointly or separately by multiple processors. For example, if the processor of the computing device 200 described in this application performs operation A and operation B, it should be understood that operation A and operation B can also be shared by two or more different processors in the computing device 200. Or separately (for example, the first processor performs operation A and the second processor performs operation B, or the first processor and the second processor jointly perform operations A and B).
存储器220可以存储从处理设备110、车辆120、存储设备130和/或交通评估系统100的任何其它组件获取的数据/信息。在一些实施例中,存储器220可包括大容量存储器、可移除存储器、易失性读写存储器、只读存储器(ROM)等或其任意组合。大容量存储可以包括磁盘、光盘、固态硬盘、移动存储等。可移除存储器可以包括闪存驱动器、软盘、光盘、存储卡、ZIP磁盘、磁带等。易失性读写存储器可以包括随机存取存储器(RAM)。RAM可以包括动态随机存储器(DRAM)、双数据率同步动态随机存取存储器(DDR SDRAM)、静态随机存取存储器(SRAM)、可控硅随机存取存储器(t-ram)、零电容随机存取存储器(Z-RAM)等。ROM可以包括掩模只读存储器(MROM)、可编程的只读存储器(PROM)、可擦除可编程只读存储器(EPROM),电可擦除可编程只读存储器(EEPROM)、光盘只读存储器(CD-ROM)、数字多功能光盘的光盘等。在一些实施例中,存储器220可以存储一个或多个程序和/或指令,用于执行本申请中描述的示例性方法。The memory 220 may store data/information acquired from the processing device 110, the vehicle 120, the storage device 130, and/or any other components of the traffic evaluation system 100. In some embodiments, the memory 220 may include mass memory, removable memory, volatile read-write memory, read-only memory (ROM), etc., or any combination thereof. Mass storage can include magnetic disks, optical disks, solid state drives, and mobile storage. Removable storage may include flash drives, floppy disks, optical disks, memory cards, ZIP disks, tapes, and so on. Volatile read-write memory may include random access memory (RAM). RAM can include dynamic random access memory (DRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), static random access memory (SRAM), thyristor random access memory (t-ram), zero capacitance random access memory Take memory (Z-RAM) and so on. ROM can include mask read-only memory (MROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), optical disk read-only memory Storage (CD-ROM), digital versatile disc, etc. In some embodiments, the memory 220 may store one or more programs and/or instructions for executing the exemplary methods described in this application.
输入/输出230可以输入和/或输出信号、数据、信息等。在一些实施例中,输入/输出230可以实现用户与处理设备110之间的交互。在一些实施例中,输入/输出230可以包括输入设备和输出设备。输入设备可以包括键盘、鼠标、触摸屏、麦克风等或其任意组合。输出装置可以包括显示装置、扬声器、打印机、投影仪等或其任意组合。显示装置可以包括液晶显示器(LCD)、发光二极管(LED)显示器、平板显示器、弧形屏幕、电视装置、阴极射线管(CRT)、触摸屏等或其任意组合。The input/output 230 may input and/or output signals, data, information, and the like. In some embodiments, the input/output 230 may implement the interaction between the user and the processing device 110. In some embodiments, the input/output 230 may include an input device and an output device. The input device may include a keyboard, a mouse, a touch screen, a microphone, etc., or any combination thereof. The output device may include a display device, a speaker, a printer, a projector, etc. or any combination thereof. The display device may include a liquid crystal display (LCD), a light emitting diode (LED) display, a flat panel display, a curved screen, a television device, a cathode ray tube (CRT), a touch screen, etc., or any combination thereof.
通信端口240可以连接网络(例如,网络140),以便于数据通信。通信端口240可以在处理设备110和车辆120、存储设备130和/或车辆120之间建立连接。连接可以是有线连接、无线连接、任何能够实现数据传输和/或接收的连接等或其任意组合。有线连接可以包括电缆、光缆、电话线等或其任意组合。无线连接可以包括蓝牙 TM链接、Wi-Fi TM链接、WiMAX TM链路、无线局域网链接、ZigBee TM链接、移动网络链接(例如,3G、4G、5G等)等或其任意组合。在一些实施例中,通信端口240可以是和/或包括标准化通信端口,如RS232、RS485等。 The communication port 240 may be connected to a network (for example, the network 140) to facilitate data communication. The communication port 240 may establish a connection between the processing device 110 and the vehicle 120, the storage device 130, and/or the vehicle 120. The connection may be a wired connection, a wireless connection, any connection capable of data transmission and/or reception, etc., or any combination thereof. Wired connections can include cables, optical cables, telephone lines, etc., or any combination thereof. The wireless connection may include a Bluetooth link, a Wi-Fi link, a WiMAX link, a wireless local area network link, a ZigBee link, a mobile network link (for example, 3G, 4G, 5G, etc.), etc., or any combination thereof. In some embodiments, the communication port 240 may be and/or include a standardized communication port, such as RS232, RS485, and the like.
图3A是根据本申请一些实施例所示的示例性处理设备的模块图。如图3A所示,处理设备110可以包括获取模块310、交通数据流确定模块320、交通评估模块330和存储模块340。Fig. 3A is a block diagram of an exemplary processing device according to some embodiments of the present application. As shown in FIG. 3A, the processing device 110 may include an acquisition module 310, a traffic data flow determination module 320, a traffic evaluation module 330, and a storage module 340.
获取模块310可以获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据。所述时间段可以是预先确定的。例如,以某一个具体时刻(当前时刻)作为对照,所述时间段可以是当前时刻之后或之前的1小时、6小时、12小时、24小时或其他时间段。所述气象数据可以包括在所述时间段内所述目标路段的预测气象数据。作为示例,所述预测气象数据可以基于气象预测模型(例如,开源的WRF模型(Weather Research and Forecasting Model))确定。所述目标路段在所述时间段之前的历史时间段内的历史交通流数据可以包括与所述时间段相邻的一个历史时间段(本说明书中也可以被称为第一历史时间段)内所述目标路段的第一历史交通流数据和/或与所述时间段相隔一个或多个时间周期的一个或多个历史时间段(本说明书中也可以被称为第二历史时间段)内与所述目标路段相关的第二历史交通流数据。The obtaining module 310 may obtain the meteorological data of the target road section in a certain time period and the historical traffic flow data in the historical time period before the time period. The time period may be predetermined. For example, taking a specific time (current time) as a comparison, the time period may be 1 hour, 6 hours, 12 hours, 24 hours or other time periods after or before the current time. The meteorological data may include predicted meteorological data of the target road section in the time period. As an example, the predicted weather data may be determined based on a weather forecast model (for example, an open source WRF model (Weather Research and Forecasting Model)). The historical traffic flow data of the target road section in the historical time period before the time period may include the historical time period adjacent to the time period (may also be referred to as the first historical time period in this specification). The first historical traffic flow data of the target road segment and/or one or more historical time periods separated by one or more time periods from the time period (may also be referred to as the second historical time period in this specification) The second historical traffic flow data related to the target road section.
交通数据流确定模块320可以基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据。例如,交通数据流确定模块320可以将所述历史交通流数据以及所述气象数据输入至所述训练好的预测模型以生成所述预测交通流数据。在一些实施例中,交通数据流确定模块320可以获取所述目标路段在所述时间段之前与该时间段相邻的一个或多个历史时间段(本说明书中也可以被称为第三历史时间段)内的历史气象数据。交通数据流确定模块320可以利用所述预测模型处理所述历史气象数据、所述历史交通流数据以及所述气象数据以生成所述预测交通流数据。在一些实施例中,处理设备110(例如,交通数据流确定模块320)可以获取该目标路段的特征参数并基于该目标路段的特征参数以及所述气象数据确定所述预测交通流数据。The traffic data flow determining module 320 may determine the predicted traffic flow data of the target road section in the time period by using a trained prediction model based on the historical traffic flow data and the meteorological data. For example, the traffic data flow determination module 320 may input the historical traffic flow data and the meteorological data into the trained prediction model to generate the predicted traffic flow data. In some embodiments, the traffic data flow determination module 320 may obtain one or more historical time periods adjacent to the time period before the target road section (may also be referred to as the third historical time period in this specification). ) Historical weather data. The traffic data flow determination module 320 may use the prediction model to process the historical weather data, the historical traffic flow data, and the weather data to generate the predicted traffic flow data. In some embodiments, the processing device 110 (for example, the traffic data flow determination module 320) may obtain the characteristic parameters of the target road section and determine the predicted traffic flow data based on the characteristic parameters of the target road section and the meteorological data.
在一些实施例中,所述预测模型可以提供气象数据至交通流数据的映射关系。所述预测模型可以包括训练后的深度学习模型,例如,序列到序列模型。在一些实施例中,所述预 测模型可以是基于注意力的序列到序列模型。交通数据流确定模块320可以基于所述历史交通流数据以及所述气象数据,构建适配于所述预测模型的输入序列。并利用所述预测模型处理所述输入序列,确定所述预测交通流数据。In some embodiments, the prediction model may provide a mapping relationship between weather data and traffic flow data. The prediction model may include a trained deep learning model, for example, a sequence-to-sequence model. In some embodiments, the predictive model may be a sequence-to-sequence model based on attention. The traffic data flow determination module 320 may construct an input sequence adapted to the prediction model based on the historical traffic flow data and the meteorological data. And use the prediction model to process the input sequence to determine the predicted traffic flow data.
交通评估模块330可以基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数。所述交通评估参数可以用于评估所述目标路段在所述气象数据条件下的交通恢复能力,可以包括交通性能损失参数(Loss of Resilience,LOR)、响应时间(Response Time,RST)、恢复时间(Recovery Time,RCT)、响应速率(Response Rate,RSR)、恢复速率(Recovery Rate,RCR)等或其组合。在一些实施例中,交通评估模块330可以利用基准交通流数据,并基于基准交通流数据、预测交通流数据以及气象数据确定交通评估参数。所述基准交通流数据可以是在正常气象数据条件下(例如,天气晴好条件下)所述目标路段的交通流数据。基于所述基准交通流数据可以得到一个基准交通流速度曲线。交通评估模块330可以基于所述基准交通流速度曲线以及所述预测交通流速度曲线确定所述交通评估参数。The traffic evaluation module 330 may determine at least one traffic evaluation parameter related to the target road section in the time period based on the predicted traffic flow data. The traffic evaluation parameters may be used to evaluate the traffic recovery capability of the target road section under the weather data conditions, and may include traffic performance loss parameters (Loss of Resilience, LOR), response time (Response Time, RST), and recovery time. (Recovery Time, RCT), Response Rate (Response Rate, RSR), Recovery Rate (Recovery Rate, RCR), etc., or combinations thereof. In some embodiments, the traffic evaluation module 330 may use reference traffic flow data, and determine traffic evaluation parameters based on the reference traffic flow data, predicted traffic flow data, and weather data. The reference traffic flow data may be the traffic flow data of the target road section under normal weather data conditions (for example, under fine weather conditions). A reference traffic flow speed curve can be obtained based on the reference traffic flow data. The traffic evaluation module 330 may determine the traffic evaluation parameter based on the reference traffic flow speed curve and the predicted traffic flow speed curve.
在一些实施例中,交通评估模块330可以获取与所述目标路段相关的基准交通流数据,并基于所述气象数据、所述预测交通流数据以及所述基准交通流数据,确定一个或多个评估时刻以及与一个或多个预测交通流速度和基准交通流速度。所述预测交通流数据可以包括在所述时间段内与所述目标路段相关的交通流速度预测曲线。所述基准交通流数据可以包括在与所述时间段具有相同时间标识的基准时间段内与所述目标路段相关的交通流速度基准曲线。交通评估模块330可以基于交通流速度预测曲线中确定与所述一个或多个评估时刻对应的一个或多个预测交通流速度,并基于交通流速度参考曲线确定与所述一个或多个评估时刻对应的一个或多个基准交通流速度。在一些实施例中,交通评估模块330可以基于所述预测交通流速度、所述基准交通流速度以及所述一个或多个评估时刻,确定所述至少一个交通评估参数。为确定交通性能损失参数LoR,交通评估模块330可以确定在一个或多个评估时刻构成的一个或多个评估时长内,所述交通流速度预测曲线的第一积分和所述交通流速度参考曲线的第二积分。交通评估模块330可以基于所述第一积分和所述第二积分,确定所述交通性能损失参数。例如,交通评估模块330可以确定第一积分与第二积分之间的差值,例如,使用第二积分减去第一积分得到的差值,作为所述交通性能损失参数。在一些实施例中,交通评估模块330可以确定所述一个或多个评估时刻之间的一个或多个第一差值,并指定所述一个或多个第一差值中的一个作为所述响应时间或所述恢复时间。在一些实施例中,交通评估模块330可以确定所述一个或多个评估时刻对应的所述预测交通流速度和基准交通流速度之间的一个或多个第二差值,并确定所述一个或多个第二差值和所述一个或多个第一差值之 间的一个或多个比值。该一个或多个比值可以被指定为所述响应速率或所述恢复速率。In some embodiments, the traffic evaluation module 330 may obtain reference traffic flow data related to the target road section, and determine one or more traffic flow data based on the meteorological data, the predicted traffic flow data, and the reference traffic flow data. Evaluate the moment and with one or more predicted traffic flow speeds and reference traffic flow speeds. The predicted traffic flow data may include a traffic flow velocity prediction curve related to the target road section in the time period. The reference traffic flow data may include a traffic flow speed reference curve related to the target road section in a reference time period having the same time identifier as the time period. The traffic evaluation module 330 may determine one or more predicted traffic flow speeds corresponding to the one or more evaluation moments based on the traffic flow speed prediction curve, and determine the one or more predicted traffic flow speeds corresponding to the one or more evaluation moments based on the traffic flow speed reference curve. Corresponding one or more reference traffic flow speeds. In some embodiments, the traffic evaluation module 330 may determine the at least one traffic evaluation parameter based on the predicted traffic flow speed, the reference traffic flow speed, and the one or more evaluation moments. In order to determine the traffic performance loss parameter LoR, the traffic evaluation module 330 may determine the first integral of the traffic flow speed prediction curve and the traffic flow speed reference curve within one or more evaluation time periods constituted by one or more evaluation moments The second integral. The traffic evaluation module 330 may determine the traffic performance loss parameter based on the first integral and the second integral. For example, the traffic evaluation module 330 may determine the difference between the first integral and the second integral, for example, use the difference obtained by subtracting the first integral from the second integral as the traffic performance loss parameter. In some embodiments, the traffic evaluation module 330 may determine one or more first differences between the one or more evaluation moments, and designate one of the one or more first differences as the Response time or said recovery time. In some embodiments, the traffic evaluation module 330 may determine one or more second differences between the predicted traffic flow speed and the reference traffic flow speed corresponding to the one or more evaluation moments, and determine the one One or more ratios between one or more second differences and the one or more first differences. The one or more ratios may be designated as the response rate or the recovery rate.
在一些实施例中,交通评估模块330可以获取基于交通流速度的交通评估模型并基于预测交通流数据确定交通评估参数。所述交通评估模型可以反映交通流速度与交通评估参数之间的关系。在一些实施例中,所述交通评估模型可以包括训练好的机器学习模型(例如,训练后的神经网络模型)。In some embodiments, the traffic assessment module 330 may obtain a traffic assessment model based on traffic flow speed and determine traffic assessment parameters based on predicted traffic flow data. The traffic assessment model can reflect the relationship between traffic flow speed and traffic assessment parameters. In some embodiments, the traffic evaluation model may include a trained machine learning model (for example, a trained neural network model).
后处理模块340可以获取多个路段在多个时间段内的至少一个参考交通评估参数以及利用所述预测模型确定的预测交通评估参数。在一些实施例中,处理设备110(例如,后处理模块340可以获取所述多个时间段内与所述多个路段的真实交通流数据。例如,后处理模块340可以获取到多个时间段内的各个时刻(例如,每三十秒)多个目标路段的实际交通流速度,并进行曲线拟合,得到每个路段在每个时间段内的交通流速度真实曲线。后处理模块340还可以获取多个时间段所述目标路段内与所述目标路段相关的至少一个交通评估参数和至少一个参考交通评估参数或其他路段相关的至少一个交通评估参数和至少一个参考交通评估参数以确定多组的参考交通评估参数和预测交通评估参数。后处理模块340可以基于多组的参考交通评估参数和预测交通评估参数确定交通评估的准确度。例如,基于多组的参考交通评估参数和预测交通评估参数计算均方根误差(RMSE)、平均绝对误差(MAE)、均方误差(MSE)、R-Squared等回归指标确定交通评估的准确度。在一些实施例中,后处理模块340可以基于所述准确度对交通评估模型进行更新。例如,对交通评估模型的参数进行更新。The post-processing module 340 may obtain at least one reference traffic evaluation parameter of multiple road sections in multiple time periods and the predicted traffic evaluation parameter determined by using the prediction model. In some embodiments, the processing device 110 (for example, the post-processing module 340 may obtain real traffic flow data between the multiple time periods and the multiple road sections. For example, the post-processing module 340 may obtain multiple time periods). The actual traffic flow speeds of multiple target road sections at each time (for example, every thirty seconds) within each time period, and curve fitting is performed to obtain the true traffic flow speed curve of each road section in each time period. The post-processing module 340 also At least one traffic evaluation parameter and at least one reference traffic evaluation parameter related to the target road section and at least one reference traffic evaluation parameter and at least one reference traffic evaluation parameter related to other road sections within the target road section can be acquired for multiple time periods to determine the number of traffic evaluation parameters. Groups of reference traffic evaluation parameters and predicted traffic evaluation parameters. The post-processing module 340 may determine the accuracy of traffic evaluation based on multiple sets of reference traffic evaluation parameters and predicted traffic evaluation parameters. For example, based on multiple sets of reference traffic evaluation parameters and predicted traffic The evaluation parameters calculate the root mean square error (RMSE), mean absolute error (MAE), mean square error (MSE), R-Squared and other regression indicators to determine the accuracy of the traffic evaluation. In some embodiments, the post-processing module 340 may be based on The accuracy updates the traffic evaluation model, for example, updates the parameters of the traffic evaluation model.
在一些实施例中,后处理模块340可以获取包括所述目标路段的目标区域内多个路段的交通评估参数。所述目标区域可以是所述目标路段所在的区域,例如,行政区或城市。后处理模块340可以使用与确定所述目标路段的交通评估参数相同的处理流程,为所述目标区域内的多个路段的每一个确定对应的交通评估参数。In some embodiments, the post-processing module 340 may obtain traffic evaluation parameters of multiple road sections in the target area including the target road section. The target area may be an area where the target road section is located, for example, an administrative district or a city. The post-processing module 340 may use the same processing procedure as that of determining the traffic evaluation parameter of the target road section to determine the corresponding traffic evaluation parameter for each of the multiple road sections in the target area.
在一些实施例中,后处理模块340可以将所述多个路段的交通评估参数映射至所述目标区域的地图数据上,获取所述目标区域的交通评估的可视化结果。作为示例,后处理模块340可以基于多个路段的交通评估参数为所述目标区域的地图数据进行着色。In some embodiments, the post-processing module 340 may map the traffic assessment parameters of the multiple road sections to the map data of the target area to obtain the visualized result of the traffic assessment of the target area. As an example, the post-processing module 340 may color the map data of the target area based on the traffic evaluation parameters of multiple road sections.
关于图3A中的模块的其他描述可以参考本说明书其他部分,例如,图4-图5。For other descriptions of the modules in FIG. 3A, reference may be made to other parts of this specification, for example, FIG. 4 to FIG. 5.
应当理解,图3A所示的系统及其模块可以利用各种方式来实现。例如,在一些实施例中,系统及其模块可以通过硬件、软件或者软件和硬件的结合来实现。其中,硬件部分可以利用专用逻辑来实现;软件部分则可以存储在存储器中,由适当的指令执行系统,例如微处理器或者专用设计硬件来执行。本领域技术人员可以理解上述的方法和系统可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的 载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本申请的系统及其模块不仅可以有诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用例如由各种类型的处理器所执行的软件实现,还可以由上述硬件电路和软件的结合(例如,固件)来实现。It should be understood that the system and its modules shown in FIG. 3A can be implemented in various ways. For example, in some embodiments, the system and its modules may be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. Those skilled in the art can understand that the above-mentioned methods and systems can be implemented using computer-executable instructions and/or included in processor control codes, for example on a carrier medium such as a disk, CD or DVD-ROM, such as a read-only memory (firmware Such codes are provided on a programmable memory or a data carrier such as an optical or electronic signal carrier. The system and its modules of this application can not only be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. It may also be implemented by software executed by various types of processors, or may be implemented by a combination of the above hardware circuit and software (for example, firmware).
图3B是根据本申请一些实施例所示的示例性处理设备的模块图。如图3A所示,处理设备110可以包括样本获取模块350和训练模块360。Fig. 3B is a block diagram of an exemplary processing device according to some embodiments of the present application. As shown in FIG. 3A, the processing device 110 may include a sample acquisition module 350 and a training module 360.
样本获取模块350可以获取多个训练样本。每个训练样本可以基于与至少一个训练路段在某一时间段内的参考气象数据、预测气象数据以及参考交通流数据确定。每个训练样本还可以基于该时间段之前的时间段内的参考交通流数据和/或参考气象数据确定。所述时间段表示当前时刻之前的时间段(即历史时间段)。所述参考气象数据可以是该时间段(例如,一年内、两年内)中实际监测到的所述至少一个训练路段的气象数据。所述预测气象数据可以是基于该时间段之前的时间段内实际监测到的气象数据经过预测得到的该时间段内的气象数据。所述参考交通流数据可以是在所述时间段内至少一个训练路段的实际交通流数据。所述参考交通流数据可以包括实际交通流速度。该时间段之前的时间段内的参考交通流数据可以包该时间段之前的时间段内实际监测得到的交通流数据。该时间段之前的时间段内的参考气象数据可以包该时间段之前的时间段内实际监测得到的气象数据。The sample acquisition module 350 can acquire multiple training samples. Each training sample may be determined based on reference weather data, predicted weather data, and reference traffic flow data in a certain period of time with at least one training road section. Each training sample may also be determined based on reference traffic flow data and/or reference weather data in a time period before the time period. The time period represents the time period before the current moment (that is, the historical time period). The reference meteorological data may be the meteorological data of the at least one training road section actually monitored in the time period (for example, within one year or two years). The predicted meteorological data may be meteorological data in the time period obtained through prediction based on the actually monitored meteorological data in the time period before the time period. The reference traffic flow data may be actual traffic flow data of at least one training road segment in the time period. The reference traffic flow data may include actual traffic flow speed. The reference traffic flow data in the time period before the time period may include the traffic flow data actually monitored in the time period before the time period. The reference meteorological data in the time period before the time period may include the meteorological data actually monitored in the time period before the time period.
训练模块360可以基于所述多述训练样本,利用一个或多次迭代过程训练初始机器学习模型,以获取训练好的预测模型。所述初始机器模型可以包括深度学习模型。例如,序列到序列模型。在一些实施例中,所述预测模型可以是基于注意力的序列到序列模型。所述基于注意力的序列到序列模型可以是基于编码器和解码器构架。在一些实施例中,对于每一个训练样本,训练模块360可以将训练输入序列输入至预测模型进行处理,得到对应的预测结果。所述预测结果可以是预测交通流数据例如预测交通流速度。训练模块360可以比较所述预测结果与所述训练样本对应的训练标签之间的差异。所述差异可以表示所述预测模型的预测效果。差异越大,说明模型的预测效果越差。训练模块360可以基于所述差异反向调整所述预测模型的参数以减小所述差异。例如,调整所述预测模型的超参数例如学习率。在完成一次或多次迭代后,若满足预设条件,例如,迭代轮次或训练次数达到预设次数,或所述差异小于预设阈值,可以停止训练。所得到的训练后的机器学习模型可以被指定为训练完成的预测模型。The training module 360 may train the initial machine learning model by using one or more iterative processes based on the multiple training samples to obtain a trained prediction model. The initial machine model may include a deep learning model. For example, sequence-to-sequence model. In some embodiments, the prediction model may be a sequence-to-sequence model based on attention. The attention-based sequence-to-sequence model may be based on an encoder and decoder architecture. In some embodiments, for each training sample, the training module 360 may input the training input sequence to the prediction model for processing to obtain the corresponding prediction result. The prediction result may be predicted traffic flow data, for example, predicted traffic flow speed. The training module 360 may compare the difference between the prediction result and the training label corresponding to the training sample. The difference may indicate the prediction effect of the prediction model. The greater the difference, the worse the prediction effect of the model. The training module 360 may reversely adjust the parameters of the prediction model based on the difference to reduce the difference. For example, adjusting the hyperparameters of the prediction model, such as the learning rate. After completing one or more iterations, if a preset condition is met, for example, the number of iteration rounds or the number of training reaches the preset number, or the difference is less than the preset threshold, the training can be stopped. The obtained trained machine learning model can be designated as the trained prediction model.
关于图3B中的模块的其他描述可以参考本说明书其他部分,例如,图6。For other descriptions of the modules in FIG. 3B, reference may be made to other parts of this specification, for example, FIG. 6.
应当理解,图3B所示的系统及其模块可以利用各种方式来实现。例如,在一些实施 例中,系统及其模块可以通过硬件、软件或者软件和硬件的结合来实现。其中,硬件部分可以利用专用逻辑来实现;软件部分则可以存储在存储器中,由适当的指令执行系统,例如微处理器或者专用设计硬件来执行。本领域技术人员可以理解上述的方法和系统可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本申请的系统及其模块不仅可以有诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用例如由各种类型的处理器所执行的软件实现,还可以由上述硬件电路和软件的结合(例如,固件)来实现。It should be understood that the system and its modules shown in FIG. 3B can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. Those skilled in the art can understand that the above-mentioned methods and systems can be implemented using computer-executable instructions and/or included in processor control codes, for example on a carrier medium such as a disk, CD or DVD-ROM, such as a read-only memory (firmware Such codes are provided on a programmable memory or a data carrier such as an optical or electronic signal carrier. The system and its modules of this application can not only be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. It may also be implemented by software executed by various types of processors, or may be implemented by a combination of the above hardware circuit and software (for example, firmware).
图4是根据本申请一些实施例所示的交通评估参数确定方法的示例性流程图。在一些实施例中,流程400可以由处理设备(例如,图1所示的处理设备110)执行。例如,流程400可以以程序或指令的形式存储在存储设备(例如,存储设备130或处理设备的存储单元)中,当处理器210或图3所示的模块执行程序或指令时,可以实现流程400。在一些实施例中,流程400可以利用以下未描述的一个或以上附加操作,和/或不通过以下所讨论的一个或以上操作完成。另外,如图4所示的操作的顺序并非限制性的。如图4所示,流程400可以包括以下操作。Fig. 4 is an exemplary flowchart of a method for determining traffic evaluation parameters according to some embodiments of the present application. In some embodiments, the process 400 may be executed by a processing device (for example, the processing device 110 shown in FIG. 1). For example, the process 400 may be stored in a storage device (for example, the storage device 130 or a storage unit of a processing device) in the form of a program or instruction. When the processor 210 or the module shown in FIG. 3 executes the program or instruction, the process may be implemented. 400. In some embodiments, the process 400 may utilize one or more additional operations not described below, and/or not be completed by one or more operations discussed below. In addition, the order of operations shown in FIG. 4 is not restrictive. As shown in FIG. 4, the process 400 may include the following operations.
步骤401,获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据。在一些实施例中,步骤410可以由获取模块310执行。Step 401: Obtain meteorological data of a target road section in a certain time period and historical traffic flow data in a historical time period before the time period. In some embodiments, step 410 may be performed by the obtaining module 310.
可以知道的是,一条道路具有两个或以上的节点。例如,该两个或以上节点可以包括该道路的起点、终点、以及该道路与其他道路的交点。在两个交点之间的一部分道路,可以被称为一个路段(link)。例如,两个相邻的交点之间的一部分道路,或中间间隔有一个或多个交点的两个交点之间的一部分道路。当某一路段需要进行交通性能预测和/或评估时,例如,确定该路段在极端天气比如暴雨天气下的交通恢复能力,该路段可以被称为目标路段。在一些实施例中,所述目标路段可以被赋予一个标识(ID)用以与其他路段进行区分。假定所述目标路段属于某一个区域的路网,在为该路网内的所有路段进行编号时,所述目标路段也可以得到一个编号,例如,数字、字母等或其组合。该编码可以是所述标识。在一些实施例中,所述目标路段的标识可以以坐标比如经纬度坐标表示。例如,可以利用所述目标路段的几何中心对应的经纬度坐标来表示所述目标路段的标识。在一些实施例中,所述时间段可以是预先确定的。例如,以某一个具体时刻作为对照,例如,以当前时刻为对照,所述时间段可以是当前时刻之后的1小时、6小时、12小时、24小时或其他时间段。又例如,以某一个具体时刻作为对照,例如,以当前时刻为对照,所述时间段可以是当前时刻之前的1小时、6小 时、12小时、或24小时或当前时刻之前的任意时间段。所述时间段可以根据不同需求进行调整。本说明书不做具体限定。It can be known that a road has two or more nodes. For example, the two or more nodes may include the start point, the end point of the road, and the intersection of the road and other roads. A part of the road between two intersections can be called a link. For example, a part of the road between two adjacent intersections, or a part of the road between two intersections with one or more intersections in between. When a certain road section requires traffic performance prediction and/or evaluation, for example, to determine the traffic recovery capability of the road section in extreme weather such as heavy rain, the road section may be referred to as a target road section. In some embodiments, the target road section may be given an identification (ID) to distinguish it from other road sections. Assuming that the target road section belongs to a road network in a certain area, when all road sections in the road network are numbered, the target road section may also be given a number, for example, a number, a letter, etc. or a combination thereof. The code may be the identification. In some embodiments, the identifier of the target road section may be expressed in coordinates, such as latitude and longitude coordinates. For example, the latitude and longitude coordinates corresponding to the geometric center of the target road section may be used to represent the identifier of the target road section. In some embodiments, the time period may be predetermined. For example, a specific time is used as a control, for example, the current time is used as a control, and the time period may be 1 hour, 6 hours, 12 hours, 24 hours, or other time periods after the current time. For another example, a specific time is used as a control, for example, the current time is used as a control. The time period can be 1 hour, 6 hours, 12 hours, or 24 hours before the current time or any time period before the current time. The time period can be adjusted according to different needs. This manual does not make specific restrictions.
在一些实施例中,所述气象数据可以包括在所述时间段内所述目标路段的预测气象数据。所述预测气象数据可以与某一类型的气象有关,例如,大风(台风,飓风等)、降水(例如,有雨、毛毛雨、阵雨)、雾霾(例如,轻雾、大雾、浓雾)、降雪、沙尘暴、雷电等。作为示例,所述预测气象数据可以基于气象预测模型确定。所述气象预测模型可以包括开源的WRF模型(Weather Research and Forecasting Model)。WRF模型可以利用指定地域范围气象监测数据结合气象物理化学模型生成该指定地域范围对应的具有预定网格密度的预测气象网格数据。所述预定网格密度可以是为该指定地域范围进行网格划分时的预先设定的分辨率,可以使用面积表示。例如,1km×1km、3km×3km、5km×5km等。其中,5km×5km可以表示将该指定区域范围划分为多个5km×5km大小的网格。所述预测气象网格数据则可以是指划分后网格对应的区域的预测气象数据。当使用WRF模型为包含所述目标路段的某一区域确定预测气象网格数据后,处理设备110可以确定所述目标路段的坐标属于哪一个网格,并将该网格对应的预测气象网格数据确定为所述目标路段的气象数据。在一些实施例中,所述气象数据可以包括温度、湿度、气压、降水量、风速、风向、光照度、辐射强度、日照小时数等气象参数或其任意组合在所述时间段内的值。在一些实施例,所述气象数据可以包括气象参数在所述时间段内随时间变化情况。例如,所述气象数据(如降水量)包括气象参数随时间的变化曲线。In some embodiments, the meteorological data may include predicted meteorological data of the target road section within the time period. The predicted weather data may be related to a certain type of weather, for example, strong winds (typhoons, hurricanes, etc.), precipitation (for example, rain, drizzle, showers), haze (for example, light fog, heavy fog, dense fog) , Snowfall, sandstorm, thunder and lightning, etc. As an example, the predicted weather data may be determined based on a weather prediction model. The weather prediction model may include an open source WRF model (Weather Research and Forecasting Model). The WRF model can use the meteorological monitoring data of a designated geographic area in combination with a meteorological physical and chemical model to generate forecasted meteorological grid data with a predetermined grid density corresponding to the designated geographic area. The predetermined grid density may be a preset resolution when performing grid division for the designated area, and may be expressed by area. For example, 1km×1km, 3km×3km, 5km×5km, etc. Among them, 5km×5km can indicate that the designated area is divided into multiple 5km×5km grids. The predicted weather grid data may refer to the predicted weather data of the area corresponding to the divided grid. After the WRF model is used to determine the predicted weather grid data for a certain area containing the target road section, the processing device 110 can determine which grid the coordinates of the target road section belong to, and then calculate the predicted weather grid corresponding to the grid The data is determined as the meteorological data of the target road section. In some embodiments, the meteorological data may include the values of meteorological parameters such as temperature, humidity, air pressure, precipitation, wind speed, wind direction, illuminance, radiation intensity, hours of sunshine, or any combination thereof within the time period. In some embodiments, the meteorological data may include changes in meteorological parameters over time within the time period. For example, the meteorological data (such as precipitation) includes a change curve of meteorological parameters over time.
在一些实施例中,所述目标路段在所述时间段之前的历史时间段内的历史交通流数据可以包括与所述时间段相邻的一个历史时间段(本说明书中也可以被称为第一历史时间段)内所述目标路段的第一历史交通流数据和/或与所述时间段相隔一个或多个时间周期的一个或多个历史时间段(本说明书中也可以被称为第二历史时间段)内与所述目标路段相关的第二历史交通流数据。继续参照前述示例,以当前时刻为对照,所述时间段可以是当前时刻之后的24小时,则所述第一历史时间段可以是当前时刻之前的24小时或更长时间。所述时间周期可以是一天、一周、一个月、一年等。例如,所述第二历史时间段可以是与当前时刻相隔一周后的24小时或间隔一天后的24小时。例如,假定当前时刻为周三晚24点,需要预测时间段为周四的0点至24点,则所述第二历史时间段可以是上周周四0点至24点之内的24小时和/或周三的0点至24点。在一些实施例中,所述历史交通流数据(包括第一历史交通流数据和第二交通流数据)可以至少包括历史交通流速度。处理设备110可以从数据库(例如,存储设备130)中获取到所述第一历史时间段内和所述第二历史时间段内通过所述目标路段的多个车辆的历史行程速度,并将这些历史行程车速的平均值作为所述历史交通流速度。In some embodiments, the historical traffic flow data of the target road segment in the historical time period before the time period may include a historical time period adjacent to the time period (may also be referred to as the first historical time period in this specification). Time period) within the first historical traffic flow data of the target road section and/or one or more historical time periods separated by one or more time periods from the time period (may also be referred to as the second historical time period in this specification) Time period) second historical traffic flow data related to the target road section. Continuing to refer to the foregoing example, taking the current time as a control, the time period may be 24 hours after the current time, and the first historical time period may be 24 hours or more before the current time. The time period can be one day, one week, one month, one year, etc. For example, the second historical time period may be 24 hours after one week from the current time or 24 hours after one day. For example, assuming that the current time is 24:00 on Wednesday evening, and the time period that needs to be predicted is from 0:00 to 24:00 on Thursday, the second historical time period may be the 24 hours and the time period between 0:00 and 24:00 on Thursday last week. / Or Wednesday from 0 o'clock to 24 o'clock. In some embodiments, the historical traffic flow data (including the first historical traffic flow data and the second traffic flow data) may include at least historical traffic flow speeds. The processing device 110 may obtain from a database (for example, the storage device 130) the historical travel speeds of a plurality of vehicles passing the target road segment in the first historical time period and the second historical time period, and combine these The average value of the historical travel speed is used as the historical traffic flow speed.
步骤403,基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据。在一些实施例中,步骤403可以由交通数据流确定模块320执行。例如,处理设备110可以将所述历史交通流数据以及所述气象数据输入至所述训练好的预测模型以生成所述预测交通流数据。Step 403: Based on the historical traffic flow data and the meteorological data, the trained prediction model is used to determine the predicted traffic flow data of the target road section in the time period. In some embodiments, step 403 may be performed by the traffic data flow determination module 320. For example, the processing device 110 may input the historical traffic flow data and the weather data into the trained prediction model to generate the predicted traffic flow data.
在一些实施例中,交通数据流确定模块320可以获取所述目标路段在所述时间段之前与该时间段相邻的一个或多个历史时间段(本说明书中也可以被称为第三历史时间段)内的历史气象数据。同样地,继续参照步骤401中的示例,以的当前时刻为对照,所述时间段可以是当前时刻之后的24小时,则所述第三历史时间段可以是当前时刻之前的24小时、48小时、72小时或其他时间段。所述历史气象数据可以是包含所述目标路段的历史气象网格数据。在一些实施例中,可以是根据WRF模型得到所述目标路段的历史气象网格数据。在生成历史气象网格数据时,WRF模型的分辨率可以是与生成所述预测气象网格数据时的分辨率相同。同样地,所述历史气象数据可以包括温度、湿度、气压、降水量、风速、风向、光照度、辐射强度、日照小时数等或其任意组合。在一些二实施例中,可以获得该目标路段在所述第三历史时间段内的实际气象数据并指定为历史气象数据。所述实际气象数据由气象监测机构采集,可以从相关联数据库获取。In some embodiments, the traffic data flow determination module 320 may obtain one or more historical time periods adjacent to the time period before the target road section (may also be referred to as the third historical time period in this specification). ) Historical weather data. Similarly, continue to refer to the example in step 401, and take the current time as a control. The time period may be 24 hours after the current time, and the third historical time period may be 24 hours or 48 hours before the current time. , 72 hours or other time period. The historical weather data may be historical weather grid data including the target road section. In some embodiments, the historical weather grid data of the target road section may be obtained according to the WRF model. When generating historical weather grid data, the resolution of the WRF model may be the same as the resolution when generating the predicted weather grid data. Similarly, the historical meteorological data may include temperature, humidity, air pressure, precipitation, wind speed, wind direction, illuminance, radiation intensity, sunshine hours, etc., or any combination thereof. In some second embodiments, actual weather data of the target road section in the third historical time period can be obtained and designated as historical weather data. The actual meteorological data is collected by a meteorological monitoring agency and can be obtained from an associated database.
在一些实施例中,交通数据流确定模块320可以基于所述历史气象数据、所述历史交通流数据以及所述气象数据,利用所述预测模型确定所述预测交通流数据。例如,交通数据流确定模块320可以利用所述预测模型处理所述历史气象数据、所述历史交通流数据以及所述气象数据以生成所述预测交通流数据。In some embodiments, the traffic data flow determination module 320 may use the prediction model to determine the predicted traffic flow data based on the historical weather data, the historical traffic flow data, and the weather data. For example, the traffic data flow determination module 320 may use the prediction model to process the historical weather data, the historical traffic flow data, and the weather data to generate the predicted traffic flow data.
在一些实施例中,处理设备110(例如,交通数据流确定模块320)可以获取该目标路段的特征参数并基于该目标路段的特征参数以及所述气象数据确定所述预测交通流数据。例如,处理设备110(例如,交通数据流确定模块320)可以将该目标路段的特征参数以及所述气象数据输入至所述预测模型中以生成所述预测交通流数据。又例如,处理设备可以将该目标路段的特征参数、所述历史交通流数据、所述气象数据以及历史气象数据输入至所述预测模型中以生成所述预测交通流数据。所述目标路段的特征参数可以包括目标路段等级、目标路段类型、目标路段宽度、目标路段长度、目标路段的车道数、目标路段所处区域等。In some embodiments, the processing device 110 (for example, the traffic data flow determination module 320) may obtain the characteristic parameters of the target road section and determine the predicted traffic flow data based on the characteristic parameters of the target road section and the meteorological data. For example, the processing device 110 (for example, the traffic data flow determination module 320) may input the characteristic parameters of the target road section and the meteorological data into the prediction model to generate the predicted traffic flow data. For another example, the processing device may input the characteristic parameters of the target road section, the historical traffic flow data, the weather data, and the historical weather data into the prediction model to generate the predicted traffic flow data. The characteristic parameters of the target road section may include the target road section level, the target road section type, the target road section width, the target road section length, the number of lanes of the target road section, the area where the target road section is located, and the like.
所述预测模型可以提供气象数据至交通流数据的映射关系。处理设备110(例如,交通数据流确定模块320)可以基于该映射关系以及输入的数据(例如,气象数据、历史交通流数据和/或历史气象数据)预测交通流数据。在一些实施例中,所述预测模型可以包括训练后的深度学习模型,例如,序列到序列模型。在一些实施例中,所述预测模型可以是基于注意力的序列到序列模型。所述基于注意力的序列到序列模型可以是基于编码器和解码器构建。 所述编码器可以包括基于长短期记忆(Long short-term memory,LSTM)的编码器,例如,LSTM、Bi-LSTM、CNN-LSTM、Conv-LSTM、TGC-LSTM等。所述解码器可以包括基于门控循环单元(Gated Recurrent Unit,GRU)的解码器,例如,GRU、Bi-GRU、DCGRU等。示例性的,所述预测模型可以采用深度Bi-LSTM作为编码器,采用深度GRU作为解码器。编码器和解码器分别包含3层神经网络,每层神经网络包含1379个隐藏节点,采用Soft Sign作为激活函数。关于预测模型的训练过程可以参考本说明书其他部分,例如,图6,在此不再赘述。The prediction model can provide a mapping relationship from weather data to traffic flow data. The processing device 110 (for example, the traffic data flow determining module 320) may predict traffic flow data based on the mapping relationship and the input data (for example, weather data, historical traffic flow data, and/or historical weather data). In some embodiments, the prediction model may include a trained deep learning model, for example, a sequence-to-sequence model. In some embodiments, the prediction model may be a sequence-to-sequence model based on attention. The attention-based sequence-to-sequence model may be constructed based on an encoder and a decoder. The encoder may include an encoder based on long short-term memory (LSTM), for example, LSTM, Bi-LSTM, CNN-LSTM, Conv-LSTM, TGC-LSTM, etc. The decoder may include a decoder based on a gated recurrent unit (Gated Recurrent Unit, GRU), for example, GRU, Bi-GRU, DCGRU, and so on. Exemplarily, the prediction model may use a deep Bi-LSTM as an encoder and a deep GRU as a decoder. The encoder and decoder respectively contain 3 layers of neural networks, each layer of neural network contains 1379 hidden nodes, and SoftSign is used as the activation function. Regarding the training process of the prediction model, you can refer to other parts of this specification, for example, Figure 6, which will not be repeated here.
在一些实施例中,交通数据流确定模块320可以基于所述历史交通流数据以及所述气象数据,构建适配于所述预测模型的输入序列。示例性的输入序列的格式可以如下所示:(Days*ID,Steps*Features)。其中,Days表示天数,包括了所述第一历史时间段和第二历史时间段,维度为二维;ID表示所述目标路段,维度为一维;Steps表示时间步长,假定设定一小时为一个时间步长,则时长为24小时的时间段的时间步长为24,维度根据步长长度和所述时间段的长度决定;Features表示特征,可以包括气象数据特征和历史交通流速度,维度根据气象数据的个数与历史交通流速度的总个数确定。In some embodiments, the traffic data flow determination module 320 may construct an input sequence adapted to the prediction model based on the historical traffic flow data and the meteorological data. The format of an exemplary input sequence can be as follows: (Days*ID, Steps*Features). Among them, Days represents the number of days, including the first historical time period and the second historical time period, and the dimension is two-dimensional; ID represents the target road section, and the dimension is one-dimensional; Steps represents the time step, assuming that one hour is set Is a time step, then the time step of a time period of 24 hours is 24, and the dimension is determined according to the step length and the length of the time period; Features represents features, which can include meteorological data features and historical traffic flow speeds, The dimension is determined based on the total number of meteorological data and the total number of historical traffic flow speeds.
在一些实施例中,交通数据流确定模块320可以利用所述预测模型处理所述输入序列,确定所述预测交通流数据。例如,交通数据流确定模块320可以将所述输入序列输入至所述预测模型,获取所述预测交通流数据。在一些实施例中,所述预测交通流数据可以包括在所述时间段内与所述目标路段相关的交通流速度预测曲线。例如,交通数据流确定模块320可以利用所述预测模型获取在所述时间段内的各个时刻(例如,每三十秒)所述目标路段的预测交通流速度,并进行曲线拟合得到所述交通流速度预测曲线。又例如,交通数据流确定模块320可以利用所述预测模型获取直接输出所述时间段内所述目标路段的所述交通流速度预测曲线。由于所述输入序列的构成使用了气象数据(包括预测气象数据和历史气象数据),所述交通流速度预测曲线可以在一定程度上反应所述目标路段在不同的天气条件下(由预测气象数据和/或历史气象数据确定的天气条件)的交通流速度的变化情况,例如,所述目标路段在出现暴雨天气时,交通流速度的下降和上升情况。In some embodiments, the traffic data flow determination module 320 may use the prediction model to process the input sequence to determine the predicted traffic flow data. For example, the traffic data flow determination module 320 may input the input sequence to the prediction model to obtain the predicted traffic flow data. In some embodiments, the predicted traffic flow data may include a traffic flow velocity prediction curve related to the target road section within the time period. For example, the traffic data flow determination module 320 may use the prediction model to obtain the predicted traffic flow speed of the target road section at each time (for example, every thirty seconds) within the time period, and perform curve fitting to obtain the Traffic flow speed prediction curve. For another example, the traffic data flow determination module 320 may use the prediction model to obtain and directly output the traffic flow speed prediction curve of the target road section in the time period. Since the composition of the input sequence uses meteorological data (including predicted meteorological data and historical meteorological data), the traffic flow velocity prediction curve can reflect to a certain extent that the target road section is under different weather conditions (by the predicted meteorological data). And/or weather conditions determined by historical weather data) traffic flow speed changes, for example, the target road section when there is a heavy rain, the traffic flow speed drops and rises.
步骤405,基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数。在一些实施例中,步骤405可以由交通评估模块330执行。Step 405: Based on the predicted traffic flow data, determine at least one traffic evaluation parameter related to the target road section within the time period. In some embodiments, step 405 may be performed by the traffic evaluation module 330.
在一些实施例中,所述交通评估参数可以用于评估所述目标路段在所述气象数据条件下的交通恢复能力。可以理解,当所述气象数据条件是台风、暴雨等极端或恶劣天气时,所述目标路段的交通性能必定会受到影响。交通性能可以由交通流速度、交通流量等体现。例如,当所述气象数据条件是台风、暴雨等恶劣天气时,交通性能下降,表现为交通流速度下 降、交通流量较小等。经历整个气象过程中,所述目标路段的交通性能是经历下降到上升恢复至正常水准的过程。所述交通评估参数可以用于表示这个过程的交通恢复能力。所述交通评估参数可以包括交通性能损失参数(Loss of Resilience,LOR)、响应时间(Response Time,RST)、恢复时间(Recovery Time,RCT)、响应速率(Response Rate,RSR)、恢复速率(Recovery Rate,RCR)等或其组合。所述交通性能损失参数可以用于表示所述目标路段的交通性能损失。例如,强降水天气下从降水开始到降水结束,所述目标路段的交通流速度从正常值下降到最低值再恢复至正常值(例如,非降水日期的交通流速度)这一段时间内的交通性能损失,例如,通行车辆的流量的下降值。所述响应时间可以用于表示所述目标路段的交通流速度从正常值下降至最低值的时长。例如,强降水天气下从降水开始,所述目标路段的交通流速度从正常值下降到最低值的时长。所述恢复时间用于表示所述目标路段的交通流速度从最低值恢复至正常值的时长。例如,强降水天气下,所述目标路段的交通流速度从最低值恢复至强降水结束时的正常值的时长。所述响应速率可以用于表示所述目标路段的交通流速度从正常值下降至最低值的速率。例如,强降水天气下从降水开始,所述目标路段的交通流速度从正常值下降到最低值的下降值与时长之间的比值。所述恢复速率用于表示所述目标路段的交通流速度从最低值恢复至正常值的速率。例如,强降水天气下,所述目标路段的交通流速度从最低值恢复至强降水结束后的正常值的恢复值与时长之间的比值。所述交通评估参数不仅可以说明所述目标路段在所述气象数据条件下的交通性能损失大小,同时也可以说明响应时长和响应速率(例如,损失时长和损失速率)以及恢复时长/速率,综合性的评估所述目标路段在所述气象数据条件下的交通恢复能力。In some embodiments, the traffic evaluation parameter may be used to evaluate the traffic recovery capability of the target road section under the weather data condition. It can be understood that when the weather data conditions are extreme or severe weather such as typhoons and rainstorms, the traffic performance of the target road section will definitely be affected. Traffic performance can be embodied by traffic flow speed, traffic flow, etc. For example, when the meteorological data conditions are severe weather such as typhoons and heavy rains, the traffic performance is degraded, which is manifested as a decrease in the speed of traffic flow and a small traffic volume. Throughout the entire meteorological process, the traffic performance of the target road section experiences a process of falling to rising and returning to a normal level. The traffic evaluation parameters can be used to express the traffic recovery capability of this process. The traffic evaluation parameters may include traffic performance loss parameters (Loss of Resilience, LOR), response time (Response Time, RST), recovery time (Recovery Time, RCT), response rate (Response Rate, RSR), and recovery rate (Recovery Rate, RCR), etc. or a combination thereof. The traffic performance loss parameter may be used to indicate the traffic performance loss of the target road section. For example, under heavy precipitation weather, from the beginning of the precipitation to the end of the precipitation, the traffic flow speed of the target road section drops from the normal value to the lowest value and then returns to the normal value (for example, the traffic flow speed on a non-precipitation day). Performance loss, for example, a decrease in the flow of passing vehicles. The response time may be used to indicate the length of time that the traffic flow speed of the target road section drops from a normal value to a minimum value. For example, in a heavy rainfall weather, starting from precipitation, the traffic flow speed of the target road section drops from a normal value to a minimum value. The recovery time is used to indicate the length of time for the traffic flow speed of the target road section to recover from the lowest value to the normal value. For example, under heavy rainfall, the time period for the traffic flow velocity of the target road section to recover from the lowest value to the normal value at the end of the heavy rainfall. The response rate may be used to indicate the rate at which the traffic flow speed of the target road section drops from a normal value to a minimum value. For example, starting from precipitation under heavy rainfall weather, the ratio between the decreasing value of the traffic flow speed of the target road section from the normal value to the lowest value and the duration. The recovery rate is used to indicate the rate at which the traffic flow speed of the target road section recovers from the lowest value to the normal value. For example, under heavy rainfall, the traffic flow velocity of the target road section is restored from the lowest value to the normal value after the end of the heavy rainfall. The ratio between the restored value and the duration. The traffic evaluation parameters can not only indicate the size of the traffic performance loss of the target road section under the conditions of the meteorological data, but also the response time and response rate (for example, loss time and loss rate) and recovery time/rate. To evaluate the traffic recovery capability of the target road section under the weather data condition.
在一些实施例中,交通评估模块330可以利用基准交通流数据,并基于基准交通流数据、预测交通流数据以及气象数据确定交通评估参数。所述基准交通流数据可以是在正常气象数据条件下(例如,天气晴好条件下)所述目标路段的交通流数据。基于所述基准交通流数据可以得到一个基准交通流速度曲线。交通评估模块330可以基于所述基准交通流速度曲线以及所述预测交通流速度曲线确定所述交通评估参数。关于确定所述交通评估参数的描述可以参考本说明书其他部分,例如,图5,在此不再赘述。In some embodiments, the traffic evaluation module 330 may use reference traffic flow data, and determine traffic evaluation parameters based on the reference traffic flow data, predicted traffic flow data, and weather data. The reference traffic flow data may be the traffic flow data of the target road section under normal weather data conditions (for example, under fine weather conditions). A reference traffic flow speed curve can be obtained based on the reference traffic flow data. The traffic evaluation module 330 may determine the traffic evaluation parameter based on the reference traffic flow speed curve and the predicted traffic flow speed curve. For the description of determining the traffic evaluation parameters, reference may be made to other parts of this specification, for example, FIG. 5, which is not repeated here.
在一些实施例中,交通评估模块330可以获取基于交通流速度的交通评估模型并基于预测交通流数据确定交通评估参数。所述交通评估模型可以反映交通流速度与交通评估参数之间的关系。在一些实施例中,所述交通评估模型可以包括训练好的机器学习模型(例如,训练后的神经网络模型)。例如,与处理设备110相同或不同的处理设备可以获取多个样本,每个样本包括交通流数据以及评估参数。处理设备可以利用所述样本通过训练神经网络获取交通评估模型。在一些实施例中,所述交通评估模型可以包括训练后的回归模型。与处理设 备110相同或不同的处理设备可以获取多个样本,每个样本包括交通流数据以及评估参数。处理设备可以利用所述样本通过回归模型进行拟合(例如,线性回归、逻辑回归或者多项式回归)确定交通评估模型。关于交通评估模型的训练可以与预测模型的训练相同或相似。更多关于交通评估模型的训练可以参考图6的描述。In some embodiments, the traffic assessment module 330 may obtain a traffic assessment model based on traffic flow speed and determine traffic assessment parameters based on predicted traffic flow data. The traffic assessment model can reflect the relationship between traffic flow speed and traffic assessment parameters. In some embodiments, the traffic evaluation model may include a trained machine learning model (for example, a trained neural network model). For example, a processing device that is the same as or different from the processing device 110 may acquire multiple samples, and each sample includes traffic flow data and evaluation parameters. The processing device can use the samples to obtain a traffic evaluation model by training a neural network. In some embodiments, the traffic evaluation model may include a trained regression model. The processing device that is the same as or different from the processing device 110 can obtain multiple samples, and each sample includes traffic flow data and evaluation parameters. The processing device may use the sample to perform fitting through a regression model (for example, linear regression, logistic regression, or polynomial regression) to determine a traffic evaluation model. The training on the traffic evaluation model can be the same or similar to the training of the predictive model. For more information about the training of the traffic evaluation model, please refer to the description in Figure 6.
在一些实施例中,处理设备110(例如,后处理模块340)还可以获取多个路段在多个时间段内的至少一个参考交通评估参数以及利用所述预测模型确定的预测交通评估参数。在一些实施例中,处理设备110(例如,后处理模块340)可以获取所述多个时间段内与所述多个路段的真实交通流数据。例如,处理设备110(例如,后处理模块340)可以获取到多个时间段内的各个时刻(例如,每三十秒)多个目标路段的实际交通流速度,并进行曲线拟合,得到每个路段在每个时间段内的交通流速度真实曲线。处理设备110(例如,后处理模块340)可以利用与确定所述交通评估参数相同和/或相似的方法,确定所述至少一个参考交通评估参数。例如,参考交通性能损失参数、参考响应时间、参考恢复时间、参考响应速率以及参考恢复速率。在一些实施例中,处理设备110(例如,后处理模块340)还可以获取多个时间段所述目标路段内与所述目标路段相关的至少一个交通评估参数和至少一个参考交通评估参数或其他路段相关的至少一个交通评估参数和至少一个参考交通评估参数以确定多组的参考交通评估参数和预测交通评估参数。处理设备110(例如,后处理模块340)可以基于多组的参考交通评估参数和预测交通评估参数确定交通评估的准确度。例如,基于多组的参考交通评估参数和预测交通评估参数计算均方根误差(RMSE)、平均绝对误差(MAE)、均方误差(MSE)、R-Squared等回归指标确定交通评估的准确度。在一些实施例中,处理设备110(例如,后处理模块340)可以基于所述准确度对交通评估模型进行更新。例如,对交通评估模型的参数进行更新。In some embodiments, the processing device 110 (for example, the post-processing module 340) may also obtain at least one reference traffic assessment parameter of multiple road segments in multiple time periods and the predicted traffic assessment parameter determined by using the prediction model. In some embodiments, the processing device 110 (for example, the post-processing module 340) may obtain real traffic flow data of the multiple time periods and the multiple road segments. For example, the processing device 110 (for example, the post-processing module 340) may obtain the actual traffic flow speeds of multiple target road sections at various times (for example, every thirty seconds) in multiple time periods, and perform curve fitting to obtain each The real curve of the traffic flow speed of each road segment in each time period. The processing device 110 (for example, the post-processing module 340) may determine the at least one reference traffic evaluation parameter by using the same and/or similar method as that of determining the traffic evaluation parameter. For example, reference traffic performance loss parameters, reference response time, reference recovery time, reference response rate, and reference recovery rate. In some embodiments, the processing device 110 (for example, the post-processing module 340) may also acquire at least one traffic evaluation parameter and at least one reference traffic evaluation parameter related to the target road section within the target road section for multiple time periods. At least one traffic evaluation parameter and at least one reference traffic evaluation parameter related to the road section are used to determine multiple sets of reference traffic evaluation parameters and predicted traffic evaluation parameters. The processing device 110 (for example, the post-processing module 340) may determine the accuracy of the traffic assessment based on multiple sets of reference traffic assessment parameters and predicted traffic assessment parameters. For example, calculate the root mean square error (RMSE), mean absolute error (MAE), mean square error (MSE), R-Squared and other regression indicators based on multiple sets of reference traffic evaluation parameters and predicted traffic evaluation parameters to determine the accuracy of traffic evaluation . In some embodiments, the processing device 110 (for example, the post-processing module 340) may update the traffic evaluation model based on the accuracy. For example, update the parameters of the traffic assessment model.
在一些实施例中,处理设备110(例如,后处理模块340)可以获取包括所述目标路段的目标区域内多个路段的交通评估参数。所述目标区域可以是所述目标路段所在的区域,例如,行政区或城市。处理设备110(例如,后处理模块340)可以使用与确定所述目标路段的交通评估参数相同的处理流程,为所述目标区域内的多个路段的每一个确定对应的交通评估参数。In some embodiments, the processing device 110 (for example, the post-processing module 340) may obtain traffic evaluation parameters of multiple road sections in the target area including the target road section. The target area may be an area where the target road section is located, for example, an administrative district or a city. The processing device 110 (for example, the post-processing module 340) may use the same processing procedure as determining the traffic evaluation parameter of the target road section to determine the corresponding traffic evaluation parameter for each of the multiple road sections in the target area.
在一些实施例中,处理设备110(例如,后处理模块340)可以将所述多个路段的交通评估参数映射至所述目标区域的地图数据上,获取所述目标区域的交通评估的可视化结果。作为示例,处理设备110(例如,后处理模块340)可以基于多个路段的交通评估参数为所述目标区域的地图数据进行着色。例如,处理设备110(例如,后处理模块340)可以确定一个颜色对比度。以可见光波长从大到小的顺序,对应所述交通评估参数从大到小的顺序。也就 是说,在为所述目标区域的地图数据进行着色时,处理设备110(例如,后处理模块340)可以使用交通评估参数对应的颜色。这样,处理完毕后可以获取对应于所述目标区域的一个彩色图。不同的颜色对应了不同的交通评估参数。对应于所述目标区域的彩色图则可以被称为所述目标区域的交通评估的可视化结果。In some embodiments, the processing device 110 (for example, the post-processing module 340) may map the traffic evaluation parameters of the multiple road sections to the map data of the target area to obtain the visualization result of the traffic evaluation of the target area . As an example, the processing device 110 (for example, the post-processing module 340) may color the map data of the target area based on the traffic evaluation parameters of multiple road sections. For example, the processing device 110 (e.g., the post-processing module 340) may determine a color contrast. In the descending order of the visible light wavelengths, the order of the traffic evaluation parameters is ascending. In other words, when coloring the map data of the target area, the processing device 110 (for example, the post-processing module 340) may use the color corresponding to the traffic evaluation parameter. In this way, after the processing is completed, a color image corresponding to the target area can be obtained. Different colors correspond to different traffic evaluation parameters. The color map corresponding to the target area may be referred to as the visualization result of the traffic assessment of the target area.
应当注意的是,上述有关流程400的描述仅仅是为了示例和说明,而不限定本申请的适用范围。对于本领域技术人员来说,在本申请的指导下可以对流程400进行各种修正和改变。然而,这些修正和改变仍在本申请的范围之内。It should be noted that the foregoing description of the process 400 is only for example and description, and does not limit the scope of application of the present application. For those skilled in the art, various modifications and changes can be made to the process 400 under the guidance of this application. However, these amendments and changes are still within the scope of this application.
图5是根据本申请一些实施例所示的确定至少一个交通评估参数的示例性流程图。在一些实施例中,流程500可以由处理设备(例如,图1所示的处理设备110)执行。例如,流程500可以以程序或指令的形式存储在存储设备(例如,存储设备130或处理设备的存储单元)中,当处理器210或图3所示的模块执行程序或指令时,可以实现流程500。在一些实施例中,流程500可以由交通评估模块330执行。在一些实施例中,流程500可以利用以下未描述的一个或以上附加操作,和/或不通过以下所讨论的一个或以上操作完成。另外,如图5所示的操作的顺序并非限制性的。如图5所示,流程500可以包括以下操作。Fig. 5 is an exemplary flowchart for determining at least one traffic evaluation parameter according to some embodiments of the present application. In some embodiments, the process 500 may be executed by a processing device (for example, the processing device 110 shown in FIG. 1). For example, the process 500 may be stored in a storage device (for example, the storage device 130 or a storage unit of a processing device) in the form of a program or instruction. When the processor 210 or the module shown in FIG. 3 executes the program or instruction, the process may be implemented. 500. In some embodiments, the process 500 may be executed by the traffic evaluation module 330. In some embodiments, the process 500 may utilize one or more additional operations not described below, and/or not be completed by one or more operations discussed below. In addition, the order of operations shown in FIG. 5 is not restrictive. As shown in FIG. 5, the process 500 may include the following operations.
步骤501,获取与所述目标路段相关的基准交通流数据。Step 501: Obtain reference traffic flow data related to the target road section.
在一些实施例中,所述基准交通流数据可以是预先确定的。处理设备110(或交通评估模块330)可以获取需要对所述目标路段进行交通评估的时间段之前的一个历史时间段(在本说明书中可以被称为第四历史时间段)内的历史交通流数据。所述第四历史时间段可以是一个月、一个季度、半年、一年等。处理设备110(或交通评估模块330)可以对这些历史交通流数据进行筛选,获取天气情况良好(天晴或无雨等)的日期的交通流数据(本申请中也可以被称为参考交通流数据)。处理设备110(或交通评估模块330)可以基于参考交通流数据确定基准交通流数据。例如,处理设备110可以将多天内的参考交通流数据进行均值处理以确定基准交通流数据。In some embodiments, the reference traffic flow data may be predetermined. The processing device 110 (or the traffic evaluation module 330) can obtain the historical traffic flow in a historical time period (which may be referred to as the fourth historical time period in this specification) before the time period during which traffic evaluation of the target road section is required. data. The fourth historical time period may be one month, one quarter, six months, one year, etc. The processing device 110 (or the traffic evaluation module 330) can filter these historical traffic flow data to obtain the traffic flow data of the days when the weather condition is good (clear or rainless, etc.) (also referred to as reference traffic flow in this application). data). The processing device 110 (or the traffic evaluation module 330) may determine the reference traffic flow data based on the reference traffic flow data. For example, the processing device 110 may perform averaging processing on the reference traffic flow data in multiple days to determine the reference traffic flow data.
在一些实施例中,若需要对所述目标路段进行交通评估的时间段为某一天或某一天中的某段时间,处理设备110(或交通评估模块330)可以按这些日期在一个星期中的时间位置将这些参考交通流数据划分为七个批次。例如,同属于星期一的多个日期的参考交通流数据属于同一个批次,同属于星期二的多个日期的参考交通流数据属于同一个批次,同属于星期三的多个日期的参考交通流数据属于同一个批次,以此类推。在批次划分完毕后,处理设备110(或交通评估模块330)可以为每个批次的参考交通流数据进行均值处理。例如,确定每小时对应的交通流速度均值。这样,每个批次的参考交通流数据的均值处理结果可以作为一个基准交通流数据。例如,所述基准交通流数据可以包括一天内的交通流速度曲线。在一 些实施例中,处理设备110可以确定所述时间段在一个星期中所处的时间位置,并基于该时间位置确定对应的批次的参考交通流数据的均值处理结果可以作为所述目标路段相关的基准交通流数据。例如,假定所述时间段属于星期四,则对应于星期四的一个批次的参考交通流数据的均值处理结果可以作为所述目标路段相关的基准交通流数据。需要说明的是,按这些日期在一个星期中的时间位置将这些参考交通流数据划分为七个批次只是示例性说明,并不限制本发明的范围。例如,也可以按这些日期在一个月中或一个季度中的时间位置将这些参考交通流数据划分为多个批次等以确定基准交通流数据。In some embodiments, if the time period during which the traffic evaluation needs to be performed on the target road section is a certain day or a certain period of time in a certain day, the processing device 110 (or the traffic evaluation module 330) may determine whether these dates are in a week. The time location divides these reference traffic flow data into seven batches. For example, the reference traffic flow data of multiple dates that belong to the same Monday belong to the same batch, the reference traffic flow data of multiple dates that belong to the same Tuesday belong to the same batch, and the reference traffic flow data of multiple dates that belong to the same Wednesday belong to the same batch. The data belong to the same batch, and so on. After the batches are divided, the processing device 110 (or the traffic evaluation module 330) can perform averaging processing for the reference traffic flow data of each batch. For example, determine the average value of traffic flow speed per hour. In this way, the average processing result of the reference traffic flow data of each batch can be used as a reference traffic flow data. For example, the reference traffic flow data may include a traffic flow speed curve in a day. In some embodiments, the processing device 110 may determine the time position of the time period in a week, and based on the time position, determine that the average processing result of the reference traffic flow data of the corresponding batch may be used as the target road section. Related benchmark traffic flow data. For example, assuming that the time period belongs to Thursday, the average processing result of a batch of reference traffic flow data corresponding to Thursday may be used as the reference traffic flow data related to the target road section. It should be noted that the division of the reference traffic flow data into seven batches according to the time position of the dates in a week is only an exemplary description, and does not limit the scope of the present invention. For example, the reference traffic flow data can also be divided into multiple batches according to the time position of these dates in a month or a quarter to determine the reference traffic flow data.
步骤503,基于所述气象数据、所述预测交通流数据以及所述基准交通流数据,确定一个或多个评估时刻以及与一个或多个预测交通流速度和基准交通流速度。Step 503: Based on the meteorological data, the predicted traffic flow data, and the reference traffic flow data, determine one or more evaluation moments and one or more predicted traffic flow speeds and reference traffic flow speeds.
在一些实施例中,所述气象数据可以包括气象参数(例如,降水量)在所述时间段内随时间变化情况。处理设备110(或交通评估模块330)可以基于所述气象数据确定所述气象数据对应的气象参数变化的一个或多个关键时刻。在一些实施例中,所述气象参数变化的关键时刻可以包括气象参数变化的开始时刻、结束时刻、变化最大时刻、变化最剧烈时刻(即变化速度最快时刻)等。例如,对于降水天气,处理设备110(或交通评估模块330)可以确定降水开始时刻、降水峰值时刻以及降水结束时刻。降水开始时刻至降水结束时刻之间的一段时长,可以是该气象参数变化的持续时长。可以理解,在降水对应的持续时长内,所述目标路段的交通流数据(例如,交通流速度)将会发生变化。例如,降水开始后交通流速度将开始减小,在下降至最低点后可能向上恢复或以最低点持续至降水结束。在一些实施例中,所述预测交通流数据以及所述基准交通流数据可以包括交通流速度在所述时间段内随时间变化情况。处理设备110(或交通评估模块330)可以基于所述预测交通流数据以及所述基准交通流数据确定交通流速度变化的一个或多个关键时刻。在一些实施例中,所述交通流速度变化的关键时刻可以包括交通流速度变化的开始时刻、结束时刻、交通流速度最小时刻、交通流速度最大时刻、交通流速度变化最剧烈时刻(即变化速度最快时刻)等。处理设备110(或交通评估模块330)可以以这些交通流速度变化的关键时刻,作为所述一个或多个评估时刻。In some embodiments, the meteorological data may include changes in meteorological parameters (for example, precipitation) over time within the time period. The processing device 110 (or the traffic evaluation module 330) may determine, based on the weather data, one or more critical moments of changes in the weather parameters corresponding to the weather data. In some embodiments, the critical moment of the change of the meteorological parameter may include the start moment, the end moment, the moment of the greatest change, the moment of the most severe change (ie the moment of the fastest change), etc. of the change of the meteorological parameter. For example, for rainy weather, the processing device 110 (or the traffic evaluation module 330) may determine the start time of the precipitation, the time of the precipitation peak, and the end of the precipitation. The period of time between the beginning of precipitation and the end of precipitation may be the duration of the change of the meteorological parameter. It can be understood that within the duration corresponding to the precipitation, the traffic flow data (for example, the traffic flow speed) of the target road section will change. For example, the traffic flow speed will begin to decrease after the precipitation begins, and may recover upwards after falling to the lowest point or continue at the lowest point until the precipitation ends. In some embodiments, the predicted traffic flow data and the reference traffic flow data may include changes in traffic flow speed over time during the time period. The processing device 110 (or the traffic evaluation module 330) may determine one or more key moments of the traffic flow speed change based on the predicted traffic flow data and the reference traffic flow data. In some embodiments, the critical moments of the traffic flow speed change may include the start moment, the end moment, the moment when the traffic flow speed is the smallest, the moment when the traffic flow speed is the largest, and the moment when the traffic flow speed changes most drastically (that is, the moment when the traffic flow speed changes). The fastest moment) and so on. The processing device 110 (or the traffic assessment module 330) may use these critical moments of changes in the traffic flow speed as the one or more assessment moments.
在一些实施例中,所述预测交通流数据可以包括在所述时间段内与所述目标路段相关的交通流速度预测曲线。所述预测交通流数据可以基于流程400(例如,步骤403)确定。所述基准交通流数据可以包括在与所述时间段具有相同时间标识的基准时间段内与所述目标路段相关的交通流速度基准曲线。如步骤501中的描述,所述时间标识可以用于指示所述时间段处于一个星期或一个月或一天或一年等时间周期中的时间位置,例如,星期几。所述基准时间段的时长可以与所述时间段的时长相同,且起始时刻和结束时刻相同。例如,假定所述 时间段为星期五9点至18点,则所述基准交通流数据包括对应于星期五的一个批次的参考交通流数据的在9点至18点的均值处理结果,例如,9点至18点对应的交通流曲线。在一些实施例中,处理设备110(或交通评估模块330)可以基于交通流速度预测曲线中确定与所述一个或多个评估时刻对应的一个或多个预测交通流速度,并基于交通流速度参考曲线确定与所述一个或多个评估时刻对应的一个或多个基准交通流速度。例如,处理设备110(或交通评估模块330)可以在速度流曲线上通过确定对应于各个评估时刻的交通流速度。In some embodiments, the predicted traffic flow data may include a traffic flow velocity prediction curve related to the target road section within the time period. The predicted traffic flow data may be determined based on the process 400 (for example, step 403). The reference traffic flow data may include a traffic flow speed reference curve related to the target road section in a reference time period having the same time identifier as the time period. As described in step 501, the time identifier may be used to indicate the time position of the time period in a time period such as a week, a month, a day, or a year, for example, the day of the week. The duration of the reference time period may be the same as the duration of the time period, and the start time and end time are the same. For example, assuming that the time period is from 9:00 to 18:00 on Friday, the reference traffic flow data includes the average processing results from 9:00 to 18:00 of the reference traffic flow data corresponding to a batch of Friday, for example, 9 The traffic flow curve corresponding to 18:00 to 18:00. In some embodiments, the processing device 110 (or the traffic assessment module 330) may determine one or more predicted traffic flow speeds corresponding to the one or more assessment moments based on the traffic flow speed prediction curve, and based on the traffic flow speed The reference curve determines one or more reference traffic flow speeds corresponding to the one or more evaluation moments. For example, the processing device 110 (or the traffic evaluation module 330) can determine the traffic flow speed corresponding to each evaluation time on the speed flow curve.
参考图7,图7是根据本申请一些实施例所示用于描述气象数据对应的天气情况的示例性曲线图。如图7所示,所述时间段为24小时,以降水天气为例。t 0表示降水开始时刻;t 1表示降水峰值时刻;t 2表示降水结束时刻;T表示t 0和t 2之间的降水天气的观察时间窗口,为整个降水天气的持续时长。参考图8,图8是根据本申请一些实施例所示的交通流速度曲线的示例性示意图。如图8所示,灰度较深的曲线L1表示交通流速度基准曲线,灰度较浅的曲线L2表示交通流速度预测曲线。m 0表示t′ 0时刻的交通流速度,此时刻预测交通流速度和基准交通流速度相同,t′ 0与t 0相同;m 1表示在观察时间窗口T之内的最低预测交通流速度;t′ 1表示对应于m 1的时刻;m 2表示在时间窗口(t 2,t 2+t′)之内,预测交通流速度的最高值,m 2等于或小于m 0,此时刻预测交通流速度和基准交通流速度相同;t′ 2表示对应于m 2的时刻。+t′可以表示恢复缓冲时间,可以等于1、2、3等。可以理解,在降水天气结束后,交通流速度并不会马上恢复至日常状态,需要有一个缓冲时间。+t′可以是预先设定的,也可以是根据不同的天气条件进行调整。t′ 0、t′ 1、t′ 2可以是所述评估时刻,m 0、m 2可以是基准交通流数据,m 0、m 1、m 2可以是预测交通流数据。 Referring to FIG. 7, FIG. 7 is an exemplary graph for describing weather conditions corresponding to weather data according to some embodiments of the present application. As shown in Fig. 7, the time period is 24 hours, taking precipitation weather as an example. t 0 represents the beginning of precipitation; t 1 represents the moment of precipitation peak; t 2 represents the end of precipitation; T represents the observation time window of the precipitation weather between t 0 and t 2 , which is the duration of the entire precipitation weather. Referring to FIG. 8, FIG. 8 is an exemplary schematic diagram of a traffic flow speed curve according to some embodiments of the present application. As shown in Figure 8, the darker gray curve L1 represents the traffic flow speed reference curve, and the lighter gray curve L2 represents the traffic flow speed prediction curve. m 0 represents the traffic flow speed at time t′ 0 , the predicted traffic flow speed at this moment is the same as the reference traffic flow speed, t′ 0 is the same as t 0 ; m 1 represents the lowest predicted traffic flow speed within the observation time window T; t′ 1 represents the time corresponding to m 1 ; m 2 represents the highest value of the predicted traffic flow speed within the time window (t 2 , t 2 + t′), m 2 is equal to or less than m 0 , and traffic is predicted at this moment The flow speed is the same as the reference traffic flow speed; t′ 2 represents the time corresponding to m 2. +t' can represent the recovery buffer time, which can be equal to 1, 2, 3, etc. It can be understood that after the rainy weather ends, the traffic flow speed will not return to the normal state immediately, and a buffer time is required. +t' can be preset or adjusted according to different weather conditions. t′ 0 , t′ 1 , and t′ 2 may be the evaluation moments, m 0 , m 2 may be reference traffic flow data, and m 0 , m 1 , and m 2 may be predicted traffic flow data.
步骤505,基于所述预测交通流速度、所述基准交通流速度以及所述一个或多个评估时刻,确定所述至少一个交通评估参数。Step 505: Determine the at least one traffic evaluation parameter based on the predicted traffic flow speed, the reference traffic flow speed, and the one or more evaluation moments.
在一些实施例中,为确定交通性能损失参数LoR,处理设备110(或交通评估模块330)可以确定在一个或多个评估时刻构成的一个或多个评估时长内,所述交通流速度预测曲线的第一积分和所述交通流速度参考曲线的第二积分。继续参考图8,处理设备110可以确定在评估时长(t′ 2-t′ 0)内,所述交通流速度预测曲线的第一积分和所述交通流速度参考曲线的第二积分。所述第一积分可以表示在所述气象数据对应的天气情况下(例如,降水天气)通过所述目标路段的车流量。所述第二积分可以表示在天气情况良好时通过所述目标路段的车流量。处理设备110(或交通评估模块330)可以基于所述第一积分和所述第二积分,确定所述交通性能损失参数。例如,处理设备110(或交通评估模块330)可以确定第一积分与第二积分之间的差值,例如,使用第二积分减去第一积分得到的差值,作为所述交通性能损失参数。该差值越大,表示在相同时间内通过目标路段的车流量的减少量越多,所述目标路段 的交通性能(例如,单位时间内车辆通过率)减小的越多。在一些实施例中,处理设备110(或交通评估模块330)可以基于以下公式(1)确定所述交通性能损失参数: In some embodiments, in order to determine the traffic performance loss parameter LoR, the processing device 110 (or the traffic evaluation module 330) may determine that the traffic flow velocity prediction curve is within one or more evaluation durations formed by one or more evaluation moments. The first integral and the second integral of the traffic flow speed reference curve. Continuing to refer to FIG. 8, the processing device 110 may determine the first integral of the traffic flow velocity prediction curve and the second integral of the traffic flow velocity reference curve within the evaluation duration (t′ 2 -t′ 0 ). The first integral may represent the flow of vehicles passing through the target road section under weather conditions corresponding to the meteorological data (for example, precipitation weather). The second integral may indicate the amount of traffic passing through the target road section when the weather condition is good. The processing device 110 (or the traffic evaluation module 330) may determine the traffic performance loss parameter based on the first integral and the second integral. For example, the processing device 110 (or the traffic evaluation module 330) may determine the difference between the first integral and the second integral, for example, use the difference obtained by subtracting the first integral from the second integral as the traffic performance loss parameter . The larger the difference, the more the reduction in the traffic volume passing through the target road section in the same time, and the more the traffic performance (for example, the vehicle passing rate per unit time) of the target road section is reduced. In some embodiments, the processing device 110 (or the traffic evaluation module 330) may determine the traffic performance loss parameter based on the following formula (1):
Figure PCTCN2020134868-appb-000001
Figure PCTCN2020134868-appb-000001
其中,
Figure PCTCN2020134868-appb-000002
表示交通流速度参考曲线,R(t)表示交通流速度预测曲线。
among them,
Figure PCTCN2020134868-appb-000002
It represents the reference curve of traffic flow speed, and R(t) represents the prediction curve of traffic flow speed.
在一些实施例中,处理设备110(例如,交通评估模块330)可以确定所述一个或多个评估时刻之间的一个或多个第一差值,并指定所述一个或多个第一差值中的一个作为所述响应时间或所述恢复时间。继续参考图8,t′ 0时刻时,所述目标路段的交通流速度(不管是预测交通流速度还是参考交通速度)是未受天气情况影响的。t′ 1时刻时,所述目标路段的预测交通流速度受天气情况影响下降至最低值。t′ 1时刻往后,所述目标路段的预测交通流速度开始恢复,直至恢复至t′ 2时刻的最大值。则,t′ 0时刻至t′ 1时刻可以是所述目标路段的交通流速度的衰减时长,也可被称为所述目标路段应对天气变化时的响应时长。t′ 1时刻至t′ 2时刻可以是所述目标路段的交通流速度的恢复时长,也可被称为所述目标路段应对天气变化时的恢复时长。处理设备110(例如,交通评估模块330)可以确定t′ 0时刻至t′ 1时刻所构成的第一时长为所述响应时间,t′ 1时刻至t′ 2时刻所构成的第二时长为所述恢复时间。在一些实施例中,处理设备110(例如,交通评估模块330)可以基于以下公式(2)-(3)确定所述响应时间和所述恢复时间: In some embodiments, the processing device 110 (for example, the traffic evaluation module 330) may determine one or more first differences between the one or more evaluation moments, and specify the one or more first differences One of the values is used as the response time or the recovery time. Continuing to refer to FIG. 8, at time t′ 0 , the traffic flow speed of the target road section (whether it is the predicted traffic flow speed or the reference traffic speed) is not affected by weather conditions. At time t′ 1 , the predicted traffic flow speed of the target road section is affected by weather conditions and drops to the lowest value. After time t′ 1 , the predicted traffic flow speed of the target road section begins to recover until it returns to the maximum value at time t′ 2. Then, time t′ 0 to time t′ 1 may be the decay duration of the traffic flow velocity of the target road section, and may also be referred to as the response time of the target road section in response to weather changes. t '1 to time t' 2 may be a long time to restore traffic flow velocity of the target road section, may also be referred to as the target link length when recovery response weather changes. The processing device 110 (for example, the traffic evaluation module 330) may determine that the first time length formed from time t′ 0 to time t′ 1 is the response time, and the second time length formed from time t′ 1 to time t′ 2 is The recovery time. In some embodiments, the processing device 110 (for example, the traffic assessment module 330) may determine the response time and the recovery time based on the following formulas (2)-(3):
RST=t′ 1-t′ 0        (2) RST=t′ 1 -t′ 0 (2)
RCT=t′ 2-t′ 1          (3) RCT=t′ 2 -t′ 1 (3)
在一些实施例中,处理设备110(例如,交通评估模块330)可以确定所述一个或多个评估时刻对应的所述预测交通流速度和基准交通流速度之间的一个或多个第二差值,并确定所述一个或多个第二差值和所述一个或多个第一差值之间的一个或多个比值。该一个或多个比值可以被指定为所述响应速率或所述恢复速率。继续参考图8,所述目标路段的预测交通流速度从t′ 0时刻时的m 0衰减至t′ 1时刻的m 1,从t′ 1时刻的m 1恢复至t′ 2时刻的m 2。处理设备110(例如,交通评估模块330)可以基于以下公式(4)-(5)确定所述响应速率和所述恢复速率: In some embodiments, the processing device 110 (for example, the traffic evaluation module 330) may determine one or more second differences between the predicted traffic flow speed and the reference traffic flow speed corresponding to the one or more evaluation moments. Value, and determine one or more ratios between the one or more second differences and the one or more first differences. The one or more ratios may be designated as the response rate or the recovery rate. With continued reference to FIG. 8, the predicted traffic flow velocity of the target road section 't m 0 decays to 0 at time "from the time t m 1 1' recovery time to 1 m 1 t 'from the time t 2 m 2 . The processing device 110 (for example, the traffic evaluation module 330) may determine the response rate and the recovery rate based on the following formulas (4)-(5):
Figure PCTCN2020134868-appb-000003
Figure PCTCN2020134868-appb-000003
Figure PCTCN2020134868-appb-000004
Figure PCTCN2020134868-appb-000004
应当注意的是,上述有关流程500的描述仅仅是为了示例和说明,而不限定本申请的适用范围。对于本领域技术人员来说,在本申请的指导下可以对流程500进行各种修正和改变。然而,这些修正和改变仍在本申请的范围之内。It should be noted that the foregoing description of the process 500 is only for example and description, and does not limit the scope of application of the present application. For those skilled in the art, various modifications and changes can be made to the process 500 under the guidance of this application. However, these amendments and changes are still within the scope of this application.
图6是根据本申请一些实施例所示的确定预测模型的示例性流程图。在一些实施例中,流程600可以由处理设备(例如,图1所示的处理设备110)执行。例如,流程600可以以程序或指令的形式存储在存储设备(例如,存储设备130或处理设备的存储单元)中,当处理器210或图3B所示的模块执行程序或指令时,可以实现流程600。在一些实施例中,流程600可以由训练模块340执行。在一些实施例中,流程600可以利用以下未描述的一个或以上附加操作,和/或不通过以下所讨论的一个或以上操作完成。另外,如图6所示的操作的顺序并非限制性的。如图6所示,流程600可以包括以下操作。Fig. 6 is an exemplary flowchart for determining a prediction model according to some embodiments of the present application. In some embodiments, the process 600 may be executed by a processing device (for example, the processing device 110 shown in FIG. 1). For example, the process 600 may be stored in a storage device (for example, the storage device 130 or a storage unit of a processing device) in the form of a program or instruction. When the processor 210 or the module shown in FIG. 3B executes the program or instruction, the process may be implemented. 600. In some embodiments, the process 600 may be executed by the training module 340. In some embodiments, the process 600 may utilize one or more additional operations not described below, and/or not be completed by one or more operations discussed below. In addition, the order of operations shown in FIG. 6 is not restrictive. As shown in FIG. 6, the process 600 may include the following operations.
步骤610,获取多个训练样本。在一些实施例中,步骤610可以由样本获取模块350执行。Step 610: Obtain multiple training samples. In some embodiments, step 610 may be performed by the sample acquisition module 350.
在一些实施例中,每个训练样本可以基于与至少一个训练路段在某一时间段内的参考气象数据、预测气象数据以及参考交通流数据确定。每个训练样本还可以基于该时间段之前的时间段内的参考交通流数据和/或参考气象数据确定。所述时间段表示当前时刻之前的时间段(即历史时间段)。所述参考气象数据可以是该时间段(例如,一年内、两年内)中实际监测到的所述至少一个训练路段的气象数据。所述预测气象数据可以是基于该时间段之前的时间段内实际监测到的气象数据经过预测得到的该时间段内的气象数据。例如,过去一周内周日的预测气象数据可以使用WRF模型利用过去一周内周一至周六的实际监测到的气象数据确定。所述参考交通流数据可以是在所述时间段内至少一个训练路段的实际交通流数据。所述参考交通流数据可以包括实际交通流速度。该时间段之前的时间段内的参考交通流数据可以包该时间段之前的时间段内实际监测得到的交通流数据。该时间段之前的时间段内的参考气象数据可以包该时间段之前的时间段内实际监测得到的气象数据。In some embodiments, each training sample may be determined based on reference weather data, predicted weather data, and reference traffic flow data in a certain period of time with at least one training road segment. Each training sample may also be determined based on reference traffic flow data and/or reference weather data in a time period before the time period. The time period represents the time period before the current moment (that is, the historical time period). The reference meteorological data may be the meteorological data of the at least one training road section actually monitored in the time period (for example, within one year or two years). The predicted meteorological data may be meteorological data in the time period obtained through prediction based on the actually monitored meteorological data in the time period before the time period. For example, the forecasted weather data on Sunday in the past week can be determined using the WRF model using the actual weather data monitored from Monday to Saturday in the past week. The reference traffic flow data may be actual traffic flow data of at least one training road segment in the time period. The reference traffic flow data may include actual traffic flow speed. The reference traffic flow data in the time period before the time period may include the traffic flow data actually monitored in the time period before the time period. The reference meteorological data in the time period before the time period may include the meteorological data actually monitored in the time period before the time period.
在一些实施例中,所述训练样本可以包括训练输入序列以及训练标签。该时间段内的参考交通流速度数据可以作为训练标签。该时间段内的参考气象数据和/或预测气象数据以及该时间段之前的时间段内的参考交通流数据和/或参考气象数据可以生成输入序列。在一些实施例中,所述训练标签可以添加至所述输入序列中。在一些实施例中,处理设备110(例如,样本获取模块350)可以基于该时间段内的参考气象数据、预测气象数据、参考交通流速度数据以及该时间段之前的时间段内的参考交通流数据和/或参考气象数据按照天数生成所述训练样本。例如,假定所述时间段段包括7天,所述多个训练路段包括7条,则处理设备110(例如,样本获取模块350)可以生成7*7条训练样本。每一个训练路段对应有7条训练样本。作为示例,某一训练路段对应于第二天的训练样本可以基于第二天的参考气象数据、第二天的预测气象数据、第二天的参考交通流数据以及第二天之前的第一天或多天的参考交通流数据和/或参考气象该数据构建。可以将第二天的参考气象数据、第二天的预测气象数据以 及第二天之前的一天或多天的参考交通流数据和/或参考气象数据中包括的特征,例如交通流速度、温度、湿度、气压、降水量、风速、风向、光照度、辐射强度、日照小时数等按序排列后得到所述训练输入序列。将第二天的参考交通流数据指定为训练标签。由于模型是为了得到第二天的预测交通流数据,换句话说,将某一训练路段对应于第二天的训练样本的训练输入序列输入至需要训练的模型是为了得到第二天的预测交通流数据,则所述训练标签可以是第二天的参考交通流数据。In some embodiments, the training samples may include training input sequences and training labels. The reference traffic flow speed data in this time period can be used as a training label. The reference weather data and/or predicted weather data in the time period and the reference traffic flow data and/or reference weather data in the time period before the time period can generate an input sequence. In some embodiments, the training label may be added to the input sequence. In some embodiments, the processing device 110 (for example, the sample acquisition module 350) may be based on the reference weather data, the predicted weather data, the reference traffic flow speed data in the time period, and the reference traffic flow in the time period before the time period. The data and/or reference meteorological data generate the training samples according to the number of days. For example, assuming that the time period includes 7 days and the plurality of training road sections include 7 pieces, the processing device 110 (for example, the sample acquisition module 350) may generate 7*7 pieces of training samples. Each training road segment corresponds to 7 training samples. As an example, the training sample for a certain training road segment corresponding to the second day can be based on the reference weather data of the second day, the predicted weather data of the second day, the reference traffic flow data of the second day, and the first day before the second day. Or multiple days of reference traffic flow data and/or reference weather data. The reference weather data of the next day, the forecast weather data of the next day, the reference traffic flow data of one or more days before the next day and/or the features included in the reference weather data, such as traffic flow speed, temperature, Humidity, air pressure, precipitation, wind speed, wind direction, illuminance, radiation intensity, sunshine hours, etc. are arranged in sequence to obtain the training input sequence. The reference traffic flow data of the next day is designated as the training label. Since the model is to obtain the predicted traffic flow data for the second day, in other words, the training input sequence of a certain training road section corresponding to the training sample of the second day is input to the model to be trained to obtain the predicted traffic for the second day Flow data, the training label may be the reference traffic flow data of the next day.
步骤603,基于所述多述训练样本,利用一个或多次迭代过程训练初始机器学习模型,以获取训练好的预测模型。在一些实施例中,步骤603可以由训练模块360执行。Step 603: Based on the multiple training samples, use one or more iterative processes to train an initial machine learning model to obtain a trained prediction model. In some embodiments, step 603 may be performed by the training module 360.
在一些实施例中,所述初始机器模型可以包括深度学习模型。例如,序列到序列模型。在一些实施例中,所述预测模型可以是基于注意力的序列到序列模型。所述基于注意力的序列到序列模型可以是基于编码器和解码器构架。所述编码器可以包括基于长短期记忆(Long short-term memory,LSTM)的编码器,包括LSTM、Bi-LSTM、CNN-LSTM、Conv-LSTM、TGC-LSTM等。所述解码器可以包括基于门控循环单元(Gated Recurrent Unit,GRU)的解码器,包括GRU、Bi-GRU、DCGRU等。示例性的,所述预测模型可以采用深度Bi-LSTM作为编码器,采用深度GRU作为解码器。编码器和解码器分别包含3层神经网络,每层神经网络包含1379个隐藏节点,采用Soft Sign作为激活函数。In some embodiments, the initial machine model may include a deep learning model. For example, sequence-to-sequence model. In some embodiments, the prediction model may be a sequence-to-sequence model based on attention. The attention-based sequence-to-sequence model may be based on an encoder and decoder architecture. The encoder may include an encoder based on long short-term memory (LSTM), including LSTM, Bi-LSTM, CNN-LSTM, Conv-LSTM, TGC-LSTM, etc. The decoder may include a decoder based on Gated Recurrent Unit (GRU), including GRU, Bi-GRU, DCGRU, and so on. Exemplarily, the prediction model may use a deep Bi-LSTM as an encoder and a deep GRU as a decoder. The encoder and decoder respectively contain 3 layers of neural networks, each layer of neural network contains 1379 hidden nodes, and SoftSign is used as the activation function.
在一些实施例中,对于每一个训练样本,处理设备110(例如,训练模块360)可以将训练输入序列输入至预测模型进行处理,得到对应的预测结果。所述预测结果可以是预测交通流数据例如预测交通流速度。在一些实施例中,处理设备110(例如,训练模块360)可以比较所述预测结果与所述训练样本对应的训练标签之间的差异。例如,处理设备110(例如,训练模块360)可以确定预测交通流速度与对应的历史参考交通流速度之间的误差,例如基于损失函数确定。所述差异可以表示所述预测模型的预测效果。差异越大,说明模型的预测效果越差。处理设备110(例如,训练模块360)可以基于所述差异反向调整所述预测模型的参数以减小所述差异。例如,调整所述预测模型的超参数例如学习率。In some embodiments, for each training sample, the processing device 110 (for example, the training module 360) may input the training input sequence to the prediction model for processing, and obtain the corresponding prediction result. The prediction result may be predicted traffic flow data, for example, predicted traffic flow speed. In some embodiments, the processing device 110 (for example, the training module 360) may compare the difference between the prediction result and the training label corresponding to the training sample. For example, the processing device 110 (for example, the training module 360) may determine the error between the predicted traffic flow speed and the corresponding historical reference traffic flow speed, for example, based on a loss function. The difference may indicate the prediction effect of the prediction model. The greater the difference, the worse the prediction effect of the model. The processing device 110 (for example, the training module 360) may reversely adjust the parameters of the prediction model based on the difference to reduce the difference. For example, adjusting the hyperparameters of the prediction model, such as the learning rate.
在一些实施例中,在完成一次或多次迭代后,若满足预设条件,例如,迭代轮次或训练次数达到预设次数,或所述差异小于预设阈值,可以停止训练。所得到的训练后的机器学习模型可以被指定为训练完成的预测模型。In some embodiments, after completing one or more iterations, if a preset condition is met, for example, the number of iteration rounds or the number of training reaches a preset number, or the difference is less than a preset threshold, the training can be stopped. The obtained trained machine learning model can be designated as the trained prediction model.
作为示例,对于所述预测模型的训练,可以采用0.15比率的Dropout技术降低训练过程中的过拟合情况。同时,可以采用均方差(Mean Squared Error)作为损失函数,采用RMSprop作为优化器(例如,优化损失函数在更新中存在摆动幅度过大的问题,并且进一步加快函数的收敛速度),其中训练批次大小(Batch Size)为64,时期(Epoch)为400,并 在训练过程中采用Early Stopping技术以获取最佳训练效果。As an example, for the training of the prediction model, a dropout technique with a ratio of 0.15 can be used to reduce overfitting during the training process. At the same time, the mean square error (Mean Squared Error) can be used as the loss function, and RMSprop as the optimizer (for example, the optimization loss function has a problem of excessive swing in the update, and further accelerates the convergence speed of the function), where the training batch The size (Batch Size) is 64, the period (Epoch) is 400, and Early Stopping technology is used in the training process to obtain the best training effect.
应当注意的是,上述有关流程600的描述仅仅是为了示例和说明,而不限定本申请的适用范围。对于本领域技术人员来说,在本申请的指导下可以对流程600进行各种修正和改变。然而,这些修正和改变仍在本申请的范围之内。It should be noted that the foregoing description of the process 600 is only for example and description, and does not limit the scope of application of the present application. For those skilled in the art, various modifications and changes can be made to the process 600 under the guidance of this application. However, these amendments and changes are still within the scope of this application.
本说明书的一个方面提供一种极端天气的交通信息处理方法,该方法是基于极端天气的交通性能的信息处理,能够基于大数据的对极端天气发生后的交通性能的恢复能力进行预测,为城市在面对极端天气时的应急疏散、救援、调度提供有力的定量决策辅助依据,如图9所示,具体包括以下步骤:One aspect of this specification provides a traffic information processing method for extreme weather. The method is based on extreme weather traffic performance information processing. It can predict the recovery ability of traffic performance after extreme weather based on big data, which is a good way for cities. In the face of extreme weather, emergency evacuation, rescue, and dispatch provide a powerful quantitative decision-making aid, as shown in Figure 9, which specifically includes the following steps:
步骤901,获取预定区域的气象数据集合和交通流数据集合。Step 901: Obtain a set of weather data and a set of traffic flow data in a predetermined area.
在本步骤中,为了能够对未来预定时间范围内的预定区域发生极端天气的交通网络情况以及交通性能的恢复能力进行准确地预测,首先,需要通过关于获取气象情况和交通网络情况的大数据的方式获取该预定区域在过去一定时间范围内的历史数据,这里的预定区域可以根据实际的需求划定,这里的历史数据至少包括与气象等有关的历史数据以及与道路交通网络有关的历史数据,这里的过去一定时间可以根据需求确定,例如可以是过去12个月的气象数据和交通流数据,如图10所示,在一些实施例中,具体包括以下步骤:In this step, in order to be able to accurately predict the traffic network situation and the recovery ability of traffic performance in a predetermined area within a predetermined time range in the future, first of all, it is necessary to obtain big data about weather conditions and traffic network conditions. Obtain the historical data of the predetermined area within a certain time range in the past. The predetermined area can be delineated according to actual needs. The historical data here includes at least historical data related to weather, etc. and historical data related to the road traffic network. The past certain time here can be determined according to demand, for example, it can be weather data and traffic flow data in the past 12 months, as shown in FIG. 10. In some embodiments, the following steps are specifically included:
步骤1001,获取所述预定区域的气象历史数据和交通流历史数据。Step 1001: Obtain historical weather data and traffic flow historical data of the predetermined area.
在本步骤中,当需要基于气象因素针对该预定区域进行交通网络情况的判断和预测时,首先,需要获取该预定区域的气象历史数据和交通流历史数据,例如,可以是获取该预定区域在一定时间范围内的气象网格数据以及一定时间范围内的交通流历史数据。In this step, when it is necessary to judge and predict the traffic network conditions of the predetermined area based on meteorological factors, firstly, it is necessary to obtain historical weather data and traffic flow historical data of the predetermined area. For example, it may be obtained that the predetermined area is in Weather grid data within a certain time range and historical traffic flow data within a certain time range.
具体地,在获取气象历史数据的过程中,可以基于气象局的WRF模型(Weather Research and Forcasting Model)获取相应的气象数据,气象数据可以是温度、气压、降水等各种表示气象条件的数据,通过采用该模型仅需要根据该预定地区的位置参数和对于气象参数的使用需求生成指定的地理范围并基于该地理范围确定具有预定网格密度的气象网格数据,例如可以在Linux环境下将气象监测站的历史数据结合气象物理化学模型生成气象网格数据,当然通过这个模型也可以进行对未来6-72小时的未来气象网格数据的预测。Specifically, in the process of obtaining meteorological historical data, corresponding meteorological data can be obtained based on the WRF (Weather Research and Forecasting Model) of the Bureau of Meteorology. The meteorological data can be various data representing meteorological conditions such as temperature, air pressure, and precipitation. By adopting this model, it is only necessary to generate a designated geographic range based on the location parameters of the predetermined area and the use requirements for meteorological parameters, and determine the meteorological grid data with a predetermined grid density based on the geographic range. For example, the meteorological grid data can be The historical data of the monitoring station is combined with the meteorological physical and chemical model to generate meteorological grid data. Of course, this model can also be used to predict the future meteorological grid data in the future 6-72 hours.
在获取交通流历史数据的过程中,首先,确定该预定区域范围内的实际道路信息,该道路信息可以基于路段的形式表示,以便于准确确定预定区域或者预定区域的交通网络覆盖的范围,从而通过路段的交通流信息反映预定区域的交通网络状况,具体地,将预定区域按照路段进行划分,其中,可以将两个信号灯之间的道路(link)确定为一个路段,并基于该路段的实际情况确定路段的编码或者ID以及道路级别,这里的路段可以包括各种不同道路级别的道路,例如高速路、都市高速路、国道、省道等。例如针对某地区获取1379个不同级别的 道路,其中,包含34个高速路(Level 00),8个都市高速路(Level 01),116个国道(Level 02),521个省道(Level 03),700个县道(Level 04)。进一步地,基于每个路段的ID和道路级别,获取每个路段ID的按照日期记录的平均交通流速度hourly speed(m/s)。In the process of obtaining historical traffic flow data, first, determine the actual road information within the predetermined area. The road information can be expressed in the form of road segments, so as to accurately determine the predetermined area or the traffic network coverage area of the predetermined area. The traffic flow information of the road section reflects the traffic network status of the predetermined area. Specifically, the predetermined area is divided according to road sections. Among them, the link between two signal lights can be determined as a road section and based on the actual road section. The situation determines the code or ID of the road section and the road level. The road section here can include roads of various road levels, such as highways, urban highways, national roads, provincial roads, and so on. For example, obtain 1379 roads of different levels for a certain area, including 34 highways (Level 00), 8 urban highways (Level 01), 116 national highways (Level 02), and 521 provincial highways (Level 03) , 700 county roads (Level 04). Further, based on the ID and road level of each road segment, the average traffic flow speed recorded by the date of each road segment ID hourly speed (m/s) is obtained.
步骤1003,对所述气象历史数据和交通流历史数据进行特征提取,获取基于路段的气象数据集合和交通流数据集合。Step 1003: Perform feature extraction on the weather history data and traffic flow history data, and obtain a road section-based weather data set and a traffic flow data set.
通过步骤S201获取大量的气象历史数据和交通流历史数据后,在本步骤中,对这些历史的基础性数据进行初步整理和分析,对所述气象历史数据和交通流历史数据进行特征提取。首先,为了准确获取预定区域的气象和交通流信息,首先提取每项数据中的路段ID特征,将预定区域的道路交通网络中的所有路段ID按照ID或者道路等级排序,得到基于路段ID的数据集合。After obtaining a large amount of weather history data and traffic flow history data through step S201, in this step, these historical basic data are preliminarily sorted and analyzed, and features are extracted from the weather history data and traffic flow history data. First of all, in order to accurately obtain the weather and traffic flow information of a predetermined area, first extract the road segment ID feature in each data item, and sort all road segment IDs in the road traffic network of the predetermined area according to ID or road level to obtain data based on road segment ID set.
进一步地,可以将表征为气象因素或者天气状况的温度、气压等作为气象特征参数,可以将表征为道路交通网络状况的交通流速度作为交通流特征参数进行提取,例如,在一个实施方式中,确定温度(Temperature),气压(Pressure),降水(Precipitation),湿度(Humidity),风向(Wind_direction),风速(Wind_speed),交通流速度(Traffic_speed)为特征参数对气象历史数据和交通流历史数据进行特征提取,并按照温度、气压、降水、湿度、风向、风速以及交通流速度等特征输入字段进行分日期甚至分小时的数据分类以及整理。Further, temperature, air pressure, etc., characterized as meteorological factors or weather conditions, can be used as meteorological feature parameters, and the traffic flow velocity, characterized as road traffic network conditions, can be extracted as traffic flow feature parameters. For example, in one embodiment, Determine temperature (Temperature), air pressure (Pressure), precipitation (Precipitation), humidity (Humidity), wind direction (Wind_direction), wind speed (Wind_speed), traffic flow speed (Traffic_speed) as characteristic parameters. Feature extraction, and classification and sorting of data by date or even hour according to feature input fields such as temperature, air pressure, precipitation, humidity, wind direction, wind speed, and traffic flow speed.
最后,将基于路段ID的数据集中的数据与经过提取的气象和交通流数据进行分别匹配,例如,针对交通流历史数据,按照每周或者每天的形式整理成单独的基于路段ID的交通流数据集合;针对气象历史数据,按就近原则将气象数据赋值到交通路网的路段上,将通过WRF模型获取的气象历史数据中确定的气象特征参数,例如,将气象历史数据基于周一、周二、…、周日等整理成单独的基于路段的气象数据集合,从而最终获取预定区域的基于路段ID的气象数据集合和交通流数据集合。Finally, the data in the data set based on the road segment ID is matched with the extracted weather and traffic flow data. For example, the historical traffic flow data is sorted into separate traffic flow data based on the road segment ID on a weekly or daily basis. Collection; for historical weather data, the weather data is assigned to the road section of the traffic road network according to the principle of proximity, and the meteorological characteristic parameters determined in the weather historical data obtained through the WRF model, for example, the weather historical data is based on Monday, Tuesday,... , Sunday, etc. are sorted into separate road-based weather data collections, so as to finally obtain the road-segment ID-based weather data collections and traffic flow data collections in the predetermined area.
步骤903,将所述气象数据集合和所述交通流数据集合中的数据输入机器学习模型,从而确定预定时间的交通流数据。Step 903: Input the data in the meteorological data set and the traffic flow data set into a machine learning model, so as to determine traffic flow data at a predetermined time.
通过步骤901,获取预定区域的气象数据集合和交通流数据集合,为了便于通过机器学习模型对未来的交通流数据进行模拟和预测,需要将这些数据集合中的数据按照一定格式作为机器学习模型的输入数据,并将例如未来预定时间范围的交通流数据作为输出数据,这里的机器学习模型是深度序列模型,从而通过深度序列模型以实现对发生极端天气后的道路交通网络情况进行模拟和预测,具体地,在一些实施例中,所述机器学习模型为基于注意力机制的深度序列模型,如图11所示,包括以下步骤:Through step 901, the meteorological data set and the traffic flow data set of the predetermined area are obtained. In order to facilitate the simulation and prediction of future traffic flow data through the machine learning model, the data in these data sets need to be used as the machine learning model in a certain format. Input data, and use traffic flow data in a predetermined time range in the future as output data. The machine learning model here is a deep sequence model, so that the deep sequence model can be used to simulate and predict the road traffic network after extreme weather. Specifically, in some embodiments, the machine learning model is a deep sequence model based on the attention mechanism, as shown in FIG. 11, including the following steps:
步骤1101,确定基于所述路段的模型数据格式。Step 1101: Determine a model data format based on the road section.
在本步骤中,基于获取的气象数据集合和交通流数据集合,根据深度序列模型的预先设定的输入数据形式构造模型输入数据格式。具体地,将交通流数据集合中的交通流速度数据、气象数据集合中的气象特征数据和等按照一定顺序构造为基于路段ID的输入数据格式即Input Sequence,形式为(Days*ID,Steps*Features);将需要预测的未来n小时的交通流速度作为基于路段ID的输出数据格式即Output Sequence,形式为(Days*ID,Steps);最后将输入数据格式Input Sequence和输出数据格式Output Sequence拼接起来,形式为(Days*ID,Steps*(Input Features+Output Features))。In this step, based on the acquired meteorological data collection and traffic flow data collection, the model input data format is constructed according to the preset input data form of the depth sequence model. Specifically, the traffic flow speed data in the traffic flow data set, the weather feature data in the weather data set, etc. are constructed in a certain order into the input data format based on the road section ID, namely Input Sequence, in the form of (Days*ID, Steps* Features); The traffic flow speed that needs to be predicted in the next n hours is used as the output data format based on the road segment ID, namely Output Sequence, in the form of (Days*ID, Steps); finally, the input data format Input Sequence and the output data format Output Sequence are spliced Up, the format is (Days*ID, Steps*(Input Features+Output Features)).
进一步地,在步骤301之前,还可以将气象数据集合和交通流数据集合中的气象数据和交通流数据进行归一化处理,具体地,例如将输入数据的(Days*ID,Steps*Features)数据变为(Days,Steps,ID*Features),从而对数据进行归一化处理(Normalization),以便于深度序列模型更好地对数据进行处理。Further, before step 301, the weather data and traffic flow data in the weather data set and the traffic flow data set may also be normalized. Specifically, for example, the input data (Days*ID, Steps*Features) The data becomes (Days, Steps, ID*Features), so that the data is normalized (Normalization), so that the deep sequence model can better process the data.
步骤1103,通过基于注意力机制的深度序列模型,确定预定时间的交通流数据。Step 1103: Determine traffic flow data at a predetermined time through a deep sequence model based on the attention mechanism.
在本步骤中,采用基于注意力机制的深度序列模型Attention-based Seq2Seq Model对未来预定时间的交通网络速度进行预测。注意力机制从字面意思来看和人类的注意力机制类似。人类通过快速扫描全局文本,获得需要重点关注的区域,也就是一般所说的注意力焦点,而后对这一区域投入更多注意力资源,以获取更多所需要关注目标的细节信息,而抑制其他无用信息。这一机制的存在,极大提高了人类从大量的信息中筛选出高价值信息的手段,是人类在长期进化中形成的一种生存机制。深度学习中的注意力机制从本质上讲和人类的选择性机制类似,核心目标也是从众多信息中选择出对当前任务目标更关键的信息。目前注意力机制已经被广泛使用在自然语言处理、图像识别及语音识别等各种不同类型的深度学习任务中,是深度学习技术中最值得关注与深入了解的核心技术之一。当今主流的序列变换模型都是基于编码器和解码器架构,编解器架构的背后又是依赖于复杂的递归神经网络(RNN)或者卷积神经网络(CNN)。为了获得更好的表现,在编解码器架构的基础上,进一步添加注意力机制。In this step, the attention-based Seq2Seq Model is used to predict the traffic network speed at a predetermined time in the future. The attention mechanism is literally similar to the human attention mechanism. Humans quickly scan the global text to obtain the area that needs to be focused on, which is commonly referred to as the focus of attention, and then invest more attention resources in this area to obtain more detailed information about the target that needs to be focused, and suppress Other useless information. The existence of this mechanism has greatly improved the means for humans to screen out high-value information from a large amount of information. It is a survival mechanism formed by humans in long-term evolution. The attention mechanism in deep learning is essentially similar to the human selective mechanism. The core goal is to select information that is more critical to the current task goal from a large number of information. At present, the attention mechanism has been widely used in various types of deep learning tasks such as natural language processing, image recognition, and speech recognition. It is one of the most worthy of attention and in-depth understanding of the core technology of deep learning technology. Today's mainstream sequence transformation models are based on the encoder and decoder architectures. Behind the encoder architecture is a complex recurrent neural network (RNN) or convolutional neural network (CNN). In order to obtain better performance, an attention mechanism is further added on the basis of the codec architecture.
具体地,这里采用的基于注意力机制的深度序列模型采用深度Bidirectional LSTM(BiLSTM)作为编码器,采用深度Gated Recurrent Units(GRU)作为解码器,构建注意力向量(attention vector)。从模型的结构上,编码器和解码器分别包含3层神经网络,每层神经网络包含1379个隐藏节点,采用Soft Sign作为激活函数,通过采用01.5比率的Dropout技术降低过拟合情况。Specifically, the deep sequence model based on the attention mechanism adopted here uses deep Bidirectional LSTM (BiLSTM) as an encoder, and deep Gated Recurrent Units (GRU) as a decoder to construct an attention vector. From the structure of the model, the encoder and decoder respectively contain 3 layers of neural networks, each layer of neural network contains 1379 hidden nodes, Soft Sign is used as the activation function, and the 01.5 ratio of Dropout technology is used to reduce over-fitting.
进一步地,在对注意力机制的深度序列模型的训练中,采用Mean Squared Error作为损失函数,采用RMSprop作为优化器,其中训练Batch Size为64,Epoch为400,并在 训练过程中采用Early Stopping技术以获取最佳训练效果。结构示意图如图2所示。通过采用基于注意力机制的深度序列模型,确定预定时间的交通流数据,从而对未来预定时间的交通网络情况进行精确度评估。Further, in the training of the deep sequence model of the attention mechanism, Mean Squared Error is used as the loss function, and RMSprop is used as the optimizer, where the training Batch Size is 64, the Epoch is 400, and the Early Stopping technology is used in the training process. In order to obtain the best training effect. The structure diagram is shown in Figure 2. By adopting a deep sequence model based on the attention mechanism, the traffic flow data at a predetermined time is determined, so as to accurately evaluate the traffic network conditions at a predetermined time in the future.
步骤905,基于所述预定时间的交通流数据确定交通恢复能力。Step 905: Determine the traffic recovery capability based on the traffic flow data of the predetermined time.
通过步骤903,通过深度序列模型确定预定时间的交通流数据后,需要对发生极端天气后的交通网络恢复性能进行预测和评估。如图12所示,在一些实施例中,通过以下步骤实现:In step 903, after determining the traffic flow data for a predetermined time through the deep sequence model, it is necessary to predict and evaluate the recovery performance of the traffic network after extreme weather. As shown in Figure 12, in some embodiments, this is achieved through the following steps:
步骤1201,确定基准交通性能和交通恢复指标。Step 1201: Determine benchmark traffic performance and traffic recovery indicators.
在本步骤中,首先,需要确定基准交通性能,例如在气象数据集合和交通流数据集合中查找没有任何极端天气,例如没有降水的日期,同时获取在这些日期预定区域内每个道路ID在没有降水的日期的车辆速度数据,还可以计算每星期的车辆均值速度,例如周一,周二,周三,周四,周五,周六,周日的车辆均值速度,还可以使用当日的车辆均值速度作为每星期的均值速度,从而作为基准交通性能,例如定义m′ 0,m′ 2为t′ 0,t′ 2时刻的基准交通流速度,具体通过以下方式实现: In this step, first of all, it is necessary to determine the benchmark traffic performance. For example, look for days without any extreme weather, such as no precipitation, in the meteorological data collection and traffic flow data collection, and at the same time obtain whether each road ID in the predetermined area on these dates is The vehicle speed data of the day of precipitation can also calculate the average vehicle speed of each week, such as the average vehicle speed of Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday. You can also use the average vehicle speed of the day as The average speed per week is used as the reference traffic performance. For example, defining m′ 0 , m′ 2 as the reference traffic flow speed at t′ 0 and t′ 2 can be implemented in the following ways:
A.为所有城市道路计算基准交通性能RA. Calculate benchmark traffic performance R for all urban roads
for i th城市道路: for i th city road:
for交通和气象数据中的h th天: for h th day in traffic and weather data:
if日降水为0:if the daily precipitation is 0:
record日速度
Figure PCTCN2020134868-appb-000005
record daily speed
Figure PCTCN2020134868-appb-000005
compute
Figure PCTCN2020134868-appb-000006
compute
Figure PCTCN2020134868-appb-000006
compute
Figure PCTCN2020134868-appb-000007
compute
Figure PCTCN2020134868-appb-000007
在本步骤中,交通恢复性能通过交通恢复指标进行表示,在本实施例中确定5个用于评价交通恢复性能的交通恢复指标,包括交通网络性能损失Loss of Resilience(LoR)指标、响应时间Response Time(RST)指标、恢复时间Recovery Time(RCT)指标、响应速率Response Rate(RSR)指标以及恢复速率Recovery Rate(RCR)指标。In this step, traffic recovery performance is represented by traffic recovery indicators. In this embodiment, five traffic recovery indicators for evaluating traffic recovery performance are determined, including Loss of Resilience (LoR) indicators for traffic network performance and response time Response Time (RST) indicator, Recovery Time (RCT) indicator, Response Rate (RSR) indicator, and Recovery Rate (RCR) indicator.
具体地,性能损失Loss of Resilience(LoR)是指交通网络性能损失,表示为当出现极端天气,例如强降水的天气后一定时间范围内的速度的围成面积与日常速度的围成面积的差,单位为米(m);响应时间Response Time(RST)/恢复时间Recovery Time(RCT)是指交通网络面对极端天气时,交通网络性能从正常值衰减到最低值的时间和从最低值恢复为正常值的时间,单位为小时(hour);响应速率Response Rate(RSR)/恢复速率Recovery Rate (RCR)是指交通网络面对极端天气时,交通网络性能从正常值衰减到最低值的速率和从最低值恢复为正常值的速率,单位为每二次方秒每米(m/s2)。Specifically, Loss of Resilience (LoR) refers to the loss of performance of the transportation network, expressed as the difference between the enclosed area of the speed within a certain time range and the enclosed area of the daily speed when extreme weather occurs, such as heavy rainfall. , The unit is meter (m); Response Time (RST)/Recovery Time (RCT) refers to the time when the traffic network performance decays from the normal value to the lowest value and recovers from the lowest value when the traffic network faces extreme weather The normal value of time, the unit is hour (hour); Response Rate (RSR)/Recovery Rate Recovery Rate (RCR) refers to the rate at which the traffic network performance decays from the normal value to the lowest value when the traffic network faces extreme weather And the rate of returning from the lowest value to the normal value, in units of every square second per meter (m/s2).
具体地,上述交通恢复指标的确定或者计算方式如下:Specifically, the method for determining or calculating the above-mentioned traffic restoration index is as follows:
Figure PCTCN2020134868-appb-000008
Figure PCTCN2020134868-appb-000008
RST=t′ 1-t′ 0              (7) RST=t′ 1 -t′ 0 (7)
Figure PCTCN2020134868-appb-000009
Figure PCTCN2020134868-appb-000009
RCT=t′ 2-t′ 1       (9) RCT=t′ 2 -t′ 1 (9)
Figure PCTCN2020134868-appb-000010
Figure PCTCN2020134868-appb-000010
以极端天气为降水为例,上述的公式中的参数释义如下:Taking extreme weather as precipitation as an example, the parameter definitions in the above formula are as follows:
第一类参数是关于极端天气时间的时间点,以降水事件的关键时间点为例,其中t 0是降水开始时间;t 1是峰值降水的时间;t 2是降水结束时间;T是t 0和t 2之间的降水事件观察窗口期。 The first type of parameter is the time point of the extreme weather time. Take the key time point of the precipitation event as an example, where t 0 is the start time of precipitation; t 1 is the time of peak precipitation; t 2 is the end time of precipitation; T is t 0 The observation window period of precipitation events between t 2 and t 2.
第二类参数是关于交通速度曲线的关键点,其中,m 0是t 0时刻的速度值;t′ 0与t 0相同;m 1是观察窗口期T内的交通网络的最低速度值;t′ 1是捕获m 1的时间;m 2通过以下方式确定,在时段(t′ 1,t′ 1+3)内,恢复的交通网络的速度值应该等于m 0,如果在该时段内的交通网络的最高速度值仍然小于m 0,则选择该最高速度作为m 2的值;t′ 2是捕获并确认m 2的时间。 The second type of parameters is about the key points of the traffic speed curve, where m 0 is the speed value at time t 0 ; t′ 0 is the same as t 0 ; m 1 is the lowest speed value of the traffic network in the observation window period T; t ′ 1 is the time to capture m 1 ; m 2 is determined by the following way, in the period (t′ 1 , t′ 1 +3), the speed value of the restored traffic network should be equal to m 0 , if the traffic in this period The maximum speed of the network is still less than m 0 , then the maximum speed is selected as the value of m 2 ; t′ 2 is the time to capture and confirm m 2.
在计算交通恢复指标的过程通过以下方式实现:The process of calculating the traffic recovery index is realized in the following ways:
B.计算交通恢复指标B. Calculate traffic recovery indicators
for i th城市道路: for i th city road:
for交通和气象数据中的h th天: for h th day in traffic and weather data:
if日降水大于0:if the daily precipitation is greater than 0:
search[t 0,t 1,t 2,t 3,T] search[t 0 , t 1 , t 2 , t 3 , T]
search[m 0,t′ 0,m 1,t′ 1,m 2,t′ 2] search[m 0 , t′ 0 , m 1 , t′ 1 , m 2 , t′ 2 ]
search[m′ 0,m′ 2] search[m′ 0 ,m′ 2 ]
return
Figure PCTCN2020134868-appb-000011
return
Figure PCTCN2020134868-appb-000011
Save
Figure PCTCN2020134868-appb-000012
Save
Figure PCTCN2020134868-appb-000012
步骤1203,基于所述交通恢复指标,获取所述预定区域的交通恢复性能。Step 1203: Obtain the traffic recovery performance of the predetermined area based on the traffic recovery index.
当通过步骤1101,确定基准交通性能、交通恢复指标以及交通恢复指标的计算方式后,就能够将与气象和交通流相关的数据代入到计算方式中,从而获取基于路段的所述预定区域的交通恢复性能。After determining the calculation method of the benchmark traffic performance, the traffic recovery index, and the traffic recovery index through step 1101, the data related to weather and traffic flow can be substituted into the calculation method to obtain the traffic in the predetermined area based on the road section. Recovery performance.
在基于所述交通恢复指标,获取所述预定区域的交通恢复性能之后,还可以基于交通 恢复指标的计算结果为每个路段ID生成等级标签,例如恢复时间Recovery Time(RCT)指标低于第一阈值的,可以被认为是能够快速恢复交通状况的路段,恢复时间Recovery Time(RCT)指标高于第二阈值的,可以被认为是需要缓慢恢复交通状况的路段,这样,从而为不同的路段生成不同恢复时间的等级标签,当然还可以通过换算形成降水等级标签、降水量标签等级标签等,本实施例在此不做限定。After obtaining the traffic recovery performance of the predetermined area based on the traffic recovery index, a grade label may be generated for each road segment ID based on the calculation result of the traffic recovery index. For example, the recovery time (RCT) index is lower than the first Threshold values can be regarded as road sections that can quickly recover traffic conditions, and recovery Time (RCT) indicators higher than the second threshold can be regarded as road sections that need to slowly recover traffic conditions. In this way, it can be generated for different road sections. The grade labels of different recovery times can of course also be converted into precipitation grade labels, precipitation label grade labels, etc., which are not limited in this embodiment.
此外,在基于所述交通恢复指标,获取所述预定区域的交通恢复性能之后,还可以按照日期和路段ID对于交通恢复性能指标的准确度进行判断,具体通过MSE,RMSE,MAE、R-Squared等评价指标对于深度序列模型中的回归算法进行评价。In addition, after obtaining the traffic recovery performance of the predetermined area based on the traffic recovery index, the accuracy of the traffic recovery performance index can also be judged according to the date and road section ID, specifically through MSE, RMSE, MAE, R-Squared The other evaluation indicators evaluate the regression algorithm in the depth sequence model.
最后,在基于所述交通恢复指标,获取所述预定区域的交通恢复性能之后,还可以结合现有技术中ESRI,Intergraph和MapInfo等开发的地理信息系统软件(GIS)对交通恢复性能指标在时间和空间上的预测表现进行评估。Finally, after obtaining the traffic recovery performance of the predetermined area based on the traffic recovery index, it can also be combined with the geographic information system software (GIS) developed by ESRI, Intergraph and MapInfo in the prior art to determine the traffic recovery performance index in time. Evaluate with the predicted performance in space.
本公开能够为预定区域内的每个路段匹配气象数据和交通流数据,通过构造深度序列模型对预定区域的交通网络中所有路段的交通流速度进行整体预测,同时构造基于交通性能损失的交通恢复性能指标的捕捉算法,在交通流速度的预测中通过交通恢复性能指标的捕捉算法,获得交通恢复性能的预测结果,还能针对交通恢复性能指标在不同极端天气下以及不同地理位置的预测精准度进行评价。本公开能够有效利用海量的气象数据、出行数据、交通数据等对深度序列模型进行优化,并通过该深度序列模型模拟和预测发生极端天气后的交通网络状况以及交通网络的恢复性能,为城市交通管理部门在极端天气或者灾害发生前、发生中和发生后掌握城市交通网络的具体状况和变化趋势,并能够简历更为有效地应急准备、响应和处理的预案。The present disclosure can match meteorological data and traffic flow data for each road section in a predetermined area, by constructing a deep sequence model to predict the overall traffic flow speed of all road sections in the transportation network of the predetermined area, and at the same time construct a traffic recovery based on traffic performance loss Performance index capture algorithm, in the prediction of traffic flow speed, the traffic recovery performance index capture algorithm is used to obtain the prediction result of traffic recovery performance, and the prediction accuracy of traffic recovery performance index under different extreme weather and different geographical locations Make an evaluation. The present disclosure can effectively use massive meteorological data, travel data, traffic data, etc. to optimize the depth sequence model, and through the depth sequence model to simulate and predict the traffic network conditions after extreme weather and the recovery performance of the traffic network, it is a good way for urban traffic. Before, during and after the occurrence of extreme weather or disasters, the management department should grasp the specific conditions and changing trends of the urban transportation network, and be able to resume more effective emergency preparedness, response and handling plans.
本说明书另一方面提供一种极端天气的交通信息处理装置,参见图13所示,包括获取模块1310、第一确定模块1320以及第二确定模块1330,上述模块相互耦合,其中:Another aspect of this specification provides a traffic information processing device for extreme weather. As shown in FIG. 13, it includes an acquisition module 1310, a first determination module 1320, and a second determination module 1330. The foregoing modules are coupled with each other, wherein:
获取模块1310,其用于获取预定区域的气象数据集合和交通流数据集合。The obtaining module 1310 is used to obtain a collection of weather data and traffic flow data in a predetermined area.
通过获取模块1310,为了能够对未来预定时间范围内的预定区域发生极端天气的交通网络情况以及交通性能的恢复能力进行准确地预测,首先,需要通过关于获取气象情况和交通网络情况的大数据的方式获取该预定区域在过去一定时间范围内的历史数据,这里的预定区域可以根据实际的需求划定,这里的历史数据至少包括与气象等有关的历史数据以及与道路交通网络有关的历史数据,这里的过去一定时间可以根据需求确定,例如可以是过去12个月的气象数据和交通流数据。在一些实施例中,具体包括以下部分:Through the acquisition module 1310, in order to be able to accurately predict the traffic network conditions and the recovery ability of traffic performance in the predetermined area within the predetermined time range in the future, first, it is necessary to obtain big data about the weather conditions and the traffic network conditions. Obtain the historical data of the predetermined area within a certain time range in the past. The predetermined area can be delineated according to actual needs. The historical data here includes at least historical data related to weather, etc. and historical data related to the road traffic network. The past certain time here can be determined according to demand, for example, it can be weather data and traffic flow data for the past 12 months. In some embodiments, it specifically includes the following parts:
第一获取单元,其用于获取所述预定区域的气象历史数据和交通流历史数据。The first acquiring unit is used to acquire historical weather data and traffic flow historical data of the predetermined area.
通过第一获取单元,当需要基于气象因素针对该预定区域进行交通网络情况的判断和 预测时,首先,需要获取该预定区域的气象历史数据和交通流历史数据,例如,可以是获取该预定区域在一定时间范围内的气象网格数据以及一定时间范围内的交通流历史数据。Through the first obtaining unit, when it is necessary to judge and predict the traffic network conditions of the predetermined area based on meteorological factors, firstly, it is necessary to obtain historical weather data and traffic flow historical data of the predetermined area. For example, the predetermined area may be obtained. Weather grid data within a certain time range and historical traffic flow data within a certain time range.
具体地,在获取气象历史数据的过程中,可以基于气象局的WRF模型(Weather Research and Forcasting Model)获取相应的气象数据,气象数据可以是温度、气压、降水等各种表示气象条件的数据,通过采用该模型仅需要根据该预定地区的位置参数和对于气象参数的使用需求生成指定的地理范围并基于该地理范围确定具有预定网格密度的气象网格数据,例如可以在Linux环境下将气象监测站的历史数据结合气象物理化学模型生成气象网格数据,当然通过这个模型也可以进行对未来6-72小时的未来气象网格数据的预测。Specifically, in the process of obtaining meteorological historical data, corresponding meteorological data can be obtained based on the WRF (Weather Research and Forecasting Model) of the Bureau of Meteorology. The meteorological data can be various data representing meteorological conditions such as temperature, air pressure, and precipitation. By adopting this model, it is only necessary to generate a designated geographic range based on the location parameters of the predetermined area and the use requirements for meteorological parameters, and determine the meteorological grid data with a predetermined grid density based on the geographic range. For example, the meteorological grid data can be The historical data of the monitoring station is combined with the meteorological physical and chemical model to generate meteorological grid data. Of course, this model can also be used to predict the future meteorological grid data in the future 6-72 hours.
在获取交通流历史数据的过程中,首先,确定该预定区域范围内的实际道路信息,该道路信息可以基于路段的形式表示,以便于准确确定预定区域或者预定区域的交通网络覆盖的范围,从而通过路段的交通流信息反映预定区域的交通网络状况,具体地,将预定区域按照路段进行划分,其中,可以将两个信号灯之间的道路(link)确定为一个路段,并基于该路段的实际情况确定路段的编码或者ID以及道路级别,这里的路段可以包括各种不同道路级别的道路,例如高速路、都市高速路、国道、省道等。例如针对某地区获取1379个不同级别的道路,其中,包含34个高速路(Level 00),8个都市高速路(Level 01),116个国道(Level 02),521个省道(Level 03),700个县道(Level 04)。进一步地,基于每个路段的ID和道路级别,获取每个路段ID的按照日期记录的平均交通流速度hourly speed(m/s)。In the process of obtaining historical traffic flow data, first, determine the actual road information within the predetermined area. The road information can be expressed in the form of road segments, so as to accurately determine the predetermined area or the traffic network coverage area of the predetermined area. The traffic flow information of the road section reflects the traffic network status of the predetermined area. Specifically, the predetermined area is divided according to road sections. Among them, the link between two signal lights can be determined as a road section and based on the actual road section. The situation determines the code or ID of the road section and the road level. The road section here can include roads of various road levels, such as highways, urban highways, national roads, provincial roads, and so on. For example, obtain 1379 roads of different levels for a certain area, including 34 highways (Level 00), 8 urban highways (Level 01), 116 national highways (Level 02), and 521 provincial highways (Level 03) , 700 county roads (Level 04). Further, based on the ID and road level of each road segment, the average traffic flow speed recorded by the date of each road segment ID hourly speed (m/s) is obtained.
第二获取单元,其用于对所述气象历史数据和交通流历史数据进行特征提取,获取基于路段的气象数据集合和交通流数据集合。The second acquisition unit is used for feature extraction of the weather history data and traffic flow history data, and acquires a road section-based weather data collection and a traffic flow data collection.
通过第一获取单元获取大量的气象历史数据和交通流历史数据后,通过第二获取单元,对这些历史的基础性数据进行初步整理和分析,对所述气象历史数据和交通流历史数据进行特征提取。首先,为了准确获取预定区域的气象和交通流信息,首先提取每项数据中的路段ID特征,将预定区域的道路交通网络中的所有路段ID按照ID或者道路等级排序,得到基于路段ID的数据集合。After acquiring a large amount of historical weather data and traffic flow historical data through the first acquisition unit, through the second acquisition unit, these historical basic data are preliminarily sorted and analyzed, and the weather historical data and traffic flow historical data are characterized extract. First of all, in order to accurately obtain the weather and traffic flow information of a predetermined area, first extract the road segment ID feature in each data item, and sort all road segment IDs in the road traffic network of the predetermined area according to ID or road level to obtain data based on road segment ID set.
进一步地,可以将表征为气象因素或者天气状况的温度、气压等作为气象特征参数,可以将表征为道路交通网络状况的交通流速度作为交通流特征参数进行提取,例如,在一个实施方式中,确定温度(Temperature),气压(Pressure),降水(Precipitation),湿度(Humidity),风向(Wind_direction),风速(Wind_speed),交通流速度(Traffic_speed)为特征参数对气象历史数据和交通流历史数据进行特征提取,并按照温度、气压、降水、湿度、风向、风速以及交通流速度等特征输入字段进行分日期甚至分小时的数据分类以及整理。Further, temperature, air pressure, etc., characterized as meteorological factors or weather conditions, can be used as meteorological feature parameters, and the traffic flow velocity, characterized as road traffic network conditions, can be extracted as traffic flow feature parameters. For example, in one embodiment, Determine temperature (Temperature), air pressure (Pressure), precipitation (Precipitation), humidity (Humidity), wind direction (Wind_direction), wind speed (Wind_speed), traffic flow speed (Traffic_speed) as characteristic parameters. Feature extraction, and classification and sorting of data by date or even hour according to feature input fields such as temperature, air pressure, precipitation, humidity, wind direction, wind speed, and traffic flow speed.
最后,将基于路段ID的数据集中的数据与经过提取的气象和交通流数据进行分别匹 配,例如,针对交通流历史数据,按照每周或者每天的形式整理成单独的基于路段ID的交通流数据集合;针对气象历史数据,按就近原则将气象数据赋值到交通路网的路段上,将通过WRF模型获取的气象历史数据中确定的气象特征参数,例如,将气象历史数据基于周一、周二、…、周日等整理成单独的基于路段的气象数据集合,从而最终获取预定区域的基于路段ID的气象数据集合和交通流数据集合。Finally, the data in the data set based on the road segment ID is matched with the extracted weather and traffic flow data. For example, the historical traffic flow data is sorted into separate traffic flow data based on the road segment ID on a weekly or daily basis. Collection; for historical weather data, the weather data is assigned to the road section of the traffic road network according to the principle of proximity, and the meteorological characteristic parameters determined in the weather historical data obtained through the WRF model, for example, the weather historical data is based on Monday, Tuesday,... , Sunday, etc. are sorted into separate road-based weather data collections, so as to finally obtain the road-segment ID-based weather data collections and traffic flow data collections in the predetermined area.
第一确定模块1320,其用于将所述气象数据集合和所述交通流数据集合中的数据输入机器学习模型,从而确定预定时间的交通流数据。The first determining module 1320 is configured to input the data in the meteorological data set and the traffic flow data set into a machine learning model, so as to determine traffic flow data at a predetermined time.
通过获取模块1310,获取预定区域的气象数据集合和交通流数据集合,为了便于通过机器学习模型对未来的交通流数据进行模拟和预测,需要将这些数据集合中的数据按照一定格式作为机器学习模型的输入数据,并将例如未来预定时间范围的交通流数据作为输出数据,这里的机器学习模型是深度序列模型,从而通过深度序列模型以实现对发生极端天气后的道路交通网络情况进行模拟和预测,具体地,在一些实施例中,所述机器学习模型为基于注意力机制的深度序列模型,包括以下部分:Through the acquisition module 1310, the meteorological data set and traffic flow data set of the predetermined area are acquired. In order to facilitate the simulation and prediction of future traffic flow data through the machine learning model, the data in these data sets need to be used as a machine learning model in a certain format For example, the traffic flow data of a predetermined time range in the future is used as the output data. The machine learning model here is a deep sequence model, so that the deep sequence model can be used to simulate and predict road traffic network conditions after extreme weather. Specifically, in some embodiments, the machine learning model is a deep sequence model based on an attention mechanism, including the following parts:
第一确定单元,其用于确定基于所述路段的模型数据格式。The first determining unit is used to determine the model data format based on the road section.
通过第一确定单元,基于获取的气象数据集合和交通流数据集合,根据深度序列模型的预先设定的输入数据形式构造模型输入数据格式。具体地,将交通流数据集合中的交通流速度数据、气象数据集合中的气象特征数据和等按照一定顺序构造为基于路段ID的输入数据格式即Input Sequence,形式为(Days*ID,Steps*Features);将需要预测的未来n小时的交通流速度作为基于路段ID的输出数据格式即Output Sequence,形式为(Days*ID,Steps);最后将输入数据格式Input Sequence和输出数据格式Output Sequence拼接起来,形式为(Days*ID,Steps*(Input Features+Output Features))。Through the first determining unit, based on the acquired meteorological data set and traffic flow data set, the model input data format is constructed according to the preset input data form of the depth sequence model. Specifically, the traffic flow speed data in the traffic flow data set, the weather feature data in the weather data set, etc. are constructed in a certain order into the input data format based on the road section ID, namely Input Sequence, in the form of (Days*ID, Steps* Features); The traffic flow speed that needs to be predicted in the next n hours is used as the output data format based on the road segment ID, namely Output Sequence, in the form of (Days*ID, Steps); finally, the input data format Input Sequence and the output data format Output Sequence are spliced Up, the format is (Days*ID, Steps*(Input Features+Output Features)).
进一步地,第一确定单元还能用于将气象数据集合和交通流数据集合中的气象数据和交通流数据进行归一化处理,具体地,例如将输入数据的(Days*ID,Steps*Features)数据变为(Days,Steps,ID*Features),从而对数据进行归一化处理(Normalization),以便于深度序列模型更好地对数据进行处理。Further, the first determining unit can also be used to normalize the weather data and traffic flow data in the weather data set and the traffic flow data set. Specifically, for example, the input data (Days*ID, Steps*Features ) The data becomes (Days, Steps, ID*Features), so that the data is normalized (Normalization), so that the deep sequence model can better process the data.
第二确定单元,其用于通过基于注意力机制的深度序列模型,确定预定时间的交通流数据。The second determining unit is used to determine traffic flow data at a predetermined time through a deep sequence model based on the attention mechanism.
通过第二确定单元,采用基于注意力机制的深度序列模型Attention-based Seq2Seq Model对未来预定时间的交通网络速度进行预测。注意力机制从字面意思来看和人类的注意力机制类似。人类通过快速扫描全局文本,获得需要重点关注的区域,也就是一般所说的注意力焦点,而后对这一区域投入更多注意力资源,以获取更多所需要关注目标的细节信息, 而抑制其他无用信息。这一机制的存在,极大提高了人类从大量的信息中筛选出高价值信息的手段,是人类在长期进化中形成的一种生存机制。深度学习中的注意力机制从本质上讲和人类的选择性机制类似,核心目标也是从众多信息中选择出对当前任务目标更关键的信息。目前注意力机制已经被广泛使用在自然语言处理、图像识别及语音识别等各种不同类型的深度学习任务中,是深度学习技术中最值得关注与深入了解的核心技术之一。当今主流的序列变换模型都是基于编码器和解码器架构,编解器架构的背后又是依赖于复杂的递归神经网络(RNN)或者卷积神经网络(CNN)。为了获得更好的表现,在编解码器架构的基础上,进一步添加注意力机制。Through the second determination unit, the attention-based Seq2Seq Model is used to predict the traffic network speed at a predetermined time in the future. The attention mechanism is literally similar to the human attention mechanism. Humans quickly scan the global text to obtain the area that needs to be focused, which is commonly referred to as the focus of attention, and then invest more attention resources in this area to obtain more detailed information about the target that needs to be focused, and suppress Other useless information. The existence of this mechanism has greatly improved the means for humans to screen out high-value information from a large amount of information. It is a survival mechanism formed by humans in long-term evolution. The attention mechanism in deep learning is essentially similar to the human selective mechanism. The core goal is to select information that is more critical to the current task goal from a large number of information. At present, the attention mechanism has been widely used in various types of deep learning tasks such as natural language processing, image recognition, and speech recognition. It is one of the most worthy of attention and in-depth understanding of the core technology of deep learning technology. Today's mainstream sequence transformation models are based on the encoder and decoder architectures. Behind the encoder architecture is a complex recurrent neural network (RNN) or convolutional neural network (CNN). In order to obtain better performance, an attention mechanism is further added on the basis of the codec architecture.
具体地,这里采用的基于注意力机制的深度序列模型采用深度Bidirectional LSTM(BiLSTM)作为编码器,采用深度Gated Recurrent Units(GRU)作为解码器,构建注意力向量(attention vector)。从模型的结构上,编码器和解码器分别包含3层神经网络,每层神经网络包含1379个隐藏节点,采用Soft Sign作为激活函数,通过采用01.5比率的Dropout技术降低过拟合情况。Specifically, the deep sequence model based on the attention mechanism adopted here uses deep Bidirectional LSTM (BiLSTM) as an encoder, and deep Gated Recurrent Units (GRU) as a decoder to construct an attention vector. From the structure of the model, the encoder and decoder respectively contain 3 layers of neural networks, each layer of neural network contains 1379 hidden nodes, Soft Sign is used as the activation function, and the 01.5 ratio of Dropout technology is used to reduce over-fitting.
进一步地,在对注意力机制的深度序列模型的训练中,采用Mean Squared Error作为损失函数,采用RMSprop作为优化器,其中训练Batch Size为64,Epoch为400,并在训练过程中采用Early Stopping技术以获取最佳训练效果。结构示意图如图2所示。通过采用基于注意力机制的深度序列模型,确定预定时间的交通流数据,从而对未来预定时间的交通网络情况进行精确度评估。Further, in the training of the deep sequence model of the attention mechanism, Mean Squared Error is used as the loss function, and RMSprop is used as the optimizer, where the training Batch Size is 64, the Epoch is 400, and the Early Stopping technology is used in the training process. In order to obtain the best training effect. The structure diagram is shown in Figure 2. By adopting a deep sequence model based on the attention mechanism, the traffic flow data at a predetermined time is determined, so as to accurately evaluate the traffic network conditions at a predetermined time in the future.
第二确定模块1330,其用于基于所述预定时间的交通流数据确定交通恢复能力。The second determining module 1330 is configured to determine the traffic recovery capability based on the traffic flow data of the predetermined time.
通过第二确定模块1330,通过深度序列模型确定预定时间的交通流数据后,需要对发生极端天气后的交通网络恢复性能进行预测和评估。如图所示,在一些实施例中,包括以下部分:After the second determination module 1330 determines the traffic flow data for a predetermined time through the deep sequence model, it is necessary to predict and evaluate the recovery performance of the traffic network after the occurrence of extreme weather. As shown in the figure, in some embodiments, the following parts are included:
第三确定单元,其用于确定基准交通性能和交通恢复指标。The third determining unit is used to determine the benchmark traffic performance and the traffic recovery index.
通过第三确定单元,首先,需要确定基准交通性能,例如在气象数据集合和交通流数据集合中查找没有任何极端天气,例如没有降水的日期,同时获取在这些日期预定区域内每个道路ID在没有降水的日期的车辆速度数据,还可以计算每星期的车辆均值速度,例如周一,周二,周三,周四,周五,周六,周日的车辆均值速度,还可以使用当日的车辆均值速度作为每星期的均值速度,从而作为基准交通性能,例如定义m′ 0,m′ 2为t′ 0,t′ 2时刻的基准交通流速度,具体通过以下方式实现: Through the third determination unit, first, it is necessary to determine the benchmark traffic performance, for example, look for days without any extreme weather, such as no precipitation, in the weather data collection and traffic flow data collection, and at the same time obtain the ID of each road in the predetermined area on these dates. Vehicle speed data on days without precipitation can also calculate the average vehicle speed every week, such as Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, and the average vehicle speed of the day. As the average speed per week, as the reference traffic performance, for example, define m′ 0 , m′ 2 as the reference traffic flow speed at time t′ 0 and t′ 2 , which can be implemented in the following ways:
A.为所有城市道路计算基准交通性能RA. Calculate benchmark traffic performance R for all urban roads
for i th城市道路: for i th city road:
for交通和气象数据中的h th天: for h th day in traffic and weather data:
if日降水为0:if the daily precipitation is 0:
record日速度
Figure PCTCN2020134868-appb-000013
record daily speed
Figure PCTCN2020134868-appb-000013
compute
Figure PCTCN2020134868-appb-000014
compute
Figure PCTCN2020134868-appb-000014
compute
Figure PCTCN2020134868-appb-000015
compute
Figure PCTCN2020134868-appb-000015
通过第三确定单元,交通恢复性能通过交通恢复指标进行表示,在本实施例中确定5个用于评价交通恢复性能的交通恢复指标,包括交通网络性能损失Loss of Resilience(LoR)指标、响应时间Response Time(RST)指标、恢复时间Recovery Time(RCT)指标、响应速率Response Rate(RSR)指标以及恢复速率Recovery Rate(RCR)指标。Through the third determining unit, the traffic recovery performance is expressed by traffic recovery indicators. In this embodiment, five traffic recovery indicators used to evaluate the traffic recovery performance are determined, including the Loss of Resilience (LoR) indicator and response time of the traffic network. Response Time (RST) indicator, Recovery Time (RCT) indicator, Response Rate (RSR) indicator, and Recovery Rate (RCR) indicator.
具体地,性能损失Loss of Resilience(LoR)是指交通网络性能损失,表示为当出现极端天气,例如强降水的天气后一定时间范围内的速度的围成面积与日常速度的围成面积的差,单位为米(m);响应时间Response Time(RST)/恢复时间Recovery Time(RCT)是指交通网络面对极端天气时,交通网络性能从正常值衰减到最低值的时间和从最低值恢复为正常值的时间,单位为小时(hour);响应速率Response Rate(RSR)/恢复速率Recovery Rate(RCR)是指交通网络面对极端天气时,交通网络性能从正常值衰减到最低值的速率和从最低值恢复为正常值的速率,单位为每二次方秒每米(m/s2)。Specifically, Loss of Resilience (LoR) refers to the loss of performance of the transportation network, expressed as the difference between the enclosed area of the speed within a certain time range and the enclosed area of the daily speed when extreme weather occurs, such as heavy rainfall. , The unit is meter (m); Response Time (RST)/Recovery Time (RCT) refers to the time when the traffic network performance decays from the normal value to the lowest value and recovers from the lowest value when the traffic network faces extreme weather The normal value of time, the unit is hour (hour); Response Rate (RSR)/Recovery Rate (RCR) refers to the rate at which the traffic network performance decays from the normal value to the lowest value when the traffic network faces extreme weather And the rate of returning from the lowest value to the normal value, in units of every square second per meter (m/s2).
具体地,上述交通恢复指标的确定或者计算方式如下:Specifically, the method for determining or calculating the above-mentioned traffic restoration index is as follows:
Figure PCTCN2020134868-appb-000016
Figure PCTCN2020134868-appb-000016
RST=t′ 1-t′ 0            (7) RST=t′ 1 -t′ 0 (7)
Figure PCTCN2020134868-appb-000017
Figure PCTCN2020134868-appb-000017
RCT=t′ 2-t′ 1             (9) RCT=t′ 2 -t′ 1 (9)
Figure PCTCN2020134868-appb-000018
Figure PCTCN2020134868-appb-000018
以极端天气为降水为例,上述的公式中的参数释义如下:Taking extreme weather as precipitation as an example, the parameter definitions in the above formula are as follows:
第一类参数是关于极端天气时间的时间点,以降水事件的关键时间点为例,其中t 0是降水开始时间;t 1是峰值降水的时间;t 2是降水结束时间;T是t 0和t 2之间的降水事件观察窗口期。 The first type of parameter is the time point of the extreme weather time. Take the key time point of the precipitation event as an example, where t 0 is the start time of precipitation; t 1 is the time of peak precipitation; t 2 is the end time of precipitation; T is t 0 The observation window period of precipitation events between t 2 and t 2.
第二类参数是关于交通速度曲线的关键点,其中,m 0是t 0时刻的速度值;t′ 0与t 0相同;m 1是观察窗口期T内的交通网络的最低速度值;t′ 1是捕获m 1的时间;m 2通过以下方式确定,在时段(t′ 1,t′ 1+3)内,恢复的交通网络的速度值应该等于m 0,如果在该时段内的交通网络的最 高速度值仍然小于m 0,则选择该最高速度作为m 2的值;t′ 2是捕获并确认m 2的时间。 The second type of parameters is about the key points of the traffic speed curve, where m 0 is the speed value at time t 0 ; t′ 0 is the same as t 0 ; m 1 is the lowest speed value of the traffic network in the observation window period T; t ′ 1 is the time to capture m 1 ; m 2 is determined by the following way, in the period (t′ 1 , t′ 1 +3), the speed value of the restored traffic network should be equal to m 0 , if the traffic in this period The maximum speed of the network is still less than m 0 , then the maximum speed is selected as the value of m 2 ; t′ 2 is the time to capture and confirm m 2.
在计算交通恢复指标的过程通过以下方式实现:The process of calculating the traffic recovery index is realized in the following ways:
B.计算交通恢复指标B. Calculate traffic recovery indicators
for i th城市道路: for i th city road:
for交通和气象数据中的h th天: for h th day in traffic and weather data:
if日降水大于0:if the daily precipitation is greater than 0:
search[t 0,t 1,t 2,t 3,T] search[t 0 , t 1 , t 2 , t 3 , T]
search[m 0,t′ 0,m 1,t′ 1,m 2,t′ 2] search[m 0 , t′ 0 , m 1 , t′ 1 , m 2 , t′ 2 ]
search[m′ 0,m′ 2] search[m′ 0 ,m′ 2 ]
return
Figure PCTCN2020134868-appb-000019
return
Figure PCTCN2020134868-appb-000019
Save
Figure PCTCN2020134868-appb-000020
Save
Figure PCTCN2020134868-appb-000020
第三获取单元,其用于基于所述交通恢复指标,获取所述预定区域的交通恢复性能。The third acquiring unit is configured to acquire the traffic recovery performance of the predetermined area based on the traffic recovery index.
当通过第三确定单元,确定基准交通性能和交通恢复指标后,就能够获取基于路段的所述预定区域的交通恢复性能After the reference traffic performance and the traffic recovery index are determined by the third determining unit, the traffic recovery performance of the predetermined area based on the road section can be obtained
此外,第二确定模块1330还包括生成单元,其用于基于交通恢复指标的计算结果为每个路段ID生成等级标签,例如恢复时间Recovery Time(RCT)指标低于第一阈值的,可以被认为是能够快速恢复交通状况的路段,恢复时间Recovery Time(RCT)指标高于第二阈值的,可以被认为是需要缓慢恢复交通状况的路段,这样,从而为不同的路段生成不同恢复时间的等级标签,当然还可以通过换算形成降水等级标签、降水量标签等级标签等,本实施例在此不做限定。In addition, the second determining module 1330 also includes a generating unit, which is used to generate a grade label for each road segment ID based on the calculation result of the traffic recovery index. For example, if the Recovery Time (RCT) index is lower than the first threshold, it can be considered It is a road section that can quickly recover the traffic condition, and the Recovery Time (RCT) indicator is higher than the second threshold, which can be considered as a road section that needs to slowly recover the traffic condition. In this way, different road sections are generated with different recovery time grade labels Of course, it is also possible to form a precipitation grade label, a precipitation label grade label, etc. through conversion, which is not limited in this embodiment.
此外,还可以包括判断单元,其用于按照日期和路段ID对于交通恢复性能指标的准确度进行判断,具体通过MSE,RMSE,MAE、R-Squared等评价指标对于深度序列模型中的回归算法进行评价。In addition, it may also include a judging unit, which is used to judge the accuracy of the traffic recovery performance index according to the date and road section ID. Specifically, the regression algorithm in the depth sequence model is evaluated by evaluation indexes such as MSE, RMSE, MAE, R-Squared, etc. Evaluation.
最后,还包括评估单元,其用于结合现有技术中ESRI,Intergraph和MapInfo等开发的地理信息系统软件(GIS)对交通恢复性能指标在时间和空间上的预测表现进行评估。Finally, it also includes an evaluation unit, which is used to evaluate the prediction performance of traffic recovery performance indicators in time and space in combination with geographic information system software (GIS) developed by ESRI, Intergraph, and MapInfo in the prior art.
本公开能够为预定区域内的每个路段匹配气象数据和交通流数据,通过构造深度序列模型对预定区域的交通网络中所有路段的交通流速度进行整体预测,同时构造基于交通性能损失的交通恢复性能指标的捕捉算法,在交通流速度的预测中通过交通恢复性能指标的捕捉算法,获得交通恢复性能的预测结果,还能针对交通恢复性能指标在不同极端天气下以及不同地理位置的预测精准度进行评价。本公开能够有效利用海量的气象数据、出行数据、交通数据等对深度序列模型进行优化,并通过该深度序列模型模拟和预测发生极端天气后的交通网络状况以及交通网络的恢复性能,为城市交通管理部门在极端天气或者灾害发生前、发生 中和发生后掌握城市交通网络的具体状况和变化趋势,并能够简历更为有效地应急准备、响应和处理的预案。The present disclosure can match meteorological data and traffic flow data for each road section in a predetermined area, by constructing a deep sequence model to predict the overall traffic flow speed of all road sections in the transportation network of the predetermined area, and at the same time construct a traffic recovery based on traffic performance loss Performance index capture algorithm, in the prediction of traffic flow speed, the traffic recovery performance index capture algorithm is used to obtain the prediction result of traffic recovery performance, and the prediction accuracy of traffic recovery performance index under different extreme weather and different geographical locations Make an evaluation. The present disclosure can effectively use massive meteorological data, travel data, traffic data, etc. to optimize the depth sequence model, and through the depth sequence model to simulate and predict the traffic network conditions after extreme weather and the recovery performance of the traffic network, it is a good way for urban traffic Before, during and after the occurrence of extreme weather or disasters, the management department should grasp the specific conditions and changing trends of the urban transportation network, and be able to resume more effective emergency preparedness, response and handling plans.
本说明书另一方面提供了一种存储介质,该存储介质为计算机可读介质,存储有计算机程序,该计算机程序被处理器执行时实现本公开任意实施例提供的方法,包括如下步骤S11至S13:Another aspect of this specification provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided by any embodiment of the present disclosure is implemented, including the following steps S11 to S13 :
S11,获取预定区域的气象数据集合和交通流数据集合;S11. Obtain a collection of weather data and a collection of traffic flow data in a predetermined area;
S12,将所述气象数据集合和所述交通流数据集合中的数据输入机器学习模型,从而确定预定时间的交通流数据;S12: Input the data in the meteorological data set and the traffic flow data set into a machine learning model, so as to determine traffic flow data at a predetermined time;
S13,基于所述预定时间的交通流数据确定交通恢复能力。S13: Determine the traffic recovery capability based on the traffic flow data of the predetermined time.
计算机程序被处理器执行获取预定区域的气象数据集合和交通流数据集合时,具体被处理器执行如下步骤:获取所述预定区域的气象历史数据和交通流历史数据;对所述气象历史数据和交通流历史数据进行特征提取,获取基于路段的气象数据集合和交通流数据集合。When the computer program is executed by the processor to obtain the meteorological data set and the traffic flow data set of the predetermined area, the processor specifically executes the following steps: obtain the meteorological historical data and the traffic flow historical data of the predetermined area; Feature extraction is performed on historical traffic flow data, and meteorological data collections and traffic flow data collections based on road sections are obtained.
计算机程序被处理器执行通过深度序列模型,确定预定时间的交通流数据时,所述机器学习模型为基于注意力机制的深度序列模型,具体被处理器执行如下步骤:确定基于所述路段的模型数据格式;通过基于注意力机制的深度序列模型,确定预定时间的交通流数据。When the computer program is executed by the processor to determine the traffic flow data for a predetermined time through the deep sequence model, the machine learning model is a deep sequence model based on the attention mechanism. Specifically, the processor executes the following steps: Determine the model based on the road section Data format: Determine the traffic flow data at a predetermined time through a deep sequence model based on the attention mechanism.
计算机程序被处理器执行基于所述预定时间的交通流数据确定交通恢复能力时,具体被处理器执行如下步骤:确定基准交通性能和交通恢复指标;基于所述交通恢复指标,获取所述预定区域的交通恢复性能。When the computer program is executed by the processor to determine the traffic recovery capability based on the traffic flow data for the predetermined time, the processor specifically executes the following steps: determining the benchmark traffic performance and the traffic recovery index; and obtaining the predetermined area based on the traffic recovery index Traffic recovery performance.
本公开能够为预定区域内的每个路段匹配气象数据和交通流数据,通过构造深度序列模型对预定区域的交通网络中所有路段的交通流速度进行整体预测,同时构造基于交通性能损失的交通恢复性能指标的捕捉算法,在交通流速度的预测中通过交通恢复性能指标的捕捉算法,获得交通恢复性能的预测结果,还能针对交通恢复性能指标在不同极端天气下以及不同地理位置的预测精准度进行评价。本公开能够有效利用海量的气象数据、出行数据、交通数据等对深度序列模型进行优化,并通过该深度序列模型模拟和预测发生极端天气后的交通网络状况以及交通网络的恢复性能,为城市交通管理部门在极端天气或者灾害发生前、发生中和发生后掌握城市交通网络的具体状况和变化趋势,并能够简历更为有效地应急准备、响应和处理的预案。The present disclosure can match meteorological data and traffic flow data for each road section in a predetermined area, by constructing a deep sequence model to predict the overall traffic flow speed of all road sections in the transportation network of the predetermined area, and at the same time construct a traffic recovery based on traffic performance loss Performance index capture algorithm, in the prediction of traffic flow speed, the traffic recovery performance index capture algorithm is used to obtain the prediction result of traffic recovery performance, and the prediction accuracy of traffic recovery performance index under different extreme weather and different geographical locations Make an evaluation. The present disclosure can effectively use massive meteorological data, travel data, traffic data, etc. to optimize the depth sequence model, and through the depth sequence model to simulate and predict the traffic network conditions after extreme weather and the recovery performance of the traffic network, it is a good way for urban traffic. Before, during and after the occurrence of extreme weather or disasters, the management department should grasp the specific conditions and changing trends of the urban transportation network, and be able to resume more effective emergency preparedness, response and handling plans.
本说明书另一方面提供了一种电子设备,该电子设备的结构示意图可以如图14所示,至少包括存储器1410和处理器1420,存储器1410上存储有计算机程序,处理器1420在执行存储器1410上的计算机程序时实现本公开任意实施例提供的方法。示例性的,电子设备计算机程序步骤如下S21至S23:Another aspect of this specification provides an electronic device. The schematic structural diagram of the electronic device may be as shown in FIG. 14, at least including a memory 1410 and a processor 1420. The memory 1410 stores a computer program, and the processor 1420 executes the memory 1410. The computer program implements the method provided in any embodiment of the present disclosure. Exemplarily, the steps of the computer program of the electronic device are as follows S21 to S23:
S21,获取预定区域的气象数据集合和交通流数据集合;S21: Obtain a collection of meteorological data and a collection of traffic flow data in a predetermined area;
S22,将所述气象数据集合和所述交通流数据集合中的数据输入机器学习模型,从而确定预定时间的交通流数据;S22: Input the data in the meteorological data set and the traffic flow data set into a machine learning model, so as to determine traffic flow data at a predetermined time;
S23,基于所述预定时间的交通流数据确定交通恢复能力。S23: Determine a traffic recovery capability based on the traffic flow data of the predetermined time.
处理器在执行存储器上存储的获取预定区域的气象数据集合和交通流数据集合时,具体执行如下计算机程序:获取所述预定区域的气象历史数据和交通流历史数据;对所述气象历史数据和交通流历史数据进行特征提取,获取基于路段的气象数据集合和交通流数据集合。When the processor executes the weather data collection and traffic flow data collection of the predetermined area stored on the memory, it specifically executes the following computer program: Obtain the weather history data and traffic flow history data of the predetermined area; Feature extraction is performed on historical traffic flow data, and meteorological data collections and traffic flow data collections based on road sections are obtained.
处理器在执行存储器上存储的通过深度序列模型,确定预定时间的交通流数据时,所述机器学习模型为基于注意力机制的深度序列模型,具体执行如下计算机程序:确定基于所述路段的模型数据格式;通过基于注意力机制的深度序列模型,确定预定时间的交通流数据。When the processor determines the traffic flow data for a predetermined time through the deep sequence model stored on the execution memory, the machine learning model is a deep sequence model based on the attention mechanism, and specifically executes the following computer program: determine the model based on the road section Data format: Determine the traffic flow data at a predetermined time through a deep sequence model based on the attention mechanism.
处理器在执行存储器上存储的基于所述预定时间的交通流数据确定交通恢复能力时,具体执行如下计算机程序:确定基准交通性能和交通恢复指标;基于所述交通恢复指标,获取所述预定区域的交通恢复性能。When determining the traffic recovery capability based on the traffic flow data stored on the memory for the predetermined time, the processor specifically executes the following computer program: determining a reference traffic performance and a traffic recovery index; and obtaining the predetermined area based on the traffic recovery index Traffic recovery performance.
本公开能够为预定区域内的每个路段匹配气象数据和交通流数据,通过构造深度序列模型对预定区域的交通网络中所有路段的交通流速度进行整体预测,同时构造基于交通性能损失的交通恢复性能指标的捕捉算法,在交通流速度的预测中通过交通恢复性能指标的捕捉算法,获得交通恢复性能的预测结果,还能针对交通恢复性能指标在不同极端天气下以及不同地理位置的预测精准度进行评价。本公开能够有效利用海量的气象数据、出行数据、交通数据等对深度序列模型进行优化,并通过该深度序列模型模拟和预测发生极端天气后的交通网络状况以及交通网络的恢复性能,为城市交通管理部门在极端天气或者灾害发生前、发生中和发生后掌握城市交通网络的具体状况和变化趋势,并能够简历更为有效地应急准备、响应和处理的预案。The present disclosure can match meteorological data and traffic flow data for each road section in a predetermined area, by constructing a deep sequence model to predict the overall traffic flow speed of all road sections in the transportation network of the predetermined area, and at the same time construct a traffic recovery based on traffic performance loss Performance index capture algorithm, in the prediction of traffic flow speed, the traffic recovery performance index capture algorithm is used to obtain the prediction result of traffic recovery performance, and the prediction accuracy of traffic recovery performance index under different extreme weather and different geographical locations Make an evaluation. The present disclosure can effectively use massive meteorological data, travel data, traffic data, etc. to optimize the depth sequence model, and through the depth sequence model to simulate and predict the traffic network conditions after extreme weather and the recovery performance of the traffic network, it is a good way for urban traffic. Before, during and after the occurrence of extreme weather or disasters, the management department should grasp the specific conditions and changing trends of the urban transportation network, and be able to resume more effective emergency preparedness, response and handling plans.
上文已对基本概念做了描述,显然,对于本领域技术人员来说,上述详细披露仅仅作为示例,而并不构成对本申请的限定。虽然此处并没有明确说明,本领域技术人员可能会对本申请进行各种修改、改进和修正。该类修改、改进和修正在本申请中被建议,所以该类修改、改进、修正仍属于本申请示范实施例的精神和范围。The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only an example, and does not constitute a limitation to the application. Although it is not explicitly stated here, those skilled in the art may make various modifications, improvements and amendments to this application. Such modifications, improvements, and corrections are suggested in this application, so such modifications, improvements, and corrections still belong to the spirit and scope of the exemplary embodiments of this application.
同时,本申请使用了特定词语来描述本申请的实施例。如“一个实施例”、“一实施例”、和/或“一些实施例”意指与本申请至少一个实施例相关的某一特征、结构或特点。因此,应强调并注意的是,本说明书中在不同位置两次或多次提及的“一实施例”或“一个实施例”或“一个替代性实施例”并不一定是指同一实施例。此外,本申请的一个或多个实施例中的某些特征、结构或特点可以进行适当的组合。At the same time, this application uses specific words to describe the embodiments of the application. For example, "one embodiment", "an embodiment", and/or "some embodiments" mean a certain feature, structure, or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that “one embodiment” or “one embodiment” or “an alternative embodiment” mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. . In addition, some features, structures, or characteristics in one or more embodiments of the present application can be appropriately combined.
此外,本领域技术人员可以理解,本申请的各方面可以通过若干具有可专利性的种类或情况进行说明和描述,包括任何新的和有用的工序、机器、产品或物质的组合,或对他们的任何新的和有用的改进。相应地,本申请的各个方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。此外,本申请的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。In addition, those skilled in the art can understand that various aspects of this application can be explained and described through a number of patentable categories or situations, including any new and useful process, machine, product, or combination of substances, or a combination of them. Any new and useful improvements. Correspondingly, various aspects of the present application can be completely executed by hardware, can be completely executed by software (including firmware, resident software, microcode, etc.), or can be executed by a combination of hardware and software. The above hardware or software can all be referred to as "data block", "module", "engine", "unit", "component" or "system". In addition, various aspects of the present application may be embodied as a computer product located in one or more computer-readable media, and the product includes computer-readable program codes.
计算机存储介质可能包含一个内含有计算机程序编码的传播数据信号,例如在基带上或作为载波的一部分。该传播信号可能有多种表现形式,包括电磁形式、光形式等,或合适的组合形式。计算机存储介质可以是除计算机可读存储介质之外的任何计算机可读介质,该介质可以通过连接至一个指令执行系统、装置或设备以实现通讯、传播或传输供使用的程序。位于计算机存储介质上的程序编码可以通过任何合适的介质进行传播,包括无线电、电缆、光纤电缆、RF、或类似介质,或任何上述介质的组合。The computer storage medium may contain a propagated data signal containing a computer program code, for example on a baseband or as part of a carrier wave. The propagated signal may have multiple manifestations, including electromagnetic forms, optical forms, etc., or a suitable combination. The computer storage medium may be any computer readable medium other than the computer readable storage medium, and the medium may be connected to an instruction execution system, device, or device to realize communication, propagation, or transmission of the program for use. The program code located on the computer storage medium can be transmitted through any suitable medium, including radio, cable, fiber optic cable, RF, or similar medium, or any combination of the above medium.
本申请各部分操作所需的计算机程序编码可以用任意一种或多种程序语言编写,包括面向对象编程语言如Java、Scala、Smalltalk、Eiffel、JADE、Emerald、C++、C#、VB.NET、Python等,常规程序化编程语言如C语言、Visual Basic、Fortran 2003、Perl、COBOL 2002、PHP、ABAP,动态编程语言如Python、Ruby和Groovy,或其他编程语言等。该程序编码可以完全在用户计算机上运行、或作为独立的软件包在用户计算机上运行、或部分在用户计算机上运行部分在远程计算机运行、或完全在远程计算机或服务器上运行。在后种情况下,远程计算机可以通过任何网络形式与用户计算机连接,比如局域网(LAN)或广域网(WAN),或连接至外部计算机(例如通过因特网),或在云计算环境中,或作为服务使用如软件即服务(SaaS)。The computer program codes required for the operation of each part of this application can be written in any one or more programming languages, including object-oriented programming languages such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python Etc., conventional programming languages such as C language, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages. The program code can be run entirely on the user's computer, or run as an independent software package on the user's computer, or partly run on the user's computer and partly run on a remote computer, or run entirely on the remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any network form, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (for example, via the Internet), or in a cloud computing environment, or as a service Use software as a service (SaaS).
此外,除非权利要求中明确说明,本申请所述处理元素和序列的顺序、数字字母的使用、或其他名称的使用,并非用于限定本申请流程和方法的顺序。尽管上述披露中通过各种示例讨论了一些目前认为有用的发明实施例,但应当理解的是,该类细节仅起到说明的目的,附加的权利要求并不仅限于披露的实施例,相反,权利要求旨在覆盖所有符合本申请实施例实质和范围的修正和等价组合。例如,虽然以上所描述的系统组件可以通过硬件设备实现,但是也可以只通过软件的解决方案得以实现,如在现有的服务器或移动设备上安装所描述的系统。In addition, unless explicitly stated in the claims, the order of processing elements and sequences, the use of numbers and letters, or the use of other names in this application are not used to limit the order of the procedures and methods of this application. Although the foregoing disclosure uses various examples to discuss some embodiments of the invention that are currently considered useful, it should be understood that such details are only for illustrative purposes, and the appended claims are not limited to the disclosed embodiments. On the contrary, the rights are The requirements are intended to cover all modifications and equivalent combinations that conform to the essence and scope of the embodiments of the present application. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
同理,应当注意的是,为了简化本申请披露的表述,从而帮助对一个或多个发明实施例的理解,前文对本申请实施例的描述中,有时会将多种特征归并至一个实施例、附图或对其的描述中。但是,这种披露方法并不意味着本申请对象所需要的特征比权利要求中提及的 特征多。实际上,实施例的特征要少于上述披露的单个实施例的全部特征。For the same reason, it should be noted that, in order to simplify the expressions disclosed in this application and help the understanding of one or more embodiments of the invention, in the foregoing description of the embodiments of this application, multiple features are sometimes combined into one embodiment. In the drawings or its description. However, this method of disclosure does not mean that the subject of the application requires more features than those mentioned in the claims. In fact, the features of the embodiment are less than all the features of the single embodiment disclosed above.
一些实施例中使用了描述成分、属性数量的数字,应当理解的是,此类用于实施例描述的数字,在一些示例中使用了修饰词“大约”、“近似”或“大体上”来修饰。除非另外说明,“大约”、“近似”或“大体上”表明所述数字允许有±20%的变化。相应地,在一些实施例中,说明书和权利要求中使用的数值参数均为近似值,该近似值根据个别实施例所需特点可以发生改变。在一些实施例中,数值参数应考虑规定的有效数位并采用一般位数保留的方法。尽管本申请一些实施例中用于确认其范围广度的数值域和参数为近似值,在具体实施例中,此类数值的设定在可行范围内尽可能精确。In some embodiments, numbers describing the number of ingredients and attributes are used. It should be understood that such numbers used in the description of the embodiments use the modifier "about", "approximately" or "substantially" in some examples. Retouch. Unless otherwise stated, "approximately", "approximately" or "substantially" indicates that the number is allowed to vary by ±20%. Correspondingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, and the approximate values can be changed according to the required characteristics of individual embodiments. In some embodiments, the numerical parameter should consider the prescribed effective digits and adopt the method of general digit retention. Although the numerical ranges and parameters used to confirm the breadth of the range in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
针对本申请引用的每个专利、专利申请、专利申请公开物和其他材料,如文章、书籍、说明书、出版物、文档等,特此将其全部内容并入本申请作为参考。与本申请内容不一致或产生冲突的申请历史文件除外,对本申请权利要求最广范围有限制的文件(当前或之后附加于本申请中的)也除外。需要说明的是,如果本申请附属材料中的描述、定义、和/或术语的使用与本申请所述内容有不一致或冲突的地方,以本申请的描述、定义和/或术语的使用为准。For each patent, patent application, patent application publication and other materials cited in this application, such as articles, books, specifications, publications, documents, etc., the entire contents of which are hereby incorporated into this application by reference. The application history documents that are inconsistent or conflicting with the content of this application are excluded, and documents that restrict the broadest scope of the claims of this application (currently or later attached to this application) are also excluded. It should be noted that if there is any inconsistency or conflict between the description, definition, and/or term usage in the attached materials of this application and the content described in this application, the description, definition and/or term usage of this application shall prevail .
最后,应当理解的是,本申请中所述实施例仅用以说明本申请实施例的原则。其他的变形也可能属于本申请的范围。因此,作为示例而非限制,本申请实施例的替代配置可视为与本申请的教导一致。相应地,本申请的实施例不仅限于本申请明确介绍和描述的实施例。Finally, it should be understood that the embodiments described in this application are only used to illustrate the principles of the embodiments of this application. Other variations may also fall within the scope of this application. Therefore, as an example and not a limitation, the alternative configuration of the embodiment of the present application can be regarded as consistent with the teaching of the present application. Correspondingly, the embodiments of the present application are not limited to the embodiments explicitly introduced and described in the present application.

Claims (27)

  1. 一种系统,包括:A system including:
    至少一个存储介质,所述存储介质包括指令;At least one storage medium, the storage medium including instructions;
    至少一个处理器,所述至少一个处理器与所述至少一个存储介质通信,其中,在执行所述指令时,所述至少一个处理器被配置为:At least one processor, the at least one processor is in communication with the at least one storage medium, wherein, when the instruction is executed, the at least one processor is configured to:
    获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据;Acquiring meteorological data of the target road section in a certain time period and historical traffic flow data in a historical time period before the time period;
    基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据;Based on the historical traffic flow data and the meteorological data, using a trained prediction model to determine the predicted traffic flow data of the target road section in the time period;
    基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数,所述交通评估参数用于评估所述目标路段在所述气象数据条件下的交通恢复能力。Based on the predicted traffic flow data, determine at least one traffic evaluation parameter related to the target road section within the time period, where the traffic evaluation parameter is used to evaluate the traffic recovery capability of the target road section under the weather data condition .
  2. 根据权利要求1所述的系统,其中,所述历史交通流数据包括以下历史交通流数据中的至少一个:The system according to claim 1, wherein the historical traffic flow data includes at least one of the following historical traffic flow data:
    与所述时间段相邻的第一历史时间段内所述目标路段的第一历史交通流数据,或者The first historical traffic flow data of the target road section in the first historical time period adjacent to the time period, or
    与所述时间段相隔一个或多个时间周期的第二历史时间段内与所述目标路段相关的第二历史交通流数据。Second historical traffic flow data related to the target road segment in a second historical time period separated by one or more time periods from the time period.
  3. 根据权利要求2所述的系统,其中,为基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定在所述时间段内所述目标路段的预测交通流数据,所述至少一个处理器被配置为:The system according to claim 2, wherein, based on the historical traffic flow data and the meteorological data, a trained prediction model is used to determine the predicted traffic flow data of the target road section within the time period, the At least one processor is configured as:
    获取所述目标路段在所述时间段之前与所述时间段相邻的第三历史时间段内的历史气象数据;以及Acquiring historical weather data of the target road section in a third historical time period adjacent to the time period before the time period; and
    基于所述历史气象数据、所述历史交通流数据以及所述气象数据,利用所述预测模型确定所述预测交通流数据。Based on the historical weather data, the historical traffic flow data, and the weather data, the predicted traffic flow data is determined using the prediction model.
  4. 根据权利要求1所述的系统,其中,所述预测模型包括基于注意力的序列到序列模型;为基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定在所述时间段内所述目标路段的预测交通流数据,所述至少一个处理器被配置为:The system according to claim 1, wherein the prediction model includes a sequence-to-sequence model based on attention; in order to determine the time based on the historical traffic flow data and the meteorological data, the trained prediction model is used to determine For the predicted traffic flow data of the target road section in the segment, the at least one processor is configured to:
    基于所述历史交通流数据以及所述气象数据,构建适配于所述预测模型的输入序列;以 及Based on the historical traffic flow data and the meteorological data, construct an input sequence adapted to the prediction model; and
    利用所述预测模型处理所述输入序列,确定所述预测交通流数据。Use the prediction model to process the input sequence to determine the predicted traffic flow data.
  5. 根据权利要求4所述的系统,其中,所述预测模型包括基于长短期记忆(Long short-term memory,LSTM)的编码器和基于门控循环单元(Gated Recurrent Unit,GRU)的解码器。The system according to claim 4, wherein the prediction model comprises an encoder based on long short-term memory (LSTM) and a decoder based on Gated Recurrent Unit (GRU).
  6. 根据权利要求1所述的系统,其中,为基于所述预测交通流数据,确定与所述时间段内所述目标路段相关的至少一个交通评估参数,所述至少一个处理器被配置为:The system according to claim 1, wherein, to determine at least one traffic evaluation parameter related to the target road section in the time period based on the predicted traffic flow data, the at least one processor is configured to:
    获取与所述目标路段相关的基准交通流数据;Acquiring reference traffic flow data related to the target road section;
    获取一个或多个评估时刻;Obtain one or more evaluation moments;
    确定一个或多个评估时刻分别对应的一个或多个预测交通流速度和基准交通流速度;以及Determine one or more predicted traffic flow speeds and reference traffic flow speeds corresponding to one or more assessment moments; and
    基于所述预测交通流数据、所述基准交通流数据、所述一个或多个评估时刻以及所述预测交通流速度和所述基准交通流速度,确定所述至少一个交通评估参数。The at least one traffic evaluation parameter is determined based on the predicted traffic flow data, the reference traffic flow data, the one or more evaluation moments, and the predicted traffic flow speed and the reference traffic flow speed.
  7. 根据权利要求6所述的系统,其中,所述交通评估参数包括交通性能损失参数;所述预测交通流数据包括在所述时间段内与所述目标路段相关的交通流速度预测曲线,所述基准交通流数据包括在与所述时间段具有相同时间标识的基准时间段内与所述目标路段相关的交通流速度参考曲线;为确定所述交通性能损失参数,所述至少一个处理器被配置为:The system according to claim 6, wherein the traffic evaluation parameter includes a traffic performance loss parameter; the predicted traffic flow data includes a traffic flow velocity prediction curve related to the target road section within the time period, the The reference traffic flow data includes a traffic flow speed reference curve related to the target road section in a reference time period having the same time identifier as the time period; to determine the traffic performance loss parameter, the at least one processor is configured for:
    确定在一个或多个评估时刻构成的一个或多个评估时长内,所述交通流速度预测曲线的第一积分和所述交通流速度参考曲线的第二积分;所述第一积分表示在所述气象数据条件下在所述一个或多个评估时长内通过所述目标路段的车流量,所述第二积分表示在天气良好情况下在所述一个或多个评估时长内通过所述目标路段的车流量;以及Determine the first integral of the traffic flow velocity prediction curve and the second integral of the traffic flow velocity reference curve within one or more assessment durations constituted by one or more assessment moments; the first integral indicates that The flow of vehicles passing through the target road section within the one or more evaluation time lengths under the condition of the meteorological data, and the second integral represents passing the target road section within the one or more evaluation time lengths under good weather conditions Traffic volume; and
    基于所述第一积分和所述第二积分,确定所述交通性能损失参数。Based on the first integral and the second integral, the traffic performance loss parameter is determined.
  8. 根据权利要求6所述的系统,其中,所述交通评估参数包括响应时间和恢复时间,为确定所述响应时间和所述恢复时间,所述至少一个处理器被配置为:The system according to claim 6, wherein the traffic evaluation parameters include response time and recovery time, and to determine the response time and the recovery time, the at least one processor is configured to:
    确定所述一个或多个评估时刻之间的一个或多个第一差值;Determine one or more first differences between the one or more evaluation moments;
    指定所述一个或多个第一差值中的一个作为所述响应时间或所述恢复时间。Specify one of the one or more first difference values as the response time or the recovery time.
  9. 根据权利要求8所述的系统,其中,所述交通评估参数包括响应速率和恢复速率,为确定所述响应速率和所述恢复速率,所述至少一个处理器被配置为:The system according to claim 8, wherein the traffic evaluation parameter includes a response rate and a recovery rate, and to determine the response rate and the recovery rate, the at least one processor is configured to:
    确定所述一个或多个评估时刻对应的所述预测交通流速度和基准交通流速度之间的一个或多个第二差值;Determining one or more second differences between the predicted traffic flow speed and the reference traffic flow speed corresponding to the one or more evaluation moments;
    确定所述一个或多个第二差值和所述一个或多个第一差值之间的一个或多个比值;Determining one or more ratios between the one or more second differences and the one or more first differences;
    指定所述一个或多个比值中的一个作为所述响应速率或所述恢复速率。One of the one or more ratios is designated as the response rate or the recovery rate.
  10. 根据权利要求1所述的系统,其中,为基于所述预测交通流数据,确定与所述时间段内所述目标路段相关的至少一个交通评估参数,所述至少一个处理器被配置为:The system according to claim 1, wherein, to determine at least one traffic evaluation parameter related to the target road section in the time period based on the predicted traffic flow data, the at least one processor is configured to:
    获取交通评估模型,所述交通评估模型反应交通流速度与交通评估参数之间的关系;以及Obtaining a traffic assessment model that reflects the relationship between traffic flow speed and traffic assessment parameters; and
    基于所述交通评估模型以及所述预测交通流数据确定所述交通评估参数。The traffic assessment parameter is determined based on the traffic assessment model and the predicted traffic flow data.
  11. 根据权利要求10所述的系统,其中,所述至少一个处理器进一步被配置为:The system of claim 10, wherein the at least one processor is further configured to:
    获取多个路段在多个时间段内的至少一个参考交通评估参数以及利用所述交通评估模型确定的预测交通评估参数;Acquiring at least one reference traffic assessment parameter of multiple road sections in multiple time periods and a predicted traffic assessment parameter determined by using the traffic assessment model;
    以及as well as
    基于所述多个路段在多个时间段内的至少一个参考交通评估参数以及的预测交通评估参数,确定所述交通评估模型的准确度;以及Determine the accuracy of the traffic assessment model based on at least one reference traffic assessment parameter and predicted traffic assessment parameter of the multiple road sections in multiple time periods; and
    基于所述准确度对所述交通评估模型进行更新。The traffic evaluation model is updated based on the accuracy.
  12. 根据权利要求1所述的系统,其中,所述至少一个处理器进一步被配置为:The system of claim 1, wherein the at least one processor is further configured to:
    获取包括所述目标路段的目标区域内多个路段的交通评估参数;以及Acquiring traffic evaluation parameters of multiple road sections in the target area including the target road section; and
    将所述多个路段的交通评估参数映射至所述目标区域的地图数据上,获取所述目标区域的交通评估的可视化结果。The traffic evaluation parameters of the multiple road sections are mapped to the map data of the target area, and the visualized result of the traffic evaluation of the target area is obtained.
  13. 根据权利要求1所述的系统,其中,所述预测模型由以下过程确定,所述过程包括:The system according to claim 1, wherein the predictive model is determined by the following process, the process comprising:
    获取多个训练样本,每个训练样本包括训练输入序列,以及训练标签;所述训练输入序列基于与多个训练路段相关的历史参考气象数据、历史预测气象数据以及历史参考交通流数据确定,所述训练标签基于所述历史参考交通流数据确定;Obtain multiple training samples, each training sample includes a training input sequence and a training label; the training input sequence is determined based on historical reference weather data, historical forecast weather data, and historical reference traffic flow data related to multiple training road sections. The training label is determined based on the historical reference traffic flow data;
    基于所述多个训练样本,利用一个或多次迭代过程训练预测模型,以获取训练好的预测 模型,其中,一次迭代包括:Based on the multiple training samples, one or more iterations are used to train the prediction model to obtain a trained prediction model, where one iteration includes:
    对于每个训练样本,For each training sample,
    确定对应于所述训练输入序列的预测结果;Determine the prediction result corresponding to the training input sequence;
    确定所述预测结果与所述训练样本对应的训练标签之间的差异;Determine the difference between the prediction result and the training label corresponding to the training sample;
    基于所述差异,调整所述预测模型的参数以减小所述差异。Based on the difference, the parameters of the prediction model are adjusted to reduce the difference.
  14. 一种在计算设备上实现的方法,其特征在于,所述计算设备具有至少一个存储介质,所述存储介质用于存储指令,以及至少一个与所述至少一个存储介质通信的处理器,所述方法包括:A method implemented on a computing device, wherein the computing device has at least one storage medium for storing instructions, and at least one processor that communicates with the at least one storage medium, and Methods include:
    获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据;Acquiring meteorological data of the target road section in a certain time period and historical traffic flow data in a historical time period before the time period;
    基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据;Based on the historical traffic flow data and the meteorological data, using a trained prediction model to determine the predicted traffic flow data of the target road section in the time period;
    基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数,所述交通评估参数用于评估所述目标路段在所述气象数据条件下的交通恢复能力。Based on the predicted traffic flow data, determine at least one traffic evaluation parameter related to the target road section within the time period, where the traffic evaluation parameter is used to evaluate the traffic recovery capability of the target road section under the weather data condition .
  15. 根据权利要求14所述的方法,其中,所述历史交通流数据包括以下历史交通流数据中的至少一个:The method according to claim 14, wherein the historical traffic flow data includes at least one of the following historical traffic flow data:
    与所述时间段相邻的第一历史时间段内所述目标路段的第一历史交通流数据,或者The first historical traffic flow data of the target road section in the first historical time period adjacent to the time period, or
    与所述时间段相隔一个或多个时间周期的第二历史时间段内与所述目标路段相关的第二历史交通流数据。Second historical traffic flow data related to the target road segment in a second historical time period separated by one or more time periods from the time period.
  16. 根据权利要求15所述的方法,其中,所述基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定在所述时间段内所述目标路段的预测交通流数据包括:15. The method according to claim 15, wherein the determining the predicted traffic flow data of the target road section within the time period based on the historical traffic flow data and the meteorological data using a trained prediction model comprises:
    获取所述目标路段在所述时间段之前与所述时间段相邻的第三历史时间段内的历史气象数据;以及Acquiring historical weather data of the target road section in a third historical time period adjacent to the time period before the time period; and
    基于所述历史气象数据、所述历史交通流数据以及所述气象数据,利用所述预测模型确定所述预测交通流数据。Based on the historical weather data, the historical traffic flow data, and the weather data, the predicted traffic flow data is determined using the prediction model.
  17. 根据权利要求14所述的方法,其中,所述预测模型包括基于注意力的序列到序列模型;所述基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定在所述 时间段内所述目标路段的预测交通流数据包括:The method according to claim 14, wherein the prediction model comprises a sequence-to-sequence model based on attention; and the prediction model based on the historical traffic flow data and the meteorological data is used to determine the The predicted traffic flow data of the target road section in the time period includes:
    基于所述历史交通流数据以及所述气象数据,构建适配于所述预测模型的输入序列;以及Based on the historical traffic flow data and the meteorological data, constructing an input sequence adapted to the prediction model; and
    利用所述预测模型处理所述输入序列,确定所述预测交通流数据。Use the prediction model to process the input sequence to determine the predicted traffic flow data.
  18. 根据权利要求17所述的方法,其中,所述预测模型包括基于长短期记忆(Long short-term memory,LSTM)的编码器和基于门控循环单元(Gated Recurrent Unit,GRU)的解码器。The method according to claim 17, wherein the prediction model comprises an encoder based on Long Short-term Memory (LSTM) and a decoder based on Gated Recurrent Unit (GRU).
  19. 根据权利要求14所述的方法,其中,所述基于所述预测交通流数据,确定与所述时间段内所述目标路段相关的至少一个交通评估参数包括:The method according to claim 14, wherein the determining at least one traffic evaluation parameter related to the target road section within the time period based on the predicted traffic flow data comprises:
    获取与所述目标路段相关的基准交通流数据;Acquiring reference traffic flow data related to the target road section;
    获取一个或多个评估时刻;Obtain one or more evaluation moments;
    确定一个或多个评估时刻分别对应的一个或多个预测交通流速度和基准交通流速度;以及Determine one or more predicted traffic flow speeds and reference traffic flow speeds corresponding to one or more assessment moments; and
    基于所述预测交通流数据、所述基准交通流数据、所述一个或多个评估时刻以及所述预测交通流速度和所述基准交通流速度,确定所述至少一个交通评估参数。The at least one traffic evaluation parameter is determined based on the predicted traffic flow data, the reference traffic flow data, the one or more evaluation moments, and the predicted traffic flow speed and the reference traffic flow speed.
  20. 根据权利要求19所述的方法,其中,所述交通评估参数包括交通性能损失参数;所述预测交通流数据包括在所述时间段内与所述目标路段相关的交通流速度预测曲线,所述基准交通流数据包括在与所述时间段具有相同时间标识的基准时间段内与所述目标路段相关的交通流速度参考曲线;所述确定所述交通性能损失参数包括:The method according to claim 19, wherein the traffic evaluation parameter includes a traffic performance loss parameter; the predicted traffic flow data includes a traffic flow velocity prediction curve related to the target road section within the time period, the The reference traffic flow data includes a traffic flow speed reference curve related to the target road section in a reference time period having the same time identifier as the time period; the determining the traffic performance loss parameter includes:
    确定在一个或多个评估时刻构成的一个或多个评估时长内,所述交通流速度预测曲线的第一积分和所述交通流速度参考曲线的第二积分;所述第一积分表示在所述气象数据条件下在所述一个或多个评估时长内通过所述目标路段的车流量,所述第二积分表示在天气良好情况下在所述一个或多个评估时长内通过所述目标路段的车流量;以及Determine the first integral of the traffic flow velocity prediction curve and the second integral of the traffic flow velocity reference curve within one or more assessment durations constituted by one or more assessment moments; the first integral indicates that The flow of vehicles passing through the target road section within the one or more evaluation time lengths under the condition of the meteorological data, and the second integral represents passing the target road section within the one or more evaluation time lengths under good weather conditions Traffic volume; and
    基于所述第一积分和所述第二积分,确定所述交通性能损失参数。Based on the first integral and the second integral, the traffic performance loss parameter is determined.
  21. 根据权利要求19所述的方法,其中,所述交通评估参数包括响应时间和恢复时间,所述确定所述响应时间和所述恢复时间包括:The method according to claim 19, wherein the traffic evaluation parameter includes a response time and a recovery time, and the determining the response time and the recovery time comprises:
    确定所述一个或多个评估时刻之间的一个或多个第一差值;Determine one or more first differences between the one or more evaluation moments;
    指定所述一个或多个第一差值中的一个作为所述响应时间或所述恢复时间。Specify one of the one or more first difference values as the response time or the recovery time.
  22. 根据权利要求21所述的方法,其中,所述交通评估参数包括响应速率和恢复速率,所述确定所述响应速率和所述恢复速率包括:The method according to claim 21, wherein the traffic evaluation parameter includes a response rate and a recovery rate, and the determining the response rate and the recovery rate comprises:
    确定所述一个或多个评估时刻对应的所述预测交通流速度和基准交通流速度之间的一个或多个第二差值;Determining one or more second differences between the predicted traffic flow speed and the reference traffic flow speed corresponding to the one or more evaluation moments;
    确定所述一个或多个第二差值和所述一个或多个第一差值之间的一个或多个比值;Determining one or more ratios between the one or more second differences and the one or more first differences;
    指定所述一个或多个比值中的一个作为所述响应速率或所述恢复速率。One of the one or more ratios is designated as the response rate or the recovery rate.
  23. 根据权利要求14所述的方法,其中,所述基于所述预测交通流数据,确定与所述时间段内所述目标路段相关的至少一个交通评估参数包括:The method according to claim 14, wherein the determining at least one traffic evaluation parameter related to the target road section in the time period based on the predicted traffic flow data comprises:
    获取交通评估模型,所述交通评估模型反应交通流速度与交通评估参数之间的关系;以及Obtaining a traffic assessment model that reflects the relationship between traffic flow speed and traffic assessment parameters; and
    基于所述交通评估模型以及所述预测交通流数据确定所述交通评估参数。The traffic assessment parameter is determined based on the traffic assessment model and the predicted traffic flow data.
  24. 根据权利要求23所述的方法,其中,所述方法进一步包括:The method of claim 23, wherein the method further comprises:
    获取多个路段在多个时间段内的至少一个参考交通评估参数以及利用所述模型确定的预测交通评估参数;以及Acquiring at least one reference traffic assessment parameter of multiple road sections in multiple time periods and the predicted traffic assessment parameter determined by using the model; and
    基于所述多个路段在多个时间段内的至少一个参考交通评估参数以及的预测交通评估参数,确定所述交通评估模型的准确度;以及Determine the accuracy of the traffic assessment model based on at least one reference traffic assessment parameter and predicted traffic assessment parameter of the multiple road sections in multiple time periods; and
    基于所述准确度对所述交通评估模型进行更新。The traffic evaluation model is updated based on the accuracy.
  25. 根据权利要求14所述的方法,其中,所述方法进一步包括:The method according to claim 14, wherein the method further comprises:
    获取包括所述目标路段的目标区域内多个路段的交通评估参数;以及Acquiring traffic evaluation parameters of multiple road sections in the target area including the target road section; and
    将所述多个路段的交通评估参数映射至所述目标区域的地图数据上,获取所述目标区域的交通评估的可视化结果。The traffic evaluation parameters of the multiple road sections are mapped to the map data of the target area, and the visualized result of the traffic evaluation of the target area is obtained.
  26. 根据权利要求14所述的方法,其中,所述预测模型由以下过程确定,所述过程包括:The method according to claim 14, wherein the prediction model is determined by the following process, the process comprising:
    获取多个训练样本,每个训练样本包括训练输入序列,以及训练标签;所述训练输入序列基于与多个训练路段相关的历史参考气象数据、历史预测气象数据以及历史参考交通流数 据确定,所述训练标签基于所述历史参考交通流数据确定;Obtain multiple training samples, each training sample includes a training input sequence and a training label; the training input sequence is determined based on historical reference weather data, historical forecast weather data, and historical reference traffic flow data related to multiple training road sections. The training label is determined based on the historical reference traffic flow data;
    基于所述多个训练样本,利用一个或多次迭代过程训练预测模型,以获取训练好的预测模型,其中,一次迭代包括:Based on the multiple training samples, one or more iterations are used to train the prediction model to obtain a trained prediction model, where one iteration includes:
    对于每个训练样本,For each training sample,
    确定对应于所述训练输入序列的预测结果;Determine the prediction result corresponding to the training input sequence;
    确定所述预测结果与所述训练样本对应的训练标签之间的差异;Determine the difference between the prediction result and the training label corresponding to the training sample;
    基于所述差异,调整所述预测模型的参数以减小所述差异。Based on the difference, the parameters of the prediction model are adjusted to reduce the difference.
  27. 一种计算机可读存储介质,所述存储介质存储计算机指令,当计算机读取存储介质中的计算机指令后,计算机执行如下方法;A computer-readable storage medium that stores computer instructions. After the computer reads the computer instructions in the storage medium, the computer executes the following method;
    获取目标路段在某一时间段内的气象数据以及在所述时间段之前的历史时间段内的历史交通流数据;Acquiring meteorological data of the target road section in a certain time period and historical traffic flow data in a historical time period before the time period;
    基于所述历史交通流数据以及所述气象数据,利用训练好的预测模型确定所述目标路段在所述时间段内的预测交通流数据;Based on the historical traffic flow data and the meteorological data, using a trained prediction model to determine the predicted traffic flow data of the target road section in the time period;
    基于所述预测交通流数据,确定所述时间段内与所述目标路段相关的至少一个交通评估参数,所述交通评估参数用于评估所述目标路段在所述气象数据条件下的交通恢复能力。Based on the predicted traffic flow data, determine at least one traffic evaluation parameter related to the target road section within the time period, where the traffic evaluation parameter is used to evaluate the traffic recovery capability of the target road section under the weather data condition .
PCT/CN2020/134868 2019-12-11 2020-12-09 Traffic evaluation method and system WO2021115320A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911267745.3A CN111815098A (en) 2019-12-11 2019-12-11 Traffic information processing method and device based on extreme weather, storage medium and electronic equipment
CN201911267745.3 2019-12-11

Publications (1)

Publication Number Publication Date
WO2021115320A1 true WO2021115320A1 (en) 2021-06-17

Family

ID=72844086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134868 WO2021115320A1 (en) 2019-12-11 2020-12-09 Traffic evaluation method and system

Country Status (2)

Country Link
CN (1) CN111815098A (en)
WO (1) WO2021115320A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210365343A1 (en) * 2020-05-21 2021-11-25 National Marine Environmental Forecasting Center Artificial Intelligence (AI)-Based Cloud Computing Safety Monitoring System
CN114155703A (en) * 2021-09-18 2022-03-08 阿里云计算有限公司 Traffic control method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111815098A (en) * 2019-12-11 2020-10-23 北京嘀嘀无限科技发展有限公司 Traffic information processing method and device based on extreme weather, storage medium and electronic equipment
CN112883636A (en) * 2021-01-28 2021-06-01 上海眼控科技股份有限公司 Acceleration method and device for parameter model of numerical mode
CN116415928B (en) * 2023-03-06 2023-11-17 武汉理工大学 Urban waterlogging traffic network rapid restoration method and system based on deep learning

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651025A (en) * 2016-12-20 2017-05-10 中国人民解放军空军装备研究院雷达与电子对抗研究所 Traffic situation prediction method and apparatus
CN109559512A (en) * 2018-12-05 2019-04-02 北京掌行通信息技术有限公司 A kind of regional traffic flow prediction technique and device
CN109559506A (en) * 2018-11-07 2019-04-02 北京城市系统工程研究中心 Urban road discrete traffic flow delay time at stop prediction technique under a kind of rainy weather
CN109872535A (en) * 2019-03-27 2019-06-11 深圳市中电数通智慧安全科技股份有限公司 A kind of current prediction technique of wisdom traffic, device and server
CN109887272A (en) * 2018-12-26 2019-06-14 阿里巴巴集团控股有限公司 A kind of prediction technique and device of traffic flow of the people
CN111815098A (en) * 2019-12-11 2020-10-23 北京嘀嘀无限科技发展有限公司 Traffic information processing method and device based on extreme weather, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10909470B2 (en) * 2017-02-22 2021-02-02 Here Global B.V. Method and apparatus for providing semantic-free traffic prediction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651025A (en) * 2016-12-20 2017-05-10 中国人民解放军空军装备研究院雷达与电子对抗研究所 Traffic situation prediction method and apparatus
CN109559506A (en) * 2018-11-07 2019-04-02 北京城市系统工程研究中心 Urban road discrete traffic flow delay time at stop prediction technique under a kind of rainy weather
CN109559512A (en) * 2018-12-05 2019-04-02 北京掌行通信息技术有限公司 A kind of regional traffic flow prediction technique and device
CN109887272A (en) * 2018-12-26 2019-06-14 阿里巴巴集团控股有限公司 A kind of prediction technique and device of traffic flow of the people
CN109872535A (en) * 2019-03-27 2019-06-11 深圳市中电数通智慧安全科技股份有限公司 A kind of current prediction technique of wisdom traffic, device and server
CN111815098A (en) * 2019-12-11 2020-10-23 北京嘀嘀无限科技发展有限公司 Traffic information processing method and device based on extreme weather, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210365343A1 (en) * 2020-05-21 2021-11-25 National Marine Environmental Forecasting Center Artificial Intelligence (AI)-Based Cloud Computing Safety Monitoring System
CN114155703A (en) * 2021-09-18 2022-03-08 阿里云计算有限公司 Traffic control method and device

Also Published As

Publication number Publication date
CN111815098A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
WO2021115320A1 (en) Traffic evaluation method and system
US10850731B2 (en) Apparatus and method for automated traffic and driving pattern recognition and location-dependent measurement of absolute and/or relative risk probabilities for car accidents
Shaygan et al. Traffic prediction using artificial intelligence: Review of recent advances and emerging opportunities
WO2018122803A1 (en) Smart road traffic anomaly detection method
US20190266891A1 (en) A method to quantitatively analyze the effects of urban built environment on road travel time
CN111523560B (en) Method, device and system for training number prediction model of arrival trucks
US20200286388A1 (en) Method and apparatus for visualizing risk levels associated with aerial vehicle flights
CN111696369B (en) All-market road time-sharing and vehicle-division type traffic flow prediction method based on multi-source geographic space big data
EP3640913A1 (en) Method, apparatus, and system for automatic road closure detection
CN110443185B (en) Driver identification method, driver identification device, electronic device, and storage medium
CN115063978B (en) Bus arrival time prediction method based on digital twins
CN103927866A (en) Method for forecasting traffic light waiting time of vehicle based on GPS
CN113071497B (en) Driving scene judging method, device, equipment and storage medium
CN110956807A (en) Highway flow prediction method based on combination of multi-source data and sliding window
KR20210069954A (en) Artificial Intelligence-based Integrated Traffic Signal Control System and Method Using Big-data
CN107195177A (en) Based on Forecasting Methodology of the distributed memory Computational frame to city traffic road condition
CN114881356A (en) Urban traffic carbon emission prediction method based on particle swarm optimization BP neural network optimization
CN113011455B (en) Air quality prediction SVM model construction method
CN116384635A (en) Green ecological city informatization management system based on big data
CN116913088A (en) Intelligent flow prediction method for expressway
US20210364307A1 (en) Providing Additional Instructions for Difficult Maneuvers During Navigation
Treboux et al. A predictive data-driven model for traffic-jams forecasting in smart santader city-scale testbed
Tan et al. Statistical analysis and prediction of regional bus passenger flows
CN112258029A (en) Demand prediction method for shared bicycle around subway station
Hoong et al. Road traffic prediction using Bayesian networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20897923

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20897923

Country of ref document: EP

Kind code of ref document: A1