WO2015058511A1 - 一种设置网络连接参数的方法和装置 - Google Patents
一种设置网络连接参数的方法和装置 Download PDFInfo
- Publication number
- WO2015058511A1 WO2015058511A1 PCT/CN2014/077002 CN2014077002W WO2015058511A1 WO 2015058511 A1 WO2015058511 A1 WO 2015058511A1 CN 2014077002 W CN2014077002 W CN 2014077002W WO 2015058511 A1 WO2015058511 A1 WO 2015058511A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network connection
- network
- connection mode
- currently accessed
- supported
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 106
- 230000004044 response Effects 0.000 claims description 37
- 238000012545 processing Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/407—Bus networks with decentralised control
- H04L12/413—Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
Definitions
- the present invention is based on a Chinese patent application with the application number 201310511978.X and the application date being 2013/10/25, and claims the priority of the Chinese patent application, the entire Chinese patent application The contents are incorporated herein by reference.
- the present disclosure relates to the field of Internet technologies, and in particular, to a method and apparatus for setting network connection parameters. Background technique
- routers have become a major network device in the Internet, and have also been rapidly developed and widely used.
- the router is the hub of data transmission in the Internet. It can select the best channel for data transmission according to the condition of the channel.
- a general router will provide a setup page for setting various parameters.
- a terminal such as a computer
- the terminal can log in to the router's setting page, and in the setting page, the network connection parameter (or external network connection parameter) is initially set, and then the terminal is You can connect to the Internet via a router for data transfer.
- PPOE Point-to-Point Protocol Over Ethernet
- the user can log in through the terminal.
- embodiments of the present disclosure provide a method and apparatus for setting network connection parameters.
- a method for setting network connection parameters including: acquiring a network connection mode supported by a network currently accessed;
- the obtaining a network connection manner supported by the currently accessed network includes:
- the network connection mode of receiving the corresponding response message is determined as the network connection mode supported by the currently accessed network.
- the at least one preset network connection manner corresponding to the discovery report is broadcasted in the currently accessed network.
- Text including:
- the discovery packet corresponding to the Ethernet peer-to-peer protocol PPPOE network connection mode and the dynamic host configuration protocol DHCP network connection mode are respectively broadcasted in the currently accessed network.
- the obtaining a network connection manner supported by the currently accessed network includes:
- the discovery packet corresponding to the second network connection mode is broadcasted in the currently accessed network, and when the second network connection mode is received, When the message is acknowledged, it is determined that the network connection mode supported by the currently accessed network is the second network connection mode.
- the obtaining a network connection manner supported by the currently accessed network includes:
- the network connection mode supported by the currently accessed network is obtained.
- the determining, according to the network connection mode supported by the currently accessed network, determining a network connection mode to be used including:
- the determining, according to the network connection mode supported by the currently accessed network, determining a network connection mode to be used including:
- the obtained network connection mode is determined as the network connection mode to be used.
- the determining, according to the network connection mode supported by the currently accessed network, determining a network connection mode to be used including:
- the default network connection mode is determined as the network connection mode to be used.
- the setting by using the network connection mode to be used, automatically setting network connection parameters, including: if the network connection mode to be used is a PPPOE network connection mode, obtaining an account used for PPPOE login Password; set the parameter value of the connection mode parameter item in the network connection parameter to PPPOE, and set the parameter value corresponding to the PPPOE account and the PPPOE password parameter item to the obtained account and password respectively;
- the network connection mode to be used is the DHCP network connection mode
- set the parameter value of the connection mode parameter item in the network connection parameter to DHCP.
- an apparatus for setting a network connection parameter comprising: an obtaining module, configured to acquire a network connection mode supported by a currently accessed network; a determining module, configured to determine, according to a network connection manner supported by the currently accessed network, a network connection manner to be used;
- the setting module is configured to automatically set the network connection parameter by using the network connection mode to be used.
- the acquiring module is configured to: broadcast, in the currently accessed network, at least one type of the discovery packet corresponding to the preset network connection mode; and determine, by using the network connection mode that the corresponding response message is received, The network connection mode supported by the currently accessed network; or
- the device is configured to broadcast the discovery packet corresponding to the Ethernet point-to-point protocol PPPOE network connection mode and the dynamic host configuration protocol DHCP network connection mode in the currently accessed network, and determine the network connection mode of the corresponding response message.
- the method is configured to: broadcast, in the currently accessed network, a discovery packet corresponding to the first network connection mode; if the response packet corresponding to the first network connection mode is received, determine the network connection supported by the currently accessed network The mode is the first network connection mode. If the response packet corresponding to the first network connection mode is not received, the discovery packet corresponding to the second network connection mode is broadcasted in the currently accessed network, and is received. Determining, by the second network connection mode, that the network connection mode supported by the currently accessed network is the second network connection mode; or
- the network connection mode supported by the currently accessed network is obtained.
- the determining module is configured to:
- the reply message that is sent by the terminal and that carries the selected network connection mode; the selected network connection mode carried in the reply message is determined as the network connection mode to be used; or
- the obtained network connection mode is determined as the network connection mode to be used.
- the default network connection mode is determined as the network connection mode to be used.
- the setting module is configured to: if the network connection mode to be used is a PPPOE network connection mode, obtain an account and a password for the PPPOE login; and set a parameter value of the connection mode parameter item in the network connection parameter Set to PPPOE, and set the parameter values corresponding to the PPPOE account and the PPPOE password parameter items to the obtained account and password respectively; or
- the network connection mode to be used is a DHCP network connection mode
- set the parameter value of the connection mode parameter item in the network connection parameter to DHCP.
- a network device including a memory, and one or more programs, wherein one or more programs are stored in a memory and configured to be processed by one or more Executing the one or more programs includes instructions for performing the following operations: Obtain the network connection mode supported by the currently connected network;
- the network connection mode supported by the currently accessed network is obtained, and the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network, and the network connection parameter is determined according to the network connection mode to be used.
- Set the settings so that you can set the network connection parameters according to the network connection modes supported in the currently connected network without clicking the multi-level option in the setup page. This can improve the efficiency of setting network connection parameters. .
- FIG. 1 is an exemplary flowchart of a method of setting network connection parameters, according to an exemplary embodiment
- FIG. 2 is a schematic diagram of a terminal display according to an exemplary embodiment
- FIG. 3 is an exemplary structural diagram of an apparatus for setting network connection parameters, according to an exemplary embodiment
- FIG. 4 is an exemplary structural diagram of a network device according to an exemplary embodiment.
- Embodiments of the present disclosure provide a method and apparatus for setting network connection parameters, which will be described in detail below with reference to the accompanying drawings.
- An embodiment of the present disclosure provides a method for setting a network connection parameter.
- the method may be applied to a network device. As shown in FIG. 1, the method may include the following steps:
- step 101 the network connection mode supported by the currently accessed network is obtained.
- step 102 the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network.
- the network connection parameters are automatically set by using the network connection mode to be used.
- the network connection mode supported by the currently accessed network is obtained, and the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network, and the network connection parameter is determined according to the network connection mode to be used.
- Set the settings so that you can set the network connection parameters according to the network connection modes supported in the currently connected network without clicking the multi-level option in the setup page. This can improve the efficiency of setting network connection parameters. .
- the embodiment of the present disclosure provides a method for setting a network connection parameter, and the execution body of the method may be any network device, such as a router, etc.
- the execution body of the method may be any network device, such as a router, etc.
- a detailed description of the solution is performed by using an execution host as a router.
- the processing of other network devices is similar to that of the router, and is not described in the embodiment of the present disclosure.
- step 101 the network connection mode supported by the network currently accessed is obtained, and the method in this embodiment may be used in the router.
- the currently accessed network may be the network to which the WAN (Wide Area Network) port of the device (router) is connected.
- the network connection mode is a method in which a terminal or a router accesses the Internet, and may include a DHCP (Dynamic Host Configuration Protocol) network connection method and a PPPOE network connection method.
- the DHCP network connection mode is a network connection mode in which the terminal can be assigned a ⁇ > address by the DHCP server in the network, so that the terminal can access the Internet through the IP address.
- the PPPOE network connection mode is that the PPPOE access server authenticates the terminal, and after the verification is passed, the terminal is assigned a ⁇ >address, so that the terminal can access the Internet connection mode through the ⁇ > address.
- the network connection mode supported by the network is the way the terminal or router can access the Internet in the network.
- the user can input the intranet ⁇ > address (such as 192.168.1.1) of the router in the address bar of the browser of the terminal (such as a computer), so that the terminal sends a setup page request to the router (for request display). Router settings page).
- the router After receiving the request for the setup page, the router authenticates the terminal (such as router account password verification), and sends the data of the setup page to the terminal after the verification is passed.
- the network connection mode supported by the currently accessed network is obtained, that is, the processing flow of the embodiment is started.
- the network connection mode supported by the network may be determined by whether the network corresponding to the network connection mode exists in the currently accessed network.
- At least one preset discovery message corresponding to the network connection mode is broadcasted in the currently accessed network.
- the preset network connection mode may be any network connection manner, such as a PPPOE network connection method and a DHCP network connection method.
- the discovery packet corresponding to the network connection mode may be a discovery packet of a network protocol (such as PPPOE or DHCP) on which the network connection mode is based.
- the discovery message is used to start the grip under the corresponding network protocol. Hand process to establish a network connection message.
- one or more network connection modes may be preset, and when the step 1 is performed, the discovery message corresponding to each preset network connection mode is broadcasted through the WAN port.
- the preset network connection manner may include a PPPOE network connection mode and a DHCP network connection mode.
- the processing of the first step may be: respectively, respectively, the PPPOE network connection mode and the DHCP network connection mode are respectively discovered in the currently accessed network. Message. That is, in the network that the router is currently accessing, the PPPOE discovery message and the DHCP discovery message are respectively broadcast.
- step 2 the network connection mode of receiving the corresponding response message is determined as the network connection mode supported by the currently accessed network.
- the corresponding server after the router broadcasts the discovery packet, the corresponding server returns a response packet of the corresponding network protocol to the router when receiving the discovery packet. For example, after receiving the DHCP discovery packet broadcast by the router, the DHCP server sends the packet to the router. The DHCP reply packet is returned. After receiving the PPPOE discovery packet broadcast by the router, the PPPOE access server returns a PPPOE response packet to the router. After receiving the response packet, the router determines the network connection mode corresponding to each response packet, that is, the network connection mode of the network protocol on which the response packet is based. The determined network connection mode is used as the network connection mode supported by the network currently connected by the router. If no response message is received within the predetermined duration, it can be considered that there is no supported network connection mode in the currently accessed network.
- the router may not perform a subsequent handshake process and does not reply to the response packet.
- the discovery packet corresponding to the first network connection mode is broadcasted in the currently accessed network.
- step 2 if the response packet corresponding to the first network connection mode is received, it is determined that the network connection mode supported by the currently accessed network is the first network connection mode.
- the discovery packet corresponding to the second network connection mode is broadcasted in the currently accessed network, and the second network connection mode is received.
- the response message is received, it is determined that the network connection mode supported by the currently accessed network is the second network connection mode.
- the first network connection mode is a preferential network connection mode
- the second network connection mode is a backup network connection mode.
- the first network connection mode and the second network connection mode may be any network connection manner, and may be arbitrarily set according to actual needs.
- the first network connection mode may be a PPPOE network connection mode
- the second network connection mode may be a DHCP network connection mode, that is, the PPPOE network connection mode is preferentially used.
- the second mode only the network connection mode supported by the currently accessed network is obtained. If the currently accessed network supports the first network connection mode, the first network connection mode is obtained. If the first network connection mode is not supported and the second network connection mode is supported, the second network connection mode is obtained.
- the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network, and the method in this embodiment can be used in the router.
- the router may be connected to the network supported by the currently accessed network according to a preset selection mechanism.
- the network connection mode to be used is automatically selected, for example, the priority of each network connection mode is set in advance, and the network connection mode with the highest priority among the network connection modes supported by the currently accessed network is set as the network to be used. Connection method.
- the network connection mode to be used can also be selected by the user, and the processing procedure can be as follows:
- the network selection request is sent to the terminal that requests the display of the setting page, and the network selection request carries the network connection modes supported by the currently accessed network, so that the terminal displays the network connections carried in the network selection request.
- Way options are provided.
- the network selection request is used to select a network connection mode to be used by the user.
- the router after the terminal requests the display setting page from the router, after the identity verification, the router sends the data of the setting page to the terminal, and performs the processing of the process in this embodiment, and proceeds to step 102.
- the network selection request may be sent to the terminal that displays the router setting page, and the obtained network connection manner supported by the currently accessed network is carried in the network selection request.
- the terminal After receiving the network selection request, the terminal may display a selection window, and display the options of each network connection method carried in the network selection request in the selection window.
- each network connection mode supported by the currently accessed network includes a PPPOE network connection mode and a DHCP network connection mode
- the router can record the PPPOE network connection mode and the DHCP network connection mode in the network selection request, and the terminal receives the network selection request after receiving the network selection request.
- the selection window the options for the PPPOE network connection method and the DHCP network connection method are displayed.
- step 2 the receiving terminal sends a reply message carrying the selected network connection mode.
- the reply message is a reply message to the network selection request.
- the user can select a network connection mode in the network connection mode displayed in the selection window, that is, the selected network connection mode, in which case the terminal generates a reply message, carries the selected network connection mode therein, and Send a reply message to the router.
- step 3 the selected network connection mode carried in the reply message is determined as the network connection mode to be used.
- the router can parse the reply message, obtain the network connection mode selected by the user carried therein, and then use the selected network connection mode as the network connection mode to be used.
- the obtained network connection mode may be directly determined as the network connection to be used. the way.
- the router determines the DHCP network connection mode as the network connection mode to be used.
- the default network connection mode is determined as the network connection mode to be used.
- the default network connection mode can be set arbitrarily according to actual needs.
- the default network connection mode can be set to the DHCP network connection mode.
- the DHCP network connection method is determined as the network connection method to be used.
- step 103 the network connection parameter is automatically set by using the network connection mode to be used, and the method in this embodiment can be used in the router.
- the network connection parameter may be a control parameter for the device to communicate with the external network, and may be referred to as an external network connection parameter or a WAN port parameter.
- step 103 For different network connection modes to be used, different settings can be made when the network connection parameters are automatically set.
- processing of step 103 can be as follows:
- step 1 if the network connection mode to be used is PPPOE network connection mode, obtain the account and password for PPPOE login.
- the router may send a PPPOE authentication information request to the terminal that requests the display page to be displayed.
- the terminal displays a PPPOE authentication information input window, as shown in FIG. 2, the user may be in the window.
- Enter the account and password used for PPPOE login that is, the broadband account and broadband password in the figure.
- This account and password can be registered by the network operator in advance. For example, the account and password of the Great Wall Broadband registered by the user can be used. Log in to the PPPOE access server of Great Wall Broadband.
- step 2 the parameter value of the connection mode parameter item in the network connection parameter is set to PPPOE, and the parameter values corresponding to the parameter items of the PPPOE account and the PPPOE password are respectively set to the obtained account number and password.
- the setting page of the router may include a setting interface of the network connection parameter, where the connection interface parameter may be included, and the parameter item may include various optional parameter values, such as PPPOE, DHCP. Etc., different parameter items correspond to different network connection modes.
- the network connection of the corresponding network connection mode is automatically established according to the parameter value of the parameter item.
- the parameter value of the connection mode parameter item is set to PPPOE
- the PPPOE network connection is automatically established when the router starts up.
- the parameter value corresponding to the parameter of the corresponding PPPOE account and the PPPOE password can also be obtained, used for PPPOE login. In this case, the account and password carried in the reply message can be obtained.
- the network connection method to be used is DHCP network connection mode
- set the parameter value of the connection mode parameter in the network connection parameter to DHCP.
- the setting page of the router may include a setting interface of the network connection parameter, where the connection interface parameter may be included, and the parameter item may include various optional parameter values, such as PPPOE, DHCP. Etc., different parameter items correspond to different network connection modes.
- the network connection of the corresponding network connection mode is automatically established according to the parameter value of the parameter item.
- the parameter value of the connection mode parameter item is set to DHCP
- the DHCP network connection is automatically established when the router starts.
- the parameter value of the connection mode parameter item can be automatically set by the router, and the router can establish a network connection according to the corresponding parameter value, so that the user does not need to click the level one level option in the router setting page. To complete the corresponding settings, you can effectively improve the efficiency of setting network connection parameters.
- the network connection mode supported by the currently accessed network is obtained, and the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network, and the network connection parameter is determined according to the network connection mode to be used.
- Set the settings so that you can set the network connection parameters according to the network connection modes supported in the currently connected network without clicking the multi-level option in the setup page. This can improve the efficiency of setting network connection parameters. .
- an embodiment of the present disclosure provides an apparatus for setting network connection parameters. As shown in FIG. 3, the apparatus includes:
- the obtaining module 310 is configured to obtain a network connection manner supported by the currently accessed network.
- the determining module 320 is configured to determine, according to the network connection manner supported by the currently accessed network, a network connection mode to be used;
- the setting module 330 is configured to automatically set network connection parameters by using the network connection mode to be used.
- the acquiring module 310 is configured to: broadcast, in the currently accessed network, at least one type of the discovery packet corresponding to the preset network connection mode; and determine the network connection mode of the corresponding response message to be determined. a network connection mode supported by the currently accessed network; or
- the device is configured to broadcast the discovery packet corresponding to the Ethernet point-to-point protocol PPPOE network connection mode and the dynamic host configuration protocol DHCP network connection mode in the currently accessed network, and determine the network connection mode of the corresponding response message.
- the method is configured to: broadcast, in the currently accessed network, a discovery packet corresponding to the first network connection mode; if the response packet corresponding to the first network connection mode is received, determine the network connection supported by the currently accessed network The mode is the first network connection mode. If the response packet corresponding to the first network connection mode is not received, the discovery packet corresponding to the second network connection mode is broadcasted in the currently accessed network, and is received. Determining, by the second network connection mode, that the network connection mode supported by the currently accessed network is the second network connection mode; or
- the network connection mode supported by the currently accessed network is obtained.
- the determining module 320 is configured to:
- the reply message that is sent by the terminal and that carries the selected network connection mode; the selected network connection mode carried in the reply message is determined as the network connection mode to be used; or If the network connection mode supported by the currently accessed network is only one type, the obtained network connection mode is determined as the network connection mode to be used; or
- the default network connection mode is determined as the network connection mode to be used.
- the setting module 330 is configured to:
- the network connection mode to be used is the PPPOE network connection mode
- obtain the account and password for the PPPOE login ; set the parameter value of the connection mode parameter item in the network connection parameter to PPPOE, and set the PPPOE account and the PPPOE password.
- the parameter values corresponding to the parameter items are respectively set to the obtained account number and password; or
- the network connection mode to be used is a DHCP network connection mode
- set the parameter value of the connection mode parameter item in the network connection parameter to DHCP.
- the network connection mode supported by the currently accessed network is obtained, and the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network, and the network connection parameter is determined according to the network connection mode to be used.
- Set the settings so that you can set the network connection parameters according to the network connection modes supported in the currently connected network without clicking the multi-level option in the setup page. This can improve the efficiency of setting network connection parameters. .
- the network device 1000 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or More than one storage medium 1930 storing data 1942 or data 1944 (eg, one or one storage device in Shanghai).
- CPUs central processing units
- the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
- the program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations on the network device.
- central processor 1922 can be arranged to communicate with storage medium 1930, executing a series of instruction operations in storage medium 1930 on network device 1900.
- Network device 1000 may also include one or more power sources 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems. 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
- Network device 1000 which may be a network device such as a router, including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one by one or more processors Or more than one program contains instructions for doing the following:
- the obtaining a network connection manner supported by the currently accessed network includes:
- the network connection mode of receiving the corresponding response message is determined as the network connection mode supported by the currently accessed network.
- the broadcasting the discovery message corresponding to the at least one preset network connection mode in the currently accessed network includes:
- the discovery packet corresponding to the Ethernet peer-to-peer protocol PPPOE network connection mode and the dynamic host configuration protocol DHCP network connection mode are respectively broadcasted in the currently accessed network.
- the obtaining a network connection manner supported by the currently accessed network includes:
- the discovery packet corresponding to the second network connection mode is broadcasted in the currently accessed network, and when the second network connection mode is received, When the message is acknowledged, it is determined that the network connection mode supported by the currently accessed network is the second network connection mode.
- the obtaining a network connection manner supported by the currently accessed network includes:
- the network connection mode supported by the currently accessed network is obtained.
- the determining, according to the network connection mode supported by the currently accessed network, determining a network connection mode to be used including:
- the determining, according to the network connection mode supported by the currently accessed network, determining a network connection mode to be used including:
- the obtained network connection mode is determined as the network connection mode to be used.
- the determining, according to the network connection mode supported by the currently accessed network, determining a network connection mode to be used including:
- the default network connection mode is determined as the network connection mode to be used.
- the setting by using the network connection mode to be used, automatically setting network connection parameters, including: if the network connection mode to be used is a PPPOE network connection mode, obtaining an account used for PPPOE login Password; set the parameter value of the connection mode parameter item in the network connection parameter to PPPOE, and the PPPOE account The parameter value corresponding to the parameter item of the PPPOE password is set to the obtained account number and password respectively. If the network connection mode to be used is the DHCP network connection mode, the parameter value of the connection mode parameter item in the network connection parameter is set. Set to DHCP.
- the network connection mode supported by the currently accessed network is obtained, and the network connection mode to be used is determined according to the network connection mode supported by the currently accessed network, and the network connection parameter is determined according to the network connection mode to be used.
- Set the settings so that you can set the network connection parameters according to the network connection modes supported in the currently connected network without clicking the multi-level option in the setup page. This can improve the efficiency of setting network connection parameters.
- the mobile terminal of the present disclosure may be a variety of handheld terminal devices, such as mobile phones, personal digital assistants (PDAs), etc., and thus the scope of protection of the present disclosure should not be limited to a particular type of mobile terminal.
- the method according to the present disclosure may also be implemented as a computer program executed by a CPU.
- the computer program is executed by the CPU, the above-described functions defined in the method of the present disclosure are performed.
- the above method steps and system elements can also be implemented with a controller and a computer readable storage device for storing a computer program that causes the controller to implement the above described steps or unit functions.
- non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash.
- ROM read only memory
- PROM programmable ROM
- EPROM electrically programmable ROM
- EEPROM electrically erasable programmable ROM
- flash flash.
- Volatile memory can include random access memory (RAM), which can act as external cache memory.
- RAM can be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM) and direct Rambus RAM (DRRAM).
- DRAM synchronous RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM Synchronous Link DRAM
- DRRAM direct Rambus RAM
- Storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
- DSP digital signal processor
- ASIC dedicated Integrated circuit
- FPGA field programmable gate array
- a general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller or state machine.
- the processor can also be implemented It is now a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
- the software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
- An exemplary storage medium is coupled to the processor, such that the processor can read information from or write information to the storage medium.
- the storage medium can be integrated with the processor.
- the processor and storage media can reside in an ASIC.
- the ASIC can reside in the user terminal.
- the processor and the storage medium may reside as discrete components in the user terminal.
- the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted as one or more instructions or code on a computer readable medium.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
- the computer readable medium may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage device, disk storage device or other magnetic storage device, or may be used for carrying or storing a form of instructions Or the required program code of the data structure and any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium.
- a magnetic disk and an optical disk include a compact disk (CD), a laser disk, an optical disk, a digital versatile disk (DVD), a floppy disk, a Blu-ray disk, wherein the disk generally reproduces data magnetically, and the optical disk optically reproduces data using a laser . Combinations of the above should also be included within the scope of computer readable media.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015543309A JP2016502338A (ja) | 2013-10-25 | 2014-05-08 | ネットワーク接続パラメータの設定方法、装置、ネットワーク設備、プログラム及び記録媒体 |
MX2014008740A MX346699B (es) | 2013-10-25 | 2014-05-08 | Metodo para configurar parametros de conexion de red y aparato del mismo. |
KR1020147021410A KR101610568B1 (ko) | 2013-10-25 | 2014-05-08 | 네트워크 접속 파라미터를 설정하는 방법, 장치, 프로그램 및 기록매체 |
RU2015125022A RU2616535C2 (ru) | 2013-10-25 | 2014-05-08 | Способ настройки параметров сетевого соединения и его устройство |
BR112014017722A BR112014017722A8 (pt) | 2013-10-25 | 2014-05-08 | Método para definição de parâmetros de conexão de rede e aparelho do mesmo |
US14/330,001 US9686139B2 (en) | 2013-10-25 | 2014-07-14 | Method and networking device for setting network connection parameters |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310511978.X | 2013-10-25 | ||
CN201310511978.XA CN103607290B (zh) | 2013-10-25 | 2013-10-25 | 一种设置网络连接参数的方法和装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/330,001 Continuation US9686139B2 (en) | 2013-10-25 | 2014-07-14 | Method and networking device for setting network connection parameters |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015058511A1 true WO2015058511A1 (zh) | 2015-04-30 |
Family
ID=50125491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/077002 WO2015058511A1 (zh) | 2013-10-25 | 2014-05-08 | 一种设置网络连接参数的方法和装置 |
Country Status (9)
Country | Link |
---|---|
US (1) | US9686139B2 (zh) |
EP (1) | EP2866412B1 (zh) |
JP (1) | JP2016502338A (zh) |
KR (1) | KR101610568B1 (zh) |
CN (1) | CN103607290B (zh) |
BR (1) | BR112014017722A8 (zh) |
MX (1) | MX346699B (zh) |
RU (1) | RU2616535C2 (zh) |
WO (1) | WO2015058511A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018528629A (ja) * | 2015-08-07 | 2018-09-27 | グーグル エルエルシー | ピアツーピア認証 |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607290B (zh) | 2013-10-25 | 2016-09-21 | 小米科技有限责任公司 | 一种设置网络连接参数的方法和装置 |
US10084641B2 (en) * | 2013-11-01 | 2018-09-25 | Huawei Device (Shenzhen) Co., Ltd. | Network parameter configuration method and apparatus for portable router |
CN104092559B (zh) * | 2014-06-10 | 2018-08-14 | 深圳市信锐网科技术有限公司 | 配置无线网络连接参数信息的方法及装置 |
CN105323179B (zh) * | 2014-07-17 | 2018-05-08 | 启碁科技股份有限公司 | 路由器及信息搜集方法 |
CN105227346B (zh) * | 2015-08-24 | 2018-09-28 | 上海斐讯数据通信技术有限公司 | 一种基于扫描二维码的路由器配置方法 |
CN105515848A (zh) * | 2015-12-01 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | 路由器的配置方法及配置装置 |
CN106230669A (zh) * | 2016-07-18 | 2016-12-14 | 乐视控股(北京)有限公司 | 信息获取方法、装置及终端 |
CN110213080A (zh) * | 2019-04-24 | 2019-09-06 | 北京奇虎科技有限公司 | 一种路由器配置方法、装置及计算机设备 |
CN110677851B (zh) * | 2019-08-29 | 2022-12-27 | 努比亚技术有限公司 | 一种终端网络接入方法及网络接入设备的接入方法 |
CN111064642B (zh) * | 2019-12-25 | 2021-12-03 | 深圳市网心科技有限公司 | 一种拨号连网方法及其相关设备 |
CN112887362B (zh) * | 2021-01-08 | 2023-03-10 | 重庆锐明信息技术有限公司 | 一种设备访问方法、设备访问装置及服务器 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1509058A (zh) * | 2002-12-18 | 2004-06-30 | 中国移动通信集团公司 | 无线移动通信设备自动登陆互联网的方法 |
CN101321099A (zh) * | 2007-06-06 | 2008-12-10 | 艾威梯软件技术(北京)有限公司 | 一种自动接入ip网络的方法、设备和系统 |
CN101998695A (zh) * | 2010-11-04 | 2011-03-30 | 深圳市江波龙电子有限公司 | 终端设备的WiFi设置参数的配置方法、装置及系统 |
CN103607290A (zh) * | 2013-10-25 | 2014-02-26 | 小米科技有限责任公司 | 一种设置网络连接参数的方法和装置 |
Family Cites Families (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6212160B1 (en) * | 1998-03-24 | 2001-04-03 | Avaya Technlogy Corp. | Automated selection of a protocol by a communicating entity to match the protocol of a communications network |
US6766373B1 (en) * | 2000-05-31 | 2004-07-20 | International Business Machines Corporation | Dynamic, seamless switching of a network session from one connection route to another |
US7392301B1 (en) * | 2000-11-14 | 2008-06-24 | Siemens Subscriber Networks, Inc. | Method and apparatus for automated assistance in configuring customer premises equipment |
RU2276461C2 (ru) * | 2001-11-16 | 2006-05-10 | Свисском Фикснет Аг | Способ и устройство для классификации сетевых соединений |
JP2003283589A (ja) * | 2002-03-27 | 2003-10-03 | Nippon Telegr & Teleph Corp <Ntt> | ネットワーク接続装置、ネットワーク接続方法およびプログラム |
US20040001496A1 (en) | 2002-06-21 | 2004-01-01 | Jon Yusko | Method and apparatus for PPP auto-connect |
US20040105444A1 (en) * | 2002-11-15 | 2004-06-03 | Korotin Dmitry O. | Auto-configuration of broadband service for one of a plurality of network communication protocols |
US20050015644A1 (en) * | 2003-06-30 | 2005-01-20 | Microsoft Corporation | Network connection agents and troubleshooters |
JP2005341287A (ja) * | 2004-05-27 | 2005-12-08 | Fujitsu Ltd | ネットワーク装置、ネットワーク接続設定プログラム |
JP2006014169A (ja) * | 2004-06-29 | 2006-01-12 | Toshiba Corp | ネットワーク自動接続装置 |
TW200701707A (en) * | 2005-06-22 | 2007-01-01 | Mitac Technology Corp | System and method for switching internet connection settings according to internet environment |
CN100469022C (zh) | 2006-05-29 | 2009-03-11 | 腾讯科技(深圳)有限公司 | 一种检测网络类型的方法及系统 |
JP2008042834A (ja) * | 2006-08-10 | 2008-02-21 | Nec Access Technica Ltd | ネットワーク接続装置、ネットワークシステムおよびネットワーク接続方法 |
US8281015B2 (en) * | 2006-12-29 | 2012-10-02 | Verizon Patent And Licensing Inc. | Automatic detection and establishment of network connection |
US20080225855A1 (en) * | 2007-03-15 | 2008-09-18 | Accton Technology Corporation | Method and system of auto-detecting network connecting mode |
JP5079000B2 (ja) * | 2007-06-27 | 2012-11-21 | 三菱電機株式会社 | 通信ネットワーク接続装置 |
US7761613B2 (en) * | 2007-07-06 | 2010-07-20 | Belkin International, Inc. | Electrical device configuration system and method |
JP4803535B2 (ja) * | 2007-11-29 | 2011-10-26 | Necアクセステクニカ株式会社 | ネットワーク接続装置およびネットワーク接続方法 |
KR101279440B1 (ko) * | 2008-10-22 | 2013-06-26 | 삼성전자주식회사 | 복수 개의 인터페이스들을 지원하는 화상 형성 장치 및 그 장치에서의 네트워크 설정 방법 |
CN102223270A (zh) * | 2011-07-14 | 2011-10-19 | 深圳市共进电子有限公司 | 一种路由器上网方式检测方法 |
CN102625332A (zh) | 2011-11-01 | 2012-08-01 | 北京小米科技有限责任公司 | 一种网络路由检测的方法 |
CN102801627B (zh) * | 2012-08-17 | 2015-10-28 | 深圳市吉祥腾达科技有限公司 | 路由器自动识别接入环境的方法 |
CN102984293A (zh) | 2012-12-06 | 2013-03-20 | 哈尔滨元想科技有限公司 | 网络路由器 |
CN103973468B (zh) * | 2013-01-29 | 2018-01-09 | 华为终端有限公司 | 自动设置上网模式的处理方法和处理设备 |
-
2013
- 2013-10-25 CN CN201310511978.XA patent/CN103607290B/zh active Active
-
2014
- 2014-05-08 RU RU2015125022A patent/RU2616535C2/ru active
- 2014-05-08 JP JP2015543309A patent/JP2016502338A/ja active Pending
- 2014-05-08 BR BR112014017722A patent/BR112014017722A8/pt not_active IP Right Cessation
- 2014-05-08 MX MX2014008740A patent/MX346699B/es active IP Right Grant
- 2014-05-08 WO PCT/CN2014/077002 patent/WO2015058511A1/zh active Application Filing
- 2014-05-08 KR KR1020147021410A patent/KR101610568B1/ko active IP Right Grant
- 2014-07-14 US US14/330,001 patent/US9686139B2/en active Active
- 2014-10-24 EP EP14190373.2A patent/EP2866412B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1509058A (zh) * | 2002-12-18 | 2004-06-30 | 中国移动通信集团公司 | 无线移动通信设备自动登陆互联网的方法 |
CN101321099A (zh) * | 2007-06-06 | 2008-12-10 | 艾威梯软件技术(北京)有限公司 | 一种自动接入ip网络的方法、设备和系统 |
CN101998695A (zh) * | 2010-11-04 | 2011-03-30 | 深圳市江波龙电子有限公司 | 终端设备的WiFi设置参数的配置方法、装置及系统 |
CN103607290A (zh) * | 2013-10-25 | 2014-02-26 | 小米科技有限责任公司 | 一种设置网络连接参数的方法和装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018528629A (ja) * | 2015-08-07 | 2018-09-27 | グーグル エルエルシー | ピアツーピア認証 |
Also Published As
Publication number | Publication date |
---|---|
MX2014008740A (es) | 2016-02-19 |
RU2015125022A (ru) | 2017-01-10 |
CN103607290A (zh) | 2014-02-26 |
US9686139B2 (en) | 2017-06-20 |
JP2016502338A (ja) | 2016-01-21 |
KR101610568B1 (ko) | 2016-04-20 |
KR20150059134A (ko) | 2015-05-29 |
US20150117255A1 (en) | 2015-04-30 |
CN103607290B (zh) | 2016-09-21 |
BR112014017722A2 (zh) | 2017-06-20 |
EP2866412B1 (en) | 2021-04-21 |
MX346699B (es) | 2017-03-28 |
EP2866412A1 (en) | 2015-04-29 |
BR112014017722A8 (pt) | 2017-07-11 |
RU2616535C2 (ru) | 2017-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015058511A1 (zh) | 一种设置网络连接参数的方法和装置 | |
US11093598B2 (en) | Identity authentication method and apparatus | |
TWI614630B (zh) | 客戶端應用的登錄方法及其相應的伺服器 | |
WO2017024842A1 (zh) | 一种上网认证方法及客户端、计算机存储介质 | |
KR101724811B1 (ko) | 라우터 액세스 제어 방법, 장치, 시스템, 프로그램 및 기록매체 | |
WO2017148308A1 (zh) | 一种物联网设备接入网络的方法、装置及系统 | |
WO2018196643A1 (zh) | 一种私有数据云存储系统及私有数据云存储方法 | |
WO2016127914A1 (zh) | 一种用于重定向的方法、装置及系统 | |
WO2016062002A1 (zh) | 连接管理方法及装置、电子设备 | |
TWI735429B (zh) | 用戶端登錄伺服器端的鑑別方法、裝置、系統及電子設備 | |
WO2015196908A1 (zh) | 业务处理方法、终端、服务器及系统 | |
WO2015180192A1 (zh) | 一种网络连接方法、热点终端和管理终端 | |
WO2014082555A1 (zh) | 登录方法、装置及开放平台系统 | |
US11337259B2 (en) | Method for automatic connection between smart device and router, corresponding router and smart device | |
WO2017054570A1 (zh) | Portal认证方法及认证服务器 | |
TWI488510B (zh) | 資訊分享方法與系統 | |
US10484369B2 (en) | Voice authentication via secondary device | |
WO2022105365A1 (zh) | 设备控制的方法及系统、电子设备、及存储介质 | |
WO2017088294A1 (zh) | 用于建立无线连接的方法与设备 | |
WO2017045505A1 (zh) | 移动设备与固定设备之间通信连接的建立方法及装置 | |
TW202404315A (zh) | 用於在雲端服務的多個服務提供者存在之情況下進行單一登入(sso)重定向的系統及方法 | |
TWI546688B (zh) | 對網路位址進行處理的方法及相關的伺服器與非暫態電腦可讀取儲存媒體 | |
WO2011120450A2 (zh) | 基于http的内容获取方法及客户端 | |
WO2011026367A1 (zh) | 服务质量参数的配置方法以及远程访问服务器和系统 | |
WO2014187354A1 (zh) | 基于MBIM访问Web Server的方法、装置及系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2014/008740 Country of ref document: MX |
|
ENP | Entry into the national phase |
Ref document number: 2015543309 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020147021410 Country of ref document: KR |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112014017722 Country of ref document: BR |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14855783 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2015125022 Country of ref document: RU Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14855783 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 112014017722 Country of ref document: BR Kind code of ref document: A2 Effective date: 20140718 |