WO2017161866A1 - Procédé et dispositif de connexion à un réseau - Google Patents

Procédé et dispositif de connexion à un réseau Download PDF

Info

Publication number
WO2017161866A1
WO2017161866A1 PCT/CN2016/102316 CN2016102316W WO2017161866A1 WO 2017161866 A1 WO2017161866 A1 WO 2017161866A1 CN 2016102316 W CN2016102316 W CN 2016102316W WO 2017161866 A1 WO2017161866 A1 WO 2017161866A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
ipv6 address
information
ipv6
configuration
Prior art date
Application number
PCT/CN2016/102316
Other languages
English (en)
Chinese (zh)
Inventor
张路
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017161866A1 publication Critical patent/WO2017161866A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Definitions

  • the present invention relates to the field of communications, and in particular to a network connection method and apparatus.
  • IPv6 Internet Protocol version 6
  • stateful configuration ie, stateful configuration
  • stateless address automatic configuration ie, stateless configuration
  • APN access point name
  • the link establishment process is that a mobile terminal (MT) (for example, a data card) and the network side negotiate a unique interface identifier (3G is activated by a Packet Data Protocol (PDP) context).
  • MT mobile terminal
  • PDP Packet Data Protocol
  • LTE Long-Term Evolution
  • LTE is a process of attaching an ATTACH.
  • the terminal equipment (Terminal Equipment, also referred to as TE, also referred to as a host device) interacts with the MT to obtain the interface identifier. Then TE constructs the local device.
  • the link address and the network side perform the routing request (Router Solicitation, RS for short) or the route advertisement (RA).
  • the TE can determine whether to use the stateful configuration or the stateless configuration. the way. If it is a stateful configuration, the TE and the network will interact with the DHCPv6 through the Dynamic Host Configuration Protocol (DHCP) to obtain information such as the IPv6 address and the DNS. The link is completed. If the stateless configuration is configured, the RA carries the IPv6. After the IPv6 address prefix is obtained, the TE can obtain the IPv6 address prefix and the obtained interface identifier to form a global IPv6 address. The information such as the domain name server (DNS) address is obtained through DHCPv6 interaction. Therefore, in either case, the TE needs to directly exchange data between the TE host and the network to complete each time the link is established.
  • DNS domain name server
  • LTE-Machine to Machine Long-term evolution-machine-to-machine
  • PDN Packet Data Network
  • the MT interacts with the RS on the network side to obtain IP and DNS address information.
  • the RS and RA information is the interaction between the terminal and the core network.
  • the terminal has a network disconnection and networking due to the business needs. There are a large number of RS/RA and DHCPv6 messages during the networking process. If there are many terminals, the IoT with weak signal coverage Sensor network scenario, one is that the number of messages will be larger, and the other is the signal The weaker coverage area often has a scenario where the wireless link setup fails and needs to be re-established before sending and receiving data. These two scenarios will make the core network gateway load heavier. Also, for TE, it also lengthens the link setup process.
  • the present invention provides a network connection method and device, which at least solves the networking operation in the related art when the TE is disconnected multiple times, and needs to perform multiple interactions with the network, thereby causing heavy load on the network side, and the TE side The problem of long networking time.
  • a network connection method including: a mobile terminal MT acquires network-assigned IPv6 address information and domain name server DNS information; when a host device TE connects to the network through the MT, the MT The IPv6 address information and the DNS information are sent to the TE, where the IPv6 address information and the DNS information are used by the TE to access the network.
  • the RA acquires an IPv6 address prefix and the DNS information in the IPv6 address information.
  • DNS information; and/or, when the MT determines that the IPv6 address configuration mode is a stateful configuration, the IPv6 address prefix and the DNS information are obtained by performing dynamic host configuration protocol DHCPv6 interaction with the network.
  • the sending, by the MT, the IPv6 address information and the DNS information to the TE includes: sending, by the MT, the IPv6 interface identifier in a point-to-point protocol PPP negotiation with the TE Giving the TE, wherein the IPv6 interface identifier is used by the TE to generate a link-local address; the MT receives a second RS message sent by the TE by using the link-local address; The second RS message sends the IPv6 address prefix and the DNS information to the TE.
  • the sending, by the MT, the IPv6 address prefix and the DNS information to the TE according to the second RS message includes: sending, by the MT, the RA to the RA according to the second RS message.
  • a TE where the RA is used to indicate an IPv6 address configuration mode; and when the RA indicates that the IPv6 address configuration mode is a stateless configuration, the manner in which the MT carries the IPv6 address prefix in the RA Sending the IPv6 address prefix to the TE to Transmitting the DNS information to the TE by performing dynamic host configuration protocol (DHCPv6) interaction with the TE; and/or, when the RA indicates that the IPv6 address configuration mode is a stateful configuration, the MT passes Performing dynamic host configuration protocol DHCPv6 interaction with the TE to send the IPv6 address prefix and the DNS information to the TE.
  • DHCPv6 dynamic host configuration protocol
  • the method further includes: performing, by the MT, a network disconnection process when determining that the TE needs to be disconnected, where the network disconnection processing comprises: disconnecting The PPP link established in the PPP negotiation process is performed between the MT and the TE, and the connection between the MT and the network is maintained.
  • the method further includes: when the MT determines that the TE needs to re-access the network by using the MT, the MT repeatedly performs the The operation of transmitting the IPv6 address information and the DNS information to the TE.
  • a network connection apparatus is provided.
  • the apparatus is applied to a mobile terminal MT, and includes: an obtaining module, configured to acquire IPv6 address information allocated by a network and DNS information of a domain name server; a sending module, setting Sending the IPv6 address information and the DNS information to the TE when the host device TE connects to the network by using the MT, where the IPv6 address information and the DNS information are used for the TE connection. Enter the network.
  • the acquiring module includes: a first acquiring unit, configured to acquire an IPv6 interface identifier in the IPv6 address information from a local air interface protocol stack after the MT successfully attaches the network; and, first, a sending unit, configured to send a first routing request RS message to the network, where the first RS message is used to trigger the network to send a route advertisement RA, and the second acquiring unit is configured to set the MT according to the The RA delivered by the network acquires an IPv6 address prefix and the DNS information in the IPv6 address information.
  • the second obtaining unit includes: a determining subunit, configured to determine an IPv6 address configuration manner indicated by the RA; and a first obtaining subunit, configured to when determining that the IPv6 address configuration mode is a stateless configuration Obtaining the IPv6 address prefix from the RA, and acquiring the DNS information by performing a dynamic host configuration protocol DHCPv6 interaction process with the network; and/or, the second obtaining subunit is set to determine When the IPv6 address configuration mode is a stateful configuration, the IPv6 address prefix and the DNS information are obtained by performing dynamic host configuration protocol DHCPv6 interaction with the network.
  • the sending module includes: a second sending unit, configured to send the IPv6 interface identifier to the TE during a point-to-point protocol PPP negotiation with the TE, where the IPv6 interface The identifier is used by the TE to generate a link-local address; the receiving unit is configured to receive a second RS message that is sent by the TE by using the link-local address; and the third sending unit is configured to: according to the second RS message The IPv6 address prefix and the DNS information are sent to the TE.
  • the third sending unit includes: a first sending subunit, configured to send the RA to the TE according to the second RS message, where the RA is used to indicate an IPv6 address configuration manner; a second sending sub-unit, configured to: when the RA indicates that the IPv6 address configuration mode is a stateless configuration, sending the IPv6 address prefix to the RA manner by carrying the IPv6 address prefix in the RA
  • the TE, and the DNS information is sent to the TE by performing dynamic host configuration protocol DHCPv6 interaction with the TE; and/or the third sending subunit is configured to indicate, when the RA indicates the IPv6 address configuration mode Dynamic host configuration protocol with the TE when configured for stateful The DHCPv6 interaction sends the IPv6 address prefix and the DNS information to the TE.
  • the device further includes a processing module, configured to perform a network disconnection process after the TE accesses the network, and determine that the TE needs to be disconnected from the network, where the network disconnection process includes: Opening a PPP link established between the MT and the TE during the PPP negotiation process, and maintaining a connection between the MT and the network.
  • a processing module configured to perform a network disconnection process after the TE accesses the network, and determine that the TE needs to be disconnected from the network, where the network disconnection process includes: Opening a PPP link established between the MT and the TE during the PPP negotiation process, and maintaining a connection between the MT and the network.
  • the processing module is further configured to: after performing the disconnection process, and determining that the TE needs to re-access the network by using the MT, repeatedly performing the IPv6 address information and the DNS Information is sent to the operation of the TE.
  • Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
  • the operation of transmitting the network-assigned IPv6 address information and the domain name server DNS information to the TE for network connection by the mobile terminal MT can be performed, and the operation on the network side can be transferred to the MT, so that the TE occurs multiple times.
  • the interaction between the network and the TE is performed, and the frequent interaction between the TE and the network is avoided, thereby reducing the pressure on the network side.
  • the interaction speed between the MT and the TE is higher than that between the TE and the network.
  • the speed is fast, and the networking speed of the TE can be greatly saved, thereby solving the problem that the network has multiple interactions with the network when the network operation of the TE occurs after multiple network disconnection occurs in the related art, thereby causing heavy load on the network side and networking on the TE side.
  • the problem of long time has reached the effect of reducing the network side load and reducing the TE networking time.
  • FIG. 1 is a flow chart of a network connection method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of a network connection apparatus according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an acquisition module 22 in a network connection device according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a second acquiring unit 36 in a network connection device according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a transmitting module 24 in a network connection apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a third transmitting unit 56 in a network connection apparatus according to an embodiment of the present invention.
  • FIG. 7 is a block diagram showing a preferred structure of a network connection device according to an embodiment of the present invention.
  • Figure 8 is a system block diagram of an embodiment of the present invention.
  • FIG. 9 is a flow chart of interaction between an MT and a network according to an embodiment of the present invention.
  • FIG. 10 is a flow chart of interaction between an MT and a TE according to an embodiment of the present invention.
  • IPv6 is more widely used.
  • protocols such as IPv4 and NAT in related technologies can be active in the market, and a large number of machine type communication (Machine Type Communications, MTC for short) terminals emerge with various wireless cameras, home automation devices, and wearable devices.
  • MTC Machine Type Communications
  • the use of IPv6 has gradually increased.
  • a host computer with a complete operating system such as a personal computer (PC)
  • the protocol stack that the MTC terminal may support is not complete, and the number of terminals increases rapidly, so the technology for IPv6, especially
  • the application scenario of IPv6 with "thin" host is more demanding than the PC, so it is very important to optimize and improve the existing mechanism.
  • PC personal computer
  • FIG. 1 is a flowchart of a network connection method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 the mobile terminal MT acquires IPv6 address information and domain name server DNS information allocated by the network;
  • Step S104 When the host device TE connects to the network through the MT, the MT sends the IPv6 address information and the DNS information to the TE, where the IPv6 address information and the DNS information are used for the TE to access the network.
  • the operation of transmitting the network-assigned IPv6 address information and the domain name server DNS information by the mobile terminal MT to the TE for network connection is performed, and the operation on the network side can be transferred to the MT, so that the TE occurs multiple times.
  • the interaction between the network and the TE is performed, and the frequent interaction between the TE and the network is avoided, thereby reducing the pressure on the network side.
  • the interaction speed between the MT and the TE is higher than that between the TE and the network.
  • the speed is fast, and the networking speed of the TE can be greatly saved, thereby solving the problem that the network has multiple interactions with the network when the network operation of the TE occurs after multiple network disconnection occurs in the related art, thereby causing heavy load on the network side and networking on the TE side.
  • the problem of long time has reached the effect of reducing the network side load and reducing the TE networking time.
  • the acquiring the IPv6 address information and the DNS information of the network by the MT may include: after the MT is successfully attached to the network, acquiring the IPv6 in the IPv6 address information from the local air interface protocol stack.
  • the interface identifier for example, the IPv6 interface identifier in the IPv6 address information is obtained from the attached receiving message returned by the network; and the MT sends a first routing request RS message to the network, where the first RS message is used to trigger the network.
  • the route advertisement RA is delivered; the MT obtains the IPv6 address prefix and the DNS information in the IPv6 address information according to the RA delivered by the network.
  • the MT may first initiate an attach request to the network, and perform the operations in step S102 after the attach is successful.
  • the related operations after the initiate attach request may refer to the prior art.
  • the IPn6 interface information and the IPv6 address prefix can be spliced into a complete IPv6 address, and the MT can store the IPv6 address information and the DNS information, so that when the TE performs the networking operation through the MT, the TE can directly
  • the MT sends the stored IPv6 address information and DNS information to the TE for network operation to avoid interaction between the TE and the network side.
  • the MT determines the IPv6 address configuration mode indicated by the RA, and determines, by the MT, the IPv6 address configuration mode.
  • the IPv6 address prefix is obtained from the RA, and the DNS information is obtained through a dynamic host configuration protocol DHCPv6 interaction process with the network; and/or, when the MT determines that the IPv6 address configuration mode is stateful During configuration, the IPv6 address prefix and DNS information are obtained through the dynamic host configuration protocol DHCPv6 interaction with the network.
  • the RA indicates that the IPv6 address configuration mode is a stateless configuration
  • the RA may carry the IPv6 address prefix
  • the MT may obtain the IPv6 address prefix directly from the RA.
  • the MT sends the IPv6 address information and the DNS information to the TE, and the MT performs the point-to-point protocol (PPP) negotiation process with the TE. And sending the IPv6 interface identifier to the TE, where the IPv6 interface identifier is used by the TE to generate a link-local address; the MT receives a second RS message sent by the TE by using the link-local address; and the MT sends the IPv6 according to the second RS message.
  • the address prefix and DNS information are sent to the TE.
  • the process of performing PPP negotiation between the MT and the TE may include a Link Control Protocol (LCP) negotiation and an IPv6CP negotiation, where the foregoing operation of transmitting the IPv6 interface identifier to the TE may be performed.
  • LCP Link Control Protocol
  • IPv6CP negotiation In the process of IPv6CP negotiation.
  • the foregoing MT sends the IPv6 address prefix and the DNS information to the TE according to the second RS message, where the MT sends the RA to the TE according to the second RS message, where the RA is used to indicate the IPv6.
  • Address configuration mode when the RA indicates that the IPv6 address configuration mode is stateless, the MT sends the IPv6 address prefix to the TE by means of the IPv6 address prefix in the RA, and interacts with the TE through the dynamic host configuration protocol DHCPv6.
  • the DNS information is sent to the TE; and/or, when the RA indicates that the IPv6 address configuration mode is a stateful configuration, the MT sends an IPv6 address prefix and DNS information to the TE by performing dynamic host configuration protocol DHCPv6 interaction with the TE.
  • the RA sent by the MT to the TE is the same as the RA received by the MT from the network, that is, the original RA is sent to the TE, which is a transparent transmission mode, and the subsequent TE initiates dialing (ie, When the network is operated, the TE is considered to be in the same manner as the packet data network gateway (P-GW) on the network side, so that the TE does not need to be changed, and is applicable to the TE in the related art.
  • P-GW packet data network gateway
  • the TE may disconnect the network for some reason.
  • the network disconnection process includes: disconnecting the PPP link established between the MT and the TE during the PPP negotiation process, and maintaining the connection between the MT and the network (that is, maintaining the air interface packet data network (Packet Data Network) , referred to as PDN) is still active).
  • PDN Packet Data Network
  • the MT only disconnects the PPP link with the TE (the PPP link is established during the PPP negotiation process), and maintains the MT and the network.
  • the connection on the side so that when the TE needs to re-access the network, only the connection with the MT can be completed, no need to perform signaling interaction with the network, and the pressure on the network side is alleviated.
  • the method further includes: when determining that the TE needs to re-access the network through the MT, the MT repeatedly performs the foregoing sending the IPv6 address information and the DNS information. Give the TE operation.
  • the specific transmission process can refer to the above embodiment.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • a storage medium such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a network connection device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a structural block diagram of a network connection apparatus according to an embodiment of the present invention.
  • the apparatus may be applied to a mobile terminal MT.
  • the apparatus includes an acquisition module 22 and a transmission module 24. .
  • the obtaining module 22 is configured to obtain the IPv6 address information and the domain name server DNS information allocated by the network
  • the sending module 24 is connected to the obtaining module 22, and is configured to: when the host device TE connects to the network through the MT, the IPv6 address information and the DNS information are obtained.
  • the TE is sent to the TE, where the IPv6 address information and the DNS information are used for the TE to access the network.
  • FIG. 3 is a structural block diagram of an obtaining module 22 in a network connecting device according to an embodiment of the present invention.
  • the acquiring module 22 includes a first acquiring unit 32, and a first sending unit 34 and a second obtaining unit 36.
  • the acquisition module 22 will be described below.
  • the first obtaining unit 32 is configured to obtain an IPv6 interface identifier in the IPv6 address information from the local air interface protocol stack after the MT successfully attaches to the network;
  • the first sending unit 34 is configured to send a first routing request RS message to the network, where the first RS message is used to trigger the network to send the route advertisement RA, and the second obtaining unit 36 is connected to the first sending unit 34.
  • Set the MT to obtain the IPv6 address prefix and DNS information in the IPv6 address information according to the RA delivered by the network.
  • the first obtaining unit 32 may first initiate an attach request to the network, and perform the foregoing operations after the attaching succeeds.
  • the related operations after the attach request is initiated may refer to the prior art.
  • the IPn6 interface information and the IPv6 address prefix can be spliced into a complete IPv6 address, and the MT can store the IPv6 address information and the DNS information, so that when the TE performs the networking operation through the MT, the TE can directly
  • the MT sends the stored IPv6 address information and DNS information to the TE for network operation to avoid interaction between the TE and the network side.
  • FIG. 4 is a structural block diagram of a second obtaining unit 36 in a network connection apparatus according to an embodiment of the present invention.
  • the second obtaining unit 36 includes a determining subunit 42 and further includes a first obtaining subunit 44 and/or Or the second obtaining subunit 46, the second obtaining unit 36 is described below:
  • the determining sub-unit 42 is configured to determine an IPv6 address configuration mode indicated by the RA.
  • the first obtaining sub-unit 44 is connected to the determining sub-unit 42 and configured to obtain from the RA when determining that the IPv6 address configuration mode is a stateless configuration.
  • the IPv6 address prefix is obtained by the dynamic host configuration protocol DHCPv6 interaction process with the foregoing network.
  • the second obtaining subunit 46 is connected to the determining subunit 42 and configured to determine that the IPv6 address configuration mode is In the stateful configuration, the IPv6 address prefix and DNS information are obtained through the dynamic host configuration protocol DHCPv6 interaction with the network.
  • the RA may carry the IPv6 address prefix
  • the MT may obtain the IPv6 address prefix directly from the RA.
  • FIG. 5 is a structural block diagram of a transmitting module 24 in a network connecting apparatus according to an embodiment of the present invention. As shown in FIG. 5, the transmitting module 24 includes a second sending unit 52, a receiving unit 54, and a third sending unit 56. The transmitting module 24 will be described.
  • the second sending unit 52 is configured to send an IPv6 interface identifier to the TE during the point-to-point protocol PPP negotiation with the TE, where the IPv6 interface identifier is used by the TE to generate a link-local address; the receiving unit 54 is connected.
  • the second sending unit 52 is configured to receive the second RS message sent by the TE by using the link-local address, and the third sending unit 56 is connected to the receiving unit 54 and configured to prefix the IPv6 address according to the second RS message.
  • DNS information is sent to the TE.
  • the process of performing PPP negotiation between the MT and the TE may include a Link Control Protocol (LCP) negotiation and an IPv6CP negotiation, where the foregoing operation of transmitting the IPv6 interface identifier to the TE may be performed.
  • LCP Link Control Protocol
  • IPv6CP negotiation In the process of IPv6CP negotiation.
  • FIG. 6 is a structural block diagram of a third transmitting unit 56 in a network connection apparatus according to an embodiment of the present invention.
  • the third transmitting unit 56 includes a first transmitting subunit 62, and further includes a second transmitting subunit 64. And/or the third transmitting subunit 66, the third transmitting unit 56 is described below:
  • the first sending sub-unit 62 is configured to send the RA to the TE according to the foregoing second RS message, where the RA is used to indicate an IPv6 address configuration mode, and the second sending sub-unit 64 is connected to the first sending sub-unit 62.
  • the RA indicates that the IPv6 address configuration mode is stateless
  • the IPv6 address prefix is sent to the TE by means of the IPv6 address prefix being carried in the RA
  • the DNS information is sent by interacting with the TE by the dynamic host configuration protocol DHCPv6.
  • the third sending sub-unit 66 is connected to the first sending sub-unit 62, and is configured to perform an IPv6 address prefix by performing dynamic host configuration protocol DHCPv6 interaction with the TE when the RA indicates that the IPv6 address configuration mode is a stateful configuration. And DNS information is sent to the TE.
  • the RA sent by the MT to the TE is the same as the RA received by the MT from the network, that is, the original RA is sent to the TE, which is a transparent transmission mode, and the subsequent TE initiates dialing (ie, When the network is operated, the TE is considered to be in the same manner as the packet data network gateway (P-GW) on the network side, so that the TE does not need to be changed, and is applicable to the TE in the related art.
  • P-GW packet data network gateway
  • FIG. 7 is a block diagram showing a preferred structure of a network connection apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes a processing module 72 in addition to all the modules shown in FIG. 2, and the apparatus is described below:
  • the processing module 72 is connected to the sending module 24, and is configured to perform a network disconnection process when determining that the TE needs to be disconnected from the network.
  • the network disconnecting process includes: disconnecting the PPP established during the PPP negotiation process between the MT and the TE.
  • the link maintains the connection of the MT to the network (ie, the Packet Data Network (PDN) is still active).
  • PDN Packet Data Network
  • the MT only disconnects the PPP link with the TE (the PPP link is established during the PPP negotiation process), and maintains the MT and the network.
  • the connection on the side so that when the TE needs to re-access the network, only the connection with the MT can be completed, no need to perform signaling interaction with the network, and the pressure on the network side is alleviated.
  • the processing module 72 is further configured to: after performing the foregoing network disconnection processing, and repeatedly determining to send the IPv6 address information and the DNS information to the TE when the TE needs to re-access the network through the MT. TE operation.
  • the specific transmission process can refer to the above embodiment.
  • the MT mainly includes three modules, a local relay module (Rm Relay) (corresponding to the foregoing sending module 24 and processing module 72), an address information block module, and an air interface relay.
  • Module (Um Relay) (corresponding to the acquisition module 22 described above).
  • the air interface relay module interacts with the network side (Network, referred to as NW for short).
  • NW Network, referred to as NW for short.
  • the air interface relay module and the network side perform routing request RS, route advertisement RA and DHCPv6 communication; and the local relay module communicates with the host TE when the network is disconnected.
  • FIG. 8 is a system module diagram according to an embodiment of the present invention, and the overall architecture of the system is described below with reference to FIG. 8:
  • 82 is a TE, such as a smart sensor in a PC host or the Internet of Things; 84 is an MT, which communicates with the network side and the host side; 86 is a local relay module (Rm Relay), and the main function is TE. Interacting, such as IPV6CP, RS/RA, and DHCPv6 message interaction; 88 is an address information block, which stores information such as IPv6 address prefix, IPv6 interface identifier, and DNS address specified by the network; 810 is an air interface relay module (Um Relay) The information in the address information block needs to be configured by the air interface relay module, and the air interface relay module interacts with the network and the local air interface protocol stack to obtain IPv6 address information. 812 is a network side (NW), such as an LTE network of 3GPP.
  • NW network side
  • the interaction between the air interface relay module and the network side and the air interface protocol stack occurs after the ATTACH is attached.
  • the default PDN has been established in the ATTACH process, and the information such as the prefix assigned by the P-GW to the terminal has also arrived at the MT.
  • the M-flag and the O-flag in the RA message sent by the MT can confirm the specific address configuration method. If the stateless automatic configuration or the automatic state configuration, the specific configuration method determines the flow of the subsequent local relay module and TE interaction. Then the local relay module interacts with the TE, and the process will occur when the TE initiates a connect. And if the TE initiates the network disconnection multiple times, the TE only interacts with the local relay module of the MT, and does not need to interact with the network again, thereby achieving rapid establishment of the link.
  • the terminal in the embodiment of the present invention can communicate with the network using an IPv6 link.
  • the link establishment process can be accelerated, and the load on the core network gateway can be significantly reduced for the network side.
  • “Accelerating the establishment process of the link” means that the host TE does not need to exchange RS, RA and other information with the network side during the networking and network disconnection, which effectively reduces the load of the P-GW gateway and reduces the TE.
  • the configuration time of information such as IPv6 and DNS address.
  • the IPv6 link establishment process of the present invention mainly includes the following steps:
  • the first step is to insert a Subscriber Identity Module (SIM) in the MT.
  • SIM Subscriber Identity Module
  • IMSI International Mobile Subscriber Identifier
  • the port relay module will exchange RS/RA and DHCPv6 messages with the network to obtain the IPv6 address information assigned by the network and configure it into the address information block.
  • the air interface relay module also obtains information from the local air interface protocol stack, such as from the PDN.
  • the IPv6 interface identifier carried in the response message is configured into the address information block.
  • Step 2 After the TE initiates the dialing, the TE and the MT perform LCP and IPV6CP interaction.
  • the MT obtains the IPv6 interface identifier from the address information block and configures it to the TE; the TE uses the interface identifier to generate the local link address.
  • Step 3 RS/RA and DHCPv6 interaction between the TE and the MT to obtain global unicast IPv6 address and DNS information; at this time, the TE does not need to exchange data packets such as RS/RA with the network;
  • Step 4 If the TE initiates a network disconnection, only the PPP link between the TE and the MT is disconnected, and the air interface PDN is still activated.
  • Step 5 If the TE re-initiates networking, then after the LCP and IPV6CP interaction is completed, it will start to interact with the network to perform RS, RA, and DHCPv6. However, the actual interaction module of the MT is actually interacting with it. The message initiated by the TE to the network side terminates in this module, and the module is transparent to the TE. It is precisely because the subsequent re-networking process no longer occurs between the terminal and the network, the establishment of the link becomes fast, the network signaling resources are saved, and the network load is reduced. This is what this program means.
  • FIG. 9 is a flow chart of interaction between an MT and a network according to an embodiment of the present invention, where the MT is a data card inserted into a SIM card as an example.
  • the process mainly includes the following steps:
  • Step S901 The MT is powered on, and initiates an attach request (Attach Request), where the request includes a PDP Type such as “IPv6”, “IPv4v6”;
  • Step S902 The MME sends a message to the core network gateway to request to establish a default bearer.
  • Step S903 The P-GW requests information such as an IPv6 address from the DHCP server of the external PDN through the DHCPv6 mechanism.
  • Step S904 Create a session response, and the default bearer is successfully established.
  • Step S905 Attach succeeds
  • Step S906 The air interface relay module sends a Router Solicitation (RS) message to the network to trigger the network to immediately send a Router Advertisement (RA) message.
  • RS Router Solicitation
  • RA Router Advertisement
  • Step S907 After receiving the RA message, the air interface relay module performs DHCPv6 interaction with the network side (may be a stateful DHCPv6 process, and may also be a stateless DHCPv6 process). Specifically, it is determined by the parameters M-flag and O-flag carried in the RA message.
  • Step S908 The DHCPv6 process is performed between the air interface relay module and the network side.
  • the address of the DNS server and the MTU are usually obtained here.
  • an IPv6 address prefix can also be obtained.
  • Step S909 The TE initiates a networking request.
  • the subsequent process is a process between TE and MT.
  • the MT receives the content contained in the RA message sent by the network, and the IPv6 configuration relay agent module records the original content, such as M-flag, O-flag, and then TE initiates.
  • This original RA is still sent to the TE when dialing.
  • the RA contains the information about the APN-related address configuration mode, this mode is a transparent transmission mode.
  • the subsequent TE initiates dialing, it considers that it is performing information exchange with the P-GW on the network side. After completing the steps above S908, the TE can initiate an IPv6 link by dialing.
  • FIG. 10 is a flowchart of interaction between an MT and a TE according to an embodiment of the present invention.
  • the interaction process between the TE and the MT starts at a time when the TE initiates a connection, that is, step S1001.
  • S1002 and S1003 are PPP negotiation processes, which are LCP negotiation (corresponding to step S1002) and IPV6CP negotiation (corresponding to step S1003).
  • the MT obtains the IPv6 interface identifier sent by the network and configures it into the address information block in the Attach Accept message.
  • the interface identifier is allocated to the TE through the IPv6CP in step S1003, and the TE uses it to generate the local link.
  • steps S1004 and S1005 are RS/RA procedures performed by the TE with a link-local address (wherein the RS process corresponds to step S1004, the RA process corresponds to step S1005), and the local relay module needs to communicate with the address information module to obtain Information about the address configuration method, as well as address information.
  • the process is an interaction process with the core network. In this case, it is transparently replaced by the relay agent module of the MT.
  • the RA message of S1005 is that the RA packet sent by the original P-GW is copied, and the M-flag, O-flag is included, and the RA may also carry an IPv6 address prefix. According to the values of M and O, there are two common cases.
  • S1006 should initiate a DHCPv6 request. That is, the TE obtains all information including IPv6 and DNS addresses through the DHCPv6 process. If the O is 1, the S1005's RA will contain the IPv6 address prefix. The TE uses the IPv6 address prefix to generate the global IPv6 address. The DNS address is obtained through the DHCPv6 interaction of S1006. The local relay module will take the configuration specified in the RA message, obtain information from the address information block, and interact with the TE.
  • Steps S1007 to S1009 mainly describe that in the subsequent normal use or standby process of the terminal, the TE has a case of disconnecting the network (corresponding to step S1007) and networking (corresponding to step S1008). After the network is reconnected in S1009, the TE does not need to be used again.
  • the RS-RA and the like are exchanged with the network side, and the RS/RA and DHCPv6 are interacted with the MT (corresponding to step S1009) to realize rapid link establishment.
  • the RS and the RS/RA and DHCPv6 interactions on the network side are transparently shielded.
  • the load on the network side network element is reduced, and on the other hand, the link building speed is accelerated.
  • the solution proposed in the embodiment of the present invention is applied to the IPv6 link establishment, and belongs to the lowest layer of the Internet of Things, and is an infrastructure.
  • the specific application scenario may be in the upper layer, and the bottom layer may provide services for a variety of upper-layer applications.
  • the MTC device requires a separate IPv6 address, networking is required, and then the solution in the embodiment of the present invention may be applied for optimization. Therefore, the practical application scenarios of the solution in the embodiments of the present invention are very wide, such as an intelligent road camera array in a public environment, a door lock, a camera, a motion detector, a fire/smoke/flood/gas/intruder alarm in the home security aspect.
  • each MTC device acts as a TE, and is assigned an IPv6 address after networking;
  • the network reconnection process can occur, and when reconnecting, the interaction of the RS/RA process is reduced, the chain construction speed is accelerated, and the load of the P-GW is reduced;
  • IPv6 IPv6
  • 6LowPan IPv6 protocol and technical specifications for IoT and embedded networks
  • 6LowPan for supporting IPv6 and wireless sensor networks
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the mobile terminal MT acquires IPv6 address information and domain name server DNS information allocated by the network.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor performs the above steps according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the network connection method and apparatus provided by the embodiments of the present invention have the following beneficial effects: when the networking operation after the TE is disconnected multiple times in the related art is solved, multiple interactions with the network are required. As a result, the network side load is heavy, and the TE side has a long networking time, thereby achieving the effect of reducing the network side load and reducing the TE networking time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

La présente invention concerne un procédé et un dispositif de connexion à un réseau. Le procédé comprend les étapes suivantes : un terminal mobile obtient des informations d'adresses IPv6 et des informations DNS (informations de serveur de nom de domaine) assignées par un réseau ; le terminal mobile envoie, lorsqu'un dispositif hôte est connecté au réseau au moyen du terminal mobile, les informations d'adresse IPv6 et les informations DNS au dispositif hôte, les informations d'adresse IPv6 et les informations DNS étant utilisées par le dispositif hôte pour accéder au réseau. La présente invention résout les problèmes dans l'état de la technique d'une forte charge côté réseau et d'un long temps de connexion au réseau d'un côté dispositif hôte, causés par de multiples interactions entre le dispositif hôte et le réseau durant des opérations de connexion au réseau après que le dispositif hôte s'est déconnecté à maintes reprises du réseau, accomplissant de cette façon l'effet de réduire la charge côté réseau et le temps de connexion au réseau du dispositif hôte.
PCT/CN2016/102316 2016-03-25 2016-10-18 Procédé et dispositif de connexion à un réseau WO2017161866A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610177703.0A CN107231704A (zh) 2016-03-25 2016-03-25 网络连接方法及装置
CN201610177703.0 2016-03-25

Publications (1)

Publication Number Publication Date
WO2017161866A1 true WO2017161866A1 (fr) 2017-09-28

Family

ID=59899165

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102316 WO2017161866A1 (fr) 2016-03-25 2016-10-18 Procédé et dispositif de connexion à un réseau

Country Status (2)

Country Link
CN (1) CN107231704A (fr)
WO (1) WO2017161866A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830948A (zh) * 2018-06-11 2018-11-16 苟红俊 车载收费机
EP3883203A4 (fr) * 2018-12-26 2022-03-02 Huawei Technologies Co., Ltd. Procédé de configuration d'adresse ipv6 et dispositif routeur
CN114363882A (zh) * 2021-12-31 2022-04-15 展讯半导体(成都)有限公司 数据卡切换方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805430A (zh) * 2005-01-13 2006-07-19 联发科技股份有限公司 网际协议组态设定协商方法、装置、终端设备与移动终端
US20080107067A1 (en) * 2006-11-08 2008-05-08 Electronics And Telecommunications Research Institute Method for allocating ip address to mobile station in mobile communication system
CN101778377A (zh) * 2010-01-18 2010-07-14 华为终端有限公司 参数配置方法、移动终端和终端设备
CN103379188A (zh) * 2012-04-24 2013-10-30 联发科技股份有限公司 获取IPv6地址的装置及方法
CN103905580A (zh) * 2012-12-29 2014-07-02 重庆重邮信科通信技术有限公司 Pc机通过移动终端配置网络地址、收发数据方法及系统
CN103973829A (zh) * 2013-02-05 2014-08-06 联发科技股份有限公司 获取服务器地址的方法及其移动通信装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805430A (zh) * 2005-01-13 2006-07-19 联发科技股份有限公司 网际协议组态设定协商方法、装置、终端设备与移动终端
US20080107067A1 (en) * 2006-11-08 2008-05-08 Electronics And Telecommunications Research Institute Method for allocating ip address to mobile station in mobile communication system
CN101778377A (zh) * 2010-01-18 2010-07-14 华为终端有限公司 参数配置方法、移动终端和终端设备
CN103379188A (zh) * 2012-04-24 2013-10-30 联发科技股份有限公司 获取IPv6地址的装置及方法
CN103905580A (zh) * 2012-12-29 2014-07-02 重庆重邮信科通信技术有限公司 Pc机通过移动终端配置网络地址、收发数据方法及系统
CN103973829A (zh) * 2013-02-05 2014-08-06 联发科技股份有限公司 获取服务器地址的方法及其移动通信装置

Also Published As

Publication number Publication date
CN107231704A (zh) 2017-10-03

Similar Documents

Publication Publication Date Title
EP3000214B1 (fr) Procédé d'établissement d'une communication de dispositif à dispositif
US9036517B2 (en) Methods and apparatus for establishing a tunneled direct link setup (TDLS) session between devices in a wireless network
US9247018B2 (en) Method and apparatus for cooperation between push devices
EP2879419B1 (fr) Système d'auto-configuration statique d'adresses ipv6, carte de données et procédé pour sa mise en uvre
JP4638539B2 (ja) 通信デバイスを設定する方法
EP3662638B1 (fr) Sélection de procédé de transport pour la distribution de notifications de serveur
WO2006031463A2 (fr) Systeme et procede de connexion assistee par un reseau dans un environnement sans fil
GB2482268A (en) Mobile terminal and peer-to-peer mode based data transmission method thereof
WO2014067420A1 (fr) Procédé, dispositif et système de gestion de type de réseau de données en paquets
JP2014522585A (ja) パブリックリーチャビリティを提供するための方法並びに関連するシステム及び装置
EP2926575B1 (fr) Gestion de connectivité de dispositifs pour des communications de type machine
WO2017161866A1 (fr) Procédé et dispositif de connexion à un réseau
WO2013185696A2 (fr) Procédé et dispositif de traitement de données
EP1817892B1 (fr) Procede et systeme permettant d'ouvrir une liaison de reseau
WO2006021610A1 (fr) Procede et dispositif pour assurer une continuite de session
CN102984294A (zh) IPv6域名服务器DNS地址分配、获取方法及装置
CN105792385B (zh) 一种基于无线局域网的通信方法及装置
WO2014169590A1 (fr) Procédé, dispositif et système de communication de service de données
US20170311135A1 (en) Control Signaling Transmission Method in MCPTT Architecture and Related Device
WO2009038280A1 (fr) Procédé et système destinés à attribuer des adresses globales ipv6
WO2013020283A1 (fr) Procédé, passerelle de données et système pour traiter des adresses
JP2016019205A (ja) トンネルエンドポイント装置、dhcpサーバ、インタフェースの自動設定方法及びプログラム
WO2013097194A1 (fr) Procédé, système et dispositif de déclenchement d'un service

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16895213

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895213

Country of ref document: EP

Kind code of ref document: A1