CN104780121B - A kind of file transmitting method and device - Google Patents
A kind of file transmitting method and device Download PDFInfo
- Publication number
- CN104780121B CN104780121B CN201510218067.7A CN201510218067A CN104780121B CN 104780121 B CN104780121 B CN 104780121B CN 201510218067 A CN201510218067 A CN 201510218067A CN 104780121 B CN104780121 B CN 104780121B
- Authority
- CN
- China
- Prior art keywords
- bras
- plates
- user
- target
- message
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of file transmitting method and device.File transmitting method is used for Broadband Remote Access Server BRAS equipment, including:When input and output I O board in the BRAS equipment receives the user's message stream that first terminal is sent to network, user's message circulation is issued to the target BRAS plates in the BRAS equipment;The target BRAS plates are handled the user's message stream according to the configuration parameter of first terminal user, obtain processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter;The processing message flow is sent to the veneer in the BRAS equipment with the network connection by the target BRAS plates;The processing message flow is transmitted to the network by the veneer.By the present invention, the terminal user of network is accessed by I O board can obtain flow control or QoS control services in BRAS equipment.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of file transmitting method and device.
Background technology
Broadband Remote Access Server (Broadband Remote Access Server, BRAS) equipment is offer broadband
The equipment of access server, has the characteristics that capacity is high, user volume is big, especially common in operator and campus network.
Some pieces of veneers, including master control borad and interface board etc. are provided with BRAS equipment.Interface board is for example:BRAS plates are defeated
Enter output (Input/Output, IO) plate etc..Terminal, such as PC (Personal Computer, PC), pass through interface
Plate is connected with BRAS equipment.For terminal user after aaa server certification success, terminal is able to access that internet, terminal and interconnection
User's message between net is flowed through to be forwarded to by the interface board of its connection.
In the case of message flow is forwarded via BRAS plates, BRAS plates can carry out flow control to terminal user's message flow
Or be forwarded to again after the processing such as QoS controls, so that the terminal user that internet is accessed by BRAS plates obtains in BRAS equipment
Flow control or QoS control services are arrived;And in the case of message flow is forwarded via I O board, I O board then can not be to terminal user
Message flow carries out the processing such as flow control or QoS controls, so as to cause to access the terminal user of internet in BRAS by I O board
Flow control or QoS control services can not be obtained in equipment.
The content of the invention
In view of this, the present invention provides a kind of file transmitting method and device so that the terminal of network is accessed by I O board
User can obtain flow control or QoS control services in BRAS equipment.
Specifically, the present invention is achieved through the following technical solutions:
First aspect according to embodiments of the present invention, there is provided a kind of file transmitting method, for Broadband Remote Access Service
Device BRAS equipment, including:
, will when input and output I O board in the BRAS equipment receives the user's message stream that first terminal is sent to network
The target BRAS plates in the BRAS equipment are issued in the user's message circulation;
The target BRAS plates handle the user's message stream, obtain according to the configuration parameter of first terminal user
To processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter;
The processing message flow is sent to the list in the BRAS equipment with the network connection by the target BRAS plates
Plate;
The processing message flow is transmitted to the network by the veneer.
Second aspect according to embodiments of the present invention, there is provided another file transmitting method, accesses for broad band remote and take
Business device BRAS equipment, including:
The user's message that the network is sent to first terminal is received in the BRAS equipment with the veneer of network connection
During stream, user's message circulation is issued to the target BRAS plates in the BRAS equipment;
The target BRAS plates handle the user's message stream, obtain according to the configuration parameter of first terminal user
To processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter;
The processing message flow is sent to the input and output I O board in the BRAS equipment by the target BRAS plates;
The processing message flow is transmitted to the first terminal by the I O board.
The third aspect according to embodiments of the present invention, there is provided another packet transmission device, accesses for broad band remote and take
Business device BRAS equipment, including:
First retransmission unit, in the input and output I O board in the BRAS equipment, for receive first terminal to
During the user's message stream that network is sent, user's message circulation is issued to the target BRAS plates in the BRAS equipment;
Processing unit, on the target BRAS plates, for the configuration parameter according to first terminal user, to the use
Family message flow is handled, and obtains processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS
Control parameter;
Transmitting element, on the target BRAS plates, for the processing message flow to be sent to the BRAS equipment
The upper veneer with the network connection;
Second retransmission unit, on the veneer, for the processing message flow to be transmitted to the network.
Fourth aspect according to embodiments of the present invention, there is provided another packet transmission device, accesses for broad band remote and take
Business device BRAS equipment, including:
First retransmission unit, on the veneer in the BRAS equipment with network connection, for receiving the network
During the user's message stream sent to first terminal, target BRAS in the BRAS equipment is issued into user's message circulation
Plate;
Processing unit, on the target BRAS plates, for the configuration parameter according to first terminal user, to the use
Family message flow is handled, and obtains processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS
Control parameter;
Transmitting element, on the target BRAS plates, for the processing message flow to be sent to the BRAS equipment
On input and output I O board;
Second retransmission unit, in the I O board, for the processing message flow to be transmitted to the first terminal.
In the embodiment of the present invention, from terminal to network direction, by I O board access network terminal user's message flow by
I O board is transmitted to BRAS plates, then by BRAS plates according to the flow control and/or service quality QoS control parameter of terminal user to it
Veneer is transmitted to after being handled, veneer relays to network, so that the terminal user has obtained flow in BRAS equipment
Control or QoS control services;Upward from network to terminal side, terminal user's message flow that network is accessed by I O board is turned by veneer
BRAS plates are issued, then it is carried out according to the flow control and/or service quality QoS control parameter of terminal user by BRAS plates
I O board is transmitted to after reason, I O board relays to terminal so that the terminal user obtained in BRAS equipment flow control or
QoS control services.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of application scenarios of the present invention;
Fig. 2 is one embodiment flow chart of file transmitting method of the present invention;
Fig. 3 is another embodiment flow chart of file transmitting method of the present invention;
Fig. 4 is another embodiment flow chart of file transmitting method of the present invention;
Fig. 5 is the flow chart that BRAS plates reconfigure after flow shown in Fig. 4;
Fig. 6 is that the user's message of file transmitting method of the present invention flows to schematic diagram;
Fig. 7 is a kind of hardware structure diagram of equipment where packet transmission device of the present invention;
Fig. 8 is one embodiment block diagram of packet transmission device of the present invention;
Fig. 9 is another embodiment block diagram of packet transmission device of the present invention.
Embodiment
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, and make of the invention real
Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention
Case is described in further detail.
The application scenarios that message transmission is carried out using the present invention are as follows:
BRAS equipment respectively with terminal (such as PC), authorize access network, portal server and verification, authorization and accounting
(Authentication, Authorization, Accounting, AAA) server connects, and door is supported by aaa server
Certification of the server to terminal, and after the authentication has been successful, authorization terminal accesses the network.
BRAS equipment includes master control borad, generic interface plate (such as I O board) and advanced interface plate (such as BRAS plates).Master control borad and
It can communicate between each interface board.Master control borad carries out centralized Control to each interface board.
Generic interface plate possesses BRAS access management functions, but does not possess the advanced processes ability of user's message stream (as flowed
Amount control or QoS control process);Advanced interface plate had both possessed BRAS access management functions, also possessed the advanced of user's message stream
Disposal ability.
Each interface board can be connected to multiple terminals.Portal server, aaa server and the network for authorizing access
It can be connected by advanced interface plate with BRAS equipment, can also be connected, can also led to BRAS equipment by low-level interface plate
The veneer extended is crossed in master control borad or BRAS equipment to be connected with BRAS equipment.
An example of the application scenarios is given in Fig. 1, with reference to Fig. 1, BRAS equipment includes master control borad, I O board #1, IO
Plate #2, I O board #3, I O board #4, BRAS plate #1, BRAS plate #2, BRAS plate #3 and veneer, wherein veneer can be generic interface plate,
Can also be, advanced interface plate or master control borad.Veneer and portal server, aaa server and the network connection for authorizing access.IO
Plate #1, I O board #2, I O board #3, I O board #4, BRAS plate #1, BRAS plate #2 and BRAS plate #3 are connected to multiple PC, for simplicity
For the sake of, it illustrate only in Fig. 1 and the I O board #1 PC#1 being connected and the PC#2 being connected with BRAS plates #2.
In the prior art, after the success of PC#1 user authentication, user's message stream that I O board #1 sends from PC#1 to the network
The network is transmitted to via veneer, and PC#1 is issued into the circulation of the user's message from the network that veneer is sent.PC#2 user
After certification success, BRAS plates #2 is passed through after carrying out advanced processes to the user's message stream that the network is sent to PC#2 and forwarded by veneer
The network is given, PC#2 is transmitted to after carrying out advanced processes to the user's message stream from the network that veneer is sent.But IO
Plate #1 does not possess the advanced processes ability of user's message stream, therefore completes BRAS accesses by I O board #1 and visited so as to obtain the network
The advanced processes service of user's message stream can not be obtained by asking the PC#1 user of mandate.
By the embodiment of the present invention, PC#1 user can then obtain this user's message stream process service.
In the embodiment of the present invention, by making I O board issue BRAS plates by what is received come the user's message circulation of self terminal,
Flow control or QoS controls etc. are carried out to user's message stream by BRAS plates after advanced processes by being sent out with the veneer of the network connection
The network is given, so that the user's message stream of terminal to network obtains this advanced processes service;By making the veneer to connect
BRAS plates are issued in the user's message circulation that the received network is sent to terminal, and flow control is carried out to user's message stream by BRAS plates
Terminal is sent to by I O board after the advanced processes such as system or QoS controls, so that the user's message stream of network to terminal obtains this
Kind advanced processes service.Process, which is described in detail, to be realized to the present invention with reference to specific embodiment.
Fig. 2 is one embodiment flow chart of file transmitting method of the present invention, and with reference to Fig. 2, the message in the present embodiment is sent out
Delivery method is used for BRAS equipment, includes the following steps:
Step S201, when the I O board in the BRAS equipment receives the user's message stream that first terminal is sent to network,
User's message circulation is issued to the target BRAS plates in the BRAS equipment.
In the embodiment of the present invention, the I O board in BRAS equipment can be in server (such as aaa server) to terminal (such as PC)
After user authentication success (i.e. terminal user reaches the standard grade), the end-user access network is supported.Specifically, with I O board #1 in Fig. 1
Exemplified by supporting PC#1 customer access networks, ARP table can be provided with the bottom layer driving of I O board #1, which is included at least
One ARP entry, source IP address parameter can be included in each ARP entry, enters plate parameter and ejecting plate parameter.For correspondence
The ARP entry of PC#1 user, its source IP address parameter value can be the IP address that PC#1 user is used to access network.Bottom
Driving parses source IP address from the user's message flow, looks into when receiving PC#1 and being sent to the user's message stream of I O board #1
Look for the ARP entry that source IP address parameter value is identical with the source IP address in ARP table, you can to obtain the ARP entry.The ARP table
It can also include Target Board parameter in, which is the plate number of target BRAS plates.Bottom layer driving can be from the ARP entry
In extract the plate number of target BRAS plates, and the user's message flow is transmitted to target BRAS plates.Obviously, the ARP entry
In have recorded the plate number of target BRAS plates and PC#1 user is used for the correspondence that accesses the IP address of network, I O board can be with
According to the correspondence and the source IP address of the user's message flow, the plate number of target BRAS plates is determined.
The ARP entry can be generated by the master control borad in BRAS equipment and be allocated to the I O board in BRAS equipment and BRAS
Plate, or the veneer for I O board, BRAS plates and the extension being allocated in BRAS equipment.
Specifically, each I O board being connected in BRAS equipment with terminal and alternative multiple BRAS plates can be preset in master control borad
Between correspondence (such as I O board #1 corresponds to BRAS plates #1, I O board #2 corresponds to BRAS plates #2, I O board #3 and I O board #4 and corresponds to BRAS
Plate #3) so that when generating ARP entry for terminal user, can be according to the correspondence, to the Target Board number in ARP entry
Parameter carries out assignment, for example, according to the correspondence between I O board #1 and BRAS plate #1, the ARP table that will be generated for PC#1 user
The plate number that Target Board parameter assignment in is BRAS plates #1.
Alternatively, master control borad can also randomly choose a BRAS plate from alternative multiple BRAS plates for I O board, and will be raw
Into ARP entry in the plate number of BRAS plates that goes out for the selection of Target Board parameter assignment.
Alternatively, the Target Board parameter assignment in the ARP entry of generation can also be server selection by master control borad
The plate number of BRAS plates.Specifically, master control borad can send request to server via the interface being connected with server and carry out terminal
The request message of the network access au-thentication of user, at least one BRAS plates in BRAS equipment are carried in the request message (can be
Whole BRAS plates or part BRAS plates) plate number (plate number 1~3 of such as BRAS plates #1~#3);Alternatively, in server
The plate number of at least one BRAS plates in BRAS equipment can be pre-configured with.After server is to terminal user authentication success, Ke Yicong
One of plate number is selected in these plates number, and the plate number carrying of selection is successful in instruction terminal subscriber network access certification
In response message master control borad is returned to via the interface.Correspondingly, master control borad can be by the Target Board number in the ARP entry of generation
Parameter assignment is the plate number carried in the response message.
What server can be selected from the plate number of at least one BRAS plates corresponds to user in safeguarded correspondence
The minimum plate number of number;The institute safeguards the correspondence for the plate number and number of users that correspondence is at least one BRAS plates;For
Each BRAS plates at least one BRAS plates, the BRAS plates corresponding number of users in the institute safeguards correspondence is to pass through
Server selects the number of users of the BRAS plate plates number for it in the current online terminal user of BRAS equipment access.Due to selection
Be the plate number of corresponding number of users minimum, so as to balance the user load between different BRAS plates.
Specifically, server can record the terminal in the terminal user authentication success to being accessed by BRAS equipment
For the terminal user's between the mark of user, such as the IP address of customer access network or server and BRAS equipment
The Session ID (Session Identifier) that interaction message includes.Server can have been safeguarded every in alternative BRAS plates
The corresponding user identifier list of plate number of a BRAS plates and number of users, initialization list is empty, number of users 0.Server is each
During terminal user's option board successful for certification, the plate number of corresponding number of users minimum can be selected, then uses the terminal
The mark at family is added in list corresponding with the plate number selected, and the corresponding number of users of the plate number of selection is increased by 1.When same
When having the plate of two or more number of users minimum, server can therefrom be randomly chosen a plate number or selection is minimum
Plate number.After master control borad receives the offline instruction of terminal user, which can be turned via the interface being connected with server
Server is issued, server will can be deleted in user identifier list of the mark of the terminal user where it, and this is used
Identification list corresponding number of users in family reduces 1.
Relative users number periodically, or can reduced 1 by server because terminal user is offline every time
When, judge that the current institute is safeguarded in correspondence with the presence or absence of (such as PC#1 is used as some terminal user before corresponding number of users ratio
Family) selection plate number corresponding to the small at least two of number of users plate number, if it is present selecting one from the existing plate number
A plate number (if it is exactly the plate number to only exist such plate number), and the plate number of the selection is carried and is used for the terminal
In the instruction message at family (such as PC#1 user) master control borad is sent to via the interface being connected in BRAS equipment with server.The instruction
Message is for example:Real time billing response message authorizes change (Change of Authorization, COA) protocol massages.
Step S202, the target BRAS plates flow into the user's message according to the configuration parameter of first terminal user
Row processing, obtains processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter.
In this step, the configuration parameter of terminal user can be set in advance in the advanced processing module of target BRAS plates
(being all suitable for the terminal user for including Target Board parameter in all corresponding A RP list items), can also be handed down to mesh by master control borad
Mark BRAS plates.For the latter, it can specifically, in the response message that server returns include server for terminal user's configuration
Parameter is configured, master control borad, which parses the response message, can obtain the configuration parameter.The configuration parameter can include flow control and/
Or service quality QoS control parameter, wherein, flow control parameter such as user bandwidth, QoS control parameters such as type of message
Priority.
Master control borad can generate the configuration parameter and the correspondence of IP address of the terminal user for accessing network,
After the I O board and BRAS plates that the corresponding ARP entry of the terminal user is allocated in BRAS equipment, or it is allocated to BRAS
The correspondence, can be allocated to target BRAS plates by I O board, BRAS plates in equipment and after the veneer of extension.The target
, can be right with this according to the source IP address of message flow after the advanced processing module of BRAS plates receives the message flow of the terminal user
Should be related to, determine the configuration parameter, and can according to the configuration parameter, the user's message flow is carried out flow control processing and/
Or QoS control process, obtain the processing message flow of bottom layer driving to be handed down to.
Advanced processing module is exemplified below according to the processing of configuration parameter:
Monitored in real time according to reception speed of the user bandwidth to user's message stream, when the user's message stream of real time monitoring
Receiving velocity when being not above user bandwidth, then the user's message received is flowed down and issues bottom layer driving, when more than user
During bandwidth, then the part in user's message stream is cached or abandoned, bottom layer driving is handed down in remaining part so that Yong Hubao
The speed that issues of text stream is no more than user bandwidth;Alternatively, the high user's message of type of message priority in user's message stream is put
In high-priority queue, the low user's message of type of message priority in user's message stream is placed in Low Priority Queuing,
And preferentially issue to bottom layer driving the user's message in high-priority queue.
Processing message flow can be issued in the bottom layer driving of target BRAS plates by advanced processing module.Since processing is reported
Wen Liuwei is carried out flow control and/or QoS control process to user's message stream by advanced processing module and is obtained, and handles message flow
Source IP address it is identical with the source IP address of user's message stream, handle the purpose IP address of message flow and the purpose of user's message stream
IP address is identical.
The processing message flow is sent in the BRAS equipment and the network by step S203, the target BRAS plates
The veneer of connection.
, can be according to this after the bottom layer drivings of target BRAS plates receives the processing message flow of terminal user in this step
The source IP address of message flow is handled, the corresponding ARP entry of the terminal user is found, is extracted from the ARP entry found
Plate parameter value, obtains the plate number with the veneer of network connection in BRAS equipment, so that the processing message flow is sent to the list
Plate.Obviously, it have recorded in the ARP entry and be used to access net with the plate number of the veneer of network connection and PC#1 user in BRAS equipment
The correspondence of the IP address of network, can be according to the correspondence and the source after the generation of target BRAS plates handles message flow
IP address, determines the plate number of the veneer.
The processing message flow is transmitted to the network by step S204, the veneer.
Further, master control borad is directed to via what the interface being connected in BRAS equipment with server to server was sent
After the instruction message of terminal user, it is the plate that the terminal user reselects that server can be parsed from the instruction message
Number, then the Target Board parameter value in the ARP entry that will can be generated for the terminal user is assigned a value of the plate number reselected,
ARP entry after being updated, and the list item after updating is allocated to I O board and BRAS plates in BRAS equipment, or configuration
Veneer to the I O board in BRAS equipment, BRAS plates and extension so that these plates are according to the ARP entry after the renewal to receiving
User's message stream handled.Thus, will be corresponding current when the difference of the corresponding active user's number of different identification is more than two
The online terminal of the larger BRAS plates of number of users is redirected to the less BRAS plates of corresponding active user's number, so as to further balance
User load between different BRAS plates.
After the target BRAS plates renewal of terminal user, master control borad can also notify former target BRAS plates by the terminal user's
Parameter is configured to delete.
The present embodiment sends relevant treatment to the message of terminal user to network direction and is described.Through this embodiment,
The user's message stream that network is accessed by I O board is transmitted to BRAS plates, then the flow control by BRAS plates according to terminal user by I O board
System and/or service quality QoS control parameter are transmitted to the veneer in BRAS equipment with network connection, the list after handling it
Plate relays to network, so that the terminal user has obtained flow control or QoS control services in BRAS equipment.
Fig. 3 is another embodiment flow chart of file transmitting method of the present invention, reference Fig. 3, the message in the present embodiment
Sending method is used for BRAS equipment, includes the following steps:
Step S301, the veneer in the BRAS equipment with network connection receive what the network was sent to first terminal
During user's message stream, user's message circulation is issued to the target BRAS plates in the BRAS equipment.
The present embodiment sends relevant treatment to the message of network to terminal user direction and is described, and in preceding embodiment
Description compare, difference is, user's message stream is received by the veneer with network connection, is transmitted to BRAS plates, then by
BRAS plates are sent to I O board after the configuration parameter processing according to terminal user, then are transmitted to terminal by I O board;In specific implementation,
Source IP address parameter can be replaced with to purpose IP address parameter, enter plate parameter value and replace with plate with the veneer of network connection
Number, ejecting plate parameter value replaces with the plate number of I O board, and bottom layer driving parses purpose IP address to search from user's message stream
The purpose IP address parameter value ARP entry identical with the purpose IP address in ARP table.Other side may refer to preceding embodiment
Description, details are not described herein.
Step S302, the target BRAS plates flow into the user's message according to the configuration parameter of first terminal user
Row processing, obtains processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter.
The processing message flow is sent to the input and output in the BRAS equipment by step S303, the target BRAS plates
I O board.
The processing message flow is transmitted to the first terminal by step S304, the I O board.
Through this embodiment, the user's message stream of network is accessed by the veneer in BRAS equipment with network connection by I O board
BRAS plates are transmitted to, then it is carried out according to the flow control and/or service quality QoS control parameter of terminal user by BRAS plates
I O board is transmitted to after processing, I O board relays to terminal, so that the terminal user has obtained flow control in BRAS equipment
Or QoS control services.
Fig. 4 is another embodiment flow chart of file transmitting method of the present invention, reference Fig. 4, the message in the present embodiment
Sending method includes the following steps:
Step S401, client initiate HTTP access requests to any URL.
PC#1 clients send arbitrary HTTP message to I O board #1.
Step S402, I O board #1 and PC#1 carry out TCP three-way handshake, and notice PC#1 is redirected to door clothes after shaking hands successfully
Business device.
After I O board #1 receives HTTP message, redirection rule is matched according to the message, directly and PC#1 carries out TCP tri-
Secondary to shake hands, notice PC#1 is redirected to portal server after shaking hands successfully.
Step S403, PC#1 and portal server carry out TCP three-way handshake, and stepping on for portal server is accessed after shaking hands successfully
Record interface.
Login interface is sent to PC#1 by step S404, portal server.
Step S405, PC#1 submit logging request after user inputs username and password.
The source IP address that PC#1 is used to submit the message of logging request is used for the User IP for accessing internet for PC#1 user
Address.
Username and password is sent to master control borad and is authenticated by step S406, portal server.
Portal server obtains the IP address of PC#1 user by the source IP address of the PC#1 messages sent.
Portal server includes user name, password and the IP address of PC#1 user in certification request via BRAS
The interface being connected in equipment with portal server is sent to master control borad.Message between subsequent server and master control borad also via
The interface is sent.
Master control borad records the IP address of PC#1 user.
Username and password is issued aaa server and is authenticated by step S407, master control borad.
Master control borad sends authentication request packet to aaa server, and message includes user name, password, the use of PC#1 user
The plate number of family IP address and all BRAS plates of current BRAS equipment.Wherein, BRAS plates #1~#3 is candidate's BRAS plates, then reports
Text includes 3 plates number:1st, 2 and 3.
Message between aaa server and master control borad is sent via the interface being connected in BRAS equipment with aaa server.
Step S408, aaa server return authentication success message carry privately owned attribute (property value to master control borad in message
For the plate number of BRAS plates #1).
Aaa server is to PC#1 user authentication by being PC#1 user configuration user policies, including IP address, permit
Perhaps the network segment that IP address accesses, further includes user bandwidth and/or qos parameter etc..By rear, aaa server is thought for certification
PC#1 user reaches the standard grade internet.
Aaa server preserves the plate number in authentication request packet.Aaa server safeguards all BRAS of current BRAS equipment
Plate number, current end user IP address list and the current end user number of each BRAS plates in plate, initialization list are sky, when
Preceding terminal user's number is 0.Whenever having certification of the aaa server to terminal user by the way that just the addition of the IP address of the user exists
In corresponding list, and corresponding active user's number is increased by one.Whenever have terminal user to aaa server indicate it is offline,
Aaa server just deletes the IP address of the user from the list being added to, and corresponding active user's number is reduced one.
Aaa server selects the plate number of corresponding current end user number minimum from the plate number of maintenance, and using it as private
There is property value to carry and be sent to aaa server in certification success message.
Step S409, master control borad addition ARP entry (privately owned property value is carried in ARP entry).
Master control borad generates ARP entry, and the private that will be carried in certification success message according to the IP address of PC#1 user
There is property value to be carried in the list item of generation.ARP entry is included using the user's IP address as the list item I of source IP address and with the use
Family IP address is the list item II of purpose address.The parameter and its value that list item I and list item II include are respectively such as Tables 1 and 2 institute
Show.
Table 1
Table 2
Step S410, issues user policy to BRAS plates #1.
Master control borad by user policy with preset format be issued to the advanced processing module of BRAS plates #1, BRAS plate #1 accordingly into
Preparation in row process resource.
Step S411, the certification success of notice portal server.
Master control borad notice portal server PC#1 user authentication successes.
Step S412, portal server will login successfully interface and be pushed to PC#1.
Step S413, user access internet after reaching the standard grade, on I O board #1 automatic jets to BRAS plates #1, BRAS plates #1 according to
After user policy processes, internet is sent to via the veneer being connected with internet.
PC#1 clients will login successfully showing interface to user, and PC#1 user starts to access internet.PC#1 is by user
Message flow is sent to BRAS equipment, by the bottom layer driving of I O board #1 according to the source IP address of user's message stream, determines corresponding ARP
List item, so as to obtain the target BRAS plates parameter value (i.e. the plate number of BRAS plates #1) in ARP entry, user's message is circulated and is sent out
Give BRAS plates #1.BRAS plates #1 obtains the source IP address of message in user's message stream, finds corresponding user policy, and lead to
Cross cut-and-dried process resource and flow control and/or QoS control process carried out to user's message stream, obtain processing message flow,
So as to be issued to bottom layer driving.Bottom layer driving is according to source IP address (the namely source of the user's message flow of the processing message flow
IP address) ejecting plate parameter value (plate number for the veneer being connected with internet) in the ARP entry is found, which is reported
Literary stream is sent to the veneer being connected with internet.By the outgoing interface parameter value in ARP entry, (i.e. the veneer connects the veneer
To the interface number of internet), which is transmitted to internet.
Step S414, the veneer being connected with internet by internet to the user's message stream automatic jet that user sends to
On BRAS plates #1, after BRAS plates #1 is processed according to user policy, PC#1 is sent to via I O board #1.
When internet has user's message flow to be sent to PC#1, first received by the bottom layer driving of the veneer, further according to user
The purpose IP address of message in message flow, finds corresponding ARP entry, so as to obtain the target BRAS plates in ARP entry
Number parameter value (i.e. the plate number of BRAS plates #1), BRAS plates #1 is issued by user's message circulation.BRAS plates #1 obtains user's message stream
The purpose IP address of middle message, finds corresponding user policy, and by cut-and-dried process resource to user's message
Stream carries out flow control and/or QoS control process, processing message flow is obtained, so as to be issued to bottom layer driving.Bottom layer driving according to
The purpose IP address (the namely purpose IP address of the user's message flow) of the processing message flow finds going out in the ARP entry
Plate parameter value (i.e. the plate number of I O board #1), I O board #1 is sent to by the processing message flow.I O board #1 passes through going out in ARP entry
Interface number parameter value (interface number that i.e. I O board #1 is connected with PC#1), PC#1 is transmitted to by the processing message flow.
Other terminal users by BRAS equipment aaa server certification and access internet correlated process with it is above-mentioned
The example of PC#1 user is similar.
When some terminal users are offline, the corresponding current end user number of BRAS plates number that aaa server is safeguarded has
Reduced.In this case, can also include the following steps with reference to Fig. 5, the present embodiment:
Step S501, aaa server reselect the plate number of BRAS#2 for PC#1 user.
It is default that aaa server can decide whether that the corresponding current end user number of two BRAS plates number differs by more than
Value, preset value such as 1 or 2, alternatively, when the preset percentage (such as 10%) of total current end user number is not less than 1, if
There is the corresponding current end user number of two BRAS plates number to differ by more than the preset percentage, if so, then will be corresponding current whole
Part terminal user corresponding to the larger plate number of end subscriber number deletes from respective list and is added to corresponding present terminal and uses
In list corresponding to the less plate number of amount, and update the corresponding current end user number of these plates number so that renewal
Afterwards the gap between the corresponding current end user number of these plates number be less than renewal gap so that difference BRAS plates it
Between user load it is more balanced.
It is illustrated below:
The corresponding current end user number of plate number 1~3 of BRAS plates #1~#3 is 10, then total current end user number
For 30, there are 5 offline, then corresponding current end user numbers of plate number 2 in 2 corresponding 10 users of the plate number of BRAS plates #2 at this time
Be changed into 5, the difference of plate number 1 and the corresponding current end user number of plate number 2 is 5, more than 30 10% (i.e. 3, not less than 1), then general
The corresponding PC#1 IP address of plate number 1 is deleted from the corresponding current end user list of plate number 1, by plate number 1 it is corresponding work as
Preceding terminal user's number reduces 1 (being updated to 9), which is added in the corresponding current end user list of plate number 2,
And the corresponding current end user number of plate number 2 is increased into 1 (being updated to 6).In this way, plate number 1 and plate number 2 it is corresponding work as
The difference of preceding terminal user's number is reduced to 3 (9-6=3) after renewal from 5 (10-5=5) before renewal.
Step S502, aaa server send real-time via the interface being connected in BRAS equipment with aaa server to master control borad
Charging response message or COA protocol massages, the plate number (plate number 2) of BRAS plates #2 is carried in message.
Aaa server can be directly by COA protocol massages by the IP address of PC#1 user and the plate that reselects
Number active is sent to master control borad via the interface, alternatively, the real-time meter for PC# user of master control borad transmission can also received
When taking request message, the plate number reselected is carried in real time billing response message via the interface notification to master control borad.
Step S503, master control borad judge whether to need to refresh the BRAS plates number for PC#1 user configurations.
Master control borad judges whether to need to refresh respectively to pass through according to the COA protocol massages or real time billing response message that receive
The service BRAS plates of the terminal user of I O board access, if carrying BRAS plate parameters in message, need to refresh, and then will
The parameter value is updated to for the BRAS plates number of PC#1 user configurations;Otherwise, it is not necessary to refresh.
User policy is allocated to BRAS plates #2 by step S504, master control borad.
Master control borad parses the plate number (plate number 2) of BRAS plates #2 from message, then is PC#1 user configurations by aaa server
User policy be allocated to BRAS plates #2.
For example, after master control borad receives the real time billing response message that aaa server is returned for PC#1 user, from message
Middle parsing ejecting plate number 2, then reconfigure I O board #1 and the veneer being connected with internet and be changed to be transmitted to by PC#1 user's message streams
BRAS#2, and the user policy of PC#1 user is added in BRAS plates #2, BRAS plates #2 is carried out PC#1 user's messages stream
The veneer or I O board #1 are transmitted to after flow control and/or QoS control process.
Step S505, master control borad notice BRAS plates #1 delete the user policy of configuration.
The BRAS plates #1 of the former selection of master control borad notice deletes the user policy of PC#1 user.
User's message flow direction between PC#1 and internet is as shown in fig. 6, wherein, when user authentication is successful, BRAS plates are
BRAS plate #1, after aaa server selects BRAS plates for PC#1 user again, BRAS plates are BRAS plates #2.In PC#1 to internet
In the user's message flow direction of direction, user's message stream flows into BRAS equipment from the I O board #1 interfaces being connected with PC#1, is led to by I O board #1
Cross between plate and pass through BRAS plates, by passing through the veneer being connected in BRAS equipment with internet between plate after the processing of BRAS plates, by
The veneer is sent by being connected to the interface of internet, so as to be flowed out from BRAS equipment;Used in internet to PC#1 directions
Family message flow is upward, and the interface that user's message stream is connected to internet from the veneer flows into BRAS equipment, passes through plate by the veneer
Between pass through BRAS plates, by passing through I O board #1 between plate after the processing of BRAS plates, the interface that is connected with PC#1 is passed through by I O board #1
Send, so as to be flowed out from BRAS equipment.
Through this embodiment so that in the case that I O board #1 can not carry out PC#1 user flow control and/or QoS controls, by
BRAS plates are on behalf of completion, so as to meet the flow control and/or QoS demand of PC#1 user.
Corresponding with the embodiment of foregoing file transmitting method, present invention also offers the embodiment of packet transmission device.
The embodiment of packet transmission device provided by the invention can be applied in the equipment with hardware configuration, the equipment
Can be the network equipment or management server.The device embodiment can be realized by software, can also pass through hardware or soft
The mode of combination of hardware is realized.It is by equipment where it as the device on a logical meaning exemplified by implemented in software
Corresponding computer program instructions in nonvolatile memory are read what operation in memory was formed by processor.From hardware view
For, as shown in fig. 7, be transmitting device of the present invention where equipment a kind of hardware structure diagram, except the processor shown in Fig. 7,
Outside network interface, memory and nonvolatile memory, the equipment in embodiment where device can also usually include other
Hardware, is such as responsible for the forwarding chip of processing message, to being no longer shown specifically in this Fig. 7.
Fig. 8 is one embodiment block diagram of packet transmission device of the present invention, reference Fig. 8, and the device in the present embodiment, is used for
BRAS equipment, including the first retransmission unit 801, processing unit 802,803 and second retransmission unit 804 of transmitting element;
Wherein, the first retransmission unit 801, in the input and output I O board in the BRAS equipment, for receiving
During the user's message stream that one terminal is sent to network, user's message circulation is issued to the target BRAS in the BRAS equipment
Plate;
Processing unit 802, on the target BRAS plates, for the configuration parameter according to first terminal user, to institute
State user's message stream to be handled, obtain processing message flow, wherein, the configuration parameter includes flow control and/or Service Quality
Measure QoS control parameters;
Transmitting element 803, on the target BRAS plates, sets for the processing message flow to be sent to the BRAS
The standby upper and veneer of the network connection;
Second retransmission unit 804, on the veneer, for the processing message flow to be transmitted to the network.
In an optional implementation, which can also include:
First resolution unit, on the master control borad in the BRAS equipment, for first retransmission unit 801 by institute
State before user's message circulation issues target BRAS plates in the BRAS equipment, the instruction described first returned from server is eventually
The configuration parameter is parsed in the successful response message of the network access au-thentication of end subscriber;
First generation unit, on the master control borad, for first retransmission unit 801 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, generates the configuration parameter and be used to visit with the first terminal user
Ask the first correspondence of the IP address of the network;
First dispensing unit, on the master control borad, for first retransmission unit 801 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, first correspondence is allocated to the target BRAS plates;
The processing unit 802, corresponds to specifically for the source IP address according to the user's message stream and described first and closes
System, determines the configuration parameter, and according to the configuration parameter, the user's message stream is handled, obtains the processing
Message flow.
In another optional implementation, first retransmission unit 801, specifically for according to the target BRAS
The Target Board number of plate is used for the second correspondence and the institute for the IP address for accessing the network with the first terminal user
The source IP address of user's message stream is stated, determines the Target Board number, and according to the Target Board number, the user's message is circulated
Issue the target BRAS plates;
The transmitting element 803, it is corresponding specifically for the 3rd of the plate number according to the veneer and the IP address the
Relation and the source IP address, determine the plate number of the veneer, and according to the plate number of the veneer, by the processing message flow hair
Give the veneer.
Further, which can also include:
Receiving unit, on the master control borad in the BRAS equipment, for first retransmission unit 801 by the use
Family message flow is transmitted to before the target BRAS plates in the BRAS equipment, receives the instruction first terminal that server returns
The successful response message of the network access au-thentication of user, wherein, carried in the response message in the BRAS equipment
Plate No. the first in the plate number of at least one BRAS plates, the plate No. first are the server from least one BRAS plates
Plate number in the plate number that number of users minimum is corresponded in the 4th correspondence that selects;4th correspondence for it is described at least
The plate number of one BRAS plate and the correspondence of number of users;, should for each BRAS plates at least one BRAS plates
BRAS plates corresponding number of users in the 4th correspondence is that the current online terminal accessed by the BRAS equipment is used
Server described in family selects the number of users of the BRAS plate plates number for it;
Second resolution unit, on the master control borad, for first retransmission unit 801 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, the plate No. first is parsed from the response message and is used as institute
State Target Board number;
Second generation unit, on the master control borad, for first retransmission unit 801 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, according to the Target Board number, the IP address and the list
The plate number of plate, generates second correspondence and the 3rd correspondence;
Second dispensing unit, on the master control borad, for first retransmission unit 801 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, second correspondence is allocated to the I O board;
3rd dispensing unit, on the master control borad, for first retransmission unit 801 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, the 3rd correspondence is allocated to the Target Board number
The target BRAS plates.
Further, which can also include:
Packet sending unit, on the master control borad, the instruction institute of server return is received for the receiving unit
Before the successful response message of the network access au-thentication for stating first terminal user, send request to the server and carry out institute
The request message of the network access au-thentication of first terminal user is stated, at least one BRAS is carried in the request message
The plate number of plate.
In addition, the device can also include:
Message receiving unit, on the master control borad, sends the processing message flow for the transmitting element 803
After the veneer in the BRAS equipment, the instruction report for the first terminal user that the server is sent is received
Text, the plate No. second for indicating to carry in message in the plate number of at least one BRAS plates, the plate No. second is by described
Server selects to obtain in candidate's plate number, and candidate's plate number is currently to correspond to number of users ratio in the 4th correspondence
The plate number of the small at least two of the corresponding number of users of the plate No. first;
Plate resolution unit, on the master control borad, for parsing the plate No. second from the instruction message
As the Target Board number, return and perform the plate number according to the Target Board number, the IP address and the veneer,
Generate second correspondence and the 3rd correspondence.
In addition, second generation unit, specifically for the plate number according to the I O board, the Target Board number, the use
The plate number of family IP address and the veneer, generates ARP entry, and in the parameter value of the ARP entry, source IP address parameter value is institute
State IP address, enter plate parameter value be the I O board plate number, ejecting plate parameter value be the veneer plate number, Target Board
Number parameter value is the Target Board number;
Second dispensing unit, specifically for setting the ARP entry into the I O board;
3rd dispensing unit, specifically for setting the ARP entry into the target BRAS plates;
First retransmission unit 801, during specifically for receiving the user's message stream, is searched according to the source IP address
Target Board parameter value in the ARP entry, obtains the Target Board number;
The transmitting element 803, during specifically for receiving the user's message stream, according to being searched the source IP address
Ejecting plate parameter value in ARP entry, obtains the plate number of the veneer.
Fig. 9 is another embodiment block diagram of packet transmission device of the present invention, reference Fig. 9, and the device in the present embodiment, is used
In BRAS equipment, including the first retransmission unit 901, processing unit 902,903 and second retransmission unit 904 of transmitting element;
Wherein, the first retransmission unit 901, on the veneer in the BRAS equipment with network connection, for receiving
During the user's message stream that the network is sent to first terminal, user's message circulation is issued to the mesh in the BRAS equipment
Mark BRAS plates;
Processing unit 902, on the target BRAS plates, for the configuration parameter according to first terminal user, to institute
State user's message stream to be handled, obtain processing message flow, wherein, the configuration parameter includes flow control and/or Service Quality
Measure QoS control parameters;
Transmitting element 903, on the target BRAS plates, sets for the processing message flow to be sent to the BRAS
Standby upper input and output I O board;
Second retransmission unit 904, in the I O board, for the processing message flow to be transmitted to described first eventually
End.
In an optional implementation, which can also include:
First resolution unit, on the master control borad in the BRAS equipment, for first retransmission unit 901 by institute
State before user's message circulation issues target BRAS plates in the BRAS equipment, the instruction described first returned from server is eventually
The configuration parameter is parsed in the successful response message of the network access au-thentication of end subscriber;
First generation unit, on the master control borad, for first retransmission unit 901 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, generates the configuration parameter and be used to visit with the first terminal user
Ask the first correspondence of the IP address of the network;
First dispensing unit, on the master control borad, for first retransmission unit 901 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, first correspondence is allocated to the target BRAS plates;
The processing unit 902, corresponds to specifically for the purpose IP address according to the user's message stream and described first
Relation, determines the configuration parameter, and according to the configuration parameter, the user's message stream is handled, obtains the place
Manage message flow.
In another optional implementation, first retransmission unit 901, specifically for according to the target BRAS
The Target Board number of plate is used for the second correspondence and the institute for the IP address for accessing the network with the first terminal user
The purpose IP address of user's message stream is stated, determines the Target Board number, and according to the Target Board number, by the user's message stream
It is transmitted to the target BRAS plates;
The transmitting element 903, it is corresponding specifically for the 3rd of the plate number according to the I O board and the IP address the
Relation and the destination IP address, determine the plate number of the I O board, and according to the plate number of the I O board, by the processing message flow
It is sent to the I O board.
Further, which can also include:
Receiving unit, on the master control borad in the BRAS equipment, for first retransmission unit 901 by the use
Family message flow is transmitted to before the target BRAS plates in the BRAS equipment, receives the instruction first terminal that server returns
The successful response message of the network access au-thentication of user, wherein, carried in the response message in the BRAS equipment
Plate No. the first in the plate number of at least one BRAS plates, the plate No. first are the server from least one BRAS plates
Plate number in the plate number that number of users minimum is corresponded in the 4th correspondence that selects;4th correspondence for it is described at least
The plate number of one BRAS plate and the correspondence of number of users;, should for each BRAS plates at least one BRAS plates
BRAS plates corresponding number of users in the 4th correspondence is that the current online terminal accessed by the BRAS equipment is used
Server described in family selects the number of users of the BRAS plate plates number for it;
Second resolution unit, on the master control borad, for first retransmission unit 901 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, the plate No. first is parsed from the response message and is used as institute
State Target Board number;
Second generation unit, on the master control borad, for first retransmission unit 901 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, according to the Target Board number, the IP address and the IO
The plate number of plate, generates second correspondence and the 3rd correspondence;
Second dispensing unit, on the master control borad, for first retransmission unit 901 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, second correspondence is allocated to the veneer;
3rd dispensing unit, on the master control borad, for first retransmission unit 901 by the user's message stream
It is transmitted to before the target BRAS plates in the BRAS equipment, the 3rd correspondence is allocated to the Target Board number
The target BRAS plates.
Further, which can also include:
Packet sending unit, on the master control borad, the instruction institute of server return is received for the receiving unit
Before the successful response message of the network access au-thentication for stating first terminal user, send request to the server and carry out institute
The request message of the network access au-thentication of first terminal user is stated, at least one BRAS is carried in the request message
The plate number of plate.
In addition, the device can also include:
Message receiving unit, on the master control borad, sends the processing message flow for the transmitting element 903
After the I O board in the BRAS equipment, the instruction report for the first terminal user that the server is sent is received
Text, the plate No. second for indicating to carry in message in the plate number of at least one BRAS plates, the plate No. second is by described
Server selects to obtain in candidate's plate number, and candidate's plate number is currently to correspond to number of users ratio in the 4th correspondence
The plate number of the small at least two of the corresponding number of users of the plate No. first;
Plate resolution unit, on the master control borad, for parsing the plate No. second from the instruction message
As the Target Board number, return and perform the plate number according to the Target Board number, the IP address and the I O board,
Generate second correspondence and the 3rd correspondence.
In addition, second generation unit, specifically for the plate number according to the veneer, the Target Board number, the use
The plate number of family IP address and the I O board, generates ARP entry, and in the parameter value of the ARP entry, purpose IP address parameter value is
The IP address, enter plate parameter value be the veneer plate number, ejecting plate parameter value be the I O board plate number, target
Plate parameter value is the Target Board number;
Second dispensing unit, specifically for setting the ARP entry into the veneer;
3rd dispensing unit, specifically for setting the ARP entry into the target BRAS plates;
First retransmission unit 901, during specifically for receiving the user's message stream, is looked into according to the destination IP address
The Target Board parameter value in the ARP entry is looked for, obtains the Target Board number;
The transmitting element 903, during specifically for receiving the user's message stream, according to the destination IP address search institute
The ejecting plate parameter value in ARP entry is stated, obtains the plate number of the I O board.
The function of unit and effect realizes that process specifically refers to step is corresponded in the above method in above device
Realize process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation may or may not be physically separate, can be as the component that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed in multiple network unit.Can be according to reality
Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, the user's message stream for network being accessed by I O board is transmitted to BRAS plates by access panel, then
Forward and provide after being handled by BRAS plates according to the flow control and/or service quality QoS control parameter of terminal user it
(when access panel is I O board, exit plate is the veneer in BRAS equipment with network connection to oralia;When access panel is the veneer, outlet
Plate is I O board) so that the terminal user has obtained flow control or QoS control services in BRAS equipment.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and including undocumented common knowledge in the art of the invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of protection of the invention.
Claims (20)
- A kind of 1. file transmitting method, for Broadband Remote Access Server BRAS equipment, it is characterised in that including:When input and output I O board in the BRAS equipment receives the user's message stream that first terminal is sent to network, by described in The target BRAS plates in the BRAS equipment are issued in user's message circulation;The target BRAS plates handle the user's message stream, obtain everywhere according to the configuration parameter of first terminal user Message flow is managed, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter;The processing message flow is sent to the veneer in the BRAS equipment with the network connection by the target BRAS plates;The processing message flow is transmitted to the network by the veneer.
- 2. according to the method described in claim 1, it is characterized in that, described issue the user's message circulation BRAS and set Before standby upper target BRAS plates, further include:The network access au-thentication for the instruction first terminal user that master control borad in the BRAS equipment is returned from server into The configuration parameter is parsed in the response message of work(;The master control borad generation configuration parameter and IP address of the first terminal user for accessing the network The first correspondence;First correspondence is allocated to the target BRAS plates by the master control borad;The target BRAS plates handle the user's message stream, obtain everywhere according to the configuration parameter of first terminal user Reason message flow includes:Source IP address and first correspondence of the target BRAS plates according to the user's message stream, determine the configuration Parameter;The target BRAS plates handle the user's message stream, obtain the processing message according to the configuration parameter Stream.
- 3. according to the method described in claim 1, it is characterized in that, described issue the user's message circulation BRAS and set Standby upper target BRAS plates include:According to the Target Board number of the target BRAS plates with User IP of the first terminal user for accessing the network The source IP address of second correspondence of location and the user's message stream, determines the Target Board number;According to the Target Board number, the target BRAS plates are issued into user's message circulation;The processing message flow is sent to the veneer bag in the BRAS equipment with the network connection by the target BRAS plates Include:The target BRAS plates are according to the plate number and the 3rd correspondence of the IP address and the source IP of the veneer Address, determines the plate number of the veneer;The processing message flow is sent to the veneer by the target BRAS plates according to the plate number of the veneer.
- 4. according to the method described in claim 3, it is characterized in that, described issue the user's message circulation BRAS and set Before standby upper target BRAS plates, further include:Master control borad in the BRAS equipment receives the network access au-thentication for the instruction first terminal user that server returns Successful response message, wherein, in the plate number that at least one BRAS plates in the BRAS equipment are carried in the response message Plate No. the first, the plate No. first for the server selected from the plate number of at least one BRAS plates at the 4th pair It should be related to the plate number of middle corresponding number of users minimum;Plate number and user of 4th correspondence at least one BRAS plates Several correspondences;For each BRAS plates at least one BRAS plates, the BRAS plates are in the 4th correspondence In corresponding number of users be that server is that its selection should described in the current online terminal user accessed by the BRAS equipment The number of users of BRAS plate plates number;The master control borad parses the first plate conduct Target Board number from the response message;The master control borad is according to the plate number of the Target Board number, the IP address and the veneer, described second pair of generation It should be related to and the 3rd correspondence;Second correspondence is allocated to the I O board by the master control borad;3rd correspondence is allocated to the target BRAS plates with the Target Board number by the master control borad.
- 5. according to the method described in claim 4, it is characterized in that, the master control borad in the BRAS equipment receives server return The instruction first terminal user the successful response message of network access au-thentication before, further include:The master control borad sends asking for the network access au-thentication of the request progress first terminal user to the server Message is sought, the plate number of at least one BRAS plates is carried in the request message.
- 6. according to the method described in claim 4, it is characterized in that, the processing message flow is sent to by the target BRAS plates After veneer in the BRAS equipment, further include:The master control borad receives the instruction message for the first terminal user that the server is sent, the instruction message Plate No. the second in the middle plate number for carrying at least one BRAS plates, the plate No. second is by the server in candidate's plate number Middle selection obtains, and candidate's plate number is that number of users is currently corresponded in the 4th correspondence than the first plate correspondence The plate number of the small at least two of number of users;The master control borad parses the second plate conduct Target Board number from the instruction message, returns described in performing According to the plate number of the Target Board number, the IP address and the veneer, second correspondence and described the are generated Three correspondences.
- 7. according to the method described in claim 4, it is characterized in that, the master control borad is according to the Target Board number, the user The plate number of IP address and the veneer, generating second correspondence and the 3rd correspondence includes:According to the plate number of the plate number of the I O board, the Target Board number, the IP address and the veneer, ARP table is generated , in the parameter value of the ARP entry, source IP address parameter value is the IP address, and it is the IO to enter plate parameter value The plate number of plate, ejecting plate parameter value are the plate number of the veneer, and Target Board parameter value is the Target Board number;Second correspondence is allocated to the I O board by the master control borad to be included:The ARP entry is set into the I O board;3rd correspondence is allocated to the target BRAS plates by the master control borad to be included:The ARP entry is set into the target BRAS plates;The Target Board number according to the target BRAS plates and user of the first terminal user for accessing the network The source IP address of second correspondence of IP address and the user's message stream, determines that the Target Board number includes:The I O board searches the Target Board in the ARP entry when receiving the user's message stream, according to the source IP address Number parameter value, obtains the Target Board number;The target BRAS plates are according to the plate number and the 3rd correspondence of the IP address and the source IP of the veneer Address, determining the plate number of the veneer includes:The target BRAS plates are searched in the ARP entry when receiving the user's message stream according to the source IP address Ejecting plate parameter value, obtains the plate number of the veneer.
- A kind of 8. file transmitting method, for Broadband Remote Access Server BRAS equipment, it is characterised in that including:When the user's message stream that the network is sent to first terminal is received with the veneer of network connection in the BRAS equipment, User's message circulation is issued to the target BRAS plates in the BRAS equipment;The target BRAS plates handle the user's message stream, obtain everywhere according to the configuration parameter of first terminal user Message flow is managed, wherein, the configuration parameter includes flow control and/or service quality QoS control parameter;The processing message flow is sent to the input and output I O board in the BRAS equipment by the target BRAS plates;The processing message flow is transmitted to the first terminal by the I O board.
- 9. according to the method described in claim 8, it is characterized in that, described issue the user's message circulation BRAS and set Before standby upper target BRAS plates, further include:The network access au-thentication for the instruction first terminal user that master control borad in the BRAS equipment is returned from server into The configuration parameter is parsed in the response message of work(;The master control borad generation configuration parameter and IP address of the first terminal user for accessing the network The first correspondence;First correspondence is allocated to the target BRAS plates by the master control borad;The target BRAS plates handle the user's message stream, obtain everywhere according to the configuration parameter of first terminal user Reason message flow includes:Purpose IP address and first correspondence of the target BRAS plates according to the user's message stream, determine described match somebody with somebody Put parameter;The target BRAS plates handle the user's message stream, obtain the processing message according to the configuration parameter Stream.
- 10. according to the method described in claim 8, it is characterized in that, described issue the BRAS by user's message circulation Target BRAS plates in equipment include:According to the Target Board number of the target BRAS plates with User IP of the first terminal user for accessing the network The purpose IP address of second correspondence of location and the user's message stream, determines the Target Board number;According to the Target Board number, the target BRAS plates are issued into user's message circulation;The target BRAS plates include the input and output I O board that the processing message flow is sent in the BRAS equipment:The target BRAS plates are according to the plate number and the 3rd correspondence of the IP address and the purpose of the I O board IP address, determines the plate number of the I O board;The processing message flow is sent to the I O board by the target BRAS plates according to the plate number of the I O board.
- 11. according to the method described in claim 10, it is characterized in that, described issue the BRAS by user's message circulation Before target BRAS plates in equipment, further include:Master control borad in the BRAS equipment receives the network access au-thentication for the instruction first terminal user that server returns Successful response message, wherein, in the plate number that at least one BRAS plates in the BRAS equipment are carried in the response message Plate No. the first, the plate No. first for the server selected from the plate number of at least one BRAS plates at the 4th pair It should be related to the plate number of middle corresponding number of users minimum;Plate number and user of 4th correspondence at least one BRAS plates Several correspondences;For each BRAS plates at least one BRAS plates, the BRAS plates are in the 4th correspondence In corresponding number of users be that server is that its selection should described in the current online terminal user accessed by the BRAS equipment The number of users of BRAS plate plates number;The master control borad parses the first plate conduct Target Board number from the response message;The master control borad is according to the plate number of the Target Board number, the IP address and the I O board, described second pair of generation It should be related to and the 3rd correspondence;Second correspondence is allocated to the veneer by the master control borad;3rd correspondence is allocated to the target BRAS plates with the Target Board number by the master control borad.
- 12. according to the method for claim 11, it is characterised in that the master control borad in the BRAS equipment receives server and returns Before the successful response message of network access au-thentication of the instruction first terminal user returned, further include:The master control borad sends asking for the network access au-thentication of the request progress first terminal user to the server Message is sought, the plate number of at least one BRAS plates is carried in the request message.
- 13. according to the method for claim 11, it is characterised in that the target BRAS plates send the processing message flow After the I O board in the BRAS equipment, further include:The master control borad receives the instruction message for the first terminal user that the server is sent, the instruction message Plate No. the second in the middle plate number for carrying at least one BRAS plates, the plate No. second is by the server in candidate's plate number Middle selection obtains, and candidate's plate number is that number of users is currently corresponded in the 4th correspondence than the first plate correspondence The plate number of the small at least two of number of users;The master control borad parses the second plate conduct Target Board number from the instruction message, returns described in performing According to the plate number of the Target Board number, the IP address and the I O board, second correspondence and described the are generated Three correspondences.
- 14. according to the method for claim 11, it is characterised in that the master control borad is according to the Target Board number, the use The plate number of family IP address and the I O board, generating second correspondence and the 3rd correspondence includes:According to the plate number of the plate number of the veneer, the Target Board number, the IP address and the I O board, ARP table is generated , in the parameter value of the ARP entry, purpose IP address parameter value is the IP address, and it is described to enter plate parameter value The plate number of veneer, ejecting plate parameter value are the plate number of the I O board, and Target Board parameter value is the Target Board number;Second correspondence is allocated to the veneer by the master control borad to be included:The ARP entry is set into the veneer;3rd correspondence is allocated to the target BRAS plates by the master control borad to be included:The ARP entry is set into the target BRAS plates;The Target Board number according to the target BRAS plates and user of the first terminal user for accessing the network The purpose IP address of second correspondence of IP address and the user's message stream, determines that the Target Board number includes:The veneer is when receiving the user's message stream, according to the target in ARP entry described in the destination IP address search Plate parameter value, obtains the Target Board number;The target BRAS plates are according to the plate number and the 3rd correspondence of the IP address and the purpose of the I O board IP address, determining the plate number of the I O board includes:The target BRAS plates are when receiving the user's message stream, according in ARP entry described in the destination IP address search Ejecting plate parameter value, obtain the plate number of the I O board.
- A kind of 15. packet transmission device, for Broadband Remote Access Server BRAS equipment, it is characterised in that including:First retransmission unit, in the input and output I O board in the BRAS equipment, first is received eventually for the I O board When holding the user's message stream to network transmission, user's message circulation is issued to the target BRAS plates in the BRAS equipment;Processing unit, on the target BRAS plates, for the configuration parameter according to first terminal user, reports the user Literary stream is handled, and obtains processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS controls Parameter;Transmitting element, on the target BRAS plates, for by it is described processing message flow be sent in the BRAS equipment with The veneer of the network connection;Second retransmission unit, on the veneer, for the processing message flow to be transmitted to the network.
- 16. device according to claim 15, it is characterised in that further include:First resolution unit, on the master control borad in the BRAS equipment, for first retransmission unit by the user Message flow is transmitted to before the target BRAS plates in the BRAS equipment, the instruction first terminal user returned from server The successful response message of network access au-thentication in parse the configuration parameter;First generation unit, on the master control borad, issues user's message circulation for first retransmission unit Before target BRAS plates in the BRAS equipment, it is described for accessing with the first terminal user to generate the configuration parameter First correspondence of the IP address of network;First dispensing unit, on the master control borad, issues user's message circulation for first retransmission unit Before target BRAS plates in the BRAS equipment, first correspondence is allocated to the target BRAS plates;The processing unit, specifically for the source IP address according to the user's message stream and first correspondence, determines The configuration parameter, and according to the configuration parameter, the user's message stream is handled, obtains the processing message flow.
- 17. device according to claim 15, it is characterised in that first retransmission unit, specifically for according to It is second corresponding to be used to access the IP address of the network by the Target Board number of target BRAS plates and the first terminal user The source IP address of relation and the user's message stream, determines the Target Board number, and according to the Target Board number, by the user Message flow is transmitted to the target BRAS plates;The transmitting element, specifically for the plate number according to the veneer and the 3rd correspondence of the IP address and institute Source IP address is stated, determines the plate number of the veneer, and according to the plate number of the veneer, the processing message flow is sent to described Veneer.
- 18. device according to claim 17, it is characterised in that further include:Receiving unit, on the master control borad in the BRAS equipment, for first retransmission unit by the user's message Before the target BRAS plates in the BRAS equipment are issued in circulation, receive the instruction first terminal user's that server returns The successful response message of network access au-thentication, wherein, carried in the response message at least one in the BRAS equipment Plate No. the first in the plate number of BRAS plates, the plate No. first are the server from the plate number of at least one BRAS plates The plate number that number of users minimum is corresponded in the 4th correspondence of selection;4th correspondence is at least one BRAS The plate number of plate and the correspondence of number of users;For each BRAS plates at least one BRAS plates, the BRAS plates are in institute It is to be taken described in the current online terminal user accessed by the BRAS equipment to state corresponding number of users in the 4th correspondence Business device selects the number of users of the BRAS plate plates number for it;Second resolution unit, on the master control borad, issues user's message circulation for first retransmission unit Before target BRAS plates in the BRAS equipment, the first plate conduct target is parsed from the response message Plate number;Second generation unit, on the master control borad, issues user's message circulation for first retransmission unit Before target BRAS plates in the BRAS equipment, according to the plate of the Target Board number, the IP address and the veneer Number, generate second correspondence and the 3rd correspondence;Second dispensing unit, on the master control borad, issues user's message circulation for first retransmission unit Before target BRAS plates in the BRAS equipment, second correspondence is allocated to the I O board;3rd dispensing unit, on the master control borad, issues user's message circulation for first retransmission unit Before target BRAS plates in the BRAS equipment, the 3rd correspondence is allocated to described in the Target Board number Target BRAS plates.
- A kind of 19. packet transmission device, for Broadband Remote Access Server BRAS equipment, it is characterised in that including:First retransmission unit, on the veneer in the BRAS equipment with network connection, receives described for the veneer During the user's message stream that network is sent to first terminal, user's message circulation is issued to the target in the BRAS equipment BRAS plates;Processing unit, on the target BRAS plates, for the configuration parameter according to first terminal user, reports the user Literary stream is handled, and obtains processing message flow, wherein, the configuration parameter includes flow control and/or service quality QoS controls Parameter;Transmitting element, on the target BRAS plates, for the processing message flow to be sent in the BRAS equipment Input and output I O board;Second retransmission unit, in the I O board, for the processing message flow to be transmitted to the first terminal.
- 20. device according to claim 19, it is characterised in that further include:Resolution unit, on the master control borad in the BRAS equipment, for first retransmission unit by the user's message Before the target BRAS plates in the BRAS equipment are issued in circulation, the net of the instruction first terminal user returned from server The configuration parameter is parsed in the successful response message of network access registrar;Generation unit, on the master control borad, issues user's message circulation for first retransmission unit described Before target BRAS plates in BRAS equipment, generate the configuration parameter and be used to access the network with the first terminal user IP address the first correspondence;Dispensing unit, on the master control borad, issues user's message circulation for first retransmission unit described Before target BRAS plates in BRAS equipment, first correspondence is allocated to the target BRAS plates;The processing unit, specifically for the purpose IP address according to the user's message stream and first correspondence, really The fixed configuration parameter, and according to the configuration parameter, the user's message stream is handled, obtains the processing message Stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218067.7A CN104780121B (en) | 2015-04-30 | 2015-04-30 | A kind of file transmitting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218067.7A CN104780121B (en) | 2015-04-30 | 2015-04-30 | A kind of file transmitting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104780121A CN104780121A (en) | 2015-07-15 |
CN104780121B true CN104780121B (en) | 2018-05-08 |
Family
ID=53621372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510218067.7A Active CN104780121B (en) | 2015-04-30 | 2015-04-30 | A kind of file transmitting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104780121B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105553971B (en) * | 2015-12-11 | 2019-06-14 | 福建星网锐捷网络有限公司 | A kind of processing message identifying method, apparatus and system |
CN106161271A (en) * | 2016-06-17 | 2016-11-23 | 杭州华三通信技术有限公司 | A kind of information obtaining method and device |
CN106534376A (en) * | 2016-12-29 | 2017-03-22 | 北京华为数字技术有限公司 | User online load balancing method, apparatus and device |
CN108737224B (en) * | 2017-09-28 | 2020-06-09 | 新华三技术有限公司 | Message processing method and device based on micro-service architecture |
CN107959603B (en) * | 2017-10-27 | 2020-11-03 | 新华三技术有限公司 | Forwarding control method and device |
CN113079181B (en) * | 2021-04-21 | 2022-06-24 | 深圳天源锦合技术有限公司 | Method, terminal and storage medium for accessing internet flow by baseband access domain |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1595896A (en) * | 2003-09-12 | 2005-03-16 | 华为技术有限公司 | Method for broadband access server to acquire user location information |
CN1937530A (en) * | 2006-08-07 | 2007-03-28 | 华为技术有限公司 | Method, device and system for identifying illegal packet phones |
CN101047631A (en) * | 2006-04-29 | 2007-10-03 | 华为技术有限公司 | Customer position information transmitting method, MAC address automatic allocating method, network creating method and system |
CN101267399A (en) * | 2008-04-24 | 2008-09-17 | 杭州华三通信技术有限公司 | Packet forward method, device and its uplink interface board |
CN101442442A (en) * | 2008-12-17 | 2009-05-27 | 华为技术有限公司 | Management apparatus, control apparatus, management control apparatus and router system |
CN101765114A (en) * | 2010-01-18 | 2010-06-30 | 杭州华三通信技术有限公司 | Method, system and equipment for controlling wireless user access |
CN101854335A (en) * | 2009-03-30 | 2010-10-06 | 华为技术有限公司 | Method, system and network device for filtration |
CN102143072A (en) * | 2011-03-21 | 2011-08-03 | 华为数字技术有限公司 | Method for fluid control configuration and network equipment |
EP2536068A1 (en) * | 2011-06-18 | 2012-12-19 | Deutsche Telekom AG | Virtual subscriber management |
CN102932244A (en) * | 2012-10-25 | 2013-02-13 | 中国航天科工集团第二研究院七〇六所 | Trusted access gateway based on bidirectional trustiness verification |
CN103368780A (en) * | 2013-07-22 | 2013-10-23 | 杭州华三通信技术有限公司 | Service control method and equipment |
CN103501252A (en) * | 2013-10-14 | 2014-01-08 | 华为技术有限公司 | Method and device for cloud terminal certification |
-
2015
- 2015-04-30 CN CN201510218067.7A patent/CN104780121B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1595896A (en) * | 2003-09-12 | 2005-03-16 | 华为技术有限公司 | Method for broadband access server to acquire user location information |
CN101047631A (en) * | 2006-04-29 | 2007-10-03 | 华为技术有限公司 | Customer position information transmitting method, MAC address automatic allocating method, network creating method and system |
CN1937530A (en) * | 2006-08-07 | 2007-03-28 | 华为技术有限公司 | Method, device and system for identifying illegal packet phones |
CN101267399A (en) * | 2008-04-24 | 2008-09-17 | 杭州华三通信技术有限公司 | Packet forward method, device and its uplink interface board |
CN101442442A (en) * | 2008-12-17 | 2009-05-27 | 华为技术有限公司 | Management apparatus, control apparatus, management control apparatus and router system |
CN101854335A (en) * | 2009-03-30 | 2010-10-06 | 华为技术有限公司 | Method, system and network device for filtration |
CN101765114A (en) * | 2010-01-18 | 2010-06-30 | 杭州华三通信技术有限公司 | Method, system and equipment for controlling wireless user access |
CN102143072A (en) * | 2011-03-21 | 2011-08-03 | 华为数字技术有限公司 | Method for fluid control configuration and network equipment |
EP2536068A1 (en) * | 2011-06-18 | 2012-12-19 | Deutsche Telekom AG | Virtual subscriber management |
CN102932244A (en) * | 2012-10-25 | 2013-02-13 | 中国航天科工集团第二研究院七〇六所 | Trusted access gateway based on bidirectional trustiness verification |
CN103368780A (en) * | 2013-07-22 | 2013-10-23 | 杭州华三通信技术有限公司 | Service control method and equipment |
CN103501252A (en) * | 2013-10-14 | 2014-01-08 | 华为技术有限公司 | Method and device for cloud terminal certification |
Non-Patent Citations (2)
Title |
---|
One New BRAS Model Based on Trusted Network;Jian Wang 等;《IEEE》;20080805;全文 * |
Performance Evaluation of Rate Control and QoS Capabilities of BRAS;Francois Blouin 等;《IEEE》;20041203;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104780121A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104780121B (en) | A kind of file transmitting method and device | |
US6661780B2 (en) | Mechanisms for policy based UMTS QoS and IP QoS management in mobile IP networks | |
RU2586587C2 (en) | Terminal control device, communication method, communication system, communication module, program and information processing device | |
US10129122B2 (en) | User defined objects for network devices | |
CA2570572C (en) | System and method for loadbalancing in a network environment using feedback information | |
KR101528825B1 (en) | Terminal, control device, communication method, communication system, communication module, program, and information processing device | |
US8107376B2 (en) | Managing hierarchically organized subscriber profiles | |
CN100521650C (en) | Packet forwarding apparatus and access network system | |
US7437552B2 (en) | User authentication system and user authentication method | |
EP2680506A1 (en) | Communication system, database, control device, communication method and program | |
JP2000209267A (en) | Network device control system and device | |
CN109429272A (en) | Shunt method and relevant device under a kind of roaming scence | |
EP1690189B1 (en) | On demand session provisioning of ip flows | |
US20110191223A1 (en) | Internet Control Management and Accounting in a Utility Computing Environment | |
AU2003255114A1 (en) | Network management method based on quality of the service | |
EP1830520B1 (en) | Method and system for redirecting of the client | |
US20180248917A1 (en) | Programming a data network device using user defined scripts with licenses | |
US11563632B2 (en) | User defined objects for network devices | |
KR102014005B1 (en) | Method of providing nomadic service through virtual residential gateway | |
EP1244265A2 (en) | Integrated policy implementation service for communication network | |
JP4352210B2 (en) | Access management server, network device, network system | |
US20240106738A1 (en) | Apparatuses, Devices, Methods and Computer-Readable Media for Communicating via Internet Doors | |
CA3194737A1 (en) | Resource filter for integrated networks | |
Haddadou et al. | Practical and analytical approaches for designing scalable on‐demand policy‐based resource allocation in stateless IP networks | |
CN103220227A (en) | Realization method and system for QoS (quality of service) of Ezvpn (easy virtual private network) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |