US 12,495,000 B2
Method and apparatus for controlling flow entry
Shunmin Zhu, Hangzhou (CN); Yisong Qiao, Hangzhou (CN); Nianbing Yu, Hangzhou (CN); and Zikang Chen, Hangzhou (CN)
Assigned to Hangzhou AliCloud Feitian Information Technology Co., Ltd., Hangzhou (CN)
Appl. No. 18/685,218
Filed by Hangzhou AliCloud Feitian Information Technology Co., Ltd., Hangzhou (CN)
PCT Filed Jan. 29, 2023, PCT No. PCT/CN2023/073725
§ 371(c)(1), (2) Date Feb. 20, 2024,
PCT Pub. No. WO2023/143579, PCT Pub. Date Aug. 3, 2023.
Claims priority of application No. 202210114494.0 (CN), filed on Jan. 30, 2022.
Prior Publication US 2025/0227066 A1, Jul. 10, 2025
Int. Cl. H04L 45/76 (2022.01); H04L 45/02 (2022.01); H04L 45/745 (2022.01)
CPC H04L 45/76 (2022.05) [H04L 45/02 (2013.01); H04L 45/745 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for controlling a flow entry applied to a source host machine in which a target virtual machine is located before the target virtual machine is migrated to a target host machine, comprising:
receiving a data message sent by a user;
determining a target flow entry that is matched with the data message,
wherein the target flow entry is one of at least one flow entry corresponding to the target virtual machine in the source host machine,
wherein a first version number of the target virtual machine is in the target flow entry, and
wherein, in response to the target virtual machine being migrated to the target host machine, a second version number of the target virtual machine is generated; and
in response to the first version number of the target virtual machine in the target flow entry being inconsistent with the second version number of the target virtual machine recorded in the source host machine:
deleting a flow entry comprising the first version number in the source host machine, and
sending the data message to the target host machine through a virtual switch on the source host machine.