CN108243263A - A kind of cut-in method of mobile hotspot device and mobile hotspot device - Google Patents

A kind of cut-in method of mobile hotspot device and mobile hotspot device Download PDF

Info

Publication number
CN108243263A
CN108243263A CN201611218599.1A CN201611218599A CN108243263A CN 108243263 A CN108243263 A CN 108243263A CN 201611218599 A CN201611218599 A CN 201611218599A CN 108243263 A CN108243263 A CN 108243263A
Authority
CN
China
Prior art keywords
user equipment
request message
dhcp
hotspot device
mobile hotspot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611218599.1A
Other languages
Chinese (zh)
Inventor
严海双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611218599.1A priority Critical patent/CN108243263A/en
Publication of CN108243263A publication Critical patent/CN108243263A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

Cut-in method and mobile hotspot device the embodiment of the invention discloses a kind of mobile hotspot device, the method includes:Receive the dynamic host configuration protocol DHCP request message that each user equipment is sent;Each DHCP request message is transmitted to by Dynamic Host Configuration Protocol server by the virtual private network tunnel pre-established;The dhcp response message of the Dynamic Host Configuration Protocol server return is received by the vpn tunneling;Wherein, the IP address that the Dynamic Host Configuration Protocol server is the distribution of each user equipment is carried in the dhcp response message;The dhcp response message is transmitted to each user equipment, so that each user equipment accesses mobile hotspot device according to each IP address.

Description

