WO2017166038A1 - 通信方法和终端 - Google Patents
通信方法和终端 Download PDFInfo
- Publication number
- WO2017166038A1 WO2017166038A1 PCT/CN2016/077633 CN2016077633W WO2017166038A1 WO 2017166038 A1 WO2017166038 A1 WO 2017166038A1 CN 2016077633 W CN2016077633 W CN 2016077633W WO 2017166038 A1 WO2017166038 A1 WO 2017166038A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- terminal
- gateway
- external network
- mac
- Prior art date
Links
Images
Definitions
- the present invention relates to the field of communications, and in particular, to a communication method and terminal in the field of communications.
- FIG. 1 shows a schematic diagram of a network of two wireless routers.
- the gateway built in the first wireless router is connected to the external network, and the second wireless router is connected to the first wireless router through the network cable.
- the terminal can access the local area network through the wireless network signal of the first wireless router or the second wireless router.
- IP Internet Protocol
- the terminal After obtaining the IP address of the gateway, the terminal first needs to perform an Address Resolution Protocol (ARP) resolution on the IP address to obtain a MAC (Media Access Control) address corresponding to the gateway. And sending data to the gateway according to the parsed MAC address.
- ARP Address Resolution Protocol
- an IP address has a unique MAC address corresponding to it.
- the data of the terminal may be sent to the wrong gateway. Therefore, users will find that terminals in the LAN will sometimes be able to access the Internet, sometimes unable to access the Internet, affecting the user experience.
- the embodiment of the invention provides a communication method and a terminal to improve user experience.
- a communication method including: determining, by a terminal in a local area network, a network protocol IP address of a target gateway of the local area network; and determining, by the terminal, a media access control MAC address according to the IP address, where the MAC address includes Multiple MAC addresses; the terminal is from the plurality Among the plurality of devices corresponding to the MAC addresses, a target device capable of implementing network interconnection is determined; the terminal determines the target device as the target gateway.
- the target device capable of implementing network interconnection is determined from multiple devices corresponding to the multiple MAC addresses, and the target is obtained.
- the device is determined to be the target gateway, so that the terminal does not need user setting, and can automatically determine the target gateway, thereby improving the user experience.
- the determining, by the terminal, the MAC address corresponding to the IP address includes: the terminal sending an address resolution protocol ARP request packet to each device of the local area network, where the ARP request packet includes the An IP address; the terminal receives a reply message of each device, where the reply message includes a MAC address of a device corresponding to the IP address.
- the communications method further includes: the terminal binding the IP address and the MAC address of the target gateway to the static ARP.
- the multiple gateways are respectively located in multiple routers.
- the determining, by the terminal, the target gateway that can connect to the external network includes: the terminal, the IP address, and the first gateway of the multiple gateways. MAC address binding, where the first gateway is any one of the multiple gateways; the terminal determines whether the first gateway can connect to the external network; when it can connect through the first gateway In the external network, the terminal determines the first gateway as the target gateway.
- a terminal comprising means for performing the communication method of the first aspect.
- the terminal comprising means for performing the communication method of the first aspect.
- a terminal comprising a memory and a processor.
- the memory is for storing a program for executing a program.
- the processor is configured to perform the communication method of the first aspect when the program is executed.
- a system chip including an input interface, an output interface, at least one processor, and a memory, where the input interface, the output interface, the processor, and the memory are directly connected by a bus, and the processor is configured to execute The code in the memory, when the code is executed, the processor implements the communication method in the first aspect.
- the implementation of the system chip can refer to the implementation of the method, and the repeated description will not be repeated.
- a computer readable medium storing program code for execution by a terminal, the program code for executing instructions of the communication method of the first aspect, where the repetition is not repeated .
- FIG. 1 is a schematic diagram of networking of a communication method according to an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a system chip according to an embodiment of the present invention.
- GSM Global System of Mobile communication
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- GPRS General Packet Radio Service
- LTE Long Term Evolution
- FDD Frequency Division Duplex
- TDD Time Division Duplex
- UMTS Universal Mobile Telecommunication System
- WiMAX Worldwide Interoperability for Microwave Access
- a terminal may be referred to as a user equipment (User Equipment, referred to as "UE"), a mobile station (Mobile Station, abbreviated as "MS”), a mobile terminal (Mobile Terminal), a computer, Microcomputer and so on.
- the terminal may communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal may be a mobile phone (or "cellular" phone), with a mobile terminal.
- RAN Radio Access Network
- Computers and the like for example, may also be portable, pocket-sized, hand-held, computer-integrated or in-vehicle mobile devices that exchange voice and/or data with the wireless access network.
- the terminal further includes a terminal with wired access with multiple bearer features.
- the local area network in the embodiment of the present invention may be a wired local area network or a wireless local area network.
- the local area network in the embodiment of the present invention may be jointly established by a wired network and a wireless network.
- multiple routers can be used for networking to ensure that the network signal covers the entire area. Since the gateway is usually integrated in the router in the prior art. Therefore, one of the multiple routers can be connected to the external network through the built-in gateway. Other routers only use the routing function, and the built-in gateway is actually not used. Normally, especially when the routers come from the same brand, the IP addresses of the default gateways set by multiple routers are usually the same. The IP address can usually be the IP address of the router. For example, the vendor usually uses the default gateway of the router. The IP address is set to 192.168.0.1.
- the gateway built in the first wireless router in FIG. 1 is connected to the external network through a Wide Area Network (WAN) interface, and the local area network of the first wireless router (LAN, Local Area Network)
- WAN Wide Area Network
- LAN Local Area Network
- the interface is connected to the LAN interface of the second wireless router through a network cable, and the first wireless router and the second wireless router are jointly connected, but only the gateway built in the first wireless router is connected to the external network.
- the IP address of the gateway needs to be parsed to obtain the media access control (MAC) address of the gateway, and the process of obtaining the MAC address from the IP address, that is, the address resolution protocol. (ARP, Address Resolution Protocol) resolution.
- ARP Address Resolution Protocol
- IP addresses of the default gateways set by the first wireless router and the second wireless router are the same, then an IP address corresponding to the two MAC addresses will appear under the network, when the ARP resolves to the MAC address of the gateway of the first wireless router. If the first wireless router receives the data sent by the user, it can pass through the network of the first wireless router.
- the second wireless router Close to the external network, if the second wireless router receives the data sent by the user, the second wireless router forwards the data to the first wireless router, and then connects to the external network through the gateway of the first wireless router; when the ARP resolves to the second wireless router
- the MAC address of the gateway if the second wireless router receives the data sent by the user, the second wireless router attempts to connect to the external network through its own gateway, and does not forward the data to the first wireless router, but because of the second wireless router
- the gateway is not connected to the external network, so the connection to the external network fails.
- User data will be sent to the wrong place with a 50% probability, so there is a 50% chance that the Internet will not be available. Moreover, the more routers in the network in the local area network, the greater the probability that user data is sent incorrectly, which affects the user experience.
- the first wireless router and the second wireless router belong to the same local area network, and the gateways of multiple routers in the same local area network have the same IP address (for example, 192.168.0.1), but each router The MAC address of the corresponding gateway is different; it is assumed that the MAC address of the gateway GW1 of the first wireless router is mac1; the MAC address of the GW2 of the second wireless router is mac2; when the terminal is connected to any router (the terminal may be connected to the first wireless router) It is also possible to connect to the second wireless router. The terminal will obtain the IP address of the local area network (for example, 192.168.0.1).
- the IP address of the gateway will be first used (for example, 192.168. 0.1) Get the MAC address by ARP parsing.
- the routers in the local area network respectively reply the message to the terminal that sends the ARP request packet, and the reply message carries its own MAC address; the terminal selects the MAC address carried in the first received message, and passes the The gateway corresponding to the MAC address is connected to the external network.
- the MAC addresses corresponding to the first wireless router and the second wireless router are mac1 and mac2, respectively.
- ARP parsing obtains mac1
- the terminal can access the Internet; if the second wireless router is connected to the external network, the terminal cannot access the Internet. In the networking diagram of Figure 1, it is possible to access the Internet.
- ARP parsing obtains mac2
- the first wireless router is connected to the external network
- the terminal cannot access the Internet.
- the second wireless router is connected to the external network, the user can access the Internet.
- the embodiment of the present invention proposes a communication method, which can be performed by a terminal.
- the main idea of the method is that when the terminal accesses the local area network through the router, when the IP address of the gateway is obtained, if the IP address corresponds to the MAC address of multiple gateways, the active detection can be connected externally.
- the gateway of the network determines the target gateway that can connect to the external network from among the multiple gateways, communicates with the external network through the target gateway, and automatically determines the target gateway, thereby eliminating the user's operation and improving the user experience.
- the communication method 100 of the embodiment of the present invention is described below.
- the method 100 can be performed by a terminal.
- the method 100 includes:
- the terminal determines an IP address of a gateway of the accessed local area network.
- the foregoing terminal may be a terminal that accesses the local area network.
- the terminal can access the local area network through a wireless router, or can access the local area network by wire.
- the terminal determines the IP address of the gateway, and may determine the IP address by using a preset default setting, and may obtain the IP address by using other methods, which is not limited by the present invention.
- the terminal can obtain the IP address of the gateway from the router through the Dynamic Host Configuration Protocol (DHCP), or the terminal can manually input the IP address of the gateway through the user.
- DHCP Dynamic Host Configuration Protocol
- the terminal determines a MAC address corresponding to the IP address, where the IP address corresponds to multiple MAC addresses, and the multiple MAC addresses are in one-to-one correspondence with multiple gateways of the local area network;
- the terminal determines the MAC address corresponding to the IP address, and the terminal may send the ARP request packet to each device in the local area network, or the terminal broadcasts the ARP request packet to all hosts on the local network.
- each device in the local area network determines whether the IP address in the ARP request packet matches the IP address of the local device. If it does not match, it will not respond. If it matches, the terminal sends a message to the terminal that sends the ARP request packet, and the reply message carries the MAC address matching the IP address. After receiving the reply message, the terminal can determine the MAC address of the gateway that matches the IP address.
- the multiple gateways may be located in multiple routers.
- the above multiple routers may also be wireless routers.
- the terminal determines, from the multiple gateways, a target gateway that can connect to the external network.
- the external network may be other networks than the local area network.
- the external network may be the Internet, or the external network may be other local area networks.
- the method for determining, by the terminal, the target gateway that can connect to the external network from the multiple gateways after the terminal determines the MAC addresses of the multiple gateways corresponding to the IP address, the terminal sequentially performs the IP address with multiple gateways.
- the MAC address is bound, and after each binding of the gateway's MAC address, the terminal tests whether it can connect to the external network through the bound gateway. If it can connect to the external network, the terminal ends.
- the terminal determines the gateway as a target gateway, and can perform static ARP binding on the IP address and the MAC address of the target gateway. If the external network cannot be connected, the terminal re-binds the IP address with the MAC address of the next gateway until the target gateway is determined or until all gateways have been tested.
- the terminal tests whether the external network can be connected through the bound gateway, and the terminal can test whether the Internet can be connected through the bound gateway. You can test whether you can connect to well-known websites such as Baidu and Google.
- the terminal communicates with the external network by using the target gateway.
- the terminal after determining a plurality of MAC addresses corresponding to the IP address of the gateway of the accessed local area network, the terminal determines, from the plurality of devices corresponding to the multiple MAC addresses, the target device that can connect to the external network, and The target device is determined as the target gateway, so that the terminal does not need user setting, and the target gateway can be automatically determined, thereby improving the user experience.
- the process includes:
- the terminal accesses the local area network through any router, and acquires the IP address of the gateway of the local area network;
- the terminal performs ARP detection according to the IP address (for example, it may be a broadcast ARP probe packet);
- the terminal If the terminal receives multiple MAC addresses of the ARP probe packet, it indicates that there are multiple gateways in the LAN corresponding to the IP address, and the multiple gateways can be named as GW1, GW2...
- the terminal performs static ARP binding on the IP address and the MAC address of GW1, and accesses the external network (for example, accessing well-known websites such as Baidu or Google) to determine whether it can connect to the external network through GW1.
- the external network for example, accessing well-known websites such as Baidu or Google
- GW1 can connect to the external network, determine GW1 as the target gateway, and the process ends; if GW1 cannot connect to the external network, proceed to the next step;
- the terminal performs static ARP binding on the IP address and the MAC address of the next gateway, and determines whether the external network can be accessed until it is determined to access the target gateway of the external network; or after testing all gateways, if all gateways cannot access the Internet , then do not bind any gateway, end the process.
- the external network may be preferentially connected through the determined target gateway. If the target gateway changes due to network networking changes or other reasons, the terminal determines When the external network cannot be connected through the determined target gateway, the terminal may perform step 120 and step 130 again to re-determine the MAC address of the target gateway, and then connect to the external network through the re-determined target gateway.
- the terminal when the IP address of the gateway corresponds to the MAC address of multiple gateways, the terminal automatically detects and binds the target gateway that can connect to the external network, so that the user can normally connect in the case of multiple gateways. Net, improving the user experience.
- FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention. It should be understood that the terminal 200 of FIG. 2 is capable of performing the various steps of the communication method performed by the terminal in the foregoing, and in order to avoid repetition, it will not be described in detail herein.
- the terminal 200 includes:
- a memory 210 configured to store a program
- a processor 220 configured to execute a program stored in the memory 310, when the program is executed, the processor 320 is configured to determine an IP address of a gateway of a local area network accessed by the terminal; determining the IP a MAC address corresponding to the address, wherein the IP address corresponds to a plurality of MAC addresses, the plurality of MAC addresses are in one-to-one correspondence with the plurality of gateways of the local area network; and the target capable of connecting to the external network is determined from the plurality of gateways a gateway that controls the terminal to communicate with the external network through the target gateway.
- the principle of the terminal is similar to the communication method in the method embodiment of the present invention. Therefore, the implementation of the terminal can refer to the implementation of the method, and the repeated description is not repeated.
- the terminal determines the MAC address corresponding to the IP address of the target gateway, and the MAC address includes multiple MAC addresses, determining that the network interconnection can be implemented from multiple devices corresponding to the multiple MAC addresses.
- the target device determines the target device as the target gateway, so that the terminal does not need user setting, and can automatically determine the target gateway, thereby improving the user experience.
- FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- the modules in the terminal of Figure 3 may be part of the processor of Figure 2. It should be understood that the terminal 300 of FIG. 3 is capable of performing the various steps of the communication method performed by the terminal in the foregoing, and in order to avoid repetition, it will not be described in detail herein.
- the terminal 300 includes:
- the first determining module 310 is configured to determine an IP address of a gateway of a local area network accessed by the terminal;
- a second determining module 320 configured to determine a MAC address corresponding to the IP address, where the IP address corresponds to multiple MAC addresses, and the multiple MAC addresses and multiple networks of the local area network Close one-to-one correspondence;
- a third determining module 330 configured to determine, from the multiple gateways, a target gateway that can connect to the external network
- the communication module 340 is configured to control the terminal to communicate with the external network by using the target gateway.
- the principle of the terminal is similar to the communication method in the method embodiment of the present invention. Therefore, the implementation of the terminal can refer to the implementation of the method, and the repeated description is not repeated.
- the terminal determines the MAC address corresponding to the IP address of the target gateway, and the MAC address includes multiple MAC addresses, determining that the network interconnection can be implemented from multiple devices corresponding to the multiple MAC addresses.
- the target device determines the target device as the target gateway, so that the terminal does not need user setting, and can automatically determine the target gateway, thereby improving the user experience.
- the system chip 400 of FIG. 4 includes an input interface 410, an output interface 420, at least one processor 430, a memory 440, and the input interface 410, the output interface 420, the processor 430, and the memory 440 are connected by a bus.
- the processor 430 is configured to execute code in the memory 440, and when the code is executed, the processor 430 implements a communication method performed by a terminal in the foregoing.
- system and “network” are used interchangeably herein.
- the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
- the character "/" in this article generally indicates that the contextual object is an "or" relationship.
- B corresponding to A means that B is associated with A, and B can be determined according to A.
- determining B from A does not mean that B is only determined based on A, and that B can also be determined based on A and/or other information.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a non-volatile computer readable storage medium.
- the lost storage medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一种通信方法和终端,包括:局域网中的终端确定局域网的网关的IP地址;终端确定IP地址对应的MAC地址,其中,IP地址对应多个MAC地址,多个MAC地址与多个网关一一对应;终端从多个网关中确定能够连接外网的目标网关;终端通过目标网关与外网通信。能够提高用户体验。
Description
本发明涉及通信领域,尤其涉及通信领域中的通信方法和终端。
随着通信技术的发展以及网络宽带的普及,在居室较多的家庭区域或者面积较大的办公区域中,可以使用两个或者更多的无线路由器进行组网,以保证无线网络信号覆盖到所有地方。并且现有技术中的无线路由器中通常集成有网关(GW,Gateway)。例如,图1示出了由两个无线路由器组网的示意图。其中第一无线路由器内置的网关与外网连接,第二无线路由器通过网线与第一无线路由器连接。终端通过第一无线路由器或者第二无线路由器的无线网络信号都可以接入局域网。如果局域网中的多个路由器的默认网关的网络协议(IP,Internet Protocol)地址相同时,在该局域网中将存在多个相同IP地址的网关,而真正能够联网的只有其中一个网关。例如,在图1所示的网络中,只有第一无线路由器内置的网关可以联网,第二无线路由器的网关并没有使用。
通常情况下,终端在获取网关的IP地址后,首先需要对该IP地址进行地址解析协议(ARP,Address Resolution Protocol)解析,以获取网关对应的媒体介入控制(MAC,Media Access Control)地址。并根据解析得到的MAC地址向网关发送数据。在正常的网络中,一个IP地址有唯一的MAC地址与之对应。而在上述组网情况下,出现了一个IP地址对应多个MAC地址的情况,则终端的数据有可能会被发送到错误的网关。所以用户会发现局域网中的终端会出现有时候能够上网,有时候不能上网的现象,影响用户体验。
发明内容
本发明实施例提供了一种通信方法和终端,以提高用户体验。
第一方面,提供了一种通信方法,包括:局域网中的终端确定所述局域网的目标网关的网络协议IP地址;所述终端根据所述IP地址确定媒体访问控制MAC地址,所述MAC地址包括多个MAC地址;所述终端从所述多
个MAC地址对应的多个设备中确定能够实现网络互联的目标设备;所述终端将所述目标设备确定为所述目标网关。
终端在确定目标网关的IP地址对应的MAC地址后,且该MAC地址包括多个MAC地址时,从多个MAC地址对应的多个设备中确定能够实现网络互连的目标设备,并将该目标设备确定为目标网关,从而终端无需用户设置,能够自动确定目标网关,提高了用户体验。
在一种可能的实现方式中,所述终端确定所述IP地址对应的MAC地址,包括:所述终端向所述局域网的各设备发送地址解析协议ARP请求包,所述ARP请求包包括所述IP地址;所述终端接收所述各设备的回复消息,所述回复消息包括对应所述IP地址的设备的MAC地址。
在一种可能的实现方式中,所述通信方法还包括:所述终端将所述IP地址和所述目标网关的MAC地址静态ARP绑定。
在一种可能的实现方式中,所述多个网关分别位于多个路由器中。
在一种可能的实现方式中,所述终端从所述多个网关中确定能够连接外网的目标网关,包括:所述终端将所述IP地址与所述多个网关中的第一网关的MAC地址绑定,其中,所述第一网关为所述多个网关中的任一网关;所述终端确定是否能够所述第一网关连接所述外网;当能够通过所述第一网关连接所述外网时,所述终端将所述第一网关确定为所述目标网关。
第二方面,提供了一种终端,所述终端包括用于执行第一方面的通信方法的模块。基于同一发明构思,由于该终端解决问题的原理与第一方面的方法设计中的方案对应,因此该终端的实施可以参见方法的实施,重复之处不再赘述。
第三方面,提供了一种终端,所述终端包括存储器、处理器。所述存储器用于存储程序,所述处理器用于执行程序。当所述程序被执行时,所述处理器用于执行第一方面的通信方法。基于同一发明构思,由于该终端解决问题的原理与第一方面的方法设计中的方案对应,因此该终端的实施可以参见方法的实施,重复之处不再赘述。
第四方面,提供了一种系统芯片,包括输入接口、输出接口、至少一个处理器、存储器,所述输入接口、输出接口、所述处理器以及存储器直接通过总线相连,所述处理器用于执行所述存储器中的代码,当所述代码被执行时,所述处理器实现第一方面中的通信方法。基于同一发明构思,由于该系
统芯片解决问题的原理与第一方面的方法设计中的方案对应,因此该系统芯片的实施可以参见方法的实施,重复之处不再赘述。
第五方面,提供了一种计算机可读介质,所述计算机可读介质存储用于终端执行的程序代码,所述程序代码用于执行第一方面的通信方法的指令,重复之处不再赘述。
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例的通信方法的组网示意图。
图2是本发明实施例的一种终端的示意性结构图。
图3是本发明实施例的另一种终端的示意性结构图。
图4是本发明实施例的系统芯片的示意性结构图。
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
应理解,本发明实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,简称为“GSM”)系统、码分多址(Code Division Multiple Access,简称为“CDMA”)系统、宽带码分多址(Wideband Code Division Multiple Access,简称为“WCDMA”)系统、通用分组无线业务(General Packet Radio Service,简称为“GPRS”)、长期演进(Long Term Evolution,简称为“LTE”)系统、LTE频分双工(Frequency Division Duplex,简称为“FDD”)系统、LTE时分双工(Time Division Duplex,简称为“TDD”)、通用移动通信系统(Universal Mobile Telecommunication System,简称为“UMTS”)或全球互联微波接入(Worldwide Interoperability for Microwave Access,简称为“WiMAX”)通信系统等。
应理解,在本发明实施例中,终端可称之为用户设备(User Equipment,简称为“UE”)、移动台(Mobile Station,简称为“MS”)、移动终端(Mobile Terminal),计算机,微机等。该终端可以经无线接入网(Radio Access Network,简称为“RAN”)与一个或多个核心网进行通信,例如,终端可以是移动电话(或称为“蜂窝”电话)、具有移动终端的计算机等,例如,终端还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。本发明对此并不限定,例如终端还包括具有多承载特征的有线接入的终端。
应理解,本发明实施例中的局域网可以是有线局域网,也可以是无线局域网。或者,本发明实施例中的局域网可以由有线网络和无线网络共同组建。
如上文所述,在某些面积较大的家庭区域或者办公区域中,可以使用多个路由器进行组网,以保证网络信号覆盖整个区域。由于现有技术中通常将网关集成在路由器中。所以,该多个路由器中的一个路由器可以通过内置的网关与外网连接。而其它路由器只是使用了路由的功能,内置其中的网关实际上并没有使用。而通常情况下,尤其是当路由器来自相同品牌时,多个路由器设置的默认网关的IP地址通常是相同的,该IP地址通常可以是路由器的IP地址,例如,厂商通常将路由器的默认网关的IP地址设置为192.168.0.1。所以,当局域网中有多个路由器组网时,该网络中可能会存在多个相同IP地址的网关,而真正能够上网的网关只有一个,网络中的终端根据IP地址有可能会连接到错误的网关,从而导致不能正常上网。
例如,在图1的组网示意图中,图1中的第一无线路由器内置的网关通过广域网(WAN,Wide Area Network)接口连接到外网,而第一无线路由器的局域网(LAN,Local Area Network)接口与第二无线路由器的LAN接口通过网线相连,第一无线路由器和第二无线路由器共同组网,但是只有第一无线路由器内置的网关连接外网。若用户需要将数据从终端发送到网关时,首先需要对网关的IP进行解析,以得到网关的媒体介入控制(MAC,Media Access Control)地址,从IP地址得到MAC地址的过程,即地址解析协议(ARP,Address Resolution Protocol)解析。若第一无线路由器和第二无线路由器设置的默认网关的IP相同,则在该网络下将出现一个IP地址对应两个MAC地址的情况,当ARP解析到第一无线路由器的网关的MAC地址时,如果第一无线路由器接收到用户发送的数据,可以通过第一无线路由器的网
关连接外网,如果第二无线路由器接收到用户发送的数据,第二无线路由器将数据转送至第一无线路由器,进而通过第一无线路由器的网关连接外网;当ARP解析到第二无线路由器的网关的MAC地址时,如果第二无线路由器接收到用户发送的数据,第二无线路由器尝试通过自身的网关连接外网,而不会将数据转送至第一无线路由器,但由于第二无线路由器的网关没有连接外网,因此连接外网失败。用户数据会有50%的概率发送到错误的地方,从而会有50%的概率不能上网。而且,局域网中的组网的路由器越多,用户数据发送错误的概率就越大,从而影响了用户体验。
例如,在图1的组网示意图中,第一无线路由器和第二无线路由器属于同一个局域网,同一个局域网内的多个路由器的网关的IP地址相同(例如,192.168.0.1),但各个路由器对应的网关的MAC地址不同;假设第一无线路由器的网关GW1的MAC地址为mac1;第二无线路由器的GW2的MAC地址为mac2;当终端连接任一个路由器(终端可能连接的是第一无线路由器,也可能连接第二无线路由器),终端都会获取到该局域网的IP地址(例如,192.168.0.1);这时候当终端数据需要发到网关时,首先会把网关的IP地址(例如,192.168.0.1)通过ARP解析得到MAC地址。局域网中的路由器收到ARP请求后,分别向发出ARP请求包的终端回复消息,在该回复消息中携带自身的MAC地址;终端选择最先收到的消息中所携带的MAC地址,并通过该MAC地址对应的网关连接外网。如图1所示,第一无线路由器和第二无线路由器对应的MAC地址分别为mac1和mac2。假如ARP解析得到了mac1,那么如果第一无线路由器连接着外网,终端就可以上网;如果第二无线路由器连接着外网,终端就不可以上网。在图1的组网示意图中就是可以上网。同样,假如ARP解析得到了mac2,那么如果第一无线路由器连接着外网,终端就不可以上网,如果第二无线路由器连接着外网,用户就可以上网。
考虑到用户的受专业知识和能力的限制,大部分用户只能做到插拔网线和修改路由器名称和密码这些简答的操作,对一些高级的设置不能掌握。所以遇到上文描述的情况时可能不能够及时发现问题所在并进行相应的处理。由此,本发明实施例提出了一种通信方法,该方法可以由终端执行。该方法的主要思想是,当终端通过路由器接入局域网之后,在获取到网关的IP地址时,如果该IP地址对应多个网关的MAC地址时,则主动探测能够连接外
网的网关,并从多个网关中确定能够连接外网的目标网关,通过该目标网关与外网进行通信,通过自动确定目标网关,免去了用户的操作,提高了用户体验。
下文描述了本发明实施例的通信方法100,该方法100可以由终端执行,如下所述,该方法100包括:
110,终端确定所接入的局域网的网关的IP地址;
需要说明的是,上述终端可以是接入该局域网的终端。该终端可以通过无线路由器接入该局域网,也可以通过有线接入该局域网。终端确定该网关的IP地址,可以是通过预先设置好的默认设置确定该IP地址,也可以通过其他方式获取该IP地址,本发明对此不作限定。例如,终端可以通过动态主机配置协议(DHCP,Dynamic Host Configuration Protocol)从路由器获取网关的IP地址,或者,终端也可以通过用户的手动输入该网关的IP地址。
120,所述终端确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与所述局域网的多个网关一一对应;
可选地,终端确定IP地址对应的MAC地址,可以是终端向局域网内的各设备发送ARP请求包,或者说,终端将该ARP请求包广播到本地网络上的所有主机上。局域网中的各设备在接收到ARP请求包之后,确定该ARP请求包中的IP地址是否与本机的IP地址匹配。如果不匹配,则不作回应。如果匹配,则向发出ARP请求包的终端回复消息,在该回复消息中携带与该IP地址匹配的MAC地址。终端接收到该回复消息之后,可以确定与该IP地址匹配的网关的MAC地址。
可选地,上述多个网关可以分别位于多个路由器中。上述多个路由器也可以为无线路由器。
130,所述终端从所述多个网关中确定能够连接外网的目标网关;
可选地,所述外网可以是除所述局域网之外的其它网络。例如,所述外网可以是因特网,或者,所述外网也可以是其它局域网。
可选地,终端从多个网关中确定能够连接外网的目标网关的具体方法,可以是终端在确定该IP地址对应的多个网关的MAC地址之后,将该IP地址依次与多个网关的MAC地址绑定,并且在每次绑定网关的MAC地址之后,终端测试是否能够通过绑定的网关连接外网,如果能够连接外网,则终
端将该网关确定为目标网关,并可以将该IP地址与该目标网关的MAC地址进行静态ARP绑定。如果不能连接外网,则终端重新将IP地址与下一个网关的MAC地址绑定,直至确定目标网关或者直至测试完所有网关。
可选地,终端测试是否能够通过绑定的网关连接外网,可以是终端测试是否能够通过绑定的网关连接因特网。可以测试是否可以连接百度、谷歌(Google)等知名网站。
140,所述终端通过所述目标网关与所述外网通信。
在本发明实施例中,终端在确定所接入的局域网的网关的IP地址对应的多个MAC地址后,从多个MAC地址对应的多个设备中确定能够连接外网的目标设备,并将该目标设备确定为目标网关,从而终端无需用户设置,能够自动确定目标网关,提高了用户体验。
下文将详细介绍本发明实施例的通信方法的具体实施例的流程。如下所述,假设终端位于由多个无线路由器组网的局域网中,该流程包括:
(1)终端通过任一路由器接入局域网,并获取该局域网的网关的IP地址;
(2)终端根据该IP地址,进行ARP检测(例如,可以是广播ARP探测包);
(3)如果终端接收到多个回应该ARP探测包的MAC地址,说明局域网中有多个网关与该IP地址对应,可以分别命名该多个网关为GW1、GW2…
(4)终端将IP地址与GW1的MAC地址进行静态ARP绑定,并访问外网(例如,访问百度或者谷歌等知名网站),确定是否能够通过GW1连接外网;
(5)如果GW1能够连接外网,则将GW1确定为目标网关,流程结束;如果GW1不能够连接外网,则继续下一步骤;
(6)终端将IP地址与下一个网关的MAC地址进行静态ARP绑定,并确定是否能够访问外网,直至确定能访问外网的目标网关;或者测试完所有网关,若所有网关都不能上网,则不绑定任何网关,结束流程。
可选地,当终端确定目标网关后,可以优先通过确定的目标网关连接外网。如果当由于组网方式变化或其他原因导致目标网关发生变化,终端确定
无法通过已确定的目标网关连接外网时,终端可以重新执行步骤120和步骤130,以重新确定目标网关的MAC地址,进而通过重新确定的目标网关连接外网。
在本发明实施例中,在网关的IP地址对应多个网关的MAC地址的情况下,终端通过自动检测并绑定能够连接外网的目标网关,保证用户在多网关的情况下可以正常连接外网,提高了用户体验。
上文结合图1详细描述了本发明实施例的通信方法,下文将结合图2详细描述本发明实施例的终端。
图2是本发明实施例的终端的示意性结构图。应理解,图2的终端200能够执行前文中由终端执行的通信方法的各个步骤,为了避免重复,此处不再详述。终端200包括:
存储器210,用于存储程序;
处理器220,用于执行所述存储器310中存储的程序,当所述程序被执行时,所述处理器320用于确定所述终端所接入的局域网的网关的IP地址;确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与所述局域网的多个网关一一对应;从所述多个网关中确定能够连接外网的目标网关;控制所述终端通过所述目标网关与所述外网通信。基于同一发明构思,由于该终端解决问题的原理与本发明方法实施例中的通信方法相似,因此该终端的实施可以参见方法的实施,重复之处不再赘述。
在本发明实施例中,终端在确定目标网关的IP地址对应的MAC地址后,且该MAC地址包括多个MAC地址时,从多个MAC地址对应的多个设备中确定能够实现网络互连的目标设备,并将该目标设备确定为目标网关,从而终端无需用户设置,能够自动确定目标网关,提高了用户体验。
图3是本发明实施例的终端的示意性结构图。图3中的终端中的各模块可以是图2中的处理器的组成部分。应理解,图3的终端300能够执行前文中由终端执行的通信方法的各个步骤,为了避免重复,此处不再详述。终端300包括:
第一确定模块310,用于确定所述终端所接入的局域网的网关的IP地址;
第二确定模块320,用于确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与所述局域网的多个网
关一一对应;
第三确定模块330,用于从所述多个网关中确定能够连接外网的目标网关;
通信模块340,用于控制所述终端通过所述目标网关与所述外网通信。
基于同一发明构思,由于该终端解决问题的原理与本发明方法实施例中的通信方法相似,因此该终端的实施可以参见方法的实施,重复之处不再赘述。
在本发明实施例中,终端在确定目标网关的IP地址对应的MAC地址后,且该MAC地址包括多个MAC地址时,从多个MAC地址对应的多个设备中确定能够实现网络互连的目标设备,并将该目标设备确定为目标网关,从而终端无需用户设置,能够自动确定目标网关,提高了用户体验。
图4是本发明实施例的系统芯片的示意性结构图。图4的系统芯片400包括输入接口410,输出接口420,至少一个处理器430,存储器440,所述输入接口410、输出接口420、所述处理器430以及存储器440之间通过总线相连,所述处理器430用于执行所述存储器440中的代码,当所述代码被执行时,所述处理器430实现前文中由终端执行的通信方法。
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本发明实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个非易失存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上某一实施例中的技术特征和描述,为了使申请文件简洁清楚,可以理解适用于其他实施例,在其他实施例不再一一赘述。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想
到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。
Claims (16)
- 一种通信方法,其特征在于,包括:终端确定所接入的局域网的网关的IP地址;所述终端确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与多个网关一一对应;所述终端从所述多个网关中确定能够连接外网的目标网关;所述终端通过所述目标网关与所述外网通信。
- 如权利要求1所述的通信方法,其特征在于,所述终端确定所述IP地址对应的MAC地址,包括:所述终端向所述局域网的各设备发送地址解析协议ARP请求包,所述ARP请求包包括所述IP地址;所述终端接收所述各设备的回复消息,所述回复消息包括对应所述IP地址的设备的MAC地址。
- 如权利要求1或2所述的通信方法,其特征在于,所述通信方法还包括:所述终端将所述IP地址和所述目标网关的MAC地址静态ARP绑定。
- 如权利要求1至3中任一项所述的方法,其特征在于,所述终端从所述多个网关中确定能够连接外网的目标网关,包括:所述终端将所述IP地址与所述多个网关中的第一网关的MAC地址绑定,其中,所述第一网关为所述多个网关中的任一网关;所述终端确定是否能够通过所述第一网关连接所述外网;当能够通过所述第一网关连接所述外网时,所述终端将所述第一网关确定为所述目标网关。
- 一种终端,其特征在于,包括:第一确定模块,用于确定所述终端所接入的局域网的网关的IP地址;第二确定模块,用于确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与所述局域网的多个网关一一对应;第三确定模块,用于从所述多个网关中确定能够连接外网的目标网关;通信模块,用于控制所述终端通过所述目标网关与所述外网通信。
- 如权利要求5所述的终端,其特征在于,所述第二确定模块具体用 于:向所述局域网的各设备发送地址解析协议ARP请求包,所述ARP请求包包括所述IP地址;接收所述各设备的回复消息,所述回复消息包括对应所述IP地址的设备的MAC地址。
- 如权利要求5或6所述的终端,其特征在于,所述终端还包括:绑定模块,用于将所述IP地址和所述目标网关的MAC地址静态ARP绑定。
- 如权利要求5至7中任一项所述的终端,其特征在于,所述第三确定模块具体用于:将所述IP地址与所述多个网关中的第一网关的MAC地址绑定,其中,所述第一网关为所述多个网关中的任一网关;确定是否能够通过所述第一网关连接所述外网;当能够通过所述第一网关连接所述外网时,将所述第一网关确定为所述目标网关。
- 一种终端,其特征在于,包括:存储器,所述存储器用于存储程序;处理器,所述处理器用于执行程序。当所述程序被执行时,所述处理器用于确定所述局域网的网关的网络协议IP地址;确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与多个网关一一对应;从所述多个网关中确定能够连接外网的目标网关;通过所述目标网关与所述外网通信。
- 如权利要求9所述的终端,其特征在于,所述处理器具体用于向所述局域网的各设备发送地址解析协议ARP请求包,所述ARP请求包包括所述IP地址;接收所述各设备的回复消息,所述回复消息包括对应所述IP地址的设备的MAC地址。
- 如权利要求8或10所述的终端,其特征在于,所述处理器具体用于将所述IP地址和所述目标网关的MAC地址静态ARP绑定。
- 如权利要求8至11中任一项所述的终端,其特征在于,所述处理器具体用于将所述IP地址与所述多个网关中的第一网关的MAC地址绑定,其中,所述第一网关为所述多个网关中的任一网关;确定是否能够通过所述第一网关连接所述外网;当能够通过所述第一网关连接所述外网时,所述终端将所述第一网关确定为所述目标网关。
- 一种存储介质,其特征在于,用于控制终端执行插入代码的方法,所述方法包括以下步骤:局域网中的所述终端确定所述局域网的网关的网络协议IP地址;所述终端确定所述IP地址对应的MAC地址,其中,所述IP地址对应多个MAC地址,所述多个MAC地址与多个网关一一对应;所述终端从所述多个网关中确定能够连接外网的目标网关;所述终端通过所述目标网关与所述外网通信。
- 如权利要求13所述的存储介质,其特征在于,所述终端确定所述IP地址对应的MAC地址,包括:所述终端向所述局域网的各设备发送地址解析协议ARP请求包,所述ARP请求包包括所述IP地址;所述终端接收所述各设备的回复消息,所述回复消息包括对应所述IP地址的设备的MAC地址。
- 如权利要求13或14所述的存储介质,其特征在于,所述通信方法还包括:所述终端将所述IP地址和所述目标网关的MAC地址静态ARP绑定。
- 如权利要求13至15中任一项所述的存储介质,其特征在于,所述终端从所述多个网关中确定能够连接外网的目标网关,包括:所述终端将所述IP地址与所述多个网关中的第一网关的MAC地址绑定,其中,所述第一网关为所述多个网关中的任一网关;所述终端确定是否能够通过所述第一网关连接所述外网;当能够通过所述第一网关连接所述外网时,所述终端将所述第一网关确定为所述目标网关。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680024794.2A CN107534585B (zh) | 2016-03-29 | 2016-03-29 | 通信方法和终端 |
PCT/CN2016/077633 WO2017166038A1 (zh) | 2016-03-29 | 2016-03-29 | 通信方法和终端 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/077633 WO2017166038A1 (zh) | 2016-03-29 | 2016-03-29 | 通信方法和终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017166038A1 true WO2017166038A1 (zh) | 2017-10-05 |
Family
ID=59963280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/077633 WO2017166038A1 (zh) | 2016-03-29 | 2016-03-29 | 通信方法和终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107534585B (zh) |
WO (1) | WO2017166038A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625589A (zh) * | 2021-09-15 | 2021-11-09 | 云茂互联智能科技(厦门)有限公司 | 一种设备控制方法、装置、电子设备和存储介质 |
CN117914649A (zh) * | 2023-12-22 | 2024-04-19 | 曙光云计算集团股份有限公司 | 网络通信系统、方法及装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114268383B (zh) * | 2021-12-21 | 2023-12-22 | 瑞德电子(信丰)有限公司 | 一种无线数据收发模块及其测试方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1754374A (zh) * | 2003-03-28 | 2006-03-29 | 思科技术公司 | 带有网关负载分配的网络地址转换 |
CN1961542A (zh) * | 2004-06-30 | 2007-05-09 | 松下电器产业株式会社 | 通信装置、通信设定方法、通信设定程序及记录通信设定程序的记录介质 |
WO2015063505A1 (en) * | 2013-11-01 | 2015-05-07 | Shared Band Limited | Bonding router |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694771A (zh) * | 2011-03-22 | 2012-09-26 | 上海艾泰科技有限公司 | 在网关dhcp服务端绑定ip-mac的方法及网关dhcp服务端 |
-
2016
- 2016-03-29 CN CN201680024794.2A patent/CN107534585B/zh active Active
- 2016-03-29 WO PCT/CN2016/077633 patent/WO2017166038A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1754374A (zh) * | 2003-03-28 | 2006-03-29 | 思科技术公司 | 带有网关负载分配的网络地址转换 |
CN1961542A (zh) * | 2004-06-30 | 2007-05-09 | 松下电器产业株式会社 | 通信装置、通信设定方法、通信设定程序及记录通信设定程序的记录介质 |
WO2015063505A1 (en) * | 2013-11-01 | 2015-05-07 | Shared Band Limited | Bonding router |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625589A (zh) * | 2021-09-15 | 2021-11-09 | 云茂互联智能科技(厦门)有限公司 | 一种设备控制方法、装置、电子设备和存储介质 |
CN113625589B (zh) * | 2021-09-15 | 2023-12-12 | 云茂互联智能科技(厦门)有限公司 | 一种设备控制方法、装置、电子设备和存储介质 |
CN117914649A (zh) * | 2023-12-22 | 2024-04-19 | 曙光云计算集团股份有限公司 | 网络通信系统、方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN107534585A (zh) | 2018-01-02 |
CN107534585B (zh) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10505908B2 (en) | System and method for automatic wireless connection between a portable terminal and a digital device | |
US20210160212A1 (en) | Client device address assignment following authentication | |
JP6726426B2 (ja) | 端末間のログイン不要方法及び装置 | |
US9451643B2 (en) | System and method for a multiple IP interface control protocol | |
US9515988B2 (en) | Device and method for split DNS communications | |
WO2019205952A1 (zh) | 一种信息处理方法及装置 | |
US9008041B2 (en) | Processing method supporting handover, communication apparatus, and communication system | |
KR20220005647A (ko) | Pdu 유형 설정 방법, ue 정책 설정 방법 및 관련 엔티티 | |
US20160344688A1 (en) | Communicating via IPv6-only Networks Using IPv4 Literal Identifiers | |
WO2020253631A1 (zh) | Ip地址的配置方法、设备及系统 | |
JP2015517232A (ja) | サービス指向アーキテクチャバスを介したインターネットプロトコル接続 | |
US20180123891A1 (en) | Method and apparatus for automatic networking of gateway device | |
WO2020038325A1 (zh) | 网络接入方法、无线终端接入设备以及下接设备 | |
JP5551805B2 (ja) | インターネットにアクセスする方法および装置 | |
US20160308824A1 (en) | Method for determining gre tunnel, gateway device, and access site | |
CN106507414B (zh) | 报文转发方法及装置 | |
WO2020132984A1 (zh) | 一种IPv6地址的配置方法及路由设备 | |
WO2017166038A1 (zh) | 通信方法和终端 | |
JP5914750B2 (ja) | パケット交換ネットワークへのアクセス方法、wlanアクセスシステム及びユーザ装置 | |
EP3267656B1 (en) | Methods and apparatuses for message processing during pppoe authentication | |
WO2013185696A2 (zh) | 一种数据处理的方法与设备 | |
CN110278558B (zh) | 报文的交互方法及wlan系统 | |
TW201611549A (zh) | 網路設備及其進行路由轉發的方法 | |
TW201114221A (en) | Method and system of smart detection and recovery | |
CN113473493A (zh) | 一种通信方法和装置 |
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: 16895819 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16895819 Country of ref document: EP Kind code of ref document: A1 |