WO2017161866A1 - Network connection method and device - Google Patents

Network connection method and device 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
French (fr)
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/en

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.

Abstract

The present invention provides a network connection method and device. The method comprises: a mobile terminal (MT) obtains IPv6 address information and domain name server (DNS) information assigned by a network; the MT sends, when a host device TE is connected to the network by means of the MT, the IPv6 address information and the DNS information to the TE, wherein the IPv6 address information and the DNS information are used by the TE for accessing the network. The present invention resolves the problems in the related art of a heavy network side load and a long network connection time of a TE side caused by multiple interactions between the TE and the network during network connection operations after the TE is disconnected from the network multiple times, thereby achieving the effect of reducing the network side load and the network connection time of the TE.

Description

网络连接方法及装置Network connection method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种网络连接方法及装置。The present invention relates to the field of communications, and in particular to a network connection method and apparatus.
背景技术Background technique
目前,网际协议第6版(Internet Protocol version 6,简称为IPv6)链路建立过程,分为状态化自动配置(即,有状态配置)和无状态地址自动配置(即,无状态配置),具体哪种配置方式,是运营商分配的具体接入点名称(Access Point Name,简称为APN)决定的。其链路建立过程是,移动终端(mobile Terminal,简称为MT)(例如,数据卡)和网络侧协商一个唯一的接口标识(3G通过分组数据协议(Packet Data Protocol,简称为PDP)上下文激活,长期演进(Long-Term Evolution,简称为LTE)通过附着ATTACH的过程),终端设备(Terminal Equipment,简称为TE,也可称为主机设备)通过和MT交互以获取这个接口标识;然后TE构建本地链路地址和网络侧进行路由请求(Router Solicitation,简称为RS)/路由通告(Router Advertisement,简称为RA)交互;TE通过RA中携带的信息,可确定是用状态化配置方式还是无状态配置方式。如果是状态化配置,TE和网络将会通过动态主机配置协议(Dynamic Host Configuration Protocol)DHCPv6交互,以获取IPv6地址和DNS等信息,建链完成;如果是无状态配置,则RA中携带有IPv6地址前缀,TE获取该IPv6地址前缀后,可以将该IPv6地址前缀和已经获取的接口标识组成全局IPv6地址,而域名服务器(Domain Name Server,简称为DNS)地址等信息则通过DHCPv6交互来获取。由此可知,无论是哪种方式,TE在每次建立链路时,都需要TE主机和网络之间直接交互数据才能完成。Currently, the Internet Protocol version 6 (IPv6) link establishment process is divided into stateful automatic configuration (ie, stateful configuration) and stateless address automatic configuration (ie, stateless configuration). Which configuration method is determined by the specific access point name (APN) assigned by the operator. 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). 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.
但是考虑应用于LTE网络下的物联网终端(即TE终端),由于节约资源的考虑,常常会有某种策略,使得终端频繁联网断网。例如,在没有数据交互时,断开网络链接,在重新有数据要收发时,又建立链接。这种场景并不罕见,当前的数据类产品的“按需拨号”功能就是为了实现这个目的,另外,现在随处可见的快递员携带的刷卡POS机也是类似这种机制,刷卡前需要拨号,一段时间不用就自动断网。However, considering the application of an Internet of Things terminal (ie, a TE terminal) under the LTE network, due to resource conservation considerations, there is often a certain strategy that causes the terminal to frequently disconnect from the network. For example, when there is no data interaction, the network link is disconnected, and when there is data to be sent and received, a link is established. This kind of scenario is not uncommon. The “on-demand dialing” function of the current data products is to achieve this goal. In addition, the POS card POS machine carried by the courier can be seen everywhere, and it needs to be dialed before swiping. Automatically disconnects the network when time is not used.
针对物联网的第三代合作项目组织(The 3rd Generation Partnership Project,简称为3GPP)标准是长期演进-机器到机器(LTE-Machine to Machine,简称为LTE-M),有LTE的大部分特点。当终端配合分组核心演进(Evolved Packet Core,简称为EPC)网络(即LTE***)工作时,由于LTE网络“永远在线”的特点,TE在开机后附着网络时就已经激活默认分组数据网(Packet Data Network,简称为PDN),如果TE发起联网断网,实际只是TE和MT之间的交互,默认PDN连接是一直存在的。但是,在相关技术中,在TE每次联网后,MT都要和网络侧发生RS、RA交互,以获取IP、DNS地址信息。RS、RA信息是终端和核心网的交互,终端由于业务需要,发生断网、联网,联网过程中会有大量的RS/RA和DHCPv6消息,如果是在终端众多,信号覆盖较弱的物联网、传感器网络场景,一是消息数量将更大,二是信号 覆盖较弱的区域常常存在收发数据前,无线链路建立失败需要重建的场景,这两种情形将会使得核心网网关负载更重。并且,对于TE来说,也会延长链路建立过程的时间。The 3rd Generation Partnership Project (3GPP) standard for the Internet of Things is a long-term evolution-machine-to-machine (LTE-Machine to Machine) (LTE-M), which has most of the features of LTE. When the terminal works with the Evolved Packet Core (EPC) network (ie, the LTE system), the TE has activated the default packet data network (Packet) when the network is attached to the network after the LTE network is "always on". Data Network (referred to as PDN). If the TE initiates network disconnection, it is only the interaction between TE and MT. The default PDN connection is always there. However, in the related art, after each time the TE is connected to the 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.
由此可知,在相关技术中,当TE发生多次断网后的联网操作时,需要与网络进行多次交互,从而造成网络侧负载重,TE侧联网时间长的问题。Therefore, in the related art, when the TE is connected to the network after multiple times of network disconnection, multiple interactions with the network are required, resulting in heavy load on the network side and long networking time on the TE side.
针对上述问题,相关技术中并未提出有效的解决方案。In view of the above problems, an effective solution has not been proposed in the related art.
发明内容Summary of the invention
本发明提供了一种网络连接方法及装置,以至少解决相关技术中存在的当TE发生多次断网后的联网操作时,需要与网络进行多次交互,从而造成网络侧负载重,TE侧联网时间长的问题。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.
根据本发明的一个方面,提供了一网络连接方法,包括:移动终端MT获取网络分配的IPv6地址信息和域名服务器DNS信息;当主机设备TE通过所述MT连接所述网络时,所述MT将所述IPv6地址信息和所述DNS信息发送给所述TE,其中,所述IPv6地址信息和所述DNS信息用于所述TE接入所述网络。According to an aspect of the present invention, a network connection method is provided, 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.
可选地,所述MT获取所述网络分配的所述IPv6地址信息和所述DNS信息包括:所述MT在成功附着所述网络后,从本地空口协议栈中获取所述IPv6地址信息中的IPv6接口标识;以及,所述MT向所述网络发送第一路由请求RS消息,其中,所述第一RS消息用于触发所述网络下发路由通告RA;所述MT根据所述网络下发的所述RA获取所述IPv6地址信息中的IPv6地址前缀和所述DNS信息。Optionally, the obtaining, by the MT, the IPv6 address information and the DNS information that are allocated by the network, after the MT is successfully attached to the network, acquiring the IPv6 address information from a local air interface protocol stack. An IPv6 interface identifier; and the MT sends a first route request RS message to the network, where the first RS message is used to trigger the network to send a route advertisement RA; the MT is delivered according to the network The RA acquires an IPv6 address prefix and the DNS information in the IPv6 address information.
可选地,所述MT根据所述网络下发的所述RA获取所述IPv6地址信息中的所述IPv6地址前缀和所述DNS信息包括:所述MT确定所述RA指示的IPv6地址配置方式;当所述MT确定所述IPv6地址配置方式为无状态配置时,从所述RA中获取所述IPv6地址前缀,以及,通过与所述网络之间进行动态主机配置协议DHCPv6交互过程获取所述DNS信息;和/或,当所述MT确定所述IPv6地址配置方式为有状态配置时,通过与所述网络之间进行动态主机配置协议DHCPv6交互获取IPv6地址前缀和所述DNS信息。Optionally, the acquiring, by the MT, the IPv6 address prefix and the DNS information in the IPv6 address information according to the RA that is sent by the network, the determining, by the MT, the IPv6 address configuration manner indicated by the RA Obtaining the IPv6 address prefix from the RA when the MT determines that the IPv6 address configuration mode is a stateless configuration, and acquiring the DHCPv6 interaction process by performing a dynamic host configuration protocol with the network. 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.
可选地,所述MT将所述IPv6地址信息和所述DNS信息发送给所述TE包括:所述MT在与所述TE进行点到点协议PPP协商过程中,将所述IPv6接口标识发送给所述TE,其中,所述IPv6接口标识用于所述TE生成本地链路地址;所述MT接收所述TE利用所述本地链路地址发送的第二RS消息;所述MT根据所述第二RS消息将所述IPv6地址前缀和所述DNS信息发送给所述TE。Optionally, 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.
可选地,所述MT根据所述第二RS消息将所述IPv6地址前缀和所述DNS信息发送给所述TE包括:所述MT根据所述第二RS消息将所述RA发送给所述TE,其中,所述RA用于指示IPv6地址配置方式;当所述RA指示所述IPv6地址配置方式为无状态配置时,所述MT通过将所述IPv6地址前缀携带在所述RA中的方式将所述IPv6地址前缀发送给所述TE,以 及,通过与所述TE进行动态主机配置协议DHCPv6交互将所述DNS信息发送给所述TE;和/或,当所述RA指示所述IPv6地址配置方式为有状态配置时,所述MT通过与所述TE进行动态主机配置协议DHCPv6交互将所述IPv6地址前缀和所述DNS信息发送给所述TE。Optionally, 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.
可选地,在所述TE接入所述网络之后,所述方法还包括:所述MT在确定所述TE需要断网时,进行断网处理,其中,所述断网处理包括:断开所述MT与所述TE之间进行所述PPP协商过程中建立的PPP链路,且维持所述MT与所述网络的连接。Optionally, after the TE accesses the network, 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.
可选地,所述MT在进行所述断网处理之后,所述方法还包括:所述MT在确定所述TE需要通过所述MT重新接入所述网络时,所述MT重复执行将所述IPv6地址信息和所述DNS信息发送给所述TE的操作。Optionally, after the performing the network disconnection process, 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.
根据本发明的另一方面,提供了一种网络连接装置,所述装置应用于移动终端MT中,包括:获取模块,设置为获取网络分配的IPv6地址信息和域名服务器DNS信息;发送模块,设置为当主机设备TE通过所述MT连接所述网络时,将所述IPv6地址信息和所述DNS信息发送给所述TE,其中,所述IPv6地址信息和所述DNS信息用于所述TE接入所述网络。According to another aspect of the present invention, 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.
可选地,所述获取模块包括:第一获取单元,设置为在所述MT成功附着所述网络后,从本地空口协议栈中获取所述IPv6地址信息中的IPv6接口标识;以及,第一发送单元,设置为向所述网络发送第一路由请求RS消息,其中,所述第一RS消息用于触发所述网络下发路由通告RA;第二获取单元,设置为所述MT根据所述网络下发的所述RA获取所述IPv6地址信息中的IPv6地址前缀和所述DNS信息。Optionally, 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.
可选地,所述第二获取单元包括:确定子单元,设置为确定所述RA指示的IPv6地址配置方式;第一获取子单元,设置为当确定所述IPv6地址配置方式为无状态配置时,从所述RA中获取所述IPv6地址前缀,以及,通过与所述网络之间进行动态主机配置协议DHCPv6交互过程获取所述DNS信息;和/或,第二获取子单元,设置为当确定所述IPv6地址配置方式为有状态配置时,通过与所述网络之间进行动态主机配置协议DHCPv6交互获取IPv6地址前缀和所述DNS信息。Optionally, 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.
可选地,所述发送模块包括:第二发送单元,设置为在与所述TE进行点到点协议PPP协商过程中,将所述IPv6接口标识发送给所述TE,其中,所述IPv6接口标识用于所述TE生成本地链路地址;接收单元,设置为接收所述TE利用所述本地链路地址发送的第二RS消息;第三发送单元,设置为根据所述第二RS消息将所述IPv6地址前缀和所述DNS信息发送给所述TE。Optionally, 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.
可选地,所述第三发送单元包括:第一发送子单元,设置为根据所述第二RS消息将所述RA发送给所述TE,其中,所述RA用于指示IPv6地址配置方式;第二发送子单元,设置为当所述RA指示所述IPv6地址配置方式为无状态配置时,通过将所述IPv6地址前缀携带在所述RA中的方式将所述IPv6地址前缀发送给所述TE,以及,通过与所述TE进行动态主机配置协议DHCPv6交互将所述DNS信息发送给所述TE;和/或,第三发送子单元,设置为当所述RA指示所述IPv6地址配置方式为有状态配置时,通过与所述TE进行动态主机配置协议 DHCPv6交互将所述IPv6地址前缀和所述DNS信息发送给所述TE。Optionally, 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.
可选地,所述装置还包括处理模块,设置为在所述TE接入所述网络之后,且确定所述TE需要断网时,进行断网处理,其中,所述断网处理包括:断开所述MT与所述TE之间的进行所述PPP协商过程中建立的PPP链路,且维持所述MT与所述网络的连接。Optionally, 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.
可选地,所述处理模块还设置为在进行所述断网处理之后,且确定所述TE需要通过所述MT重新接入所述网络时,重复执行将所述IPv6地址信息和所述DNS信息发送给所述TE的操作。Optionally, 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.
通过本发明,采用由移动终端MT将获取的网络分配的IPv6地址信息和域名服务器DNS信息发送给TE进行网络连接的操作,可以将网络侧的操作转移到MT上进行,从而在TE发生多次断网、联网操作时,由MT与TE进行联网信息的交互,避免TE与网络侧的频繁交互,从而减轻了网络侧压力,同时,由于MT和TE之间的交互速度比TE与网络侧交互速度快,可以大大节省TE的联网速度,从而解决了相关技术中存在的当TE发生多次断网后的联网操作时,需要与网络进行多次交互,从而造成网络侧负载重,TE侧联网时间长的问题,进而达到了降低网络侧负载,减少TE联网时间的效果。With the present invention, 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. When the network is disconnected or networked, 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. At the same time, 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.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的网络连接方法的流程图;1 is a flow chart of a network connection method according to an embodiment of the present invention;
图2是根据本发明实施例的网络连接装置的结构框图;2 is a block diagram showing the structure of a network connection apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的网络连接装置中获取模块22的结构框图;3 is a structural block diagram of an acquisition module 22 in a network connection device according to an embodiment of the present invention;
图4是根据本发明实施例的网络连接装置中第二获取单元36的结构框图;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;
图5是根据本发明实施例的网络连接装置中发送模块24的结构框图;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;
图6是根据本发明实施例的网络连接装置中第三发送单元56的结构框图;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;
图7是根据本发明实施例的网络连接装置的优选结构框图;7 is a block diagram showing a preferred structure of a network connection device according to an embodiment of the present invention;
图8是根据本发明实施例的***模块图;Figure 8 is a system block diagram of an embodiment of the present invention;
图9是根据本发明实施例的MT和网络的交互流程图;9 is a flow chart of interaction between an MT and a network according to an embodiment of the present invention;
图10是根据本发明实施例的MT与TE的交互流程图。 FIG. 10 is a flow chart of interaction between an MT and a TE according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
随着物联网项目的启动,以及物联网本身技术的特点,IPv6应用更广。目前,相关技术中的IPv4配合NAT等协议还能活跃在市场上,而随着各种无线摄像头、家居自动化设备、可穿戴设备等机器类型通信(Machine Type Communications,简称为MTC)终端的大量涌现,IPv6的使用量逐步激增。相对于个人电脑(Personal Computer,简称为PC)等具有完善操作***的主机来说,MTC终端可能支持的协议栈并不完备,加上终端数目增速飞快,因此对于IPv6方面的技术,尤其是IPv6配合“瘦”主机的应用场景,相对于配合PC来说要求会苛刻,因此对现有机制的优化和完善,是非常重要的。下面对如何优化和完善现有机制进行说明:With the launch of the Internet of Things project and the characteristics of the Internet of Things itself, IPv6 is more widely used. At present, 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. The use of IPv6 has gradually increased. Compared with 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. Here's how to optimize and refine existing mechanisms:
在本实施例中提供了一种网络连接方法,图1是根据本发明实施例的网络连接方法的流程图,如图1所示,该流程包括如下步骤:A network connection method is provided in this embodiment. 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:
步骤S102,移动终端MT获取网络分配的IPv6地址信息和域名服务器DNS信息;Step S102, the mobile terminal MT acquires IPv6 address information and domain name server DNS information allocated by the network;
步骤S104,当主机设备TE通过上述MT连接网络时,MT将上述IPv6地址信息和DNS信息发送给TE,其中,该IPv6地址信息和DNS信息用于TE接入上述网络。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.
通过上述步骤,采用由移动终端MT将获取的网络分配的IPv6地址信息和域名服务器DNS信息发送给TE进行网络连接的操作,可以将网络侧的操作转移到MT上进行,从而在TE发生多次断网、联网操作时,由MT与TE进行联网信息的交互,避免TE与网络侧的频繁交互,从而减轻了网络侧压力,同时,由于MT和TE之间的交互速度比TE与网络侧交互速度快,可以大大节省TE的联网速度,从而解决了相关技术中存在的当TE发生多次断网后的联网操作时,需要与网络进行多次交互,从而造成网络侧负载重,TE侧联网时间长的问题,进而达到了降低网络侧负载,减少TE联网时间的效果。Through the above steps, 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. When the network is disconnected or networked, 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. At the same time, 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.
在一个可选的实施例中,在上述步骤S102中,MT获取网络分配的IPv6地址信息和DNS信息可以包括:MT在成功附着上述网络后,从本地空口协议栈中获取IPv6地址信息中的IPv6接口标识(例如,从网络返回的附着接收消息中获取IPv6地址信息中的IPv6接口标识);以及,上述MT向网络发送第一路由请求RS消息,其中,该第一RS消息用于触发上述网络下发路由通告RA;上述MT根据网络下发的RA获取IPv6地址信息中的IPv6地址前缀和DNS信息。在本实施例中,MT可以首先向网络发起附着请求(Attach Request),在附着成功后再执行上述步骤S102中的操作,相关的发起附着请求之后的操作可以参考现有技术。上述的IPn6接口信息和IPv6地址前缀可以拼接成完整的IPv6地址,并且,MT在获取上述的IPv6地址信息和DNS信息后,可以进行存储,从而使得当TE通过MT进行联网操作时,可以直接由MT将存储的IPv6地址信息和DNS信息发送给TE进行联网操作,避免TE与网络侧的交互。 In an optional embodiment, in step S102, 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. In this embodiment, 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.
在一个可选的实施例中,上述MT根据网络下发的RA获取IPv6地址信息中的IPv6地址前缀和DNS信息包括:上述MT确定RA指示的IPv6地址配置方式;当上述MT确定IPv6地址配置方式为无状态配置时,从上述RA中获取IPv6地址前缀,以及,通过与上述网络之间进行动态主机配置协议DHCPv6交互过程获取DNS信息;和/或,当上述MT确定IPv6地址配置方式为有状态配置时,通过与网络之间进行动态主机配置协议DHCPv6交互获取IPv6地址前缀和DNS信息。在本实施例中,当RA指示IPv6地址配置方式为无状态配置时,该RA中可以携带上述的IPv6地址前缀,MT可以直接从上述RA中获取IPv6地址前缀。In an optional embodiment, the acquiring, by the MT, the IPv6 address prefix and the DNS information in the IPv6 address information according to the RA that is sent by the network, the MT determines the IPv6 address configuration mode indicated by the RA, and determines, by the MT, the IPv6 address configuration mode. When the state is configured, 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. In this embodiment, when the RA indicates that the IPv6 address configuration mode is a stateless configuration, the RA may carry the IPv6 address prefix, and the MT may obtain the IPv6 address prefix directly from the RA.
在一个可选的实施例中,在上述步骤S104中,MT将IPv6地址信息和DNS信息发送给TE包括:MT在与TE进行点到点协议(Point to Point Protocol,简称为PPP)协商过程中,将IPv6接口标识发送给TE,其中,该IPv6接口标识用于TE生成本地链路地址;上述MT接收TE利用本地链路地址发送的第二RS消息;上述MT根据该第二RS消息将IPv6地址前缀和DNS信息发送给TE。在本实施例中,MT与TE进行PPP协商的过程可以包括链路控制协议(Link Control Protocol,简称为LCP)协商和IPv6CP协商,其中,上述的将IPv6接口标识发送给TE的操作可以在进行IPv6CP协商的过程中进行。In an optional embodiment, in the foregoing step S104, 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. In this embodiment, 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. In the process of IPv6CP negotiation.
在一个可选的实施例中,上述MT根据第二RS消息将IPv6地址前缀和DNS信息发送给TE包括:上述MT根据第二RS消息将上述RA发送给TE,其中,该RA用于指示IPv6地址配置方式;当RA指示IPv6地址配置方式为无状态配置时,MT通过将IPv6地址前缀携带在RA中的方式将IPv6地址前缀发送给TE,以及,通过与TE进行动态主机配置协议DHCPv6交互将DNS信息发送给TE;和/或,当RA指示IPv6地址配置方式为有状态配置时,MT通过与TE进行动态主机配置协议DHCPv6交互将IPv6地址前缀和DNS信息发送给TE。在本实施例中,MT发送给TE的RA与MT接收的来自网络的RA是一样的,即,将原始的RA发送给TE,这是一种透明传输方式,在后续TE发起拨号(即,联网操作)时,会使得TE认为是在同网络侧的分组数据网络网关(Packet Data Network Gateway,简称为P-GW)进行信息交互,从而无需对TE进行变动,适用于相关技术中的TE。In an optional embodiment, 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. In this embodiment, 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.
在一个可选的实施例中,在TE接入上述网络之后,TE可能会由于一些原因断开与网络的联接,下面对断网操作进行说明:上述MT在确定TE需要断网时,进行断网处理,其中,该断网处理包括:断开MT与TE之间的进行PPP协商过程中建立的PPP链路,且维持MT与网络的连接(即,保持空口分组数据网络(Packet Data Network,简称为PDN)仍是激活状态)。在本实施例中,当TE需要断开与网络的连接时,MT仅断开与TE之间的PPP链路(该PPP链路是在PPP协商过程中建立的),并保持了MT和网络侧的连接,从而使得在TE需要重新接入网络时,仅完成与MT之间的连接即可,无需再与网络进行信令交互,减轻网络侧的压力。In an optional embodiment, after the TE accesses the network, the TE may disconnect the network for some reason. The following describes the network disconnection operation: the MT performs the determination that the TE needs to be disconnected. 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). In this embodiment, when the TE needs to disconnect from the 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.
在一个可选的实施例中,在MT进行上述断网处理之后,上述方法还包括:MT在确定TE需要通过MT重新接入网络时,该MT重复执行上述的将IPv6地址信息和DNS信息发送给TE的操作。具体的发送过程可参照上述的实施例。In an optional embodiment, after the performing the network disconnection processing on the MT, 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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方 法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand the square according to the above embodiments. The method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be through hardware, but in many cases the former is a better implementation. Based on such understanding, 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, 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.
在本实施例中还提供了一种网络连接装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, 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. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although 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.
图2是根据本发明实施例的网络连接装置的结构框图,该装置可以应用于移动终端MT中,如图2所示,该装置包括获取模块22和发送模块24,下面对该装置进行说明。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. As shown in FIG. 2, the apparatus includes an acquisition module 22 and a transmission module 24. .
获取模块22,设置为获取网络分配的IPv6地址信息和域名服务器DNS信息;发送模块24,连接至上述获取模块22,设置为当主机设备TE通过MT连接上述网络时,将IPv6地址信息和DNS信息发送给TE,其中,该IPv6地址信息和DNS信息用于TE接入上述网络。The obtaining module 22 is configured to obtain the IPv6 address information and the domain name server DNS information allocated by the network, and 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.
图3是根据本发明实施例的网络连接装置中获取模块22的结构框图,如图3所示,该获取模块22包括第一获取单元32,以及第一发送单元34和第二获取单元36,下面对该获取模块22进行说明。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. As shown in FIG. 3, 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.
第一获取单元32,设置为在上述MT成功附着网络后,从本地空口协议栈中获取IPv6地址信息中的IPv6接口标识;以及,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; and
第一发送单元34,设置为向网络发送第一路由请求RS消息,其中,该第一RS消息用于触发网络下发路由通告RA;第二获取单元36,连接至上述第一发送单元34,设置为MT根据网络下发的RA获取IPv6地址信息中的IPv6地址前缀和DNS信息。在本实施例中,第一获取单元32可以首先向网络发起附着请求(Attach Request),在附着成功后再执行上述操作,相关的发起附着请求之后的操作可以参考现有技术。上述的IPn6接口信息和IPv6地址前缀可以拼接成完整的IPv6地址,并且,MT在获取上述的IPv6地址信息和DNS信息后,可以进行存储,从而使得当TE通过MT进行联网操作时,可以直接由MT将存储的IPv6地址信息和DNS信息发送给TE进行联网操作,避免TE与网络侧的交互。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. In this embodiment, 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.
图4是根据本发明实施例的网络连接装置中第二获取单元36的结构框图,如图4所示,该第二获取单元36包括确定子单元42,还包括第一获取子单元44和/或第二获取子单元46,下面对该第二获取单元36进行说明: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. As shown in FIG. 4, 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:
确定子单元42,设置为确定RA指示的IPv6地址配置方式;第一获取子单元44,连接至上述确定子单元42,设置为当确定上述IPv6地址配置方式为无状态配置时,从RA中获取IPv6地址前缀,以及,通过与上述网络之间进行动态主机配置协议DHCPv6交互过程获取DNS信息;第二获取子单元46,连接至上述确定子单元42,设置为当确定上述IPv6地址配置方式为 有状态配置时,通过与网络之间进行动态主机配置协议DHCPv6交互获取IPv6地址前缀和DNS信息。在本实施例中,当RA指示IPv6地址配置方式为无状态配置时,该RA中可以携带上述的IPv6地址前缀,MT可以直接从上述RA中获取IPv6地址前缀。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. In this embodiment, when the RA indicates that the IPv6 address configuration mode is a stateless configuration, the RA may carry the IPv6 address prefix, and the MT may obtain the IPv6 address prefix directly from the RA.
图5是根据本发明实施例的网络连接装置中发送模块24的结构框图,如图5所示,该发送模块24包括第二发送单元52、接收单元54和第三发送单元56,下面对该发送模块24进行说明。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.
第二发送单元52,设置为在与上述TE进行点到点协议PPP协商过程中,将IPv6接口标识发送给TE,其中,该IPv6接口标识用于TE生成本地链路地址;接收单元54,连接至上述第二发送单元52,设置为接收上述TE利用本地链路地址发送的第二RS消息;第三发送单元56,连接至上述接收单元54,设置为根据上述第二RS消息将IPv6地址前缀和DNS信息发送给TE。在本实施例中,MT与TE进行PPP协商的过程可以包括链路控制协议(Link Control Protocol,简称为LCP)协商和IPv6CP协商,其中,上述的将IPv6接口标识发送给TE的操作可以在进行IPv6CP协商的过程中进行。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. And DNS information is sent to the TE. In this embodiment, 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. In the process of IPv6CP negotiation.
图6是根据本发明实施例的网络连接装置中第三发送单元56的结构框图,如图6所示,该第三发送单元56包括第一发送子单元62,还包括第二发送子单元64和/或第三发送子单元66,下面对该第三发送单元56进行说明: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. As shown in FIG. 6, 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:
第一发送子单元62,设置为根据上述第二RS消息将RA发送给TE,其中,该RA用于指示IPv6地址配置方式;第二发送子单元64,连接至上述第一发送子单元62,设置为当RA指示IPv6地址配置方式为无状态配置时,通过将IPv6地址前缀携带在RA中的方式将IPv6地址前缀发送给TE,以及,通过与TE进行动态主机配置协议DHCPv6交互将DNS信息发送给TE;第三发送子单元66,连接至上述第一发送子单元62,设置为当上述RA指示IPv6地址配置方式为有状态配置时,通过与TE进行动态主机配置协议DHCPv6交互将IPv6地址前缀和DNS信息发送给TE。在本实施例中,MT发送给TE的RA与MT接收的来自网络的RA是一样的,即,将原始的RA发送给TE,这是一种透明传输方式,在后续TE发起拨号(即,联网操作)时,会使得TE认为是在同网络侧的分组数据网络网关(Packet Data Network Gateway,简称为P-GW)进行信息交互,从而无需对TE进行变动,适用于相关技术中的TE。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. When 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, and 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. In this embodiment, 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.
图7是根据本发明实施例的网络连接装置的优选结构框图,如图7所示,该装置除包括图2所示的所有模块外,还包括处理模块72,下面对该装置进行说明: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:
处理模块72,连接至上述发送模块24,设置为在确定TE需要断网时,进行断网处理,其中,该断网处理包括:断开MT与TE之间的进行PPP协商过程中建立的PPP链路,且维持MT与网络的连接(即,保持空口分组数据网络(Packet Data Network,简称为PDN)仍是激活状态)。在本实施例中,当TE需要断开与网络的连接时,MT仅断开与TE之间的PPP链路(该PPP链路是在PPP协商过程中建立的),并保持了MT和网络侧的连接,从而使得在TE需要重新接入网络时,仅完成与MT之间的连接即可,无需再与网络进行信令交互,减轻网络侧的压力。 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). In this embodiment, when the TE needs to disconnect from the 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.
在一个可选的实施例中,上述处理模块72还设置为在进行上述断网处理之后,且在确定TE需要通过MT重新接入网络时,重复执行上述的将IPv6地址信息和DNS信息发送给TE的操作。具体的发送过程可参照上述的实施例。In an optional embodiment, 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 present invention will be described below in conjunction with specific embodiments:
在本发明实施例中,MT中主要包括三个模块,本地中继模块(Rm Relay)(对应于上述的发送模块24和处理模块72)和地址信息块(Address Information Block)模块和空口中继模块(Um Relay)(对应于上述的获取模块22)。其中,空口中继模块与网络侧(Network,简称为NW)进行交互。在MT附着网络时,空口中继模块和网络侧进行路由请求RS,路由通告RA以及DHCPv6通信;本地中继模块则在联网断网时和主机TE进行通信。图8是根据本发明实施例的***模块图,下面结合图8对***的整体架构进行说明:In the embodiment of the present invention, 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). When the MT attaches to the network, 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:
在图8中,82是TE,例如PC主机或物联网中的智能传感器;84是MT,它与网络侧和主机侧进行通信;86是本地中继模块(Rm Relay),主要作用是和TE进行交互,如IPV6CP、RS/RA,以及DHCPv6消息的交互;88是地址信息块,会存储网络指定的IPv6地址前缀,IPv6接口标识,DNS地址等信息;810是空口中继模块(Um Relay),地址信息块中的信息,需要由空口中继模块进行配置,空口中继模块和网络、本地空口协议栈进行交互,以获取IPv6地址信息。812是网络侧(NW),如3GPP的LTE网络。In 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.
需要说明的是,空口中继模块和网络侧以及空口协议栈的交互是发生在附着ATTACH之后的。在ATTACH过程中默认的PDN已经建立,P-GW给终端分配的前缀等信息也已经到达了MT;MT通过网络下发的RA消息中的M-flag,O-flag可以确认具体的地址配置方法,如是无状态自动配置还是自动化状态配置,具体配置方法决定着后续本地中继模块和TE交互的流程。接着本地中继模块和TE的交互,该过程将发生于TE发起拨号(connect)时。且后续如果TE多次发起联网断网,TE仅和MT的本地中继模块交互,而无需再与网络交互,从而实现链路的快速建立。It should be noted that 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.
本发明实施例中的终端能够使用IPv6链路和网络进行通信。对TE来说,能够加快链路的建立过程,对网络侧来说,能够显著减轻核心网网关的负载。“加快链路的建立过程”指的是在联网、断网的过程中,主机TE无须再和网络侧交互RS、RA等信息,有效的减少了P-GW网关负载,同时也减少了TE上IPv6和DNS地址等信息的配置时间。The terminal in the embodiment of the present invention can communicate with the network using an IPv6 link. For TE, 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 present invention will be briefly described below in conjunction with the above various modules:
本发明的IPv6链路建立过程主要包括如下步骤:The IPv6 link establishment process of the present invention mainly includes the following steps:
第一步:在MT***客户识别模块(Subscriber Identity Module,简称为SIM),开机激活时,发起国际移动用户标识符(International Mobile Subscriber Identifier,简称为IMSI)附着Attach过程;该过程完毕后,空口中继模块将和网络进行RS/RA,DHCPv6消息交互,获取网络分配的IPv6地址信息,配置到地址信息块中;空口中继模块也会从本地的空口协议栈中获取信息,如从PDN激活响应消息中携带的IPv6接口标识等,将其配置到地址信息块中; The first step is to insert a Subscriber Identity Module (SIM) in the MT. When the device is activated, the International Mobile Subscriber Identifier (IMSI) attaches the Attach process. After the process is completed, the process is completed. 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.
第二步:在TE发起拨号后,TE和MT进行LCP、IPV6CP交互,在IPV6CP交互过程中,MT从地址信息块中获取IPv6接口标识配置给TE;TE使用该接口标识生成本地链路地址;Step 2: After the TE initiates the dialing, the TE and the MT perform LCP and IPV6CP interaction. In the IPV6CP interaction process, 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.
第三步:TE和MT之间进行RS/RA、DHCPv6交互,以获取全局单播IPv6地址和DNS等信息;此时TE已无需与网络进行RS/RA等数据包交换;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;
第四步:如TE发起断网,仅断开TE和MT之间的PPP链路,而空口PDN仍是激活状态;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.
第五步:如TE重新发起联网,那么它在LCP、IPV6CP交互完成后,就会开始与网络尝试进行RS、RA,DHCPv6的交互,但是,实际上与之交互的是MT的本地中继模块,TE向网络侧发起的消息,终止于此模块,此模块对TE透明。正因为后续的重新联网过程不再发生实质上的终端、网络之间的交互,链路的建立变得快速,也节省了网络信令资源,减轻了网络负载。这正是本方案的意义所在。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.
下面对MT与网络之间的交互、MT与TE之间的交互分别进行说明:The following describes the interaction between the MT and the network, and the interaction between the MT and the TE:
下面对MT与网络的交互进行说明:The following describes the interaction between the MT and the network:
图9是根据本发明实施例的MT和网络的交互流程图,其中,以MT是***SIM卡的数据卡为例进行说明。该流程主要包括如下步骤: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:
步骤S901:MT开机,发起附着请求(Attach Request),该请求中含有PDP Type如“IPv6”,“IPv4v6”;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”;
步骤S902:MME给核心网网关发消息,请求建立默认承载;Step S902: The MME sends a message to the core network gateway to request to establish a default bearer.
步骤S903:P-GW通过DHCPv6机制,向外部的PDN的DHCP服务器请求IPv6地址等信息;Step S903: The P-GW requests information such as an IPv6 address from the DHCP server of the external PDN through the DHCPv6 mechanism.
步骤S904:创建会话响应,默认承载建立成功;Step S904: Create a session response, and the default bearer is successfully established.
步骤S905:Attach成功;Step S905: Attach succeeds;
步骤S906:空口中继模块主动向网络发送Router Solicitation(RS)消息,以触发网络立即下发Router Advertisement(RA)消息;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.
步骤S907:空口中继模块接收到RA消息后,与网络侧进行DHCPv6交互(可能是状态化DHCPv6过程,也可能是无状态DHCPv6过程)。具体由RA消息中携带的参数M-flag、O-flag来确定。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.
步骤S908:空口中继模块和网络侧之间进行DHCPv6过程。在无状态自动配置情况下,这里通常会获取到DNS服务器的地址,以及MTU等信息。在状态化自动配置的情况下,还可以获取到IPv6地址前缀。Step S908: The DHCPv6 process is performed between the air interface relay module and the network side. In the case of stateless autoconfiguration, the address of the DNS server and the MTU are usually obtained here. In the case of stateful autoconfiguration, an IPv6 address prefix can also be obtained.
步骤S909:TE发起联网请求。此后的过程是TE和MT间的过程。 Step S909: The TE initiates a networking request. The subsequent process is a process between TE and MT.
需要说明,在本实施例中,MT收到网络下发的RA消息中含有的内容,IPv6配置中继代理模块将按照原始内容记录下来,如其中的M-flag,O-flag,随后TE发起拨号时,仍将此原始RA发给TE。因为RA中含有该APN相关的地址配置方式的信息,这种方式是一种透明传输方式,在后续TE发起拨号时,它会认为是在同网络侧的P-GW进行信息交互。在完成了S908以上的步骤之后,TE就可以拨号发起建立IPv6链路了。It should be noted that, in this embodiment, 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. Because the RA contains the information about the APN-related address configuration mode, this mode is a transparent transmission mode. When 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.
下面对MT与TE之间的交互进行说明:The following describes the interaction between MT and TE:
图10是根据本发明实施例的MT与TE的交互流程图,如图10所示,TE和MT之间的交互过程开始于TE发起拨号(connect)的时刻,即步骤S1001。S1002和S1003是PPP协商过程,分别是LCP协商(对应于步骤S1002)和IPV6CP协商(对应于步骤S1003)。在图10中,MT在Attach Accept消息中获取网络下发的IPv6接口标识并将其配置进地址信息块中;接口标识在步骤S1003中通过IPv6CP分配给TE,TE会用它来生成本地链路地址;步骤S1004和S1005是TE用本地链路地址进行的RS/RA过程(其中,RS过程对应于步骤S1004,RA过程对应于步骤S1005),本地中继模块需要和地址信息模块通信,以获取地址配置方式的信息,以及地址信息。从TE的角度看,该过程是和核心网的交互过程,本案中,则被MT的中继代理模块透明的替换掉了。S1005的RA消息是复制了原始的P-GW发来的RA包,其中含有M-flag,O-flag,该RA中还可能携带有IPv6地址前缀。根据M和O的值,又分为两种常见情况,如果M和O都为1,S1006则应该发起DHCPv6请求,即TE通过DHCPv6过程获取包括IPv6,DNS地址在内的所有信息;如果M为0,O为1,S1005的RA中将会含有IPv6地址前缀,TE使用该IPv6地址前缀来生成全局IPv6地址;DNS地址则通过S1006的DHCPv6交互来获取。本地中继模块将采取RA消息中指定的配置方式,从地址信息块中获取信息,并和TE进行交互。FIG. 10 is a flowchart of interaction between an MT and a TE according to an embodiment of the present invention. As shown in FIG. 10, 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). In Figure 10, 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. Address; 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. From the perspective of TE, 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. If both M and O are 1, 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.
步骤S1007到S1009主要描述的是,在终端后续正常使用或待机过程中,TE发生一例断网(对应于步骤S1007)、联网(对应于步骤S1008)的情形,在S1009再次联网后,TE无需再与网络侧交互RS/RA等消息了,而是与MT进行RS/RA、DHCPv6的交互(对应于步骤S1009)从而实现了快速建链。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.
从图10可知,在本发明实施例中,透明的屏蔽了TE和网络侧的RS/RA、DHCPv6交互。在建链过程中,由于少了TE和网络的信息交互,一方面降低了网络侧网元的负载,另一方面加快了建链速度。As shown in FIG. 10, in the embodiment of the present invention, the RS and the RS/RA and DHCPv6 interactions on the network side are transparently shielded. In the process of building the chain, due to the lack of information exchange between the TE and the network, on the one hand, the load on the network side network element is reduced, and on the other hand, the link building speed is accelerated.
在本发明实施例中提出的方案是应用于IPv6链路建立方面的,是属于物联网最底层的感知层,是一种基础设施。具体的实际应用场景可以是在上层,底层可以为形形色色的上层应用提供服务,只要MTC设备需要独立IPv6地址,就需要联网,那么就可以应用本发明实施例中的方案进行优化。因此本发明实施例中的方案的实际应用场景是非常广的,如公共环境的智能公路摄像头阵列,居家安全方面的门锁、摄像头、运动检测器、火灾/烟雾/水灾/气体/入侵者报警器等,每个MTC设备作为TE,在联网后均分配有IPv6地址;在长期工作中有可 能发生断网重连过程,那么重连时,就减少了RS/RA过程的交互,加快了建链速度,降低了P-GW的负载;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. As long as 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. Etc., 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的概念提出了很多年,但当前并未全球广泛应用。原因在于当前物联网刚起步,还不太发达,目前的IPv4+NAT模式,还能满足基本需求。但是最近智能嵌入式设备,智能可穿戴设备数目爆发式发展,也只有IPv6能够满足物联网对于地质资源的海量性要求,实现“无所不在的IP”。近年来针对物联网和嵌入式网络,有很多IPv6的协议和技术规范出台,如用于支持IPv6和无线传感网的6LowPan等,这都说明在IPv6基础设施如链路配置方面的发明和优化,是紧急且重要的。Another point to note is that the concept of IPv6 has been proposed for many years, but it is not widely used globally. The reason is that the current Internet of Things has just started and is still not developed. The current IPv4+NAT model can also meet basic needs. However, the number of intelligent embedded devices and the number of smart wearable devices has recently exploded, and only IPv6 can meet the massive requirements of the Internet of Things for geological resources and achieve "ubiquitous IP." In recent years, there have been many IPv6 protocols and technical specifications for IoT and embedded networks, such as 6LowPan for supporting IPv6 and wireless sensor networks, which illustrate the invention and optimization of IPv6 infrastructure such as link configuration. It is urgent and important.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, 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. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,移动终端MT获取网络分配的IPv6地址信息和域名服务器DNS信息;S1. The mobile terminal MT acquires IPv6 address information and domain name server DNS information allocated by the network.
S2,当主机设备TE通过上述MT连接网络时,MT将上述IPv6地址信息和DNS信息发送给TE,其中,该IPv6地址信息和DNS信息用于TE接入上述网络。S2: 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.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, 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). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述各步骤。Optionally, in the embodiment, the processor performs the above steps according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various 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. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性 Industrial applicability
如上所述,本发明实施例提供的一种网络连接方法及装置具有以下有益效果:解决了相关技术中存在的当TE发生多次断网后的联网操作时,需要与网络进行多次交互,从而造成网络侧负载重,TE侧联网时间长的问题,进而达到了降低网络侧负载,减少TE联网时间的效果。 As described above, 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.