A kind of cut-in method of mobile hotspot device and mobile hotspot device
Technical field
Cut-in method and mobile hot spot the present invention relates to mobile communication technology more particularly to a kind of mobile hotspot device are set It is standby.
Background technology
With increasingly popularizing for mobile equipment, people not only can access internet by wired or wireless mode, Mobile hotspot device can also give other users equipment by the mobile hot spot function shared data flow of unlatching.Opening mobile heat After point function, hotspot device will become a small-sized wireless router, so as to provide network insertion clothes for user equipment Business.Mobile hotspot device is because can meet the more collaborative share cellular signals of multi-user, therefore, be widely used in family, small-sized Enterprise, public domain.
Mobile hotspot device needs to distribute IP address for each user equipment, provides correlation as a wireless access point Network service.Fig. 1 is the implementation method flow diagram of the mobile hotspot device of user equipment access in the prior art.Such as Fig. 1 institutes Show, the method for the mobile hotspot device of user equipment access may comprise steps of:
Step 101, each user equipment send access request message to mobile hotspot device;
Step 102, mobile hotspot device return to access response message to each user equipment;Wherein, the access response The IP address that mobile hotspot device is the distribution of each user equipment is carried in message;
The mobile hotspot device of IP address access that step 103, each user equipment are distributed according to mobile hotspot device.
In the implementation of the present invention, inventor has found that at least there are the following problems in the prior art:
In the cut-in method of existing mobile hotspot device, since mobile hotspot device needs to distribute for each user equipment IP address, therefore, the system resource occupancy of mobile hotspot device are very big, be easy to cause mobile hotspot device fever, interim card, very To the phenomenon that shutdown, unnecessary puzzlement is caused to user, reduces user experience.
Invention content
In order to solve the above technical problems, cut-in method and shifting an embodiment of the present invention is intended to provide a kind of mobile hotspot device Dynamic hotspot device, can not only reduce the system resource occupancy of mobile hotspot device, but also can be provided for user equipment More stable mobile hotspot service.
The technical proposal of the invention is realized in this way:
An embodiment of the present invention provides a kind of cut-in method of mobile hotspot device, the method includes:
Receive the dynamic host configuration protocol DHCP request message that each user equipment is sent;
Each DHCP request message is transmitted to by Dynamic Host Configuration Protocol server by the virtual private network tunnel pre-established;
The dhcp response message of the Dynamic Host Configuration Protocol server return is received by the vpn tunneling;Wherein, the dhcp response The IP address that the Dynamic Host Configuration Protocol server is the distribution of each user equipment is carried in message;
The dhcp response message is transmitted to each user equipment, so that each user equipment connects according to each IP address Enter mobile hotspot device.
It is in the above-described embodiments, described that each DHCP request message is transmitted to by Dynamic Host Configuration Protocol server by the vpn tunneling, Including:
Each DHCP request message is transmitted to by bridge BR0 interfaces by Wireless LAN WLAN interface;
Each DHCP request message is transmitted to by vpn tunneling TUNNEL interfaces by the BR0 interfaces;
Each DHCP request message is transmitted to by the Dynamic Host Configuration Protocol server by the TUNNEL interfaces.
In the above-described embodiments, the method further includes:
Receive the IP packet that each user equipment is sent;Wherein, the IP of each user equipment is carried in each IP packet Location;
Each IP packet is marked by the differentiated services code points dscp field in each IP packet;
IP packet after each label is transmitted to far-end server.
In the above-described embodiments, it is described receive user equipment send dynamic host configuration protocol DHCP request message it Before, the method further includes:
Each user equipment is authenticated using Extensible Authentication Protocol EAP/ user identification module SIM modes;
When to each user equipment certification by when, receive the DHCP request message that each user equipment is sent.
In the above-described embodiments, each DHCP request message is transmitted to DHCP by the vpn tunneling by pre-establishing Server, including:
82 information of Option is inserted into each DHCP request message;
The each DHCP request message for being inserted into 82 information of Option is transmitted to by the vpn tunneling described Dynamic Host Configuration Protocol server.
In the above-described embodiments, the method further includes:
When monitoring that the user equipment is reached the standard grade, sent to accounting server and start charging request message;
Receive the beginning charge response message that the accounting server returns.
In the above-described embodiments, the method further includes:
When monitoring that the user equipment is offline, sent to the accounting server and stop charging request message;
Receive the stopping charge response message that the accounting server returns.
The embodiment of the present invention additionally provides a kind of mobile hotspot device, and the mobile hotspot device includes:Receiving unit and Retransmission unit;Wherein,
The receiving unit, for receiving the DHCP request message that each user equipment is sent;
Each DHCP request message is transmitted to DHCP clothes by the retransmission unit for passing through the vpn tunneling pre-established Business device;
The receiving unit, the dhcp response for being additionally operable to receive the Dynamic Host Configuration Protocol server return by the vpn tunneling disappear Breath;Wherein, the IP address that the Dynamic Host Configuration Protocol server is the distribution of each user equipment is carried in the dhcp response message;
The retransmission unit is additionally operable to the dhcp response message being transmitted to each user equipment, so that each user Equipment accesses mobile hotspot device according to each IP address.
In the above-described embodiments, the retransmission unit turns each DHCP request message specifically for passing through WLAN interface Issue BR0 interfaces;Each DHCP request message is transmitted to by TUNNEL interfaces by the BR0 interfaces;Pass through the TUNNEL Each DHCP request message is transmitted to the Dynamic Host Configuration Protocol server by interface.
In the above-described embodiments, the receiving unit is additionally operable to receive the IP packet that each user equipment is sent;Wherein, The IP address of each user equipment is carried in each IP packet;
The retransmission unit is additionally operable to each IP packet being marked by the dscp field in each IP packet;It will IP packet after each label is transmitted to far-end server.
In the above-described embodiments, the mobile hotspot device further includes:
Authentication unit, for being authenticated using EAP/SIM modes to each user equipment;
The receiving unit, for when to each user equipment certification by when, receive what each user equipment was sent DHCP request message.
In the above-described embodiments, the retransmission unit, specifically for being inserted into Option 82 in each DHCP request message Information;The each DHCP request message for being inserted into 82 information of Option is transmitted to the DHCP by the vpn tunneling to take Business device.
In the above-described embodiments, the retransmission unit is additionally operable to when monitoring that the user equipment is reached the standard grade, and is taken to charging Business device, which is sent, starts charging request message;
The receiving unit is additionally operable to receive the beginning charge response message that the accounting server returns.
In the above-described embodiments, the retransmission unit is additionally operable to when monitoring that the user equipment is offline, to the meter Take server and send stopping charging request message;
The receiving unit is additionally operable to receive the stopping charge response message that the accounting server returns.
It can be seen that in the technical solution of the embodiment of the present invention, first receive the DHCP request that each user equipment is sent and disappear Breath, is then transmitted to Dynamic Host Configuration Protocol server, then pass through vpn tunneling by the vpn tunneling pre-established by each DHCP request message The dhcp response message that Dynamic Host Configuration Protocol server returns is received, wherein, it is each user that Dynamic Host Configuration Protocol server is carried in dhcp response message The IP address of equipment distribution, is finally transmitted to each user equipment by dhcp response message, so that each user equipment is according to each A mobile hotspot device of IP address access.It is each by Dynamic Host Configuration Protocol server that is, in the technical solution of the embodiment of the present invention A user equipment distributes IP address.And in the cut-in method of existing mobile hotspot device, it is each use by mobile hotspot device Family equipment distribution IP address.Therefore, compared to the prior art, the cut-in method for the mobile hotspot device that the embodiment of the present invention proposes And mobile hotspot device, the system resource occupancy of mobile hotspot device can be not only reduced, but also can be user equipment More stable mobile hotspot service is provided;Also, the technical solution of the embodiment of the present invention realize it is simple and convenient, convenient for universal, fit It is wider with range.
Description of the drawings
Fig. 1 is the implementation method flow diagram of the mobile hotspot device of user equipment access in the prior art;
Fig. 2 is the first realization flow diagram of the cut-in method of mobile hotspot device in the embodiment of the present invention;
Fig. 3 is the implementation method flow diagram of EAP/SIM certifications in the embodiment of the present invention;
Fig. 4 is the implementation method schematic diagram for forwarding DHCP request message in the embodiment of the present invention by vpn tunneling;
Fig. 5 is the second realization flow diagram of the cut-in method of mobile hotspot device in the embodiment of the present invention;
Fig. 6 is the implementation method flow diagram for carrying out charging in the embodiment of the present invention to user equipment;
Fig. 7 is the first composition structure diagram of mobile hotspot device in the embodiment of the present invention;
Fig. 8 is the second composition structure diagram of mobile hotspot device in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes.
Fig. 2 is the first realization flow diagram of the cut-in method of mobile hotspot device in the embodiment of the present invention.Such as Fig. 2 institutes Show, the cut-in method of mobile equipment may comprise steps of:
Step 201 receives the DHCP request message that each user equipment is sent.
In a specific embodiment of the present invention, mobile hotspot device disappears in the DHCP request for receiving each user equipment transmission Before breath, EAP/SIM modes may be used, each user equipment is authenticated;When mobile hotspot device is to user equipment certification By when, receive user equipment send DHCP request message.EAP-SIM is as EAP authentication and secret key using GSM-SIM cards The mechanism of distribution.EAP-SIM provides bidirectional authentication mechanism, i.e.,:Mobile hotspot device certification user terminal;User terminal is also recognized The mobile hotspot device of card;Only two-way authentication is by the way that later, mobile hotspot device can just send EAP-Success message to user Terminal.
Fig. 3 is the implementation method flow diagram of EAP/SIM certifications in the embodiment of the present invention.As shown in figure 3, mobile hot spot Equipment may comprise steps of using the method that EAP/SIM modes are authenticated each user equipment:
Step 301, mobile hotspot device send EAP authentication request/identification messages (EAP- to user equipment Request/Identity message).
Step 302, user equipment reply EAP authentication response/identity identification message (EAP- to mobile hotspot device Response/Identity message);Mobile hotspot device uses Radius access request messages (Radius Access- Request message) certificate server will be sent to after the encapsulation of EAP-Response/Identity message.
Step 303, certificate server send EAP authentication request/SIM identification messages (EAP- to mobile hotspot device Request/SIM Start message);Mobile hotspot device uses Radius access authentications message (Radius Access- Challenge message) user equipment will be transmitted to after the encapsulation of EAP-Request/SIM Start message.
Step 304, user equipment send EAP authentication response/SIM identification messages (EAP to mobile hotspot device Response/SIM Start message);Mobile hotspot device uses Radius access request messages (Radius Access- Request message) certificate server will be sent to after the encapsulation of EAP Response/SIM Start message.
Step 305, certificate server send EAP authentication request/SIM identification authentications (EAP to mobile hotspot device Request/SIM Challenge message);Mobile hotspot device uses Radius access authentications message (Radius Access- Challenge message) user equipment will be transmitted to after the encapsulation of EAP Request/SIM Challenge message.
Step 306, user equipment reply EAP authentication response/SIM identification authentication message (EAP to mobile hotspot device Response/SIM Challenge message);Mobile hotspot device uses Radius Access-Request message by EAP Certificate server is transmitted to after the encapsulation of Response/SIM Challenge message.
Step 307, certificate server send EAP authentication by message (EAP success message) to mobile hotspot device; Mobile hotspot device is passed through by the message informing user equipment certification.
According to above-mentioned analysis it is found that through the above steps 301~307, EAP/SIM may be used in mobile hotspot device Mode is authenticated each user equipment.Since EAP-SIM provides bidirectional authentication mechanism, compared to the prior art, The embodiment of the present invention can provide a kind of more safe and reliable cut-in method.
Preferably, in a specific embodiment of the present invention, mobile hotspot device passes through to first user equipment certification Later, vpn tunneling can be established with vpn gateway.Specifically, the tunnel type that mobile hotspot device uses can include:GRE Over IPSec, PPTP, L2TP and OpenVPN.
Preferably, in a specific embodiment of the present invention, mobile hotspot device passes through to first user equipment certification Later, DHCP Snooping can be opened and intercepts pattern.Pattern is intercepted when mobile hotspot device opens DHCP-Snooping Afterwards, mobile hotspot device can intercept the DHCP Request message and DHCP Ack message received, and can be from It is extracted in the DHCP Request message or DHCP Ack message that receive and records IP address and MAC Address.
Each DHCP request message is transmitted to Dynamic Host Configuration Protocol server by step 202 by the vpn tunneling pre-established.
In a specific embodiment of the present invention, mobile hotspot device is in the DHCP request for receiving each user equipment transmission After message, can each DHCP request message be transmitted to by Dynamic Host Configuration Protocol server by the vpn tunneling pre-established.Specifically, Mobile hotspot device can be inserted into 82 information of Option in each DHCP request message;Then 82 information of Option will be inserted into Each DHCP request message be sent to Dynamic Host Configuration Protocol server.Wherein, 82 information of Option can include:The media of user equipment Access control (Media Access Control, MAC) address and service set (the Service Set of mobile hotspot device Identifier, SSID).
Fig. 4 is the implementation method schematic diagram for forwarding DHCP request message in the embodiment of the present invention by vpn tunneling.Such as Fig. 4 It is shown, by the method that each DHCP request message is transmitted to Dynamic Host Configuration Protocol server by the vpn tunneling that pre-establishes can include with Lower step:
Step 202a, each DHCP request message is transmitted to by BR0 interfaces by WLAN interface.
In a specific embodiment of the present invention, mobile hotspot device can receive each user equipment hair by WLAN interface The DHCP request message sent, movement can be transmitted to by WLAN interface by each DHCP request message by then moving hotspot device The BR0 interfaces of hotspot device.
Step 202b, each DHCP request message is transmitted to by TUNNEL interfaces by BR0 interfaces.
In a specific embodiment of the present invention, mobile hotspot device can also be disappeared each DHCP request by BR0 interfaces Breath is transmitted to the TUNNEL interfaces of mobile hotspot device.
Step 202c, each DHCP request message is transmitted to by vpn gateway by TUNNEL interfaces.
In a specific embodiment of the present invention, mobile hotspot device can be disappeared each DHCP request by TUNNEL interfaces Breath is transmitted to vpn gateway.
Step 202d, each DHCP request message is transmitted to Dynamic Host Configuration Protocol server by vpn gateway.
According to above-mentioned analysis it is found that 202a~202d through the above steps, mobile hotspot device can be by advance Each DHCP request message is transmitted to Dynamic Host Configuration Protocol server by the vpn tunneling of foundation, the IP address that carries that then will be received Dhcp response message is transmitted to each user equipment, is set so that each user equipment accesses mobile hot spot according to each IP address It is standby.
Step 203 receives the dhcp response message that Dynamic Host Configuration Protocol server returns by vpn tunneling;Wherein, dhcp response message It is middle to carry the IP address that Dynamic Host Configuration Protocol server is the distribution of each user equipment.
In a specific embodiment of the present invention, mobile hotspot device can receive Dynamic Host Configuration Protocol server by vpn tunneling and return Dhcp response message;Wherein, the IP address that Dynamic Host Configuration Protocol server is the distribution of each user equipment is carried in dhcp response message.
Specifically, in a specific embodiment of the present invention, mobile hotspot device can insert in each DHCP request message Enter 82 information of Option;Then each DHCP request message for being inserted into 82 information of Option is sent to by vpn gateway Dynamic Host Configuration Protocol server.Dynamic Host Configuration Protocol server can be each user equipment according to 82 information of Option in each DHCP request message Distribute IP address.
Dhcp response message is transmitted to each user equipment by step 204, so that each user equipment connects according to IP address Enter mobile hotspot device.
In a specific embodiment of the present invention, mobile hotspot device receives what Dynamic Host Configuration Protocol server returned by vpn tunneling After dhcp response message, dhcp response message can be transmitted to each user equipment by mobile hotspot device, so that each use Family equipment accesses mobile hotspot device according to IP address.
Fig. 5 is the second realization flow diagram of the cut-in method of mobile hotspot device in the embodiment of the present invention.Such as Fig. 5 institutes Show, the cut-in method of mobile hotspot device may comprise steps of:
Step 501, user equipment initiate DHCP and find message (DHCP Discover message), and mobile hotspot device is at this 82 information of Option is added in message;DHCP Discover message is sent to vpn gateway after being encapsulated by vpn tunneling;VPN nets Pass will be sent to Dynamic Host Configuration Protocol server after DHCP Discover message de-encapsulations.
Step 502, Dynamic Host Configuration Protocol server are received after DHCP Discover message, it will according to 82 information-replies of Option Dhcp reply message (DHCP Offer message), DHCP Offer message are moved by issuing mobile hotspot device after tunnel encapsulation Dynamic hotspot device will will be forwarded to user equipment after DHCP Offer message de-encapsulations.
Step 503, user equipment initiate DHCP request message (DHCP Request message), and mobile hotspot device disappears at this 82 information of Option is added in breath, DHCP Request message will by being sent to vpn gateway, vpn gateway after tunnel encapsulation Dynamic Host Configuration Protocol server is sent to after DHCP Request message de-encapsulations.
After step 504, Dynamic Host Configuration Protocol server receive DHCP Request message, it will according to 82 information-replies of Option DHCP response messages (DHCP Ack message), DHCP Request message by being sent to mobile hotspot device after tunnel encapsulation, Mobile hotspot device will be sent to user equipment after DHCP Ack message de-encapsulations.So far, user equipment successfully passes VPN tunnels Road obtains the IP address of Dynamic Host Configuration Protocol server distribution.
Fig. 6 is the implementation method flow diagram for carrying out charging in the embodiment of the present invention to user equipment.As shown in fig. 6, The method that accounting server carries out charging to user equipment may comprise steps of:
Step 601, when monitoring that the user equipment is reached the standard grade, to accounting server send start charging request message.
In a specific embodiment of the present invention, when mobile hotspot device monitors that user equipment is reached the standard grade, mobile hot spot is set Standby can be sent to accounting server starts charging request message (Account Start message).
Step 602 receives the beginning charge response message that accounting server returns.
In a specific embodiment of the present invention, mobile hotspot device can receive the beginning charging sound of accounting server return Answer message (Account Response message).
Step 603, when monitoring that user equipment is offline, to accounting server send stop charging request message.
In a specific embodiment of the present invention, when mobile hotspot device monitors that user equipment is offline, mobile hot spot is set Standby can be sent to accounting server stops charging request message (Account Stop message).
Step 604 receives the stopping charge response message that accounting server returns.
In a specific embodiment of the present invention, mobile hotspot device can receive the stopping charging sound of accounting server return Answer message (Account Response message).
Preferably, in a specific embodiment of the present invention, after all user equipmenies are offline, that is, it is true to move hotspot device When the number for recognizing user equipment is 0, mobile hotspot device need to clear up related service resource, be as follows:Close DHCP Snooping intercepts pattern, discharges related service resource;Vpn tunneling connection is disconnected, removes connection status;Remove TUNNEL0 ends Mouth, WLAN0 ports and BR0 ports.
The cut-in method for the mobile hotspot device that the embodiment of the present invention proposes first receives the DHCP that each user equipment is sent Then each DHCP request message is transmitted to Dynamic Host Configuration Protocol server, then pass through by request message by the vpn tunneling pre-established Vpn tunneling receives the dhcp response message that Dynamic Host Configuration Protocol server returns, wherein, it is each that Dynamic Host Configuration Protocol server is carried in dhcp response message The IP address of a user equipment distribution, is finally transmitted to each user equipment, so that each user equipment by dhcp response message Mobile hotspot device is accessed according to each IP address.That is, in the technical solution of the embodiment of the present invention, by DHCP service Device distributes IP address for each user equipment.And in the cut-in method of existing mobile hotspot device, it is by mobile hotspot device Each user equipment distributes IP address.Therefore, compared to the prior art, the mobile hotspot device that the embodiment of the present invention proposes connects Enter method, can not only reduce the system resource occupancy of mobile hotspot device, but also can be provided for user equipment more steady Fixed mobile hotspot service;Also, the technical solution of the embodiment of the present invention realize it is simple and convenient, convenient for universal, the scope of application is more Extensively.
Fig. 7 is the first composition structure diagram of mobile hotspot device in the embodiment of the present invention.As shown in fig. 7, the shifting Dynamic hotspot device includes:Receiving unit 701 and retransmission unit 702;Wherein,
The receiving unit 701, for receiving the DHCP request message that each user equipment is sent;
Each DHCP request message is transmitted to DHCP by the retransmission unit 702 for passing through the vpn tunneling pre-established Server;
The receiving unit 701 is additionally operable to the dhcp response for receiving the Dynamic Host Configuration Protocol server by the vpn tunneling and returning Message;Wherein, the IP address that the Dynamic Host Configuration Protocol server is the distribution of each user equipment is carried in the dhcp response message;
The retransmission unit 702 is additionally operable to the dhcp response message being transmitted to each user equipment, so that each use Family equipment accesses mobile hotspot device according to each IP address.
Further, each DHCP request message is transmitted to by the retransmission unit 702 specifically for passing through WLAN interface BR0 interfaces;Each DHCP request message is transmitted to by TUNNEL interfaces by the BR0 interfaces;Pass through the TUNNEL interfaces Each DHCP request message is transmitted to the Dynamic Host Configuration Protocol server.
Further, the receiving unit 701 is additionally operable to receive the IP packet that each user equipment is sent;Wherein, it is each The IP address of each user equipment is carried in IP packet;
The retransmission unit 702 is additionally operable to each IP packet being marked by the dscp field in each IP packet; IP packet after each label is transmitted to far-end server.
Fig. 8 is the second composition structure diagram of mobile hotspot device in the embodiment of the present invention.As shown in figure 8, the shifting Dynamic hotspot device further includes:
Authentication unit 703, for being authenticated using EAP/SIM modes to each user equipment;
The receiving unit 701, for when to each user equipment certification by when, receive what each user equipment was sent DHCP request message.
Further, the retransmission unit 702 is believed specifically for being inserted into Option 82 in each DHCP request message Breath;The each DHCP request message for being inserted into 82 information of Option is transmitted to by the DHCP service by the vpn tunneling Device.
Further, the retransmission unit 702 is additionally operable to when monitoring that the user equipment is reached the standard grade, to billing of services Device, which is sent, starts charging request message;
The receiving unit 701 is additionally operable to receive the beginning charge response message that the accounting server returns.
Further, the retransmission unit 702 is additionally operable to when monitoring that the user equipment is offline, to the charging Server, which is sent, stops charging request message;
The receiving unit 701 is additionally operable to receive the stopping charge response message that the accounting server returns.
In practical applications, the receiving unit 701, retransmission unit 702 and authentication unit 703 can be by being located at mobile heat Central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field-programmable gate array in point device Arrange realizations such as (FPGA).
The mobile hotspot device that the embodiment of the present invention proposes first receives the DHCP request message that each user equipment is sent, Then each DHCP request message is transmitted to, then receive by vpn tunneling by Dynamic Host Configuration Protocol server by the vpn tunneling pre-established The dhcp response message that Dynamic Host Configuration Protocol server returns, wherein, it is each user equipment that Dynamic Host Configuration Protocol server is carried in dhcp response message Dhcp response message is finally transmitted to each user equipment by the IP address of distribution, so that each user equipment is according to each IP The mobile hotspot device of address access.It is each use by Dynamic Host Configuration Protocol server that is, in the technical solution of the embodiment of the present invention Family equipment distribution IP address.And in the cut-in method of existing mobile hotspot device, it is set by mobile hotspot device for each user Back-up matches IP address.Therefore, compared to the prior art, the mobile hotspot device that the embodiment of the present invention proposes, can not only be reduced The system resource occupancy of mobile hotspot device, but also more stable mobile hotspot service can be provided for user equipment;And And the technical solution of the embodiment of the present invention realize it is simple and convenient, convenient for universal, the scope of application is wider.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the shape of the embodiment in terms of hardware embodiment, software implementation or combination software and hardware can be used in the present invention Formula.Moreover, the present invention can be used can use storage in one or more computers for wherein including computer usable program code The form of computer program product that medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (14)

