CN107995070A - Networking control method, device and BRAS based on IPOE - Google Patents
Networking control method, device and BRAS based on IPOE Download PDFInfo
- Publication number
- CN107995070A CN107995070A CN201711169509.9A CN201711169509A CN107995070A CN 107995070 A CN107995070 A CN 107995070A CN 201711169509 A CN201711169509 A CN 201711169509A CN 107995070 A CN107995070 A CN 107995070A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- address
- dhcp request
- mark
- access address
- 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.)
- Granted
Links
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/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
- H04L12/287—Remote access server, e.g. BRAS
-
- 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]
Abstract
Present disclose provides a kind of networking control method, device and BRAS based on IPOE;This method is applied to BRAS, and this method includes:If receive the DHCP request of user terminal initiation, judge whether user terminal roams;If so, delete the conversation recording before user terminal roaming;NAK messages are sent to user terminal, initiating next DHCP request again to trigger user terminal networks.The disclosure can improve the speed of roaming networking, so as to improve the online experience degree of user.
Description
Technical field
This disclosure relates to field of communication technology, more particularly, to a kind of networking control method based on IPOE, device and
BRAS。
Background technology
BRAS (Broadband Remote Access Server, Broadband Remote Access Server) is a kind of towards broadband
The access gateway of network application;BRAS is located at the marginal layer of backbone network, can complete the IP (Internet of user bandwidth
Protocol, the agreement interconnected between network)/ATM (Asynchronous Transfer Mode, asynchronous transfer mode) net
Data access, realizes that business premises and the broadband access network of neighbours living etc. are applied.
In the network based on IPOE (IP over ethernet, the Internet protocol of Ethernet bearing), BRAS is usual
For controlling the internet behavior of user terminal, for example, certification, charging and management of user terminal access etc.;When user terminal is sent out
During raw spanning gateway roaming, user terminal re-initiates DHCP request, and BRAS is received after the request as in the user's terminal distribution
Net address, so that user terminal networks;However, in this process, DHCP (Dynamic Host Configuration
Protocol, dynamic host configuration protocol) relevant information and the conversation recording before user terminal roaming that carry in request message
Clash, and user terminal and be unaware of, cause user terminal passively to wait DHCP request handling result, and actively again
Secondary initiation DHCP request, adds the time-consuming of roaming networking so that networking speed is slower.
The content of the invention
In view of this, the purpose of the disclosure is to provide a kind of networking control method, device and BRAS based on IPOE, with
The speed of roaming networking is improved, so as to improve the online experience degree of user.
To achieve these goals, the technical solution that the disclosure uses is as follows:
In a first aspect, present disclose provides a kind of networking control method based on IPOE, this method is applied to BRAS, the party
Method includes:If receiving the DHCP request of user terminal initiation, judge whether user terminal roams;If so, delete
Conversation recording before user terminal roaming;To user terminal send NAK messages, with trigger user terminal initiate again it is next
DHCP request networks.
Second aspect, present disclose provides a kind of networking control device based on IPOE, which is arranged at BRAS, the dress
Put including:Judgment module, if the DHCP request for receiving user terminal initiation, judges whether user terminal overflows
Trip;Conversation recording removing module, if roamed for user terminal, deletes the conversation recording before user terminal roaming;Hair
Module is sent, for sending NAK messages to user terminal, initiating next DHCP request again to trigger user terminal is connected
Net.
The third aspect, disclosure embodiment provide a kind of BRAS, including processor and machinable medium, should
Machinable medium is stored with the machine-executable instruction that can be executed by processor, and processor performs the machine and can hold
Row is instructed to realize the above method.
Fourth aspect, disclosure embodiment provide a kind of machinable medium, and the machine readable storage is situated between
Matter is stored with machine-executable instruction, and when being called and being performed by processor, the machine can be held the machine-executable instruction
Row instruction promotes the processor to realize the above method.
Above-mentioned networking control method, device, BRAS and machinable medium based on IPOE, when definite user terminal
After roaming, the conversation recording before user terminal roaming is deleted, and NAK messages are sent to user terminal, to trigger user's end
DHCP request is initiated again and is networked in end.In which, when user terminal roams, before deleting user terminal roaming
Conversation recording, and trigger user terminal in a manner of sending NAK messages and initiate DHCP request again, before being roamed because of user terminal
Conversation recording has been deleted, therefore the DHCP request initiated again can successfully complete networking, improves the speed of roaming networking, from
And improve the online experience degree of user.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above-mentioned purpose of the disclosure, feature and advantage to become apparent, better embodiment cited below particularly, and match somebody with somebody
Attached drawing appended by conjunction, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of disclosure embodiment or technical solution of the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in describing below
Attached drawing is some embodiments of the disclosure, for those of ordinary skill in the art, before not making the creative labor
Put, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of application environment schematic diagram for networking control method based on IPOE that disclosure embodiment provides;
Fig. 2 is a kind of flow chart for networking control method based on IPOE that disclosure embodiment provides;
Fig. 3 is the flow chart for another networking control method based on IPOE that disclosure embodiment provides;
Fig. 4 is the flow chart for another networking control method based on IPOE that disclosure embodiment provides;
Fig. 5 is the flow chart for another networking control method based on IPOE that disclosure embodiment provides;
Fig. 6 is a kind of structure diagram for networking control device based on IPOE that disclosure embodiment provides;
Fig. 7 is a kind of structure diagram for BRAS that disclosure embodiment provides.
Embodiment
To make the purpose, technical scheme and advantage of disclosure embodiment clearer, below in conjunction with attached drawing to this public affairs
The technical solution opened is clearly and completely described, it is clear that and described embodiment is a part of embodiment of the disclosure,
Rather than whole embodiment.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that is obtained, belong to the scope of disclosure protection.
A kind of application environment schematic diagram of networking control method based on IPOE shown in Figure 1;BRAS is a kind of face
To the access gateway of broad band network application;As the bridge between broadband access network and backbone network, BRAS is used to provide basic
The management function of access means and broadband access network.Mainly IPOE modules and DHCP modules are included in the BRAS.
, it is necessary to initiate DHCP request message when user terminal is networked, which is set by access device LSW and relaying
Standby RELAY is sent to BRAS;The request is authenticated by the IPOE modules in BRAS and DHCP modules, IP address is distributed, swashs
After the processing such as session living, ACK messages are generated;The ACK messages are sent to the user terminal through RELAY and LSW, and the user's terminal receives
It can network after ACK messages.
Based on above-mentioned network connecting mode, it is necessary to initiate DHCP request message again when spanning gateway roaming occurs for user terminal;Such as
Shown in Fig. 1, when user terminal roams to region B by region A, access device is converted into LSW2 by LSW1;Due to LSW1 connections
The port1 ports of RELAY, the port2 ports of LSW2 connections RELAY, RELAY receive the port of above-mentioned DHCP request message
Changed;Therefore, the relevant information for causing to carry in current DHCP request message is remembered with the session before user terminal roaming
Record clashes;In this case, BRAS can delete the conversation recording before user terminal roaming, and user terminal is waited to send out again
After playing DHCP request message, which could normally be handled, user terminal is networked.
However, user terminal and be unaware of initiate DHCP request message be not normally processed, be typically only capable to setting
When ACK messages are not received in the period, DHCP request message is initiated again, or DHCP request is initiated by user's triggering again
Message;When this network access for repeatedly initiating DHCP request message causes user terminal and roams, the speed that networks is slower
Problem.
When being roamed for above-mentioned user terminal, network slow problem, and the embodiment of the present disclosure provides one kind
Networking control method, device, BRAS and machinable medium based on IPOE;The technology can be applied in BRAS, especially
It can be applied in the BRAS in the access networking of three layers of IP OE certifications, which can use relevant software or hardware real
It is existing, it is described below by embodiment.
In wherein a kind of embodiment, a kind of flow chart of networking control method based on IPOE shown in Figure 2;
This method is applied to BRAS, and this method comprises the following steps:
Step S202, if receive the DHCP request of user terminal initiation, judges whether user terminal roams;
The transmission path information of the DHCP request is usually carried in above-mentioned DHCP request, for example, the access of user terminal
IP address, the DHCP request of equipment are passed to port-mark of trunking etc.;BRAS can be sentenced by these transmission path informations
Whether disconnected user terminal roams;For example, as in Fig. 1, user terminal is in region A, access device LSW1, DHCP request
The port-mark of incoming RELAY is port1;For user terminal in region B, access device LSW2, DHCP request is passed to RELAY
Port-mark be port2;LSW1 and LSW2 is different access device, so IP address is also different;When being taken in DHCP request
The IP address and/or DHCP request of the access device of band are passed to the port-mark of trunking and the conversation recording of the user's terminal
In historical record it is inconsistent when, it may be determined that the user's terminal is roamed.
For another example, an identification field can also be set in DHCP request, when the IP address and/or DHCP of above-mentioned access device
When the port-mark of the incoming trunking of request changes, it is identified by the field, BRAS is by checking the identifier word
The content of section, determines whether user terminal roams.
Step S204, if user terminal roams, deletes the conversation recording before user terminal roaming;Wherein, the meeting
Words record is referred to as SESSION.
Step S206, NAK (Negative Acknowledgment, negative response) message is sent to user terminal, to touch
Hair user terminal initiates next DHCP request and networks again.
After user terminal roams, the conversation recording before roaming cannot support area of the user terminal after roaming
Continue to surf the Internet in domain;BRAS needs to send NAK messages to notify user terminal initiates next DHCP request to network, in order to keep away
Conversation recording before the relevant information for exempting to carry in next DHCP request message is roamed with user terminal clashes, and is sending
Before NAK messages, the conversation recording before user terminal roaming is deleted.
Above-mentioned NAK messages can make user terminal know that DHCP request is not normally processed in time, networking failure, this
When, user terminal can initiate DHCP request again immediately, and the conversation recording before being roamed due to user terminal has been deleted, should
DHCP request can be usually normally processed, and user terminal is networked.
If user terminal initiates DHCP request, BRAS does not confirm whether user terminal roams, then easily causes
Conversation recording before the relevant information carried in DHCP request message is roamed with user terminal clashes, and BRAS can be abandoned at this time
The DHCP request, and user terminal and be unaware of, cause user terminal passively to wait DHCP request handling result, and actively
DHCP request is initiated again, adds the time-consuming of roaming networking so that networking speed is slower.
A kind of networking control method based on IPOE that disclosure embodiment provides, when definite user terminal roams
Afterwards, the conversation recording before user terminal roaming is deleted, and NAK messages are sent to user terminal, is sent out again with triggering user terminal
DHCP request is played to network.In which, when user terminal roams, the session note before user terminal roaming is deleted
Record, and trigger user terminal in a manner of sending NAK messages and initiate DHCP request again, the session note before being roamed because of user terminal
Record has been deleted, therefore the DHCP request initiated again can successfully complete networking, the speed of roaming networking is improved, so as to improve
The online experience degree of user.
In wherein another embodiment, judge whether user terminal is sent out with the access address carried using DHCP request
Illustrated exemplified by raw roaming;The flow chart of another networking control method based on IPOE shown in Figure 3;The embodiment party
It is above-mentioned that the step of whether user terminal roams judged in formula, specifically include:In the giaddr fields for extracting DHCP request
First access address;Search corresponding second access address of conversation recording of the user terminal preserved;With comparing the first access
Whether location is identical with the second access address;If not, determine that user terminal roams.
As shown in figure 3, this method specifically comprises the following steps:
Step S302, if receiving the DHCP request of user terminal initiation, in the giaddr fields for extracting DHCP request
First access address;The giaddr fields be typically used to hold dhcp client send after request message by first DHCP
The IP address of relaying.
The DHCP request that user terminal is initiated, is usually forwarded to trunking by the access device of the user's terminal;In this
After equipment receives DHCP request, the first access address is added in the giaddr fields of the DHCP request;First access address
Can be that the port-mark of the DHCP request, or the IP address of above-mentioned access device are received on the trunking;Addition is completed
Afterwards, then by the DHCP request it is forwarded to BRAS.
In the case where network structure is fixed, the IP address of the above-mentioned port-mark and access device for receiving the DHCP request
For one-to-one relation, trunking can be added only in above-mentioned port-mark or above-mentioned IP address in giaddr fields
One kind, can also add port-mark and IP address at the same time.
Step S304, searches corresponding second access address of conversation recording of the user terminal preserved;
When user terminal initiates to surf the Internet in the region before DHCP request in step s 302, in its corresponding conversation recording
Preserve the second access address surfed the Internet in the region;Second access address can be that user terminal networks it in the region
It is preceding to initiate what is carried during DHCP request, the port mark of the DHCP request is received in the IP address and/or trunking of access device
Know.
Step S306, it is whether identical with the second access address to compare the first access address;If so, perform step S308;
If not, perform step S310;
Step S308, determines that user terminal does not roam, and the DHCP request is handled according to normal procedure, for the movement
Terminal distribution IP address, and the corresponding DHCP leases of the IP address are set, user terminal is networked.
Step S310, determines that user terminal roams, and deletes the conversation recording before user terminal roaming;
Step S312, deletes the DHCP lease information of the user terminal preserved;
When the DHCP leases information is surfed the Internet for user terminal in the region before roaming, used IP address is corresponding
DHCP lease information;The IP address can be discharged by deleting the DHCP leases information, so that other users terminal uses, with improving IP
The utilization rate of location;It is of course also possible to when the lease time of the DHCP lease information expires, the lease information is automatically deleted.
Step S314, to user terminal send NAK messages, with trigger user terminal initiate again next DHCP request into
Row networking.
A kind of networking control method based on IPOE that disclosure embodiment provides, by comparing DHCP request
Corresponding second access address of the first access address and conversation recording in giaddr fields, determines whether user terminal overflows
Trip;If do not roamed, handling the DHCP request according to normal procedure makes user terminal network;In the event of roaming,
Conversation recording and DHCP lease information before user terminal roaming are deleted, and NAK messages are sent to user terminal, to trigger use
Family terminal initiates DHCP request and networks again.In which, BRAS determines whether user terminal occurs by access address
Roaming;When roaming, the conversation recording before user terminal roaming is deleted, and user's end is triggered in a manner of sending NAK messages
DHCP request is initiated at end again, and the conversation recording before being roamed because of user terminal has been deleted, therefore the DHCP request initiated again can
To successfully complete networking, the speed of roaming networking is improved, so as to improve the online experience degree of user.
In wherein another embodiment, above-mentioned second access ground is obtained in the form of searching address field inspection table
Location;The flow chart of another networking control method based on IPOE shown in Figure 4;In the embodiment, above-mentioned lookup is
The step of conversation recording of the user terminal of preservation corresponding second access address, specifically include:Obtain and carried in DHCP request
User terminal mark;Table is checked using the identifier lookup address field of user terminal, obtains the conversation recording of user terminal
Corresponding second access address;Wherein, which includes:The mark of user terminal and the session note of user terminal
Record corresponding second access address.
As shown in figure 4, this method specifically comprises the following steps:
Step S402, if receiving the DHCP request of user terminal initiation, in the giaddr fields for extracting DHCP request
First access address;
Step S404, obtains the mark of the user terminal carried in DHCP request;
The mark of the user's terminal can be the content in DHCP request in Client MAC address fields, i.e. user
The MAC Address of terminal;
Step S406, checks table using the identifier lookup address field of above-mentioned user terminal, obtains the session of user terminal
Record corresponding second access address;Wherein, which includes:The mark of user terminal and the meeting of user terminal
Words record corresponding second access address.
Table 1
Index | The mark of user terminal | Second access address |
1 | MAC1 | IP1 |
2 | MAC2 | IP2 |
As shown in Table 1 table is checked for a kind of address field;In general, in the case where roaming, user terminal is initiated
During DHCP request, BRAS can be the IP address that the user's terminal distribution is used to surf the Internet;When the user's terminal is allocated IP address
Afterwards, the mark of the user's terminal and current access address are checked table by BRAS added to address above mentioned field;This is current to connect
Entering address includes:The IP address of the access device of user terminal connection, alternatively, receive the DHCP request of user terminal transmission
Port-mark;The port-mark is the port-mark for the trunking being connected with BRAS.In above-mentioned table 1, with the mark of user terminal
Know the MAC Address for user terminal, the second access address is to illustrate exemplified by the IP address of access device.
Table 2
Index | The mark of user terminal | Second access address | Ageing time |
1 | MAC1 | IP1 | T1 |
2 | MAC2 | IP2 | T2 |
As upper table 2 show another address field inspection table;For the address field inspection table that upgrades in time, in table 2
Inspection table is also provided with ageing time corresponding with list item where the mark of user terminal;Such as the ageing time reaches, and deleting should
List item (i.e. the corresponding list item of ageing time).The ageing time can be the particular value set, or each list item corresponds to
DHCP lease information in lease time.If the ageing time set is longer than the corresponding lease time of the list item, work as DHCP
After lease reaches lease time, which can generally also be deleted from above-mentioned inspection table.
Step S408, it is whether identical with the second access address to compare the first access address;If so, perform step S410;
If not, perform step S412;
Step S410, determines that user terminal does not roam, and the DHCP request is handled according to normal procedure, for the movement
Terminal distribution IP address, and the corresponding DHCP leases of the IP address are set, user terminal is networked.
Step S412, determines that user terminal roams, and deletes the conversation recording before user terminal roaming;
Step S414, deletes the DHCP lease information of the user terminal preserved;
Step S416, to user terminal send NAK messages, with trigger user terminal initiate again next DHCP request into
Row networking.
A kind of networking control method based on IPOE that disclosure embodiment provides, passes through the identifier lookup of user terminal
Address field checks table, so as to obtain corresponding second access address of conversation recording;Second access address again with DHCP request
Giaddr fields in the first access address compare, determine whether user terminal roams;In the event of roaming, delete and use
Conversation recording and DHCP lease information before the terminal roaming of family, and NAK messages are sent to user terminal, to trigger user terminal
DHCP request is initiated again to network.In which, BRAS checks that table obtains access address by searching for address field, so that
Determine whether user terminal roams;When roaming, the conversation recording before user terminal roaming is deleted, and to send NAK
The mode of message triggers user terminal and initiates DHCP request again, and the conversation recording before being roamed because of user terminal has been deleted, therefore again
The DHCP request of secondary initiation can successfully complete networking, the speed of roaming networking be improved, so as to improve the online of user
Experience Degree.
In wherein another embodiment, BRAS includes IPOE modules and DHCP modules;Another kind shown in Figure 5
The flow chart of networking control method based on IPOE;This method comprises the following steps:
Step S502, user terminal initiate DHCP request;
Step S504:DHCP request is forwarded to trunking by user terminal through access device;
Step S506:Trunking adds the first access address in the giaddr fields of DHCP request;
Step S508:DHCP request is forwarded to IPOE modules by trunking;
Step S510:IPOE modules in BRAS initiate certification to server;
Step S512:Server return authentication passes through signal;
Step S514:IPOE modules send DHCP request to DHCP modules;
Step S516:DHCP modules judge whether user terminal roams;If so, perform step S518;If not,
Perform step S522;
Step S518:DHCP modules delete the conversation recording before user terminal roaming, address field checks that table and DHCP are rented
About information;
Step S520:DHCP modules send NAK messages to user terminal, so that user terminal continues to execute S502;
Step S522:Giaddr field of the DHCP modules in DHCP request distributes IP address for user terminal;
Step S524:DHCP modules send OFFER messages to IPOE modules;
Step S526:IPOE modules search the conversation recording of the user's terminal;
Step S528:The repeated equipment of OFFER messages and access device are forwarded to user terminal by IPOE modules;
Step S530:User terminal initiates DHCP REQUEST requests;
Step S532:User terminal asks DHCP REQUEST through access device, trunking, IPOE module forwards extremely
DHCP modules;
Step S534:DHCP modules generate DHCP lease information;
Step S536:DHCP modules respond ACK messages to IPOE modules;
Step S538:IPOE modules are with confirming the MAC in the MAC Address and conversation recording of the user terminal in ACK messages
Whether location is consistent;IP address in ACK messages is preserved into conversation recording, activates the conversation recording;
Step S540:The repeated equipment of ACK messages and access device are forwarded to user terminal by IPOE modules, so that user
Terminal networks.
Disclosure embodiment provide a kind of networking control method based on IPOE, by user terminal, access device, in
After equipment, IPOE modules, DHCP modules and server, interaction is completed in many ways;User terminal initiates DHCP request, and by server
By rear, DHCP modules can judge whether the user's terminal roams for certification;In the event of roaming, DHCP modules delete user
Conversation recording, address field before terminal roaming check table and DHCP lease information, and send NAK messages to user terminal, with
User terminal recurrence is set to initiate DHCP request;If the user's terminal does not roam, DHCP modules are the user's terminal point
With IP address, the processing such as conversation recording, generation DHCP lease information are searched, user terminal is networked;In which, when user is whole
When end roams, the conversation recording before user terminal roaming is deleted, and user terminal is triggered again in a manner of sending NAK messages
Secondary initiation DHCP request, the conversation recording before being roamed because of user terminal have been deleted, therefore the DHCP request initiated again can be into
Work(completes networking, the speed of roaming networking is improved, so as to improve the online experience degree of user.
Corresponding to above method embodiment, in wherein another embodiment, one kind shown in Figure 6 is based on
The structure diagram of the networking control device of IPOE, the device are arranged at BRAS, which includes such as lower part:
Judgment module 60, if the DHCP request for receiving user terminal initiation, judges whether user terminal occurs
Roaming;
Conversation recording removing module 61, if roamed for user terminal, deletes the session before user terminal roaming
Record;
Sending module 62, for sending NAK messages to user terminal, next DHCP is initiated to trigger user terminal again
Request networks.
A kind of networking control device based on IPOE that disclosure embodiment provides, when definite user terminal roams
Afterwards, the conversation recording before user terminal roaming is deleted, and NAK messages are sent to user terminal, is sent out again with triggering user terminal
DHCP request is played to network.In which, when user terminal roams, the session note before user terminal roaming is deleted
Record, and trigger user terminal in a manner of sending NAK messages and initiate DHCP request again, the session note before being roamed because of user terminal
Record has been deleted, therefore the DHCP request initiated again can successfully complete networking, the speed of roaming networking is improved, so as to improve
The online experience degree of user.
Above-mentioned judgment module is additionally operable to:Extract the first access address in the giaddr fields of DHCP request;Lookup has been protected
Corresponding second access address of conversation recording for the user terminal deposited;Compare the first access address and the second access address whether phase
Together;If not, determine that user terminal roams.
Above-mentioned judgment module is additionally operable to:Obtain the mark of the user terminal carried in DHCP request;Use user terminal
Identifier lookup address field checks table, obtains corresponding second access address of conversation recording of user terminal;Wherein, address field
Inspection table includes:The mark of user terminal and corresponding second access address of the conversation recording of user terminal.
Above device further includes:Add module, if for being that user terminal distributes IP address, by the mark of user terminal
Know and current access address checks table added to address field, current access address includes:The access of user terminal connection
The IP address of equipment, alternatively, receiving the port-mark of the DHCP request of user terminal transmission;The port-mark is to connect with BRAS
The port-mark of the trunking connect.
Above device further includes:Setup module, during for setting aging corresponding with the mark of user terminal place list item
Between;List item removing module, if being reached for the ageing time, deletes the list item.
Above device further includes:Lease information deletion module, if roamed for user terminal, deletes what is preserved
The DHCP lease information of user terminal.
The structure diagram of BRAS shown in Figure 7 a kind of;The equipment includes memory 100 and processor 101;Its
In, memory 100 is used to store one or more computer instruction, and one or more computer instruction is executed by processor, with
Realize the above-mentioned networking control method based on IPOE, being somebody's turn to do the networking control method based on IPOE can include in above synchronous method
One or more.
Further, the Network Management Equipment shown in Fig. 7 further includes bus 102 and communication interface 103, processor 101, communication interface
103 and memory 100 connected by bus 102.
Wherein, memory 100 may include high-speed random access memory (RAM, Random Access Memory),
Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage may be further included.By extremely
A few communication interface 103 (can be wired or wireless) is realized logical between the system network element and at least one other network element
Letter connection, can use internet, wide area network, local network, Metropolitan Area Network (MAN) etc..Bus 102 can be isa bus, pci bus or
Eisa bus etc..The bus can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only used in Fig. 7
One four-headed arrow represents, it is not intended that an only bus or a type of bus.
Processor 101 is probably a kind of IC chip, has the disposal ability of signal.It is above-mentioned during realization
Each step of method can be completed by the integrated logic circuit of the hardware in processor 101 or the instruction of software form.On
The processor 101 stated can be general processor, including central processing unit (Central Processing Unit, referred to as
CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital
Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated
Circuit, abbreviation ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or
Person other programmable logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform sheet
Disclosed each method, step and logic diagram in disclosed embodiment.General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.The step of method with reference to disclosed in disclosure embodiment, can direct body
Completion now is performed for hardware decoding processor, or completion is performed with the hardware in decoding processor and software module combination.It is soft
Part module can be located at random access memory, and flash memory, read-only storage, programmable read only memory or electrically erasable programmable are deposited
In the storage medium of this areas such as reservoir, register maturation.The storage medium is located at memory 100, and processor 101 reads storage
Information in device 100, with reference to its hardware complete aforementioned embodiments method the step of.
Further, embodiment further provides a kind of machinable medium, the machinable medium for the disclosure
Machine-executable instruction is stored with, when being called and being performed by processor, machine-executable instruction promotees the machine-executable instruction
Processor is set to realize the above-mentioned networking control method based on IPOE, being somebody's turn to do the networking control method based on IPOE can be included above together
One or more in one step process.
The networking control device and BRAS based on IPOE that disclosure embodiment is provided, its realization principle and generation
Technique effect is identical with preceding method embodiment, and to briefly describe, device embodiments part does not refer to part, before referring to
State corresponding contents in method embodiment.
It should be noted that above-mentioned each method embodiment is described by the way of progressive, each embodiment emphasis
What is illustrated is all the difference with other embodiment, and identical similar part is mutually referring to i.e. between each embodiment
Can.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also lead to
Other modes are crossed to realize.Device embodiments described above are only schematical, for example, the flow chart in attached drawing and
Block diagram shows the device of multiple embodiments according to the disclosure, the system in the cards of method and computer program product
Framework, function and operation.At this point, each square frame in flow chart or block diagram can represent a module, program segment or generation
A part for code, a part for the module, program segment or code are used for realization defined logic function comprising one or more
Executable instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also be with
Occur different from the order marked in attached drawing.For example, two continuous square frames can essentially perform substantially in parallel, they
Sometimes can also perform in the opposite order, this is depending on involved function.It is also noted that block diagram and/or flow chart
In each square frame and block diagram and/or the square frame in flow chart combination, the special of function or action as defined in performing can be used
Hardware based system is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each function module or unit in each embodiment of the disclosure can integrate to form one solely
Vertical part or modules individualism, can also two or more modules be integrated to form one it is independent
Part.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, the technical solution of the disclosure is substantially in other words
The part to contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment the method for the disclosure
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random
Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:Embodiment described above, is only the embodiment of the disclosure, to illustrate this public affairs
The technical solution opened, rather than its limitations, the protection domain of the disclosure are not limited thereto, although with reference to aforementioned embodiments pair
The disclosure is described in detail, it will be understood by those of ordinary skill in the art that:Any technology for being familiar with the art
In the technical scope that the disclosure discloses, it can still modify the technical solution described in aforementioned embodiments personnel
Or change can be readily occurred in, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement,
The essence of appropriate technical solution is departed from the spirit and scope of disclosure embodiment technical solution, should all cover in this public affairs
Within the protection domain opened.Therefore, the protection domain of the disclosure answers the scope of the claims of being subject to.
Claims (14)
- A kind of 1. networking control method based on IPOE, it is characterised in that the method is applied to BRAS, the described method includes:If receiving the DHCP request of user terminal initiation, judge whether the user terminal roams;If so, delete the conversation recording before the user terminal roaming;NAK messages are sent to the user terminal, initiating next DHCP request again to trigger the user terminal is connected Net.
- 2. the according to the method described in claim 1, it is characterized in that, step for judging the user terminal and whether roaming Suddenly, including:Extract the first access address in the giaddr fields of the DHCP request;Search corresponding second access address of conversation recording of the user terminal preserved;Compare first access address and whether second access address is identical;If not, determine that the user terminal roams.
- 3. the according to the method described in claim 2, it is characterized in that, session note for searching the user terminal preserved The step of recording corresponding second access address, including:Obtain the mark of the user terminal carried in the DHCP request;Table is checked using the identifier lookup address field of the user terminal, and the conversation recording for obtaining the user terminal is corresponding Second access address;Wherein, described address field inspection table includes:The mark of the user terminal and the meeting of the user terminal Words record corresponding second access address.
- 4. according to the method described in claim 3, it is characterized in that, the method further includes:If distributing IP address for the user terminal, the mark of the user terminal and current access address are added to Described address field checks table, and the current access address includes:The IP address of the access device of the user terminal connection, Alternatively, receive the port-mark for the DHCP request that the user terminal is sent;The port-mark is to be connected with the BRAS Trunking port-mark.
- 5. according to the method described in claim 4, it is characterized in that, the method further includes:Set and the user terminal The corresponding ageing time of list item where mark;If the ageing time reaches, the list item is deleted.
- 6. according to the method described in claim 1, it is characterized in that, the method further includes:If the user terminal roams, the DHCP lease information of the user terminal preserved is deleted.
- 7. a kind of networking control device based on IPOE, it is characterised in that described device is arranged at BRAS, and described device includes:Judgment module, if the DHCP request for receiving user terminal initiation, judges whether the user terminal overflows Trip;Conversation recording removing module, if roamed for the user terminal, deletes the meeting before the user terminal roaming Words record;Sending module, for the user terminal send NAK messages, with trigger the user terminal initiate again it is next DHCP request networks.
- 8. device according to claim 7, it is characterised in that the judgment module is additionally operable to:Extract the first access address in the giaddr fields of the DHCP request;Search corresponding second access address of conversation recording of the user terminal preserved;Compare first access address and whether second access address is identical;If not, determine that the user terminal roams.
- 9. device according to claim 8, it is characterised in that the judgment module is additionally operable to:Obtain the mark of the user terminal carried in the DHCP request;Table is checked using the identifier lookup address field of the user terminal, and the conversation recording for obtaining the user terminal is corresponding Second access address;Wherein, described address field inspection table includes:The mark of the user terminal and the meeting of the user terminal Words record corresponding second access address.
- 10. device according to claim 9, it is characterised in that described device further includes:Add module, if for being that the user terminal distributes IP address, by the mark of the user terminal and currently Access address checks table added to described address field, and the current access address includes:The user terminal connection connects Enter the IP address of equipment, alternatively, receiving the port-mark for the DHCP request that the user terminal is sent;The port-mark is With the port-mark of the BRAS trunkings being connected.
- 11. device according to claim 10, it is characterised in that described device further includes:Setup module, for setting ageing time corresponding with the mark of user terminal place list item;List item removing module, if being reached for the ageing time, deletes the list item.
- 12. device according to claim 7, it is characterised in that described device further includes:Lease information deletion module, if roamed for the user terminal, deletes the user terminal preserved DHCP lease information.
- A kind of 13. BRAS, it is characterised in that including processor and machinable medium, the machinable medium Be stored with the machine-executable instruction that can be performed by the processor, the processor perform the machine-executable instruction with Realize claim 1 to 6 any one of them method.
- 14. a kind of machinable medium, it is characterised in that the machinable medium is stored with machine and can perform finger Order, for the machine-executable instruction when being called and being performed by processor, the machine-executable instruction promotes the processor Realize claim 1 to 6 any one of them method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711169509.9A CN107995070B (en) | 2017-11-21 | 2017-11-21 | IPOE-based networking control method and device and BRAS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711169509.9A CN107995070B (en) | 2017-11-21 | 2017-11-21 | IPOE-based networking control method and device and BRAS |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995070A true CN107995070A (en) | 2018-05-04 |
CN107995070B CN107995070B (en) | 2020-12-08 |
Family
ID=62032487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711169509.9A Active CN107995070B (en) | 2017-11-21 | 2017-11-21 | IPOE-based networking control method and device and BRAS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995070B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712411A (en) * | 2018-05-11 | 2018-10-26 | 南京铁道职业技术学院 | A kind of IPoE roamings conversation controlling method |
CN109067788A (en) * | 2018-09-21 | 2018-12-21 | 新华三技术有限公司 | A kind of method and device of access authentication |
CN109768906A (en) * | 2019-03-29 | 2019-05-17 | 新华三技术有限公司 | A kind of subnet special line configuration method and device |
CN109861892A (en) * | 2019-03-28 | 2019-06-07 | 新华三技术有限公司 | A kind of terminal roaming method and device |
WO2021135795A1 (en) * | 2019-12-30 | 2021-07-08 | 中兴通讯股份有限公司 | Message processing method, relay device, system, and storage medium |
WO2021197375A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市万普拉斯科技有限公司 | Roaming networking processing method, apparatus, mobile terminal and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312456A (en) * | 2007-05-21 | 2008-11-26 | 华为技术有限公司 | Method and system for survival monitoring session of subscriber |
CN101651682A (en) * | 2009-09-15 | 2010-02-17 | 杭州华三通信技术有限公司 | Method, system and device of security certificate |
CN101959164A (en) * | 2009-07-17 | 2011-01-26 | 中兴通讯股份有限公司 | Method and system for deleting redundant information of home policy and charging rule function |
CN102075904A (en) * | 2010-12-24 | 2011-05-25 | 杭州华三通信技术有限公司 | Method and device for preventing re-authentication of roaming user |
US9553861B1 (en) * | 2014-03-28 | 2017-01-24 | Juniper Networks, Inc. | Systems and methods for managing access to services provided by wireline service providers |
CN106357486A (en) * | 2016-08-18 | 2017-01-25 | 杭州迪普科技有限公司 | Access method and device for network users |
-
2017
- 2017-11-21 CN CN201711169509.9A patent/CN107995070B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312456A (en) * | 2007-05-21 | 2008-11-26 | 华为技术有限公司 | Method and system for survival monitoring session of subscriber |
CN101959164A (en) * | 2009-07-17 | 2011-01-26 | 中兴通讯股份有限公司 | Method and system for deleting redundant information of home policy and charging rule function |
CN101651682A (en) * | 2009-09-15 | 2010-02-17 | 杭州华三通信技术有限公司 | Method, system and device of security certificate |
CN102075904A (en) * | 2010-12-24 | 2011-05-25 | 杭州华三通信技术有限公司 | Method and device for preventing re-authentication of roaming user |
US9553861B1 (en) * | 2014-03-28 | 2017-01-24 | Juniper Networks, Inc. | Systems and methods for managing access to services provided by wireline service providers |
CN106357486A (en) * | 2016-08-18 | 2017-01-25 | 杭州迪普科技有限公司 | Access method and device for network users |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712411A (en) * | 2018-05-11 | 2018-10-26 | 南京铁道职业技术学院 | A kind of IPoE roamings conversation controlling method |
CN109067788A (en) * | 2018-09-21 | 2018-12-21 | 新华三技术有限公司 | A kind of method and device of access authentication |
CN109067788B (en) * | 2018-09-21 | 2020-06-09 | 新华三技术有限公司 | Access authentication method and device |
US11743258B2 (en) | 2018-09-21 | 2023-08-29 | New H3C Technologies Co., Ltd. | Access authenticating |
CN109861892A (en) * | 2019-03-28 | 2019-06-07 | 新华三技术有限公司 | A kind of terminal roaming method and device |
CN109768906A (en) * | 2019-03-29 | 2019-05-17 | 新华三技术有限公司 | A kind of subnet special line configuration method and device |
CN109768906B (en) * | 2019-03-29 | 2021-04-27 | 新华三技术有限公司 | Private subnet line configuration method and device |
WO2021135795A1 (en) * | 2019-12-30 | 2021-07-08 | 中兴通讯股份有限公司 | Message processing method, relay device, system, and storage medium |
WO2021197375A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市万普拉斯科技有限公司 | Roaming networking processing method, apparatus, mobile terminal and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107995070B (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107995070A (en) | Networking control method, device and BRAS based on IPOE | |
AU2016313650B2 (en) | Verifying source addresses associated with a terminal | |
CN102710777A (en) | Advertisement push-delivery method and system, as well as advertisement pusher | |
JP4971312B2 (en) | Terminal apparatus having handover function based on SCTP and handover method | |
CN107251614A (en) | Access point is turned to | |
CN106412996B (en) | The method and device to E-Packet | |
CN106302839A (en) | The distribution method of internet protocol address and device | |
CN105939519A (en) | Authentication method and device | |
CN105142189B (en) | The roam control method and device of website | |
CN104270325A (en) | System and method of implementing limitation of public network access user number based on Linux for CPE (Customer Premise Equipment) | |
CN107528712A (en) | The determination of access rights, the access method of the page and device | |
US11743258B2 (en) | Access authenticating | |
CN107948979B (en) | Information processing method and device and auditing equipment | |
CN104253798A (en) | Network security monitoring method and system | |
CN101594609A (en) | When not switching between same area, keep continuous method, system and the node of session | |
CN106878052B (en) | User migration method and device | |
CN109379339B (en) | Portal authentication method and device | |
CN107483480B (en) | Address processing method and device | |
CN103024737A (en) | Trusted non-3GPP (3rd-Generation Partnership Project) access network element, method for accessing mobile network and detaching method | |
JP6456409B2 (en) | Method, apparatus and system for controlling the total number of users attached online | |
CN108123955A (en) | Management method, device, equipment and the machine readable storage medium of safe list item | |
CN106209750A (en) | A kind of network allocation method, server, network access equipment and system | |
CN106330712A (en) | MAC address learning control method and device | |
CN106330894B (en) | SAVI proxy authentication system and method based on link-local address | |
CN103036909B (en) | A kind of method that identification repeats to reach the standard grade, server and client side |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230529 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |