Patent ID: 11870560
Assignee: ZHEJIANG LAB
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A geographical identification forwarding method for area-oriented addressing, which is applied to a (Software-Defined Networking) SDN switch, comprising the following steps: receiving self-geographic location information and a coverage area information of a roadside base station sent by the roadside base station; sending the self-geographic location information and the coverage area information to a SDN controller, so that the SDN controller collects the self-geographic location information and coverage area information of the roadside base station, divides geographic areas by using the collected information, and generates a network flow table according to each divided geographic area, wherein the network flow table contains flow table entries, each of the flow table entries contains a matching rule and a flow table action corresponding thereto, and wherein the matching rule contains a plurality of matching fields; receiving the network flow table sent by the SDN controller; receiving a message, and matching the message with the network flow table, wherein the message is generated by a sender and forwarded through the roadside base station corresponding to the sender, and the message comprises geographical location information of the sender and geographical location information of a target addressing area; forwarding the message according to the flow table entry in the hit network flow table to the roadside base station corresponding to the target addressing area, wherein the message is broadcast by the roadside base station corresponding to the target addressing area and received by a receiver in the target addressing area; wherein said SDN controller collecting the self-geographic location information and coverage area information of the roadside base station, dividing geographic areas by using the collected information, and generating a network flow table according to each divided geographic area comprises: receiving the self-geographic location information and coverage area information sent by each roadside base station through a SDN switch, wherein the self-geographic location information is represented by a longitude value and a latitude value, and the coverage area information is represented by a wireless signal coverage radius of the roadside base station; converting the self-geographic location information and the coverage area information into an upper limit and a lower limit of a longitude coverage and a latitude coverage corresponding to the roadside base station; sorting all upper limits and lower limits of the longitude coverage to form a longitude set, and sorting all upper limits and lower limits of the latitude coverage to form a latitude set; generating a matching rule set according to the longitude set and the latitude set, which comprises: taking out maximum values and minimum values of the longitude set and the latitude set respectively each time to form a matching rule, and removing the maximum values and the minimum values that are taken out from the corresponding longitude set and latitude set until the longitude set and the latitude set become empty sets to obtain a matching rule set, wherein each matching rule contains two matching fields, namely a longitude range and a latitude range; counting the roadside base stations corresponding to each matching rule in the matching rule set, and calculating a port list to be forwarded to the corresponding roadside base station for each switch, wherein the port list is a flow table action corresponding to the matching rule; and making the matching rules correspond to the flow table actions in a one-to-one manner, and obtaining the network flow table for each switch.