1. a kind of cut-in method of mobile hotspot device, which is characterized in that the method includes:
Receive the dynamic host configuration protocol DHCP request message that each user equipment is sent;
Each DHCP request message is transmitted to by Dynamic Host Configuration Protocol server by the virtual private network tunnel pre-established;
The dhcp response message of the Dynamic Host Configuration Protocol server return is received by the vpn tunneling;Wherein, the dhcp response message It is middle to carry the IP address that the Dynamic Host Configuration Protocol server is the distribution of each user equipment;
The dhcp response message is transmitted to each user equipment, is moved so that each user equipment is accessed according to each IP address Dynamic hotspot device.
2. according to the method described in claim 1, it is characterized in that, described disappeared each DHCP request by the vpn tunneling Breath is transmitted to Dynamic Host Configuration Protocol server, including:
Each DHCP request message is transmitted to by bridge BR0 interfaces by Wireless LAN WLAN interface;
Each DHCP request message is transmitted to by vpn tunneling TUNNEL interfaces by the BR0 interfaces;
Each DHCP request message is transmitted to by the Dynamic Host Configuration Protocol server by the TUNNEL interfaces.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
Receive the IP packet that each user equipment is sent;Wherein, the IP address of each user equipment is carried in each IP packet;
Each IP packet is marked by the differentiated services code points dscp field in each IP packet;
IP packet after each label is transmitted to far-end server.
4. the according to the method described in claim 1, it is characterized in that, dynamic host configuration association for receiving user equipment and sending Before discussing DHCP request message, the method further includes:
Each user equipment is authenticated using Extensible Authentication Protocol EAP/ user identification module SIM modes;
When to each user equipment certification by when, receive the DHCP request message that each user equipment is sent.
5. according to the method described in claim 1, it is characterized in that, it is described by the vpn tunneling that pre-establishes by each DHCP Request message is transmitted to Dynamic Host Configuration Protocol server, including:
82 information of Option is inserted into each DHCP request message;
The each DHCP request message for being inserted into 82 information of Option is transmitted to the DHCP by the vpn tunneling to take Business device.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
When monitoring that the user equipment is reached the standard grade, sent to accounting server and start charging request message;
Receive the beginning charge response message that the accounting server returns.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
When monitoring that the user equipment is offline, sent to the accounting server and stop charging request message;
Receive the stopping charge response message that the accounting server returns.
8. a kind of mobile hotspot device, which is characterized in that the mobile hotspot device includes:Receiving unit and retransmission unit;Its In,
The receiving unit, for receiving the DHCP request message that each user equipment is sent;
Each DHCP request message is transmitted to Dynamic Host Configuration Protocol server by the retransmission unit for passing through the vpn tunneling pre-established;
The receiving unit is additionally operable to the dhcp response message for receiving the Dynamic Host Configuration Protocol server by the vpn tunneling and returning;Its In, the IP address that the Dynamic Host Configuration Protocol server is the distribution of each user equipment is carried in the dhcp response message;
The retransmission unit is additionally operable to the dhcp response message being transmitted to each user equipment, so that each user equipment Mobile hotspot device is accessed according to each IP address.
9. mobile hotspot device according to claim 8, which is characterized in that the retransmission unit, specifically for passing through Each DHCP request message is transmitted to BR0 interfaces by WLAN interface;Each DHCP request message is forwarded by the BR0 interfaces Give TUNNEL interfaces;Each DHCP request message is transmitted to by the Dynamic Host Configuration Protocol server by the TUNNEL interfaces.
10. mobile hotspot device according to claim 8, which is characterized in that the receiving unit is additionally operable to receive each The IP packet that user equipment is sent;Wherein, the IP address of each user equipment is carried in each IP packet;
The retransmission unit is additionally operable to each IP packet being marked by the dscp field in each IP packet;It will be each IP packet after label is transmitted to far-end server.
11. mobile hotspot device according to claim 8, which is characterized in that the mobile hotspot device further includes:
Authentication unit, for being authenticated using EAP/SIM modes to each user equipment;
The receiving unit, for when to each user equipment certification by when, receiving DHCP that each user equipment is sent please Seek message.
12. mobile hotspot device according to claim 8, which is characterized in that the retransmission unit, specifically for each 82 information of Option is inserted into DHCP request message;The each of 82 information of Option will be inserted by the vpn tunneling DHCP request message is transmitted to the Dynamic Host Configuration Protocol server.
13. mobile hotspot device according to claim 8, which is characterized in that the retransmission unit is additionally operable to monitor When the user equipment is reached the standard grade, sent to accounting server and start charging request message;
The receiving unit is additionally operable to receive the beginning charge response message that the accounting server returns.
14. mobile hotspot device according to claim 8, which is characterized in that the retransmission unit is additionally operable to monitor When the user equipment is offline, is sent to the accounting server and stop charging request message;
The receiving unit is additionally operable to receive the stopping charge response message that the accounting server returns.
CN201611218599.1A 2016-12-26 2016-12-26 A kind of cut-in method of mobile hotspot device and mobile hotspot device Pending CN108243263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611218599.1A CN108243263A (en) 2016-12-26 2016-12-26 A kind of cut-in method of mobile hotspot device and mobile hotspot device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611218599.1A CN108243263A (en) 2016-12-26 2016-12-26 A kind of cut-in method of mobile hotspot device and mobile hotspot device

