# US 2022/0284807 A1 · Method of predicting traffic volume, electronic device, and medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0284807 A1
- Document ID: US20220284807A1
- Status: Published application
- Kind: A1
- Application number: 17/824,966
- Filed: 2022-05-26
- Published: 2022-09-08
- Earliest claimed: 2021-05-27
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Xinjiang LU; Dejing Dou
- Web page: https://patentgrep.com/patent/US20220284807A1

## CPC

- G08G 1/0125: {Traffic data processing}
- G08G 1/0129: {for creating historical data or processing based on historical data}
- G08G 1/0112: {from the vehicle, e.g. floating car data [FCD]}
- G08G 1/012: {from other sources than vehicle or roadside beacons, e.g. mobile networks}
- G08G 1/0133: {for classifying traffic situation}
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})

## Abstract

A method of predicting traffic volume, an electronic device, and a storage medium are provided, which relate to a field of artificial intelligence technology, in particular to big data and deep learning technologies The method includes: generating, for a plurality of traffic regions, a function relation graph and a volume relation graph; generating a volume feature of a target traffic region among the plurality of traffic regions, according to a historical volume information of the target traffic region; generating a volume and function relation feature for the target traffic region, based on the function relation graph and the volume relation graph; and predicting a volume of the target traffic region according to the volume feature and the volume and function relation feature.

## Claims

### Claim 1

A method of predicting traffic volume, the method comprising:
generating, for a plurality of traffic regions, a function relation graph and a volume relation graph;
generating a volume feature of a target traffic region among the plurality of traffic regions, according to a historical volume information of the target traffic region;
generating a volume and function relation feature for the target traffic region, based on the function relation graph and the volume relation graph; and
predicting a volume of the target traffic region according to the volume feature and the volume and function relation feature.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
generating a traffic relation graph for the plurality of traffic regions;
generating a neighbor relation graph for the target traffic region among the plurality of traffic regions, based on the function relation graph, the volume relation graph and the traffic relation graph; and
generating a geographic feature of the target traffic region by using a first attention network model based on the neighbor relation graph.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the predicting a volume of the target traffic region comprises predicting the volume of the target traffic region according to the volume feature, the volume and function relation feature and the geographic feature.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the predicting a volume of the target traffic region comprises:
pooling the volume feature, the volume and function relation feature and the geographic feature, so as to obtain an aggregated feature of the target traffic region; and
predicting the volume of the target traffic region based on the aggregated feature of the target traffic region by using a multi-layer perceptron network model.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the generating a volume and function relation feature for the target traffic region comprises:
determining, from the plurality of traffic regions, a first traffic region associated with the target traffic region in function, based on the function relation graph;
determining, from the plurality of traffic regions, a second traffic region associated with the target traffic region in volume, based on the volume relation graph;
generating a volume and function relation graph for the target traffic region, based on a historical function information and a historical volume information of the target traffic region, a historical function information and a historical volume information of the first traffic region and a historical function information and a historical volume information of the second traffic region; and
generating the volume and function relation feature for the target traffic region by using a second attention network model based on the volume and function relation graph.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the generating a volume and function relation graph for the target traffic region comprises:
for at least one traffic region of the target traffic region, the first traffic region or the second traffic region,
generating a plurality of function information segments based on the historical function information of the at least one traffic region, and a plurality of volume information segments based on the historical volume information of the at least one traffic region, and
selecting at least one function information segment from the plurality of function information segments and at least one volume information segment from the plurality of volume information segments, according to a temporal correlation between each of the function information segments and each of the volume information segments; and
generating the volume and function relation graph for the target traffic region, based on the target traffic region, the at least one selected function information segment and the at least one selected volume information segment.

### Claim 7 (depends on 6)

The method according to claim 6, wherein:
generating the plurality of function information segments comprises generating a function information sequence based on the historical function information, and performing sliding processing on the function information sequence by using a sliding window of a preset size, so as to obtain the plurality of function information segments; and
generating the plurality of volume information segments comprises generating a volume information sequence based on the historical volume information, and performing sliding processing on the volume information sequence by using the sliding window of the preset size, so as to obtain the plurality of volume information segments.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the generating a volume feature of a target traffic region comprises generating the volume feature of the target traffic region by using a serialization network model, according to the historical volume information of the target traffic region among the plurality of traffic regions.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising determining the plurality of traffic regions based on a road network information, wherein each of the plurality of traffic regions corresponds to a block contained in the road network information.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising, for the target traffic region, determining an event information indicating that a volume change leads to a function change and an event information indicating that a function change leads to a volume change, according to the volume and function relation feature.

