Method for establishing channel for managing ipv4 terminal and network gateway
AssigneeHuawei Device Co., Ltd.
InventorZhiqin He
Life of this patent
Estimating the term…
Abstract
A method can be used for establishing a channel for managing an IPv4 terminal. An identifier of a network port of an IPv4 terminal is sent by a home gateway. A listening port is allocated to the IPv4 terminal according to the identifier of the network port of the IPv4 terminal, so as to establish a channel for managing the IPv4 terminal between the network port and the listening port, so that the IPv4 terminal is remotely managed by a management device. An identifier of a network port of an IPv4 terminal sent by the IPv4 terminal through a home gateway is received and a listening port is opened for the IPv4 terminal according to the identifier of the network port and used for receiving a management message sent by a management device.
Claims11
1-9. (canceled)
A method for establishing a channel for managing an IPv4 terminal, the method comprising:
- receiving an identifier of a network port of an IPv4 terminal sent by a home gateway;
- and
- allocating a listening port to the IPv4 terminal according to the identifier of the network port of the IPv4 terminal, so as to establish a channel for managing the IPv4 terminal between the network port and the listening port, so that the IPv4 terminal is remotely managed by a management device.
A method for verifying a channel for managing an IPv4 terminal, the method comprising:
- receiving a first mapping relationship that is sent by an IPv4 terminal through a channel established by a network gateway for managing the IPv4 terminal, wherein the first mapping relationship is a binding relationship between an identifier of the IPv4 terminal and an identifier that is received by the IPv4 terminal and sent from a home gateway;
- obtaining a second mapping relationship sent by the home gateway, wherein the second mapping relationship is a binding relationship between an identifier, which is received by the home gateway and sent from the IPv4 terminal, and an identifier of the home gateway;
- determining that the second mapping relationship is the same as the first mapping relationship;
- and
- determining that the channel for managing the IPv4 terminal is established correctly.
A network gateway, comprising:
- a receiving unit, configured to receive an identifier of a network port of an IPv4 terminal sent by a home gateway;
- and
- a port controlling unit, configured to allocate a listening port to the IPv4 terminal according to the identifier of the network port of the IPv4 terminal received by the receiving unit, so as to establish a channel for managing the IPv4 terminal between the network port and the listening port, so that the IPv4 terminal is remotely managed by a management device.
A management device, comprising:
- a first receiving unit, configured to receive a first mapping relationship that is sent by an IPv4 terminal through a channel established by a network gateway for managing the IPv4 terminal, wherein the first mapping relationship is a binding relationship between an identifier of the IPv4 terminal and an identifier that is received by the IPv4 terminal and sent from a home gateway;
- a second receiving unit, configured to receive a second mapping relationship sent by the home gateway, wherein the second mapping relationship is a binding relationship between an identifier, which is received by the home gateway and sent from the IPv4 terminal, and an identifier of the home gateway;
- and
- a determining unit, configured to determine that the channel for managing the IPv4 terminal is established correctly when determining that the second mapping relationship is the same as the first mapping relationship.
A method for forwarding data of a channel for managing an IPv4 terminal, the method comprising:
- receiving an identifier of a network port of an IPv4 terminal sent by the IPv4 terminal;
- sending the received identifier of the network port of the IPv4 terminal to a network gateway;
- and
- receiving a mapping relationship which is sent by the network gateway and between a listening port allocated to the IPv4 terminal based on the identifier of the network port of the IPv4 terminal and the network port of the IPv4 terminal, so that data between the network port and the listening port is forwarded according to the mapping relationship.
A home gateway, comprising:
- a first receiving unit, configured to receive an identifier of a network port of an IPv4 terminal sent by the IPv4 terminal;
- a first sending unit, configured to send the identifier of the network port of the IPv4 terminal received by the first receiving unit to a network gateway;
- and
- a second receiving unit, configured to receive a mapping relationship which is sent by the network gateway and between a listening port allocated to the IPv4 terminal based on the identifier of the network port of the IPv4 terminal and the network port of the IPv4 terminal, so that data between the network port and the listening port is forwarded according to the mapping relationship.
Dependencies are inferred from the claim text.