Publications (1)

Publication Number Publication Date
CN108243263A true CN108243263A (en) 2018-07-03

Family

ID=62701566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611218599.1A Pending CN108243263A (en) 2016-12-26 2016-12-26 A kind of cut-in method of mobile hotspot device and mobile hotspot device

Country Status (1)

Country Link
CN (1) CN108243263A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683161A (en) * 2020-05-18 2020-09-18 新华三技术有限公司 Access method, device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859445A (en) * 2006-03-15 2006-11-08 华为技术有限公司 Mobile terminal IP address distributing method
CN101510902A (en) * 2009-03-25 2009-08-19 杭州华三通信技术有限公司 Method, system and equipment for preventing wireless client terminal from disconnection during internet process
CN101577738A (en) * 2009-06-25 2009-11-11 杭州华三通信技术有限公司 Address distribution method and equipment thereof
CN101771612A (en) * 2010-01-13 2010-07-07 华为技术有限公司 Tunnel establishing method, equipment and network system
CN102892170A (en) * 2012-09-19 2013-01-23 邦讯技术股份有限公司 Method and system for terminal to acquire core network internet protocol (IP) address
CN102917355A (en) * 2011-08-03 2013-02-06 中兴通讯股份有限公司 Access method, access system and mobile intelligent access point
CN103220650A (en) * 2012-01-18 2013-07-24 华为技术有限公司 Method and device for WiFi terminal to visit different service domains
CN105635327A (en) * 2014-10-28 2016-06-01 杭州华三通信技术有限公司 Method and device of address distribution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859445A (en) * 2006-03-15 2006-11-08 华为技术有限公司 Mobile terminal IP address distributing method
CN101510902A (en) * 2009-03-25 2009-08-19 杭州华三通信技术有限公司 Method, system and equipment for preventing wireless client terminal from disconnection during internet process
CN101577738A (en) * 2009-06-25 2009-11-11 杭州华三通信技术有限公司 Address distribution method and equipment thereof
CN101771612A (en) * 2010-01-13 2010-07-07 华为技术有限公司 Tunnel establishing method, equipment and network system
CN102917355A (en) * 2011-08-03 2013-02-06 中兴通讯股份有限公司 Access method, access system and mobile intelligent access point
CN103220650A (en) * 2012-01-18 2013-07-24 华为技术有限公司 Method and device for WiFi terminal to visit different service domains
CN102892170A (en) * 2012-09-19 2013-01-23 邦讯技术股份有限公司 Method and system for terminal to acquire core network internet protocol (IP) address
CN105635327A (en) * 2014-10-28 2016-06-01 杭州华三通信技术有限公司 Method and device of address distribution

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683161A (en) * 2020-05-18 2020-09-18 新华三技术有限公司 Access method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101150594B (en) Integrated access method and system for mobile cellular network and WLAN
TWI249316B (en) SIM-based authentication method for supporting inter-AP fast handover
US8885571B2 (en) System and method for maintaining a communication session
EP2606663B1 (en) A system and method for wi-fi roaming
US9154950B2 (en) Network access method, apparatus and system
US20020174335A1 (en) IP-based AAA scheme for wireless LAN virtual operators
US9749320B2 (en) Method and system for wireless local area network user to access fixed broadband network
CN109286932A (en) Networking authentication method, apparatus and system
CN103222292A (en) Dynamic account creation with secured hotspot network
CN102255918A (en) DHCP (Dynamic Host Configuration Protocol) Option 82 based user accessing authority control method
CN106375123B (en) A kind of configuration method and device of 802.1X certification
US9258309B2 (en) Method and system for operating a wireless access point for providing access to a network
CN110401951A (en) Authenticate the methods, devices and systems of terminal in WLAN
CN102932787A (en) Service test system for extensible authentication protocol (EAP)-subscriber identity module (SIM) user authentication
CN103796245B (en) The management method of data message, apparatus and system
CN102215515B (en) Data processing method, communication system and related equipment
CN104661213A (en) Novel unit and user equipment for providing scheduled network resources by WiFi network
CN101499993B (en) Authentication method, equipment and system
CN108243263A (en) A kind of cut-in method of mobile hotspot device and mobile hotspot device
CN201657327U (en) Key exchange and agreement system between mobile device and secure access gateway
CN102843379B (en) A kind of authenticating network towards multiple access pattern
CN110381486A (en) A kind of method, Tag label and terminal for sharing VoWiFi business by NFC
CN101742507B (en) System and method for accessing Web application site for WAPI terminal
Yan et al. Study of wapi technology and security
KR101480706B1 (en) Network system for providing security to intranet and method for providing security to intranet using security gateway of mobile communication network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180703

RJ01 Rejection of invention patent application after publication