Claims (14)

  1. 一种网络连接方法,包括:A network connection method includes:
    移动终端MT获取网络分配的IPv6地址信息和域名服务器DNS信息;The mobile terminal MT acquires IPv6 address information and domain name server DNS information allocated by the network;
    当主机设备TE通过所述MT连接所述网络时,所述MT将所述IPv6地址信息和所述DNS信息发送给所述TE,其中,所述IPv6地址信息和所述DNS信息用于所述TE接入所述网络。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 The TE accesses the network.
  2. 根据权利要求1所述的方法,其中,所述MT获取所述网络分配的所述IPv6地址信息和所述DNS信息包括:The method of claim 1, wherein the obtaining, by the MT, the IPv6 address information and the DNS information allocated by the network comprises:
    所述MT在成功附着所述网络后,从本地空口协议栈中获取所述IPv6地址信息中的IPv6接口标识;以及,After the MT is successfully attached to the network, the IPv6 interface identifier in the IPv6 address information is obtained from the local air interface protocol stack; and
    所述MT向所述网络发送第一路由请求RS消息,其中,所述第一RS消息用于触发所述网络下发路由通告RA;所述MT根据所述网络下发的所述RA获取所述IPv6地址信息中的IPv6地址前缀和所述DNS信息。The MT sends 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 MT acquires the RA according to the RA delivered by the network. The IPv6 address prefix and the DNS information in the IPv6 address information.
  3. 根据权利要求2所述的方法,其中,所述MT根据所述网络下发的所述RA获取所述IPv6地址信息中的所述IPv6地址前缀和所述DNS信息包括:The method of claim 2, wherein the acquiring, by the MT, the IPv6 address prefix and the DNS information in the IPv6 address information according to the RA that is sent by the network includes:
    所述MT确定所述RA指示的IPv6地址配置方式;Determining, by the MT, an IPv6 address configuration manner indicated by the RA;
    当所述MT确定所述IPv6地址配置方式为无状态配置时,从所述RA中获取所述IPv6地址前缀,以及,通过与所述网络之间进行动态主机配置协议DHCPv6交互过程获取所述DNS信息;和/或,When the MT determines that the IPv6 address configuration mode is a stateless configuration, the IPv6 address prefix is obtained from the RA, and the DNS is obtained by performing a dynamic host configuration protocol DHCPv6 interaction process with the network. Information; and/or,
    当所述MT确定所述IPv6地址配置方式为有状态配置时,通过与所述网络之间进行动态主机配置协议DHCPv6交互获取IPv6地址前缀和所述DNS信息。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.
  4. 根据权利要求2或3所述的方法,其中,所述MT将所述IPv6地址信息和所述DNS信息发送给所述TE包括:The method of claim 2 or 3, wherein the transmitting, by the MT, the IPv6 address information and the DNS information to the TE comprises:
    所述MT在与所述TE进行点到点协议PPP协商过程中,将所述IPv6接口标识发送给所述TE,其中,所述IPv6接口标识用于所述TE生成本地链路地址;The MT sends the IPv6 interface identifier to the TE in a 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;
    所述MT接收所述TE利用所述本地链路地址发送的第二RS消息;Receiving, by the MT, a second RS message sent by the TE by using the local link address;
    所述MT根据所述第二RS消息将所述IPv6地址前缀和所述DNS信息发送给所述TE。The MT sends the IPv6 address prefix and the DNS information to the TE according to the second RS message.
  5. 根据权利要求4所述的方法,其中,所述MT根据所述第二RS消息将所述IPv6地址前缀和所述DNS信息发送给所述TE包括:The method of claim 4, wherein the sending, by the MT, the IPv6 address prefix and the DNS information to the TE according to the second RS message comprises:
    所述MT根据所述第二RS消息将所述RA发送给所述TE,其中,所述RA用于指示IPv6地址配置方式; Sending, by the MT, the RA to the TE according to the second RS message, where the RA is used to indicate an IPv6 address configuration manner;
    当所述RA指示所述IPv6地址配置方式为无状态配置时,所述MT通过将所述IPv6地址前缀携带在所述RA中的方式将所述IPv6地址前缀发送给所述TE,以及,通过与所述TE进行动态主机配置协议DHCPv6交互将所述DNS信息发送给所述TE;和/或,When the RA indicates that the IPv6 address configuration mode is a stateless configuration, the MT sends the IPv6 address prefix to the TE by means of carrying the IPv6 address prefix in the RA, and Performing dynamic host configuration protocol DHCPv6 interaction with the TE to send the DNS information to the TE; and/or,
    当所述RA指示所述IPv6地址配置方式为有状态配置时,所述MT通过与所述TE进行动态主机配置协议DHCPv6交互将所述IPv6地址前缀和所述DNS信息发送给所述TE。When the RA indicates that the IPv6 address configuration mode is a stateful configuration, the MT sends the IPv6 address prefix and the DNS information to the TE by performing dynamic host configuration protocol DHCPv6 interaction with the TE.
  6. 根据权利要求4所述的方法,其中,在所述TE接入所述网络之后,所述方法还包括:The method of claim 4, wherein after the TE accesses the network, the method further comprises:
    所述MT在确定所述TE需要断网时,进行断网处理,其中,所述断网处理包括:断开所述MT与所述TE之间的进行所述PPP协商过程中建立的PPP链路,且维持所述MT与所述网络的连接。The MT performs a network disconnection process when determining that the TE needs to be disconnected from the network, where the network disconnection process includes: disconnecting a PPP chain established between the MT and the TE during the PPP negotiation process. And maintaining the connection of the MT to the network.
  7. 根据权利要求6所述的方法,其中,所述MT在进行所述断网处理之后,所述方法还包括:The method of claim 6, wherein the method further comprises: after performing the disconnection process, the method further comprises:
    所述MT在确定所述TE需要通过所述MT重新接入所述网络时,所述MT重复执行将所述IPv6地址信息和所述DNS信息发送给所述TE的操作。When the MT determines that the TE needs to re-access the network by using the MT, the MT repeatedly performs an operation of sending the IPv6 address information and the DNS information to the TE.
  8. 一种网络连接装置,应用于移动终端MT中,包括:A network connection device is applied to the mobile terminal MT, including:
    获取模块,设置为获取网络分配的IPv6地址信息和域名服务器DNS信息;Obtaining a module, configured to obtain IPv6 address information assigned by the network and DNS information of the domain name server;
    发送模块,设置为当主机设备TE通过所述MT连接所述网络时,将所述IPv6地址信息和所述DNS信息发送给所述TE,其中,所述IPv6地址信息和所述DNS信息用于所述TE接入所述网络。a sending module, configured to: when the host device TE connects to the network by using the MT, send the IPv6 address information and the DNS information to the TE, where the IPv6 address information and the DNS information are used The TE accesses the network.
  9. 根据权利要求8所述的装置,其中,所述获取模块包括:The apparatus of claim 8, wherein the obtaining module comprises:
    第一获取单元,设置为在所述MT成功附着所述网络后,从本地空口协议栈中获取所述IPv6地址信息中的IPv6接口标识;以及,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
    第一发送单元,设置为向所述网络发送第一路由请求RS消息,其中,所述第一RS消息用于触发所述网络下发路由通告RA;第二获取单元,设置为所述MT根据所述网络下发的所述RA获取所述IPv6地址信息中的IPv6地址前缀和所述DNS信息。a first 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 be configured according to the MT The RA delivered by the network acquires an IPv6 address prefix and the DNS information in the IPv6 address information.
  10. 根据权利要求9所述的装置,其中,所述第二获取单元包括:The apparatus of claim 9, wherein the second obtaining unit comprises:
    确定子单元,设置为确定所述RA指示的IPv6地址配置方式;Determining a subunit, configured to determine an IPv6 address configuration manner indicated by the RA;
    第一获取子单元,设置为当确定所述IPv6地址配置方式为无状态配置时,从所述RA中获取所述IPv6地址前缀,以及,通过与所述网络之间进行动态主机配置协议DHCPv6交互过程获取所述DNS信息;和/或,第二获取子单元,设置为当确定所述IPv6地址配置方式为有状态配置时,通过与所述网络之间进行动态主机配置协议DHCPv6交互获取IPv6地址前缀和所述DNS信息。 a first obtaining sub-unit, configured to: obtain the IPv6 address prefix from the RA when determining that the IPv6 address configuration mode is a stateless configuration, and perform a dynamic host configuration protocol DHCPv6 interaction with the network The process obtains the DNS information; and/or the second obtaining sub-unit is configured to obtain an IPv6 address by performing dynamic host configuration protocol DHCPv6 interaction with the network when determining that the IPv6 address configuration mode is a stateful configuration. The prefix and the DNS information.
  11. 根据权利要求9或10所述的装置,其中,所述发送模块包括:The apparatus according to claim 9 or 10, wherein the transmitting module comprises:
    第二发送单元,设置为在与所述TE进行点到点协议PPP协商过程中,将所述IPv6接口标识发送给所述TE,其中,所述IPv6接口标识用于所述TE生成本地链路地址;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 identifier is used by the TE to generate a local link address;
    接收单元,设置为接收所述TE利用所述本地链路地址发送的第二RS消息;a receiving unit, configured to receive a second RS message sent by the TE by using the local link address;
    第三发送单元,设置为根据所述第二RS消息将所述IPv6地址前缀和所述DNS信息发送给所述TE。The third sending unit is configured to send the IPv6 address prefix and the DNS information to the TE according to the second RS message.
  12. 根据权利要求11所述的装置,其中,所述第三发送单元包括:The apparatus of claim 11, wherein the third transmitting unit comprises:
    第一发送子单元,设置为根据所述第二RS消息将所述RA发送给所述TE,其中,所述RA用于指示IPv6地址配置方式;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;
    第二发送子单元,设置为当所述RA指示所述IPv6地址配置方式为无状态配置时,通过将所述IPv6地址前缀携带在所述RA中的方式将所述IPv6地址前缀发送给所述TE,以及,通过与所述TE进行动态主机配置协议DHCPv6交互将所述DNS信息发送给所述TE;和/或,第三发送子单元,设置为当所述RA指示所述IPv6地址配置方式为有状态配置时,通过与所述TE进行动态主机配置协议DHCPv6交互将所述IPv6地址前缀和所述DNS信息发送给所述TE。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 When the configuration is stateful, the IPv6 address prefix and the DNS information are sent to the TE by performing dynamic host configuration protocol DHCPv6 interaction with the TE.
  13. 根据权利要求11所述的装置,其中,所述装置还包括处理模块,设置为在所述TE接入所述网络之后,且确定所述TE需要断网时,进行断网处理,其中,所述断网处理包括:断开所述MT与所述TE之间的进行所述PPP协商过程中建立的PPP链路,且维持所述MT与所述网络的连接。The device according to claim 11, wherein the device further comprises a processing module, configured to perform a network disconnection process after the TE accesses the network, and determines that the TE needs to be disconnected from the network, where The disconnection network processing includes: disconnecting the PPP link established between the MT and the TE during the PPP negotiation, and maintaining the connection between the MT and the network.
  14. 根据权利要求13所述的装置,其中,所述处理模块还设置为在进行所述断网处理之后,且确定所述TE需要通过所述MT重新接入所述网络时,重复执行将所述IPv6地址信息和所述DNS信息发送给所述TE的操作。 The apparatus according to claim 13, wherein the processing module is further configured to: after performing the disconnection process, and determining that the TE needs to re-access the network through the MT, repeating performing the The IPv6 address information and the operation of the DNS information are sent to the TE.