### Claim 11 (depends on 2)

The method according to claim 2, wherein the generating a volume and function relation feature for the target traffic region comprises:
determining, from the plurality of traffic regions, a first traffic region associated with the target traffic region in function, based on the function relation graph;
determining, from the plurality of traffic regions, a second traffic region associated with the target traffic region in volume, based on the volume relation graph;
generating a volume and function relation graph for the target traffic region, based on a historical function information and a historical volume information of the target traffic region, a historical function information and a historical volume information of the first traffic region and a historical function information and a historical volume information of the second traffic region; and
generating the volume and function relation feature for the target traffic region by using a second attention network model based on the volume and function relation graph.

### Claim 12 (depends on 3)

The method according to claim 3, wherein the generating a volume and function relation feature for the target traffic region comprises:
determining, from the plurality of traffic regions, a first traffic region associated with the target traffic region in function, based on the function relation graph;
determining, from the plurality of traffic regions, a second traffic region associated with the target traffic region in volume, based on the volume relation graph;
generating a volume and function relation graph for the target traffic region, based on a historical function information and a historical volume information of the target traffic region, a historical function information and a historical volume information of the first traffic region and a historical function information and a historical volume information of the second traffic region; and
generating the volume and function relation feature for the target traffic region by using a second attention network model based on the volume and function relation graph.

### Claim 13 (depends on 4)

The method according to claim 4, wherein the generating a volume and function relation feature for the target traffic region comprises:
determining, from the plurality of traffic regions, a first traffic region associated with the target traffic region in function, based on the function relation graph;
determining, from the plurality of traffic regions, a second traffic region associated with the target traffic region in volume, based on the volume relation graph;
generating a volume and function relation graph for the target traffic region, based on a historical function information and a historical volume information of the target traffic region, a historical function information and a historical volume information of the first traffic region and a historical function information and a historical volume information of the second traffic region; and
generating the volume and function relation feature for the target traffic region by using a second attention network model based on the volume and function relation graph.

### Claim 14 (depends on 2)

The method according to claim 2, wherein the generating a volume feature of a target traffic region comprises generating the volume feature of the target traffic region by using a serialization network model, according to the historical volume information of the target traffic region among the plurality of traffic regions.

### Claim 15 (depends on 3)

The method according to claim 3, wherein the generating a volume feature of a target traffic region comprises generating the volume feature of the target traffic region by using a serialization network model, according to the historical volume information of the target traffic region among the plurality of traffic regions.

### Claim 16 (depends on 2)

The method according to claim 2, further comprising determining the plurality of traffic regions based on a road network information, wherein each of the plurality of traffic regions corresponds to a block contained in the road network information.

### Claim 17 (depends on 3)

The method according to claim 3, further comprising determining the plurality of traffic regions based on a road network information, wherein each of the plurality of traffic regions corresponds to a block contained in the road network information.

### Claim 18 (depends on 2)

The method according to claim 2, further comprising, for the target traffic region, determining an event information indicating that a volume change leads to a function change and an event information indicating that a function change leads to a volume change, according to the volume and function relation feature.

### Claim 19

An electronic device, comprising:
at least one processor; and
a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, cause the at least one processor to at least:
generate, for a plurality of traffic regions, a function relation graph and a volume relation graph;
generate a volume feature of a target traffic region among the plurality of traffic regions, according to a historical volume information of the target traffic region;
generate a volume and function relation feature for the target traffic region, based on the function relation graph and the volume relation graph; and
predict a volume of the target traffic region according to the volume feature and the volume and function relation feature.

### Claim 20

A non-transitory computer-readable storage medium having computer instructions therein, the computer instructions, when executed by a computer system, configured to cause the computer system to at least:
generate, for a plurality of traffic regions, a function relation graph and a volume relation graph;
generate a volume feature of a target traffic region among the plurality of traffic regions, according to a historical volume information of the target traffic region;
generate a volume and function relation feature for the target traffic region, based on the function relation graph and the volume relation graph; and
predict a volume of the target traffic region according to the volume feature and the volume and function relation feature.
