WO2016008250A1 - 实现拨号上网的方法、装置及系统、计算机存储介质 - Google Patents
实现拨号上网的方法、装置及系统、计算机存储介质 Download PDFInfo
- Publication number
- WO2016008250A1 WO2016008250A1 PCT/CN2014/091930 CN2014091930W WO2016008250A1 WO 2016008250 A1 WO2016008250 A1 WO 2016008250A1 CN 2014091930 W CN2014091930 W CN 2014091930W WO 2016008250 A1 WO2016008250 A1 WO 2016008250A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dial
- user terminal
- address
- wireless
- internet
- Prior art date
Links
Images
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Definitions
- the present invention relates to a dial-up Internet technology in the field of mobile communication technologies, and in particular, to a method, device and system for implementing dial-up Internet access, and a computer storage medium.
- the wireless-free terminal since the driver-free wireless terminal does not need to install the driver and the PC UI, and supports plug-and-play, and has good compatibility, the wireless-free terminal is popular among users and widely popularized in practical applications.
- the drive-free data card in the wireless drive terminal is working in the routing mode, the user terminal that the wireless drive terminal accesses for the LAN port is assigned a private network IP address, and after the WAN port is successfully dialed, it is a user terminal.
- the public network IP address assigned by the 2G/3G/4G wireless network is configured, and the data-free data card realizes the communication process between the private terminal IP address and the Internet host by the user terminal through the NAT technology.
- This mode of operation of the data-free data card is not problematic in most scenarios.
- the data-free data card is required to assign the public network IP address to the user terminal, and the NAT function is disabled. Otherwise, some services may occur.
- Different problems for example, when a user establishes a VPN connection to a specific intranet/ISP using a private APN dialup, some services may fail. The main reason is that the address obtained by the user terminal in this scenario is within the intranet/ISP.
- the network address, the user terminal and the host of the Intranet/ISP belong to the same local area network, and no address translation is needed at all. Since the implementation mechanisms of the free drive data cards of various manufacturers are basically the same, the above problems exist in such a scenario, and there is no good solution.
- embodiments of the present invention are expected to provide a method and apparatus for implementing dial-up access.
- the system and computer storage media can meet the application requirements of dial-up Internet in various scenarios.
- An embodiment of the present invention provides a method for implementing a dial-up Internet access, where the method is used in a wireless-free wireless terminal, including: receiving a dial-up Internet access request of a user terminal; and configuring a first IP address for the user terminal according to the dial-up Internet access request Dial-up Internet access based on the first IP address.
- the method before receiving the dial-up request of the user terminal, the method further includes: assigning a second IP address to the user terminal; and configuring a working mode for the wireless drive terminal according to the second IP address; Dial-up Internet parameters.
- the working mode is a routing mode or a transparent transmission mode.
- the dial-up parameter includes at least one of the following: an authentication parameter, a networking parameter.
- the receiving the dial-up request of the user terminal includes: determining whether the working mode of the wireless-free wireless terminal is a transparent transmission mode, and if yes, receiving a dial-up Internet access request of the user terminal.
- the configuring the first IP address for the user terminal according to the dial-up Internet access request includes: authenticating the user terminal according to the dial-up Internet access request; determining whether the authentication is passed, and if yes, receiving the user An address configuration request sent by the terminal; establishing, according to the address configuration request, a wireless connection between the wireless driveless wireless terminal and the Internet to obtain a first IP address; and configuring the first IP address to the user terminal.
- the dial-up Internet access according to the first IP address includes: transmitting a data packet sent by the user terminal to the Internet to the Internet; and transmitting the data packet sent by the Internet to the user terminal to the user terminal.
- the embodiment of the present invention further provides a device for implementing a dial-up Internet access, the device being disposed in the wireless-free wireless terminal, comprising: a receiving module, a first address configuration module, and a dial-up network module; wherein the receiving module is configured to receive the user Dial-up Internet access request of the terminal; the first address configuration a module, configured to configure a first IP address for the user terminal according to the dial-up request received by the receiving module, where the dial-up network module is configured to dial according to the first IP address configured by the first address configuration module Go online.
- the device further includes: a second address configuration module, a configuration management module, wherein the second address configuration module is configured to allocate a second IP address to the user terminal; And configuring, according to the second IP address assigned by the second address configuration module, an operating mode and a dial-up parameter for the wireless driveless terminal.
- the working mode is a routing mode or a transparent transmission mode.
- the receiving module is specifically configured to determine whether the working mode of the wireless driveless wireless terminal is a transparent transmission mode, and if yes, receive a dial-up Internet access request of the user terminal.
- the first address configuration module is configured to perform authentication on the user terminal according to the dial-up Internet access request; determine whether the authentication is passed, and if yes, receive an address configuration request sent by the user terminal; And establishing, according to the address configuration request, a wireless connection between the wireless driveless wireless terminal and the Internet, acquiring a first IP address, and configuring the first IP address to the user terminal.
- the dial-up network module is specifically configured to transmit a data packet sent by the user terminal to the Internet to the Internet, and transmit the data packet sent by the Internet to the user terminal to the user terminal.
- the embodiment of the invention further provides a system for implementing dial-up Internet access, the system comprising the above-mentioned device for realizing dial-up Internet access, the Internet, and a user terminal; wherein the Internet is configured to provide wireless connection with the device The user terminal is configured to send a dial-up request to the device.
- Embodiments of the present invention also provide a computer storage medium having stored therein computer executable instructions for performing the above method.
- the medium-free wireless terminal receives a dial-up request from the user terminal; assigns a first IP address to the user terminal according to the dial-up request; performs dial-up access according to the first IP address; thus, assigns the user terminal
- the first IP address enables the user to obtain the public network IP address assigned by the wireless network, that is, the first IP address, and the working mode of the wireless driveless wireless terminal may be a routing mode or a transparent transmission mode. In the transparent transmission mode, It can realize the transparent transmission function of transmitting data packets between the user terminal and the Internet, thereby meeting the requirements of dial-up Internet access in various special scenarios.
- FIG. 1 is a schematic flowchart of an implementation manner of an embodiment of a method for implementing dial-up access according to the present invention
- FIG. 2 is a schematic flowchart of an implementation process of configuring a working mode and a dial-up access parameter for a wireless-free terminal according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an implementation process of dial-up Internet access in a transparent transmission mode according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram 1 of an embodiment of an apparatus for implementing dial-up Internet access according to the present invention
- FIG. 5 is a second schematic structural diagram of an embodiment of an apparatus for implementing dial-up Internet access according to the present invention.
- FIG. 6 is a schematic structural diagram 3 of an embodiment of an apparatus for implementing dial-up Internet access according to the present invention.
- FIG. 7 is a schematic structural diagram of a system embodiment for implementing dial-up Internet access according to the present invention.
- FIG. 8 is a schematic diagram of a framework connection of a system embodiment for implementing dial-up Internet access according to the present invention.
- the dial-up Internet access request of the user terminal is received; the first IP address is configured for the user terminal according to the dial-up Internet access request; and the dial-up Internet access is performed according to the first IP address.
- FIG. 1 is a schematic flowchart of an implementation manner of a method for implementing dial-up Internet access according to the present invention. As shown in FIG. 1 , the method is used in a wireless-free wireless terminal, including:
- Step 101 Receive a dial-up Internet access request of the user terminal.
- the driverless wireless terminal receives the dial-up Internet access request sent by the user terminal, and the dial-up Internet access request may be a PPPOE dial-up Internet request sent by the user terminal.
- Step 102 Configure a first IP address for the user terminal according to the dial-up Internet access request.
- the wireless drive-free wireless terminal before receiving the dial-up Internet access request sent by the user terminal, the wireless drive-free wireless terminal first needs to allocate a second IP address to the user terminal, and the user terminal can establish with the wireless-free terminal by using the second IP address.
- the non-drive wireless terminal configures its own working mode and dial-up Internet access parameters according to the second IP address through the http/https protocol.
- the working mode may include, but is not limited to, a routing mode and a transparent transmission mode.
- the dial-up parameter may include, but is not limited to, at least one of the following: an authentication parameter, a networking parameter, where the authentication parameter may be specific It is a PPPOE authentication parameter, and/or an APN authentication parameter, and/or a PDP Type authentication parameter, etc.; the networking parameter may be specifically a 2G/3G/4G wireless networking parameter.
- the wireless drive-free wireless terminal determines whether the working mode of the mobile terminal is a transparent transmission mode, and if yes, receives a dial-up Internet access request sent by the user terminal, and if not, the wireless-free wireless terminal does not monitor the user terminal. Dial-up Internet access is made at the same time as dial-up Internet access.
- the wireless-free terminal authenticates the user terminal according to the dial-up Internet access request; optionally, the control field of the dial-up Internet access request includes the user
- the authentication parameter of the terminal is used to authenticate the user terminal by matching the authentication parameter with the previously configured dial-up parameter; when the matching is successful, the authentication of the user terminal is passed.
- the wireless terminal receives the user terminal.
- Sending an address configuration request the address configuration request may be an IPCP (Internet Protocol Control Protocol) address configuration request in the PPP protocol; the free drive wireless terminal establishes a wireless connection with the Internet according to the address configuration request, from the Internet
- the first IP address is obtained, and the obtained first IP address is configured to the user terminal.
- the authentication of the user terminal fails, and the process ends.
- Step 103 Perform dial-up Internet access according to the first IP address.
- the wireless drive terminal transmits the data packet sent by the user terminal to the Internet to the wireless device.
- the data packet sent by the Internet to the user terminal is transparently transmitted to the user terminal.
- the wireless driveless wireless terminal has two interfaces, one WAN interface and one LAN interface; wherein the WAN interface can be connected to the Internet through 2G/3G/4G wireless technology, and the LAN interface is connected through the USB or The RJ45 wired mode can be connected to the user terminal to provide users with 2G/3G/4G wireless Internet access.
- FIG. 2 is a schematic flowchart of an implementation process for configuring a working mode and a dial-up access parameter for a wireless-free terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
- Step 201 Assign a second IP address to the user terminal.
- the free drive wireless terminal dynamically configures a private second IP address for the user terminal.
- Step 202 Configure a working mode and a dial-up parameter for the wireless drive-free wireless terminal according to the second IP address.
- the user terminal can establish a connection with the non-drive wireless terminal by using the second IP address, and the non-drive wireless terminal configures a working mode and a dial-up access parameter for itself by using the http/https protocol.
- the working mode may include, but is not limited to, a routing mode and a transparent transmission mode.
- the dial-up parameter may include, but is not limited to, at least one of the following: an authentication parameter, a networking parameter, where the authentication parameter may be specific It is a PPPOE authentication parameter, and/or an APN authentication parameter, and/or a PDP Type authentication parameter, etc.; the networking parameter may be specifically a 2G/3G/4G wireless networking parameter.
- Step 203 Determine whether the working mode of the wireless drive wireless terminal is a transparent transmission mode, and if so, proceed to step 204, and if not, execute step 205;
- Step 204 The drive-free wireless terminal monitors a dial-up request of the user terminal.
- the wireless-free wireless terminal can monitor a dial-up Internet access request of the user terminal, and when receiving the dial-up Internet access request of the user terminal, according to the present invention
- the method described is for dial-up Internet access.
- Step 205 The wireless drive-free terminal does not listen to the dial-up request of the user terminal.
- the wireless drive when the working mode of the wireless drive is not in the transparent mode, that is, the routing mode, the wireless drive does not listen to the dial-up request of the user terminal, and dials the Internet according to the prior art.
- FIG. 3 is a schematic diagram of an implementation process of dial-up Internet access in a transparent transmission mode according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
- Step 301 Perform authentication on the user terminal according to the dial-up request of the user terminal.
- control field of the dial-up request includes the authentication parameter of the user terminal, and the authentication of the user terminal is performed by matching the authentication parameter with the previously configured dial-up parameter.
- Step 302 Determine whether the authentication is passed, if yes, proceed to step 304; if not, proceed to step 303;
- step 304 is performed.
- step 303 is performed.
- Step 303 End the process
- Step 304 Receive an address configuration request sent by the user terminal.
- the free drive wireless terminal receives an address configuration request sent by the user terminal.
- Step 305 Establish a wireless connection between the wireless driveless wireless terminal and the Internet according to the address configuration request, and obtain a first IP address.
- the free drive wireless terminal establishes a wireless connection with the Internet according to the address configuration request, and acquires a first IP address from the Internet.
- Step 306 Configure the first IP address to the user terminal.
- Step 307 According to the first IP address, the data packet sent by the user terminal to the Internet is transparently transmitted to the Internet; and the data packet sent by the Internet to the user terminal is transparently transmitted to the user terminal;
- the drive-free wireless terminal has two interfaces, a WAN interface and a LAN interface; wherein the WAN interface can be connected to the Internet through 2G/3G/4G wireless technology, and the LAN interface is through USB or RJ45.
- the wired mode can access the user terminal to provide users with 2G/3G/4G wireless Internet access.
- the bidirectional transmission of data packets between the Internet and the user terminal can be realized by transparent transmission, which improves the rate of forwarding the data packet, thereby reducing the CPU load.
- FIG. 4 is a schematic structural diagram of an embodiment of an apparatus for implementing a dial-up Internet access according to the present invention. As shown in FIG. 4, the apparatus is disposed in a wireless-free wireless terminal, and includes: a receiving module 41, a first address configuration module 42, and dial-up access. Module 43; wherein
- the receiving module 41 is configured to receive a dial-up request of the user terminal
- the first address configuration module 42 is configured to configure a first IP address for the user terminal according to the dial-up Internet access request received by the receiving module 41;
- the dial-up network module 43 is configured to perform dial-up Internet access according to the first IP address configured by the first address configuration module 42;
- FIG. 5 is a schematic structural diagram of the structure of the apparatus for implementing dial-up Internet access according to the present invention.
- the apparatus further includes: a second address configuration module 44, and the second address configuration module. 44. Configure to allocate a second IP address to the user terminal.
- FIG. 6 is a schematic structural diagram of a component structure of the device for implementing dial-up Internet access according to the present invention.
- the device further includes: a configuration management module 45, configured to And configuring, according to the second IP address assigned by the second address configuration module 44, an operating mode and a dial-up parameter for the wireless driveless terminal.
- the working mode may include, but is not limited to, a routing mode and a transparent transmission mode.
- the receiving module 41 is specifically configured to determine whether the working mode of the wireless driveless wireless terminal is a transparent transmission mode, and if yes, receive a dial-up Internet access request of the user terminal.
- the first address configuration module 42 is specifically configured to And determining, determining, by the user terminal, whether the authentication is passed, and if yes, receiving an address configuration request sent by the user terminal; establishing, according to the address configuration request, establishing a wireless connection between the wireless drive terminal and the Internet, and acquiring An IP address; the first IP address is configured to the user terminal.
- the dial-up network module 43 is configured to transparently transmit the data packet sent by the user terminal to the Internet to the Internet, and transmit the data packet sent by the Internet to the user terminal to the user terminal.
- FIG. 7 is a schematic structural diagram of a system for implementing a dial-up network according to the present invention.
- FIG. 8 is a schematic diagram of a framework connection of a system for implementing dial-up Internet access according to the present invention.
- the apparatus for implementing the dial-up Internet access 71 is the apparatus described in FIG. 4 to FIG. 6, comprising: a receiving module 41, a first address configuration module 42, a dial-up network module 43, a second address configuration module 44, and a configuration management module 45;
- the user terminal 72 is configured to send a dial-up request to the device 71;
- the Internet 73 is configured to provide a wireless network that is coupled to the device 71.
- the drive-free wireless terminal has two interfaces, a WAN interface and a LAN interface; wherein the WAN interface can be connected to the Internet through 2G/3G/4G wireless technology, and the LAN interface can be connected through USB or RJ45 wired mode. Enter the user terminal to provide users with 2G/3G/4G wireless Internet access.
- the receiving module 41, the first address configuration module 42, the dialing network module 43, the second address configuration module 44, and the configuration management module 45 may be implemented by a central processing unit (CPU), a microprocessor (MPU), Digital signal processor (DSP), or field programmable gate array (FPGA) implementation.
- CPU central processing unit
- MPU microprocessor
- DSP Digital signal processor
- FPGA field programmable gate array
- the method for implementing dial-up Internet as described in the embodiment of the present invention can also be stored in a computer readable if it is implemented in the form of a software function module and sold or used as an independent product. In the storage medium. Based on such understanding, those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media containing computer usable program code, including but not limited to a USB flash drive, a mobile hard drive, a read only memory (ROM, Read-Only Memory), disk storage, CD-ROM, optical storage, etc.
- a USB flash drive a mobile hard drive
- a read only memory ROM, Read-Only Memory
- disk storage CD-ROM, optical storage, etc.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- an embodiment of the present invention further provides a computer storage medium, where a calculation is stored
- the computer program is used to execute the method for implementing dial-up Internet as described in the method embodiment of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开一种实现拨号上网的方法,该方法用于免驱无线终端中,包括:接收用户终端的拨号上网请求;根据所述拨号上网请求,为所述用户终端配置第一IP地址;根据所述第一IP地址进行拨号上网;本发明同时还公开了实现拨号上网的装置及系统、计算机存储介质。
Description
本发明涉及移动通信技术领域中的拨号上网技术,尤其涉及一种实现拨号上网的方法、装置及系统、计算机存储介质。
目前,由于免驱无线终端不需要安装驱动和PC UI,支持即插即用,具有很好的兼容性,因此,免驱无线终端深受广大用户喜爱,并在实际应用中得到广泛普及。当免驱无线终端中的免驱数据卡在路由模式下工作时,所述免驱无线终端为LAN口接入的用户终端分配的是私网IP地址,在WAN口拨号成功后,为用户终端配置的是由2G/3G/4G无线网络分配的公网IP地址,免驱数据卡通过NAT技术来实现用户终端使用私网IP地址与互联网主机的通信过程。
免驱数据卡的这种工作模式在大部分场景下没有问题,但是,在某些VPN场景下需要免驱数据卡给用户终端分配公网IP地址,并关闭NAT功能,否则会出现某些业务不同的问题,例如:当用户使用专用APN拨号建立到特定Intranet/ISP的VPN连接时,可能会出现某些业务不通,主要原因是:这种场景下用户终端获取的地址是Intranet/ISP的内网地址,用户终端与Intranet/ISP的主机属于同一局域网,根本不需要进行地址转换。由于目前各个厂商的免驱数据卡实现机制都基本一样,所以在此种场景下都存在上述问题,且没有很好的解决办法。
发明内容
有鉴于此,本发明实施例期望提供一种实现拨号上网的方法、装置及
系统、计算机存储介质,能够满足各种场景下,拨号上网的应用需求。
为达到上述目的,本发明的技术方案是这样实现的:
本发明实施例提供一种实现拨号上网的方法,该方法用于免驱无线终端中,包括:接收用户终端的拨号上网请求;根据所述拨号上网请求,为所述用户终端配置第一IP地址;根据所述第一IP地址进行拨号上网。
一具体实施例中,在接收用户终端的拨号上网请求之前,所述方法还包括:为用户终端分配第二IP地址;根据所述第二IP地址,为所述免驱无线终端配置工作模式和拨号上网参数。
一具体实施例中,所述工作模式为路由模式或透传模式。
一具体实施例中,所述拨号上网参数包括以下至少一项:认证参数、联网参数。
一具体实施例中,所述接收用户终端的拨号上网请求,包括:判断所述免驱无线终端的工作模式是否为透传模式,如果是,则接收用户终端的拨号上网请求。
一具体实施例中,所述根据拨号上网请求,为用户终端配置第一IP地址,包括:根据所述拨号上网请求,对用户终端进行认证;判断所述认证是否通过,如果是,则接收用户终端发送的地址配置请求;根据所述地址配置请求,建立所述免驱无线终端与互联网的无线连接,获取第一IP地址;将所述第一IP地址配置给用户终端。
一具体实施例中,所述根据第一IP地址进行拨号上网,包括:将用户终端发往互联网的数据包,透传到互联网;将互联网发往用户终端的数据包,透传到用户终端。
本发明实施例还提供一种实现拨号上网的装置,该装置设置于免驱无线终端中,包括:接收模块、第一地址配置模块、拨号上网模块;其中,所述接收模块,配置为接收用户终端的拨号上网请求;所述第一地址配置
模块,配置为根据所述接收模块接收的拨号上网请求,为所述用户终端配置第一IP地址;所述拨号上网模块,配置为根据所述第一地址配置模块配置的第一IP地址进行拨号上网。
一具体实施例中,所述装置还包括:第二地址配置模块、配置管理模块;其中,所述第二地址配置模块,配置为为用户终端分配第二IP地址;所述配置管理模块,配置为根据所述第二地址配置模块分配的第二IP地址,为所述免驱无线终端配置工作模式和拨号上网参数。
一具体实施例中,所述工作模式为路由模式或透传模式。
一具体实施例中,所述接收模块,具体配置为判断所述免驱无线终端的工作模式是否为透传模式,如果是,则接收用户终端的拨号上网请求。
一具体实施例中,所述第一地址配置模块,具体配置为根据所述拨号上网请求,对用户终端进行认证;判断所述认证是否通过,如果是,则接收用户终端发送的地址配置请求;根据所述地址配置请求,建立所述免驱无线终端与互联网的无线连接,获取第一IP地址;将所述第一IP地址配置给用户终端。
一具体实施例中,所述拨号上网模块,具体配置为将用户终端发往互联网的数据包,透传到互联网,将互联网发往用户终端的数据包,透传到用户终端。
本发明实施例还提供一种实现拨号上网的系统,所述系统包括以上所述的实现拨号上网的装置、互联网、以及用户终端;其中,所述互联网,配置为提供与所述装置连接的无线网络;所述用户终端,配置为向所述装置发送拨号上网请求。
本发明实施例还提供一种计算机存储介质,其中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
本发明实施例提供的实现拨号上网的方法、装置及系统、计算机存储
介质,免驱无线终端接收用户终端的拨号上网请求;根据所述拨号上网请求,为所述用户终端分配第一IP地址;根据所述第一IP地址进行拨号上网;如此,通过为用户终端分配第一IP地址,使得用户能够获得无线网络分配的公网IP地址,即第一IP地址,并且,所述免驱无线终端的工作模式可以为路由模式或透传模式,在透传模式下,能够实现用户终端与互联网之间传输数据包的透传功能,从而满足了各种特殊场景下拨号上网的需求。
图1为本发明实现拨号上网的方法实施例的实现流程示意图;
图2为本发明实施例为免驱无线终端配置工作模式和拨号上网参数的实现流程示意图;
图3为本发明实施例透传模式下拨号上网的实现流程示意图;
图4为本发明实现拨号上网的装置实施例的组成结构示意图一;
图5为本发明实现拨号上网的装置实施例的组成结构示意图二;
图6为本发明实现拨号上网的装置实施例的组成结构示意图三;
图7为本发明实现拨号上网的系统实施例的组成结构示意图;
图8为本发明实现拨号上网的系统实施例的框架连接示意图。
本发明实施例中,接收用户终端的拨号上网请求;根据所述拨号上网请求,为所述用户终端配置第一IP地址;根据所述第一IP地址进行拨号上网。
图1为本发明实现拨号上网的方法实施例的实现流程示意图,如图1所示,所述方法用于免驱无线终端中,包括:
步骤101:接收用户终端的拨号上网请求;
可选的,免驱无线终端接收用户终端发送的拨号上网请求,所述拨号上网请求可以为用户终端发送的PPPOE拨号上网请求。
步骤102:根据所述拨号上网请求,为所述用户终端配置第一IP地址;
本步骤中,在接收用户终端发送的拨号上网请求之前,所述免驱无线终端首先需要为用户终端分配第二IP地址,用户终端利用所述第二IP地址可以与所述免驱无线终端建立连接;所述免驱无线终端根据所述第二IP地址,通过http/https协议配置自身工作模式和拨号上网参数。
可选的,所述工作模式可以包括但不限于:路由模式、透传模式;所述拨号上网参数可以包括但不限于以下至少一项:认证参数、联网参数;其中,所述认证参数可以具体为PPPOE认证参数、和/或APN认证参数、和/或PDP Type认证参数等;所述联网参数可以具体为2G/3G/4G无线联网参数等。
可选的,所述免驱无线终端判断自身的工作模式是否为透传模式,如果是,则接收用户终端发送的拨号上网请求,如果否,则所述免驱无线终端在不监听用户终端的拨号上网请求的同时,按照现有技术进行拨号上网。
本步骤中,所述免驱无线终端在接收用户终端发送的拨号上网请求之后,根据所述拨号上网请求,对用户终端进行认证;可选的,所述拨号上网请求的控制字段包括所述用户终端的认证参数,通过将所述认证参数和之前配置的拨号上网参数进行匹配实现对用户终端的认证;匹配成功时,对用户终端的认证通过,此时,所述免驱无线终端接收用户终端发送的地址配置请求,所述地址配置请求可以为PPP协议中的IPCP(Internet Protocol Control Protocol)地址配置请求;所述免驱无线终端根据所述地址配置请求,建立与互联网的无线连接,从互联网获取第一IP地址,并将所述获取的第一IP地址配置给用户终端;可选的,当匹配不成功时,说明对用户终端的认证未通过,此时,结束流程。
步骤103:根据所述第一IP地址进行拨号上网;
可选的,所述免驱无线终端将用户终端发往互联网的数据包,透传到
互联网,将互联网发往用户终端的数据包,透传到用户终端。
需要说明的是,所述免驱无线终端具有两个接口,一个WAN接口,一个LAN接口;其中,所述WAN接口通过2G/3G/4G无线技术可以连接到互联网,所述LAN接口通过USB或RJ45有线方式可以接入用户终端,为用户提供2G/3G/4G无线上网功能。
图2为本发明实施例为免驱无线终端配置工作模式和拨号上网参数的实现流程示意图,如图2所示,所述方法包括以下步骤:
步骤201:为用户终端分配第二IP地址;
可选的,所述免驱无线终端为用户终端动态配置私有的第二IP地址。
步骤202:根据所述第二IP地址,为所述免驱无线终端配置工作模式和拨号上网参数;
可选的,所述用户终端使用所述第二IP地址能够与免驱无线终端建立连接,所述免驱无线终端通过http/https协议为自身配置工作模式和拨号上网参数。
可选的,所述工作模式可以包括但不限于:路由模式、透传模式;所述拨号上网参数可以包括但不限于以下至少一项:认证参数、联网参数;其中,所述认证参数可以具体为PPPOE认证参数、和/或APN认证参数、和/或PDP Type认证参数等;所述联网参数可以具体为2G/3G/4G无线联网参数等。
步骤203:判断所述免驱无线终端的工作模式是否为透传模式,若是,则执行步骤204,若否,则执行步骤205;
步骤204:所述免驱无线终端监听用户终端的拨号上网请求;
可选的,当所述免驱无线终端的工作模式为透传模式时,所述免驱无线终端能够监听用户终端的拨号上网请求,在接收到用户终端的拨号上网请求时,按照本发明所述的方法进行拨号上网。
步骤205:所述免驱无线终端不监听用户终端的拨号上网请求;
可选的,当所述免驱无线终端工作模式不为透传模式,即为路由模式时,所述免驱无线终端不监听所述用户终端的拨号上网请求,按照现有技术进行拨号上网。
图3为本发明实施例透传模式下拨号上网的实现流程示意图,如图3所示,所述方法包括以下步骤:
步骤301:根据用户终端的拨号上网请求,对用户终端进行认证;
本步骤中,所述拨号上网请求的控制字段包括所述用户终端的认证参数,通过将所述认证参数和之前配置的拨号上网参数进行匹配实现对用户终端的认证。
步骤302:判断所述认证是否通过,若是,则执行步骤304;若否,则执行步骤303;
可选的,当匹配成功时,确定对用户终端的认证通过,此时,执行步骤304;当匹配不成功时,确定对用户终端的认证未通过,此时,执行步骤303。
步骤303:结束流程;
步骤304:接收用户终端发送的地址配置请求;
可选的,所述免驱无线终端接收用户终端发送的地址配置请求。
步骤305:根据所述地址配置请求,建立所述免驱无线终端与互联网的无线连接,获取第一IP地址;
可选的,所述免驱无线终端根据所述地址配置请求,建立与互联网的无线连接,从互联网获取第一IP地址。
步骤306:将所述第一IP地址配置给用户终端;
步骤307:根据第一IP地址,将用户终端发往互联网的数据包,透传到互联网;将互联网发往用户终端的数据包,透传到用户终端;
可选的,所述免驱无线终端具有两个接口,一个WAN接口,一个LAN接口;其中,所述WAN接口通过2G/3G/4G无线技术可以连接到互联网,所述LAN接口通过USB或RJ45有线方式可以接入用户终端,为用户提供2G/3G/4G无线上网功能。
本步骤中,通过透传能够实现互联网与用户终端之间数据包的双向传输,这样提高了转发数据包的速率,从而减轻了CPU负荷。
图4为本发明实现拨号上网的装置实施例的组成结构示意图一,如图4所示,所述装置设置于免驱无线终端中,包括:接收模块41、第一地址配置模块42、拨号上网模块43;其中,
所述接收模块41,配置为接收用户终端的拨号上网请求;
所述第一地址配置模块42,配置为根据所述接收模块41接收的拨号上网请求,为所述用户终端配置第一IP地址;
所述拨号上网模块43,配置为根据所述第一地址配置模块42配置的第一IP地址进行拨号上网;
可选的,图5为所述本发明实现拨号上网的装置实施例的组成结构示意图二,如图5所示,所述装置还包括:第二地址配置模块44,所述第二地址配置模块44,配置为为用户终端分配第二IP地址。
可选的,图6为所述本发明实现拨号上网的装置实施例的组成结构示意图三,如图6所示,所述装置还包括:配置管理模块45,所述配置管理模块45,配置为根据所述第二地址配置模块44分配的第二IP地址,为所述免驱无线终端配置工作模式和拨号上网参数。
可选的,所述工作模式可以包括但不限于:路由模式、透传模式。
可选的,所述接收模块41,具体配置为判断所述免驱无线终端的工作模式是否为透传模式,如果是,则接收用户终端的拨号上网请求。
可选的,所述第一地址配置模块42,具体配置为根据所述拨号上网请
求,对用户终端进行认证;判断所述认证是否通过,如果是,则接收用户终端发送的地址配置请求;根据所述地址配置请求,建立所述免驱无线终端与互联网的无线连接,获取第一IP地址;将所述第一IP地址配置给用户终端。
可选的,所述拨号上网模块43,具体配置为将用户终端发往互联网的数据包,透传到互联网,将互联网发往用户终端的数据包,透传到用户终端。
图7为本发明实现拨号上网的系统实施例的组成结构示意图,图8为本发明实现拨号上网的系统实施例的框架连接示意图,如图7、图8所示,所述系统包括实现拨号上网的装置71、用户终端72、以及互联网73;其中,
所述实现拨号上网的装置71为图4至图6所述的装置,包括:接收模块41、第一地址配置模块42、拨号上网模块43、第二地址配置模块44、以及配置管理模块45;
所述用户终端72,配置为向所述装置71发送拨号上网请求;
所述互联网73,配置为提供与所述装置71连接的无线网络。
所述免驱无线终端具有两个接口,一个WAN接口,一个LAN接口;其中,所述WAN接口通过2G/3G/4G无线技术可以连接到互联网,所述LAN接口通过USB或RJ45有线方式可以接入用户终端,为用户提供2G/3G/4G无线上网功能。
在实际应用中,所述接收模块41、第一地址配置模块42、拨号上网模块43、第二地址配置模块44、以及配置管理模块45可由中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)实现。
本发明实施例中所述的实现拨号上网的方法如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取
存储介质中。基于这样的理解,本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式,所述存储介质包括但不限于U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁盘存储器、CD-ROM、光学存储器等。
本申请是根据本申请实施例的方法、装置、以及计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
相应的,本发明实施例还提供一种计算机存储介质,其中存储有计算
机程序,该计算机程序用于执行本发明方法实施例中所述的实现拨号上网的方法。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
Claims (15)
- 一种实现拨号上网的方法,用于免驱无线终端中,其中,该方法包括:接收用户终端的拨号上网请求;根据所述拨号上网请求,为所述用户终端配置第一IP地址;根据所述第一IP地址进行拨号上网。
- 根据权利要求1所述的方法,其中,在接收用户终端的拨号上网请求之前,所述方法还包括:为用户终端分配第二IP地址;根据所述第二IP地址,为所述免驱无线终端配置工作模式和拨号上网参数。
- 根据权利要求2所述的方法,其中,所述工作模式为路由模式或透传模式。
- 根据权利要求2所述的方法,其中,所述拨号上网参数包括以下至少一项:认证参数、联网参数。
- 根据权利要求1至3任一项所述的方法,其中,所述接收用户终端的拨号上网请求,包括:判断所述免驱无线终端的工作模式是否为透传模式,如果是,则接收用户终端的拨号上网请求。
- 根据权利要求1所述的方法,其中,所述根据拨号上网请求,为用户终端配置第一IP地址,包括:根据所述拨号上网请求,对用户终端进行认证;判断所述认证是否通过,如果是,则接收用户终端发送的地址配置请求;根据所述地址配置请求,建立所述免驱无线终端与互联网的无线连接, 获取第一IP地址;将所述第一IP地址配置给用户终端。
- 根据权利要求1所述的方法,其中,所述根据第一IP地址进行拨号上网,包括:将用户终端发往互联网的数据包,透传到互联网;将互联网发往用户终端的数据包,透传到用户终端。
- 一种实现拨号上网的装置,设置于免驱无线终端中,其中,该装置包括:接收模块、第一地址配置模块、拨号上网模块;其中,所述接收模块,配置为接收用户终端的拨号上网请求;所述第一地址配置模块,配置为根据所述接收模块接收的拨号上网请求,为所述用户终端配置第一IP地址;所述拨号上网模块,配置为根据所述第一地址配置模块配置的第一IP地址进行拨号上网。
- 根据权利要求8所述的装置,其中,所述装置还包括:第二地址配置模块、配置管理模块;其中,所述第二地址配置模块,配置为为用户终端分配第二IP地址;所述配置管理模块,配置为根据所述第二地址配置模块分配的第二IP地址,为所述免驱无线终端配置工作模式和拨号上网参数。
- 根据权利要求9所述的装置,其中,所述工作模式为路由模式或透传模式。
- 根据权利要求8至10任一项所述的装置,其中,所述接收模块,配置为判断所述免驱无线终端的工作模式是否为透传模式,如果是,则接收用户终端的拨号上网请求。
- 根据权利要求8所述的装置,其中,所述第一地址配置模块,配置为根据所述拨号上网请求,对用户终端进行认证;判断所述认证是否通 过,如果是,则接收用户终端发送的地址配置请求;根据所述地址配置请求,建立所述免驱无线终端与互联网的无线连接,获取第一IP地址;将所述第一IP地址配置给用户终端。
- 根据权利要求8所述的装置,其中,所述拨号上网模块,配置为将用户终端发往互联网的数据包,透传到互联网,将互联网发往用户终端的数据包,透传到用户终端。
- 一种实现拨号上网的系统,其中,所述系统包括权利要求8至13任一项所述的装置、互联网、以及用户终端;其中,所述互联网,配置为提供与所述装置连接的无线网络;所述用户终端,配置为向所述装置发送拨号上网请求。
- 一种计算机存储介质,其中存储有计算机可执行指令,所述计算机可执行指令用于执行所述权利要求1至7任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410337274.X | 2014-07-15 | ||
CN201410337274.XA CN105323749A (zh) | 2014-07-15 | 2014-07-15 | 一种实现拨号上网的方法、装置及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016008250A1 true WO2016008250A1 (zh) | 2016-01-21 |
Family
ID=55077869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/091930 WO2016008250A1 (zh) | 2014-07-15 | 2014-11-21 | 实现拨号上网的方法、装置及系统、计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105323749A (zh) |
WO (1) | WO2016008250A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113438749A (zh) * | 2021-05-17 | 2021-09-24 | 深圳市广和通无线股份有限公司 | 多公网连接驱动方法、装置、计算机设备和存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108540385A (zh) * | 2017-03-06 | 2018-09-14 | 中兴通讯股份有限公司 | 数据发送方法及装置、路由器 |
CN114363929B (zh) * | 2021-12-28 | 2023-10-13 | 展讯半导体(成都)有限公司 | 通信模式配置方法与装置、网络设备 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1627704A (zh) * | 2003-12-12 | 2005-06-15 | 友讯科技股份有限公司 | 可通过乙太网路提供IPoA、PPPoA或PPPoE拨接上网服务的ADSL数据机 |
CN101765232A (zh) * | 2008-12-25 | 2010-06-30 | 中兴通讯股份有限公司 | Dsl网络接入方法和系统、以及宽带远程接入服务器 |
CN102098808A (zh) * | 2011-02-12 | 2011-06-15 | 华为终端有限公司 | 数据卡及数据卡连网的方法 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009713A (zh) * | 2007-01-08 | 2007-08-01 | 华为技术有限公司 | 一种宽带接入方法及设备 |
-
2014
- 2014-07-15 CN CN201410337274.XA patent/CN105323749A/zh not_active Withdrawn
- 2014-11-21 WO PCT/CN2014/091930 patent/WO2016008250A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1627704A (zh) * | 2003-12-12 | 2005-06-15 | 友讯科技股份有限公司 | 可通过乙太网路提供IPoA、PPPoA或PPPoE拨接上网服务的ADSL数据机 |
CN101765232A (zh) * | 2008-12-25 | 2010-06-30 | 中兴通讯股份有限公司 | Dsl网络接入方法和系统、以及宽带远程接入服务器 |
CN102098808A (zh) * | 2011-02-12 | 2011-06-15 | 华为终端有限公司 | 数据卡及数据卡连网的方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113438749A (zh) * | 2021-05-17 | 2021-09-24 | 深圳市广和通无线股份有限公司 | 多公网连接驱动方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN105323749A (zh) | 2016-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI584195B (zh) | 伺服器系統中基於iSCSI的裸機OS映像部署及無磁碟啟動的方法 | |
CN108738013B (zh) | 网络接入方法、装置和网络设备 | |
US11140162B2 (en) | Response method and system in virtual network computing authentication, and proxy server | |
US9509662B2 (en) | Techniques for providing services to multiple tenants via a shared end-point | |
JP5711754B2 (ja) | スマートクライアントルーティング | |
JP2014535228A (ja) | ポート設定方法、ルーティングデバイス、およびコンピュータプログラム製品 | |
US20160352628A1 (en) | Differentiated quality of service using tunnels with security as a service | |
WO2018191854A1 (zh) | 接入固定网络的方法和接入网关网元 | |
US9215227B2 (en) | Systems and methods for network communications | |
WO2013143352A1 (zh) | 无线网络连接的建立方法及终端设备 | |
CN108307694B (zh) | 一种网络连接信息获取方法及路由器 | |
WO2013071709A1 (zh) | 支持以3G及Wi-Fi方式接入网络的无线宽带数据卡 | |
US20150304279A1 (en) | Peripheral Interface for Residential laaS | |
WO2016008250A1 (zh) | 实现拨号上网的方法、装置及系统、计算机存储介质 | |
WO2015139401A1 (zh) | 无线网络的建立方法、系统及无线路由装置 | |
WO2018196503A1 (zh) | 鉴权信息的处理方法、终端和系统 | |
WO2013185696A2 (zh) | 一种数据处理的方法与设备 | |
CN103812841A (zh) | 旁路认证方法、设备和系统 | |
US10542572B2 (en) | System for connecting, securing and managing network devices with a dedicated private virtual network | |
CN107566476B (zh) | 一种接入方法、sdn控制器、转发设备及用户接入系统 | |
EP3310078B1 (en) | Communication method, small cell base station, small cell base station controller, terminal and system | |
Cisco | Configuring Protocol Translation and Virtual Asynchronous Devices | |
KR101947170B1 (ko) | 동적 vpn 관리 방법 및 장치 | |
JP2010050750A (ja) | 通信端末、通信制御方法、通信制御プログラム及び通信システム | |
WO2015021893A1 (zh) | 调制解调器拨号方法及宽带设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14897667 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14897667 Country of ref document: EP Kind code of ref document: A1 |