PCT/CN2016/102316 2016-03-25 2016-10-18 Network connection method and device WO2017161866A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610177703.0A CN107231704A (en) 2016-03-25 2016-03-25 Method for connecting network and device
CN201610177703.0 2016-03-25

Publications (1)

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

Family

ID=59899165

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102316 WO2017161866A1 (en) 2016-03-25 2016-10-18 Network connection method and device

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830948A (en) * 2018-06-11 2018-11-16 苟红俊 Vehicle-mounted money machine
CN112449752A (en) * 2018-12-26 2021-03-05 华为技术有限公司 IPv6 address configuration method and routing equipment
CN114363882A (en) * 2021-12-31 2022-04-15 展讯半导体(成都)有限公司 Data card switching method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805430A (en) * 2005-01-13 2006-07-19 联发科技股份有限公司 IP configuration and setting negotiation method, apparatus, terminal, and mobile terminal
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 (en) * 2010-01-18 2010-07-14 华为终端有限公司 Parameter configuration method, mobile terminal and terminal equipment
CN103379188A (en) * 2012-04-24 2013-10-30 联发科技股份有限公司 Apparatuses and methods for IPv6 address acquisition
CN103905580A (en) * 2012-12-29 2014-07-02 重庆重邮信科通信技术有限公司 Method and system for allowing PC to configure network addresses and send and receive data through mobile terminal
CN103973829A (en) * 2013-02-05 2014-08-06 联发科技股份有限公司 Method for acquiring server address, and mobile communication apparatus thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805430A (en) * 2005-01-13 2006-07-19 联发科技股份有限公司 IP configuration and setting negotiation method, apparatus, terminal, and mobile terminal
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 (en) * 2010-01-18 2010-07-14 华为终端有限公司 Parameter configuration method, mobile terminal and terminal equipment
CN103379188A (en) * 2012-04-24 2013-10-30 联发科技股份有限公司 Apparatuses and methods for IPv6 address acquisition
CN103905580A (en) * 2012-12-29 2014-07-02 重庆重邮信科通信技术有限公司 Method and system for allowing PC to configure network addresses and send and receive data through mobile terminal
CN103973829A (en) * 2013-02-05 2014-08-06 联发科技股份有限公司 Method for acquiring server address, and mobile communication apparatus thereof

