Method for managing substituted dialing account and park BRAS (Broadband Remote Access Server)
By configuring the port block resource pool for campus network users and dynamically adjusting the port block allocation, the dialing problem of multiple terminal devices when switching in campus network is solved, and the function of multiple terminals to access the operator network simultaneously is realized, improving the user experience.
Patent Information
- Application Number
- CN202510347901.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-07-08
AI Technical Summary
On the campus network, when students use multiple terminal devices, the BRAS table items and dial-up items on campus correspond one by one, resulting in re-dial when switching terminal devices, resulting in poor Internet access experience.
Configure the port block resource pool, establish the correspondence between user information and port block resource pool, allocate port blocks to multiple terminal users through the port block resource pool, and dynamically adjust port block allocation by polling other terminal devices when the port block is insufficient.
It realizes that multiple terminal users can access the operator network at the same time, solves the problem that multiple terminals with one account cannot be deployed on campus network BRAS, and improves the Internet experience.
Smart Images

Figure CN120281516A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method for managing proxy dialing accounts and a campus BRAS. Background Art
[0002] In order to meet the needs of campus network users, such as campus network users, for diversified network outlets, improve user satisfaction, and meet the school's own needs to simplify campus network construction and maintenance, more and more universities are adopting the method of jointly operating and building multiple outlets with multiple operators, delegating the right to choose network outlets to students, who can choose to open a broadband account of a certain operator according to their own needs.
[0003] In the joint operation scenario, by deploying the PPPoE dial-up function on the campus BRAS device or PPPoE dial-up gateway device, it can not only help schools and operators improve the efficiency of BRAS service deployment and simplify the joint operation model, but also provide campus network users with an excellent Internet experience. PPPoE dial-up refers to a technology in which the campus BRAS device or PPPoE dial-up gateway device initiates proxy dial-up authentication to the BRAS device of the operator for campus users who have activated the operator's "dial-up" service. The "dial-up" service here generally refers to the Internet access service of activating an operator's broadband account.
[0004] In the PPPOE dial-up application, it is divided into the integrated PPPOE dial-up mode and the PPPOE dial-up gateway mode according to the different devices that provide the PPPOE dial-up function.
[0005] Integrated PPPOE dial-up mode: In this mode, the campus BRAS device also serves as the PPPOE dial-up device, that is, the campus BRAS device provides both BRAS access authentication and PPPOE dial-up functions for campus users.
[0006] PPPOE dial-up gateway mode: In this mode, the PPPOE dial-up function is provided by an independent PPPOE dial-up device (i.e., the PPPOE dial-up gateway), and the campus BRAS device no longer serves as the PPPOE dial-up device.
[0007] At present, it is a common phenomenon that students have multiple terminals (mobile phones, computers, iPads, etc.) in campus networks. Because the BRAS table entries and dial-up table entries on campus correspond one to one, switching between multiple terminals to access the Internet requires terminal users to re-dial, resulting in a very poor Internet experience. Summary of the invention
[0008] In order to overcome the problems existing in the related art, this specification provides a method for managing a proxy dialing account and a BRAS.
[0009] According to a first aspect of an embodiment of this specification, a method for managing a proxy dialing account is provided, the method comprising:
[0010] Configure the port block resource pool used by the target dial-up user to access the carrier network;
[0011] Establishing a corresponding relationship between user information of a target dial-up user and the port block resource pool;
[0012] Controlling the user's access to the operator's network according to the corresponding relationship;
[0013] The user is a user of multiple terminal devices.
[0014] The configuration of the port block resource pool for the target dial-up user to access the operator network includes:
[0015] Obtain the number of terminal devices of the target dialing user;
[0016] According to the number of terminal devices of the target dial-up user, the total port resources corresponding to the target user are divided proportionally to form several port blocks;
[0017] A port block resource pool is formed according to the plurality of port blocks.
[0018] The user information includes: Username, the number of terminal devices corresponding to each user, campus IP, user's MAC address, outbound interface, proxy IP, and proxy MAC.
[0019] The controlling the user to access the operator network according to the corresponding relationship includes:
[0020] The user's terminal device obtains the target port block from the port block resource pool and accesses the operator's network through the target port block.
[0021] Wherein, the method further comprises:
[0022] When the target terminal device in the user recognizes that the available port blocks in the port block resource pool are insufficient, poll other terminal devices under the user and select the first terminal device that occupies the most port blocks;
[0023] A least used first port block is acquired from the port blocks occupied by the first terminal device, and the first port block is allocated to the target terminal device.
[0024] Wherein, the method further comprises:
[0025] When the target terminal device in the user recognizes that the available port blocks in the port block resource pool are insufficient, it is determined whether the ratio of the port blocks occupied by the target terminal device to the number of online terminals of the current target dial-up user is greater than a threshold. If so, other terminal devices are not trained in rotation.
[0026] As can be seen from the above embodiments, through the port block resource pool of the knowledge port, port blocks can be allocated to users of multiple terminals, so that multiple terminals of the same user can be supported to access the operator network simultaneously, solving the problem that multiple terminals of one account cannot be deployed in the campus network BRAS in the scenario where the campus network BRAS is used as a proxy dialing device.
[0027] According to the second aspect of the embodiments of the present specification, a campus BRAS is provided, and the BRAS includes:
[0028] A configuration module, configured to configure a port block resource pool for a target proxy dialing user to access the operator network;
[0029] A processing module, configured to establish a correspondence between the user information of the target proxy dialing user and the port block resource pool;
[0030] An access module, configured to control the user to access the operator network according to the correspondence;
[0031] Wherein, the user is a user of a multi-terminal device.
[0032] The configuration module is specifically configured to obtain the number of terminal devices of the target proxy dialing user, split the total port resources corresponding to the target user proportionally according to the number of terminal devices of the target proxy dialing user to form a number of port blocks, and form a port block resource pool according to the number of port blocks.
[0033] The user information includes: Username, the number of terminal devices corresponding to each user, the campus IP, the MAC address of the user, the outgoing interface, the proxy dialing IP, and the proxy dialing MAC.
[0034] The access module is specifically configured to obtain a target port block from the port block resource pool by the terminal device of the user, and access the operator network through the target port block.
[0035] The BRAS further includes: a polling module,
[0036] The polling module is configured to, when the target terminal device in the user identifies that the available port blocks in the port block resource pool are insufficient, poll other terminal devices under the user and select the first terminal device that occupies the most port blocks;
[0037] Obtain the least used first port block from the port blocks occupied by the first terminal device, and allocate the first port block to the target terminal device.
[0038] The polling module is further configured to, when the target terminal device among the users identifies that the available port blocks in the port block resource pool are insufficient, determine whether the ratio of the port blocks occupied by the target terminal device to the number of online terminal devices of the current target call-on-behalf user is greater than a threshold. If it is greater than the threshold, other terminal devices are not polled.
[0039] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit this specification. Brief Description of the Drawings
[0040] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with this specification, and are used together with the specification to explain the principles of this specification.
[0041] Figure 1 It is a schematic diagram of the architecture of a call-on-behalf networking in a PPPOE call-on-behalf mode shown according to an exemplary embodiment of this specification.
[0042] Figure 2 It is a schematic flowchart of a method for managing call-on-behalf accounts shown according to an exemplary embodiment of this specification. Detailed Embodiments
[0043] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. On the contrary, they are only examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0044] The terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit this specification. The singular forms "a", "the", and "said" used in this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0045] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to a determination".
[0046] As Figure 1 shown in the architecture diagram of the proxy dial-up network in the PPPoE proxy dial-up mode. This example takes the campus network as an example, and it is also applicable to other campus networks.
[0047] In this example, campus users: are internal access authentication users who go online using the IPOE or PPPoE method. The internal BRAS: is a device that provides BRAS access services and PPPoE proxy dial-up services for campus users. Among them, on the internal BRAS device, for the proxy dial-up service, it includes the following two types of interfaces:
[0048] First: The internal user access interface: refers to the interface on the internal BRAS device that provides BRAS access services for internal users. In the PPPoE proxy dial-up network, the campus network administrator controls the access rights of internal users by deploying OoS policies on the internal BRAS device. That is, when an internal user authenticates and goes online through this interface using an internal account, they only have access rights to the internal network and no access rights to the external network.
[0049] Second: The PPPoE proxy dial-up interface: refers to the interface on the internal BRAS device that provides proxy dial-up services for internal users who have enabled the "proxy dial-up" service. If an internal user has enabled the "proxy dial-up" service at the operator, when such a user authenticates and goes online using an internal account on the internal BRAS device, the internal BRAS device will automatically initiate a proxy dial-up authentication request to the BRAS device of the user's affiliated operator through the PPPoE proxy dial-up interface. After authentication, the user can access the external network through their affiliated operator.
[0050] Internal DHCP server: Dynamically assigns IP addresses to internal access authentication users.
[0051] Internal AAA server: Interacts with the internal BRAS to complete user authentication, authorization, and accounting.
[0052] Internal Portal server: The server-side system that receives internal user authentication requests, is responsible for providing a Web authentication page to internal users, and interacts with the internal BRAS device to exchange user authentication information (username, password, etc.) to complete the identity authentication of internal users.
[0053] Operator BRAS: A device that provides BRAS access services for PPPoE proxy dial-up on the internal BRAS.
[0054] Currently, the basic working process of PPPoE proxy dial-up is as follows:
[0055] (1) On-campus users activate the operator's "proxy dialing" service at the operator, and bind the "proxy dialing" account provided by the operator to the on-campus account on the on-campus AAA server. Regarding the binding operation of the "proxy dialing" account and the on-campus account, whether it is specifically bound by the on-campus users themselves or first reported by the on-campus users to the campus network administrator and then bound by the campus network administrator on their behalf depends on the support situation of the on-campus AAA server.
[0056] (2) After on-campus users authenticate and go online using the on-campus account on the on-campus BRAS device, while maintaining the on-campus access authentication user information of the on-campus users, the BRAS device will mark the user as a PPPOE proxy dialing user. That is, for each on-campus user who has activated the "proxy dialing" service, both the "on-campus access authentication user" and the "PPPOE proxy dialing user" identities will be marked and maintained on the on-campus BRAS device.
[0057] First: For the internal network traffic of on-campus users, the BRAS device processes it according to the on-campus access authentication user at the time of going online (such as an IPOE user) and directly releases the internal network traffic.
[0058] Second: For the external network traffic of on-campus users, the BRAS device processes it as a PPPOE proxy dialing user.
[0059] (3) When the on-campus AAA server receives the charging start message of a certain user sent by the on-campus BRAS device, the on-campus AAA server will notify the on-campus BRAS device to start PPPOE proxy dialing for the charging user through a COA message, and the COA message will carry information such as the "proxy dialing" account opened by the user.
[0060] (4) The on-campus BRAS device, according to the received COA message, simulates a PPPoE client and initiates PPPOE proxy dialing to the BRAS device of the corresponding operator through the proxy dialing interface using the "proxy dialing" account information carried in the COA message. Among them, the operator's BRAS device acts as the PPPoE server role.
[0061] (5) The operator authenticates the PPPOE proxy dialing user. After successful authentication, through NCP negotiation, the operator assigns IP address and other information to the PPPOE proxy dialing user.
[0062] (6) After successful proxy dialing, session information of the proxy dialing user will be generated and maintained on the on-campus BRAS device.
[0063] (7) When the on-campus BRAS device receives the external network traffic of the user, it first replaces the source P address of the packet with the IP address assigned by the operator to the proxy dialing user, and then encapsulates the packet with PPPOE and forwards it to the BRAS device of the corresponding operator.
[0064] (8) When the in-school BRAS device receives the return traffic from the external network, it first de-encapsulates the PPPoE packet, and then replaces the destination P address of the packet with the in-school P address of the user and forwards it to the corresponding in-school user.
[0065] The above is the technical background source and technical logic of current proxy dialing. In reality, it is very common for students to have multiple terminals (such as mobile phones, computers, iPads, etc.). Since the in-school BRAS entries and proxy dialing entries are in one-to-one correspondence, when switching between multiple terminals to access the Internet, the terminal user needs to redial, and the Internet access experience is very poor.
[0066] To solve the above technical problems, the embodiments of the present disclosure provide a method for managing proxy dialing accounts, as Figure 2 shown, the method includes:
[0067] S201 Configure the port block resource pool for the target proxy dialing user to access the operator network;
[0068] S202 Establish the correspondence between the user information of the target proxy dialing user and the port block resource pool;
[0069] S203 Control the user to access the operator network according to the correspondence;
[0070] Wherein, the user is a user of a multi-terminal device.
[0071] In this embodiment, the administrator can configure the port block resource pool for the target proxy dialing user to access the operator network. Specifically, obtain the number of terminal devices in the proxy dialing user and the total port resources for allocating the access operator network ports for this user, split the total port resources proportionally according to the number of terminal devices in the target proxy dialing network to form several port blocks, and form a port block resource pool based on the several port blocks. The following is an example:
[0072] Taking the target proxy dialing user with 10 terminal devices as an example, split the original 64K port number of the target proxy dialing user into 10 parts (it is also possible to split it into 20 or 30, which can be customized according to needs). When the terminals in this user go online, allocate a target port block, and the target port block can be one of the above 10 port blocks or multiple port blocks.
[0073] When performing step S202, the correspondence between the user information of the proxy dialing user and the port block resource pool can be established by creating a correspondence table. Specifically, according to the number of terminal devices of the user, obtain the target port block from the port block resource pool and establish the correspondence between the user information and the target port block. Among them, the user information includes: Username, the number of terminal devices corresponding to each user, campus IP, the MAC address of the user, the outgoing interface, proxy dialing IP, proxy dialing MAC, as shown in Table 1:
[0074]
[0075] Table 1
[0076] Among them, Username is the user name, and Name2 in Table 1 represents the same user; the number of multiple terminals for one account (user) is: 2, indicating that there are 2 terminal devices under user Name2; IP: is the campus IP allocated by the campus BRAS for the terminals under each user; Mac is the MAC address of each terminal; Destination interface is the outgoing interface for forwarding after the traffic hits the dial-on-behalf table entry, and here the outgoing interface of the dial-on-behalf user will be filled in; Dial-on-behalf IP: is the IP address allocated by the operator after the dial-on-behalf user dials successfully; Dial-on-behalf Mac: is the Mac of the dial-on-behalf user. Actually, it is the Mac of the user terminal.
[0077] Among them, the IP of one user with multiple terminals represents the common IP of the one user with multiple terminals.
[0078] In Table 1, the port range of the dial-on-behalf user is the port block corresponding to each user.
[0079] In this embodiment, the terminal device of the user obtains the target port block from the port block resource pool and accesses the operator network through the target port block. As shown in Table 1, there are 2 terminals under user Name2. Usually, the port corresponding to one user is 64K. According to the above method, the 64K port is split into 60 port blocks. The port block allocated to terminal 1 under user Name2 is 2000 - 3000, and the port block allocated to terminal 2 under user Name2 is 3000 - 4000.
[0080] It can be seen from this that by allocating a port block resource pool for multi-terminal users, the need for multiple terminals under the same user to access the operator network simultaneously can be met.
[0081] In this embodiment, when the target terminal device in the user identifies that there are insufficient available port blocks in the port block resource pool, it polls other terminal devices under the user, selects the first terminal device that occupies the most port blocks, obtains the first port block that is used the least from the port blocks occupied by the first terminal device, and allocates the first port block to the target terminal device, where the target terminal device can be any terminal device under the user.
[0082] For example, determine whether the proportion of the port block obtained by the current user in the port block resource pool reaches 1 / 10 (here, it is assumed that 10 terminals are all online. If only 8 are online, it is 1 / 8, and the same applies to other cases). If it does not reach and there is no available port block in the port block resource pool, it is necessary to poll other terminal devices to find the first terminal with the largest port block occupancy, and forcibly reclaim one of the port blocks with the fewest used ports and allocate it to the first terminal. If the port block of the first terminal is still exhausted, continue to repeat the above polling process.
[0083] To describe the technical solutions in the present disclosure in detail, the present disclosure also provides an embodiment, as shown in Table 2,
[0084]
[0085] Table 2
[0086] User1 has two terminal devices. One of the terminal devices is 1-2-1. After 1-2-1 goes online through proxy dialing, the internal school IP address assigned is 10.1.1.2, the IP address obtained through proxy dialing is 20.1.1.2, the MAC address of proxy dialing is 3-3-3, and the proxy dialing exit is Interface1. The port block resource pool corresponding to user User1 includes 10 port blocks (in the case where the 1-2-2 terminal of user1 is not online, the 1-2-1 terminal can use all 10 port blocks).
[0087] As shown in Table 3, the 1-2-2 terminal dials and goes online, and the assigned IP address is 10.1.1.3. According to the account association, the existing proxy dialing entry is obtained to get the outgoing interface Interface1. It is found that the port blocks in the port block resource pool corresponding to the proxy dialed IP have been exhausted. Therefore, poll the terminal device with the largest total port block occupancy among other terminal devices under the User1 account. Here, it is 1-2-1. Select the port block 8001-14000 with the fewest used ports and forcibly reclaim and allocate this port block to 1-2-2.
[0088]
[0089] Table 3
[0090] At this time, the port block corresponding to the proxy dialed IP assigned to the 1-2-1 terminal is exhausted, and a new port block is applied for from the port block resource pool. Since there are no remaining port blocks in the port block resource pool, it is determined at this time that the percentage of the port blocks it occupies = 9 / 10 = 90% > 1 / the number of currently online terminals = 1 / 2 = 50%. It has occupied more than the maximum part it should be allocated, so it no longer polls other terminals to obtain port blocks.
[0091] At this time, the port block corresponding to the dialing IP allocated to the terminal device 1-2-2 is exhausted, and it applies for a new port block from the port block resource pool. Since there are no remaining port blocks in the port block resource pool, it is determined that the percentage of the port block it occupies = 1 / 10 = 10% < 1 / the current number of online terminals = 1 / 2 = 50%, which is less than the part it should occupy. Therefore, it goes to poll other terminal devices that occupy the most port blocks, that is, the terminal of 1-2-1, and selects the port block 14001-20000 with the fewest used ports, and forcibly releases this port block and allocates it to the 1-2-2 terminal, as shown in Table 4.
[0092]
[0093]
[0094] Table 4
[0095] At this time, if the ports of the port blocks of the terminal devices 1-2-1 and 1-2-2 are completely recycled, the port block will be recycled back to the port block resource pool for other terminals to use.
[0096] If 1-2-1 and 1-2-2 go offline, the occupied port blocks are released synchronously and recycled to the port block resource pool.
[0097] It can be seen from the above embodiments that the technical solution provided by the present disclosure solves the problem that multiple terminals of one account cannot be deployed in the campus network BRAS in the scenario where the campus network BRAS is used as a dialing device.
[0098] Based on the above method embodiments, the present disclosure also provides a broadband remote access server BRAS for a campus network, and the BRAS includes:
[0099] A configuration module, configured to configure a port block resource pool for a target dialing user to access the operator network;
[0100] A processing module, configured to establish a correspondence between the user information of the target dialing user and the port block resource pool;
[0101] An access module, configured to control a user to access the operator network according to the correspondence;
[0102] Wherein, the user is a user of multiple terminal devices.
[0103] The configuration module is specifically configured to obtain the number of terminal devices of the target dialing user, split the total port resources corresponding to the target user proportionally according to the number of terminal devices of the target dialing user to form a number of port blocks, and form a port block resource pool according to the number of port blocks.
[0104] The user information includes: Username, the number of terminal devices corresponding to each user, campus IP, user's MAC address, outbound interface, proxy IP, and proxy MAC.
[0105] The access module is specifically used for the user's terminal device to obtain a target port block from a port block resource pool and access the operator's network through the target port block.
[0106] The BRAS further comprises: a polling module,
[0107] The polling module is used to poll other terminal devices under the user and select the first terminal device that occupies the most port blocks when the target terminal device in the user recognizes that the available port blocks in the port block resource pool are insufficient;
[0108] A least used first port block is acquired from the port blocks occupied by the first terminal device, and the first port block is allocated to the target terminal device.
[0109] The polling module is also used to determine whether the ratio of the port blocks occupied by the target terminal device and the number of online terminals of the current target dialing user is greater than a threshold when the target terminal device in the user identifies that the available port blocks in the port block resource pool are insufficient. If it is greater than the threshold, other terminal devices will not be polled.
[0110] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0111] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0112] Those skilled in the art will readily conceive of other embodiments of the present specification after considering the specification and practicing the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations of the specification that follow the general principles of the specification and include known common general knowledge or conventional technical means in the technical field not claimed in this specification. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the specification are pointed out by the following claims.
[0113] It should be understood that this specification is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of this specification is only limited by the appended claims.
[0114] The above are only the preferred embodiments of this specification, and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included within the scope of protection of this specification.
Claims
1. A method for managing a proxy-dialing account, characterized in that, The method comprises: Configure the port block resource pool used by the target dial-up user to access the carrier network; Establishing a corresponding relationship between user information of a target dial-up user and the port block resource pool; Controlling the user's access to the operator's network according to the corresponding relationship; Wherein, the user is a user of multiple terminal devices.
2. The method according to claim 1, wherein The configuration of the port block resource pool used by the target dial-up user to access the operator network includes: Obtain the number of terminal devices of the target dialing user; According to the number of terminal devices of the target dial-up user, the total port resources corresponding to the target user are divided proportionally to form several port blocks; A port block resource pool is formed according to the plurality of port blocks.
3. The method according to claim 1, wherein The user information includes: Username, the number of terminal devices corresponding to each user, campus IP, user's MAC address, outbound interface, proxy IP, and proxy MAC.
4. The method according to claim 1, wherein The controlling the user to access the operator network according to the corresponding relationship includes: The user's terminal device obtains the target port block from the port block resource pool and accesses the operator's network through the target port block.
5. The method according to claim 4, wherein The method further comprises: When the target terminal device in the user recognizes that the available port blocks in the port block resource pool are insufficient, poll other terminal devices under the user and select the first terminal device that occupies the most port blocks; A least used first port block is acquired from the port blocks occupied by the first terminal device, and the first port block is allocated to the target terminal device.
6. The method according to claim 5, wherein The method further comprises: When the target terminal device in the user recognizes that the available port blocks in the port block resource pool are insufficient, it is determined whether the ratio of the port blocks occupied by the target terminal device to the number of online terminals of the current target dial-up user is greater than a threshold. If so, other terminal devices are not trained in rotation.
7. A broadband remote access server (BRAS) for a campus network, characterized in that, The BRAS comprises: A configuration module, used to configure a port block resource pool for a target dial-up user to access a carrier network; A processing module, used for establishing a corresponding relationship between the user information of the target dial-up user and the port block resource pool; An access module, used to control the user's access to the operator's network according to the corresponding relationship; The user is a user of multiple terminal devices.
8. The BRAS according to claim 7, characterized in that: The configuration module is specifically used to obtain the number of terminal devices of the target dialing user, divide the total port resources corresponding to the target user in proportion according to the number of terminal devices of the target dialing user to form a number of port blocks, and form a port block resource pool based on the number of port blocks.
9. The BRAS according to claim 7, characterized in that, The user information includes: Username, the number of terminal devices corresponding to each user, campus IP, user's MAC address, outbound interface, proxy IP, and proxy MAC.
10. The BRAS according to claim 7, characterized in that: The access module is specifically used for the user's terminal device to obtain a target port block from a port block resource pool and access the operator's network through the target port block.
11. The BRAS according to claim 10, characterized in that, The BRAS further comprises: a polling module, The polling module is used to poll other terminal devices under the user and select the first terminal device that occupies the most port blocks when the target terminal device in the user recognizes that the available port blocks in the port block resource pool are insufficient; Obtain the first port block with the least usage from the port blocks occupied by the first terminal device, and allocate the first port block to the target terminal device.
12. The BRAS according to claim 11, wherein the polling module is further configured to, when the target terminal device among the users identifies that the available port blocks in the port block resource pool are insufficient, determine whether the ratio of the port blocks occupied by the target terminal device to the number of online terminals of the current target call-by-proxy user is greater than a threshold. If it is greater than the threshold, other terminal devices are not polled.