Network access method and device for edge router
AssigneesBeijing Jingdong Shangke Information Technology Co., Ltd., Beijing Jingdong Century Trading Co., Ltd.
InventorHaifeng Du
Life of this patent
Estimating the term…
Abstract
Disclosed by embodiments of the present application are a network access method used for an edge router and an edge router. One specific embodiment of the method comprises: receiving a first request message sent by a first tenant network edge device among at least one tenant network edge device; on the basis of port information of a port connected to the first tenant network edge device, obtaining a first request identification corresponding to the first tenant network edge device, wherein the first request identification is used to identify the first tenant network edge device; adding the first request identification to the first request message so as to generate a processed first request message; and on the basis of a stored routing table, forwarding the processed first request message to a cloud gateway.
Claims12
A network access method for an edge router, the edge router being in communication connection with a cloud gateway and at least one tenant network edge device, the method comprising:
- receiving a first request message sent by a first tenant network edge device of the at least one tenant network edge device;
- acquiring a first request identifier corresponding to the first tenant network edge device based on port information of a port connected to the first tenant network edge device, the first request identifier being used to identify the first tenant network edge device;
- adding the first request identifier to the first request message to generate a processed first request message;
- and
- forwarding the processed first request message to the cloud gateway, based on a stored routing table,
- wherein acquiring a first request identifier corresponding to the first tenant network edge device based on port information of a port connected to the first tenant network edge device comprises:
- identifying the first tenant network edge device based on the port information of the port connected to the first tenant network edge device;
- and
- sending a request to the cloud gateway to acquire the first request identifier corresponding to the first tenant network edge device.
A network access apparatus in an edge router, the edge router being in communication connection with a cloud gateway and at least one tenant network edge device, the apparatus comprising:
- at least one processor;
- and
- a memory storing instructions, wherein the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:
- receiving a first request message sent by a first tenant network edge device of the at least one tenant network edge device;
- acquiring a first request identifier corresponding to the first tenant network edge device based on port information of a port connected to the first tenant network edge device, the first request identifier being used to identify the first tenant network edge device;
- adding the first request identifier to the first request message to generate a processed first request message;
- and
- forwarding the processed first request message to the cloud gateway, based on a stored routing table,
- wherein acquiring a first request identifier corresponding to the first tenant network edge device based on port information of a port connected to the first tenant network edge device comprises:
- identifying the first tenant network edge device based on the port information of the port connected to the first tenant network edge device;
- and
- sending a request to the cloud gateway to acquire the first request identifier corresponding to the first tenant network edge device.
A non-transitory computer readable medium, storing a computer program thereon, the program, when executed by a processor, causes the processor to implement a method for an edge router, the edge router being in communication connection with a cloud gateway and at least one tenant network edge device, the method comprising:
- receiving a first request message sent by a first tenant network edge device of the at least one tenant network edge device;
- acquiring a first request identifier corresponding to the first tenant network edge device based on port information of a port connected to the first tenant network edge device, the first request identifier being used to identify the first tenant network edge device;
- adding the first request identifier to the first request message to generate a processed first request message;
- and
- forwarding the processed first request message to the cloud gateway, based on a stored routing table,
- wherein acquiring a first request identifier corresponding to the first tenant network edge device based on port information of a port connected to the first tenant network edge device comprises:
- identifying the first tenant network edge device based on the port information of the port connected to the first tenant network edge device;
- and
- sending a request to the cloud gateway to acquire the first request identifier corresponding to the first tenant network edge device.
Dependencies are inferred from the claim text.