Also Published As

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

Similar Documents

Publication Publication Date Title
EP2469961B1 (en) Method, apparatus and network system for tunnel establishment
EP3000214B1 (en) Method for establishing device-to-device communication
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
WO2017124838A1 (en) Transmission channel establishment method, mme, network element device, system and storage medium
EP2879419B1 (en) Ipv6 address stateless auto-configuration system, data card, and implementation method thereof
JP4638539B2 (en) How to set up a communication device
EP3662638B1 (en) Transport method selection for delivery of server notifications
WO2006031463A2 (en) System and method for network-assisted connection in a wireless environment
GB2482268A (en) Mobile terminal and peer-to-peer mode based data transmission method thereof
WO2014067420A1 (en) Packet data network type management method, device, and system
EP2926575B1 (en) Device connectivity management for machine type communications
WO2017161866A1 (en) Network connection method and device
WO2013185696A2 (en) Data processing method and device
EP1817892B1 (en) Method and system for opening a network link
EP1785004A1 (en) Method and device to support session continuity
CN102984294A (en) IPv6 DNS address distribution and acquisition method and device
CN105792385B (en) Communication method and device based on wireless local area network
WO2014169590A1 (en) Data service communication method, device, and system
US20170311135A1 (en) Control Signaling Transmission Method in MCPTT Architecture and Related Device
WO2009038280A1 (en) Method and system for allocating ipv6 global addresses
WO2013020283A1 (en) Method, data gateway and system for processing addresses
WO2013097194A1 (en) Method, system and device for triggering 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