Port allocation method and device and storage medium

By acquiring service information and determining matching port types, BRAS-UP device ports are rationally allocated, thus solving the problems of resource waste and transmission congestion in the existing technology and improving port utilization.

CN120750880APending Publication Date: 2025-10-03CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511029949.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-24
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

When allocating Broadband Remote Access Server User Plane (BRAS-UP) ports for network services, the existing technology based on fixed port allocation results in some services failing to meet network requirements, causing resource waste or transmission congestion.

Method used

By obtaining service information of the service to be allocated, including service type and bandwidth requirements, the matching port type in the BRAS-UP device is determined. The number of ports is determined based on the bandwidth requirements and port type, and high-speed or low-speed transmission ports are reasonably allocated to avoid resource waste and transmission congestion.

Benefits of technology

It achieves the rational use of BRAS-UP equipment ports while meeting business needs, improves port utilization, and avoids resource waste and transmission congestion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120750880A_ABST
    Figure CN120750880A_ABST
Patent Text Reader

Abstract

The invention discloses a port allocation method and device and a storage medium, relates to the technical field of communication, is used for reasonably allocating BRAS-UP equipment ports for tasks, and comprises the following steps: obtaining service information of a to-be-allocated service; the service information comprises a service type and a bandwidth requirement; determining a port type matched with the to-be-allocated service in the BRAS-UP equipment based on the service type of the to-be-allocated service; the port type comprises a high-speed transmission type or a low-speed transmission type; the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type; and determining the number of ports of the port type allocated corresponding to the to-be-allocated service based on the bandwidth demand of the to-be-allocated service and the port bandwidth corresponding to the port type. The port allocation method and device are applied to the port allocation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a port allocation method, device, and storage medium. Background Art

[0002] To meet the needs of broadband services shifting from single-type home Internet access services to complex enterprise-oriented (ToBusiness, ToB) and home-oriented (ToH) services and to create network differentiation advantages, technical personnel have built a Broadband Remote Access Server (BRAS) with separated control and transmission. The BRAS architecture separates the control plane and user plane. The control plane facilitates intensive and refined control, while user plane pooling improves overall efficiency and security.

[0003] In related technologies, when allocating Broadband Remote Access Server-User Plane (BRAS-UP) ports to network services, these ports are allocated based on existing fixed ports. This results in some services being assigned ports that fail to meet their network requirements, while others are assigned ports with excessive transmission capacity, resulting in a waste of resources. Therefore, how to properly allocate BRAS-UP device ports to specific tasks remains a technical challenge. Summary of the Invention

[0004] In view of this, the present application proposes a port allocation method, apparatus, and storage medium, aiming to reasonably allocate BRAS-UP device ports to tasks.

[0005] In the first aspect, the present application proposes a port allocation method, including: a port allocation device obtains business information of the business to be allocated; the business information includes business type and bandwidth requirement; the port allocation device determines the port type in the broadband remote access server user interface BRAS-UP device that matches the business to be allocated based on the business type of the business to be allocated; the port type includes a high-speed transmission type or a low-speed transmission type; the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type; the port allocation device determines the number of ports of the port type corresponding to the business to be allocated based on the bandwidth requirement of the business to be allocated and the port bandwidth corresponding to the port type.

[0006] Optionally, obtain the number of users corresponding to the service to be allocated and the traffic demand of a single user for the service to be allocated; obtain the number of master devices of the BRAS-UP device; determine the bandwidth demand based on the number of users corresponding to the service to be allocated, the traffic demand of a single user for the service to be allocated, the number of master devices of the BRAS-UP device, and the concurrent online rate of users.

[0007] Optionally, obtain the single-user traffic demand of the service to be allocated; if the traffic demand of the single user for the service to be allocated is greater than a first threshold, determine that the service to be allocated is a high-traffic service; if the traffic demand of the single user for the service to be allocated is less than or equal to the first threshold, determine that the service to be allocated is a low-traffic service.

[0008] Optionally, when the service to be allocated is a high-traffic service, the port type is determined to be a high-speed transmission type; when the service to be allocated is a low-traffic service, the port type is determined to be a low-speed transmission type.

[0009] Optionally, the number of first sub-cards to be configured for the high-traffic service is determined based on the number of users corresponding to the high-traffic service and the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card; the number of second sub-cards to be configured for the low-traffic service is determined based on the number of users corresponding to the low-traffic service and the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card; the number of target sub-cards for the service to be allocated is determined based on the number of first sub-cards configured and the number of second sub-cards configured; the target sub-cards are used to carry ports of the port type allocated corresponding to the service to be allocated.

[0010] Optionally, at least one port is selected from each of the target subcards as a port of the port type allocated corresponding to the service to be allocated; and the number of ports of the port type allocated corresponding to the service to be allocated is greater than the number of the target subcards.

[0011] Optionally, the service to be allocated includes at least one of the following: broadband Internet access service, voice service, and terminal management service.

[0012] In the second aspect, the present application proposes a port allocation device, including: an acquisition unit and a processing unit; the acquisition unit is used to obtain business information of the business to be allocated; the business information includes business type and bandwidth requirement; the processing unit is used to determine the port type in the broadband remote access server user interface BRAS-UP device that matches the business to be allocated based on the business type of the business to be allocated; the port type includes a high-speed transmission type or a low-speed transmission type; the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type; the processing unit is used to determine the number of ports of the port type allocated corresponding to the business to be allocated based on the bandwidth requirement of the business to be allocated and the port bandwidth corresponding to the port type.

[0013] Optionally, the acquisition unit is also used to obtain the number of users corresponding to the service to be allocated and the traffic demand of a single user for the service to be allocated; the acquisition unit is also used to obtain the number of master devices of the BRAS-UP device; the processing unit is also used to determine the bandwidth demand based on the number of users corresponding to the service to be allocated, the traffic demand of a single user for the service to be allocated, the number of master devices of the BRAS-UP device and the concurrent online rate of users.

[0014] Optionally, the acquisition unit is also used to obtain the single-user traffic demand of the service to be allocated; the processing unit is also used to determine that the service to be allocated is a high-traffic service if the traffic demand of the single user for the service to be allocated is greater than a first threshold; the processing unit is also used to determine that the service to be allocated is a low-traffic service if the traffic demand of the single user for the service to be allocated is less than or equal to the first threshold.

[0015] Optionally, the processing unit is further used to determine the port type as a high-speed transmission type when the service to be allocated is a high-traffic service; the processing unit is further used to determine the port type as a low-speed transmission type when the service to be allocated is a low-traffic service.

[0016] Optionally, the processing unit is further used to determine the number of first sub-cards to be configured for the high-traffic service based on the number of users corresponding to the high-traffic service and the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card; the processing unit is further used to determine the number of second sub-cards to be configured for the low-traffic service based on the number of users corresponding to the low-traffic service and the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card; the processing unit is further used to determine the number of target sub-cards for the service to be allocated based on the number of first sub-card configurations and the number of second sub-card configurations; the target sub-cards are used to carry ports of the port type allocated corresponding to the service to be allocated.

[0017] Optionally, the processing unit is further configured to select at least one port from each of the target subcards as a port of the port type assigned to the service to be assigned; the number of ports of the port type assigned to the service to be assigned is greater than the number of target subcards.

[0018] Optionally, the service to be allocated includes at least one of the following: broadband Internet access service, voice service, and terminal management service.

[0019] In a third aspect, a port allocation device is provided, comprising a memory and a processor; the memory is used to store computer-executable instructions, and the processor is connected to the memory via a bus; when the port allocation device is running, the processor executes the computer-executable instructions stored in the memory, so that the port allocation device performs the port allocation method of the first aspect.

[0020] The port allocation device may be a network device or a portion of a network device, such as a system-on-chip (SoC) within the network device. The SoC is configured to support the network device in implementing the functions described in the first aspect and any possible implementation thereof, such as acquiring, determining, and transmitting data and / or information described in the port allocation method. The SoC includes a chip and may also include other discrete components or circuit structures.

[0021] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer-executable instructions, which, when executed on a computer, cause the computer to execute the port allocation method of the first aspect.

[0022] In a fifth aspect, a computer program product is further provided. The computer program product includes computer instructions. When the computer instructions are executed on a port allocation device, the port allocation device executes the port allocation method according to the first aspect.

[0023] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the port allocation device or separately from the processor of the port allocation device, and this embodiment of the application is not limited thereto.

[0024] The description of the second, third, fourth and fifth aspects of this application can refer to the detailed description of the first aspect.

[0025] In the embodiments of this application, the names of the port allocation devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. For example, the receiving unit may also be called a receiving module, a receiver, etc. As long as the functions of each device or functional module are similar to those of this application, they are within the scope of this application and its equivalents.

[0026] In an embodiment of the present application, a port allocation device obtains service information of a service to be allocated. Considering that the service information includes service type and bandwidth requirements, the device determines a port type in the broadband remote access server user interface (BRAS-UP) device that matches the service to be allocated based on the service type of the service to be allocated. Since port types include high-speed transmission type and low-speed transmission type, and the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type, the device can select a port with a transmission rate that matches the service to be allocated based on the service type of the service to be allocated to process the service to be allocated. This allows for the optimal port matching of the service to be allocated, avoiding the waste of resources caused by having high-speed ports handle low-volume services, as is the case in the prior art, and also avoiding congestion caused by having low-speed ports handle high-volume services. Furthermore, the device determines the number of ports of the port type to be allocated based on the bandwidth requirements of the service to be allocated and the port bandwidth corresponding to the port type. This ensures that the ports of the BRAS-UP device are utilized effectively while meeting the requirements of the service to be allocated, and that the ports of the BRAS-UP device are appropriately configured, thereby improving port utilization. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:

[0028] Figure 1 A schematic diagram of the architecture of a port allocation system provided in an embodiment of the present application;

[0029] Figure 2 A schematic structural diagram of a port allocation device provided in an embodiment of the present application;

[0030] Figure 3 A flow chart of a port allocation method provided in an embodiment of the present application;

[0031] Figure 4 A flow chart of another port allocation method provided in an embodiment of the present application;

[0032] Figure 5 A flow chart of another port allocation method provided in an embodiment of the present application;

[0033] Figure 6 A flow chart of another port allocation method provided in an embodiment of the present application;

[0034] Figure 7A flow chart of another port allocation method provided in an embodiment of the present application;

[0035] Figure 8 A flow chart of another port allocation method provided in an embodiment of the present application;

[0036] Figure 9 A schematic structural diagram of another port allocation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0038] In this document, the character " / " generally indicates an "or" relationship between the preceding and following objects. For example, A / B can be understood as either A or B.

[0039] The terms "first" and "second" in this specification are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first edge service node" and "second edge service node" are used to distinguish different edge service nodes, rather than to describe the characteristic order of edge service nodes.

[0040] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.

[0041] Additionally, in the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present concepts in a concrete manner.

[0042] To meet the needs of broadband services shifting from single-type home Internet access services to complex ToB and ToH services and to create network differentiation advantages, technical personnel have built BRAS with separated control and transmission. BRAS architecture separates the control plane and user plane. The control plane facilitates intensive and refined control, while user plane pooling improves overall efficiency and security.

[0043] In related technologies, when allocating BRAS-UP ports to network services, these ports are allocated based on existing fixed ports. This results in some services being assigned ports that fail to meet their network requirements, while others are assigned ports with excessive transmission capacity, resulting in a waste of resources. Therefore, how to rationally allocate BRAS-UP ports to tasks remains a technical challenge.

[0044] In an embodiment of the present application, a port allocation device obtains service information of a service to be allocated. Considering that the service information includes service type and bandwidth requirements, the device determines a port type in the broadband remote access server user interface (BRAS-UP) device that matches the service to be allocated based on the service type of the service to be allocated. Since port types include high-speed transmission type and low-speed transmission type, and the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type, the device can select a port with a transmission rate that matches the service to be allocated based on the service type of the service to be allocated to process the service to be allocated. This allows for the optimal port matching of the service to be allocated, avoiding the waste of resources caused by having high-speed ports handle low-volume services, as is the case in the prior art, and also avoiding congestion caused by having low-speed ports handle high-volume services. Furthermore, the device determines the number of ports of the port type to be allocated based on the bandwidth requirements of the service to be allocated and the port bandwidth corresponding to the port type. This ensures that the ports of the BRAS-UP device are utilized effectively while meeting the requirements of the service to be allocated, and that the ports of the BRAS-UP device are appropriately configured, thereby improving port utilization.

[0045] For example, Figure 1 As shown, Figure 1 This is a schematic diagram of the architecture of a port allocation system provided in an embodiment of the present application. The port allocation system includes: a port allocation device 101 and an acquisition device 102.

[0046] The acquisition device 102 is used to acquire service information of the service to be allocated, including service type and bandwidth requirement.

[0047] The port allocation device 101 is configured to obtain service information of a service to be allocated through an acquisition device 102. Based on the service type of the service to be allocated, the port allocation device 101 determines a port type in a broadband remote access server user interface (BRAS-UP) device that matches the service to be allocated. The port type includes a high-speed transmission type or a low-speed transmission type. The port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type. The port allocation device 101 is configured to determine the number of ports of the port type to be allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type.

[0048] Optionally, the physical device of the acquisition device 102 is a terminal, and the physical device of the port allocation apparatus 101 is a server.

[0049] Optionally, the terminal may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection capabilities, or other processing devices connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a radio access network (RAN). A wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted mobile device that exchanges voice and / or data with a radio access network, such as a mobile phone, tablet computer, laptop computer, netbook, or personal digital assistant (PDA).

[0050] Optionally, the above-mentioned server can be a server in a server cluster (consisting of multiple servers), or a chip in the server, or a system on a chip in the server, or can be implemented through a virtual machine (VM) deployed on a physical machine. This embodiment of the present application does not limit this.

[0051] The embodiment of the present application provides a port allocation device for executing the port allocation system provided in the embodiment of the present application. Figure 2 This is a schematic diagram of the structure of a port allocation device provided in an embodiment of the present application. Figure 2 As shown, the port allocation device 200 includes at least one processor 201, a communication line 202, and at least one communication interface 204, and may further include a memory 203. The processor 201, the memory 203, and the communication interface 204 may be connected via the communication line 202.

[0052] The processor 201 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSPs) or one or more field programmable gate arrays (FPGAs).

[0053] The communication link 202 may include a pathway for transmitting information between the aforementioned components.

[0054] The communication interface 204 is used to communicate with other devices or communication networks, and can use any transceiver-like device, such as Ethernet, radio access network (RAN), WLAN, etc.

[0055] The memory 203 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0056] In one possible design, the memory 203 can exist independently of the processor 201, that is, the memory 203 can be a memory external to the processor 201. In this case, the memory 203 can be connected to the processor 201 via the communication line 202, and is used to store execution instructions or application code, and the execution is controlled by the processor 201 to implement the port allocation method provided in the following embodiments of this application. In another possible design, the memory 203 can also be integrated with the processor 201, that is, the memory 203 can be the internal memory of the processor 201, for example, the memory 203 is a high-speed cache, which can be used to temporarily store some data and instruction information.

[0057] As an implementation method, the processor 201 may include one or more CPUs, such as Figure 2 As another implementation, the port allocation device 200 may include multiple processors, such as Figure 2 As another implementation, the port allocation apparatus 200 may further include an output device 205 and an input device 206.

[0058] The following, combined with the Figure 3A port allocation method provided in an embodiment of the present application is described in detail. Figure 3 As shown, the port allocation method includes S301-S303.

[0059] S301: The port allocation device obtains service information of a service to be allocated.

[0060] The service information includes service type and bandwidth requirement. The service to be allocated includes at least one of the following: broadband Internet access service, voice service, and terminal management service.

[0061] In a possible implementation, the port allocation device obtains service information of the service to be allocated from the operator's pipe network system.

[0062] S302: The port allocating device determines a port type in the BRAS-UP device that matches the service to be allocated based on the service type of the service to be allocated.

[0063] The port type includes a high-speed transmission type or a low-speed transmission type; a port bandwidth corresponding to the high-speed transmission type is greater than a port bandwidth corresponding to the low-speed transmission type.

[0064] Optionally, the high-speed transmission port is a 100GE port, and the low-speed transmission port is a 10GE port. 100GE ports and 10GE ports can share the same slot.

[0065] It's important to explain that the BRAS-UP device is the user-plane processing unit in the BRAS architecture, responsible for user traffic aggregation, forwarding, and Quality of Service (QoS) control. It's typically separated from the control plane and employs a distributed architecture to improve system scalability and reliability. As the core device in the broadband access network, the BRAS-UP is responsible for user traffic aggregation, forwarding, and QoS control, providing operators with high-quality broadband access services. Furthermore, the BRAS-UP device supports enterprise dedicated line access, providing enterprises with stable, high-speed network connections to meet their office and data transmission needs.

[0066] S303: The port allocating device determines the number of ports of the port type allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type.

[0067] In a possible implementation, the port allocating device determines the number of ports of the port type to be allocated corresponding to the service to be allocated based on the ratio of the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type.

[0068] The above solution provides at least the following beneficial effects: In this embodiment of the present application, the port allocation device obtains service information of the service to be allocated. Considering that the service information includes service type and bandwidth requirements, the device determines, based on the service type of the service to be allocated, a port type in the broadband remote access server user interface (BRAS-UP) device that matches the service to be allocated. Since port types include high-speed transmission type and low-speed transmission type, and the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type, the device can select a port with a transmission rate that matches the service to be allocated based on the service type of the service to be allocated to process the service to be allocated. This allows for the proper port matching of the service to be allocated, avoiding the waste of resources caused by having high-speed ports handle low-volume services, as is the case in the prior art, and also avoiding congestion caused by having low-speed ports handle high-volume services. Furthermore, the device determines the number of ports of the port type to be allocated based on the bandwidth requirements of the service to be allocated and the port bandwidth corresponding to the port type. This ensures that the ports of the BRAS-UP device are properly utilized and configured for the ports, while meeting the requirements of the service to be allocated, thereby improving port utilization.

[0069] In one possible implementation, combining Figure 3 ,like Figure 4 As shown, in S301 , the process in which the port allocation device obtains the service information of the service to be allocated can be specifically implemented through the following S401 - S403 .

[0070] S401: The port allocation device obtains the number of users corresponding to the service to be allocated and the traffic demand of a single user for the service to be allocated.

[0071] It needs to be explained that different types of services correspond to different numbers of users; and a single user has different traffic requirements for different services.

[0072] S402: The port allocation device obtains the number of master devices of the BRAS-UP device.

[0073] In a possible implementation, the port allocating device obtains the number of master devices of the BRAS-UP device according to the pooling scale selected by the BRAS-UP device.

[0074] For example, when the pooling scale selected by the BRAS-UP device is 1+1, the number of master devices of the BRAS-UP device is 1; when the pooling scale selected by the BRAS-UP device is 3+1, the number of master devices of the BRAS-UP device is 3.

[0075] S403: The port allocation device determines the bandwidth requirement according to the number of users corresponding to the service to be allocated, the traffic requirement of a single user for the service to be allocated, the number of master devices of the BRAS-UP device, and the concurrent online rate of users.

[0076] Optionally, the bandwidth requirement satisfies the following formula: Bandwidth requirement = a*b*c / n / 1024, where a is the number of users corresponding to the service to be allocated, b is the traffic requirement of a single user for the service to be allocated, c is the user concurrent online rate, and n is the number of master devices of the BRAS-UP device.

[0077] Among them, c is 0.85.

[0078] For example, as shown in Table 1 below, when the BRAS-UP device selects a 1+1 pooling scale, the service type is broadband Internet access service, the number of users is 200,000, and the traffic demand of a single user for the allocated service is 3Mbps, and the bandwidth demand is 498Gbps; the service type is voice service, the number of users is 100,000, and the traffic demand of a single user for the allocated service is 0.1Mbps, and the bandwidth demand is 8.5Gbps; the service type is terminal management service, the number of users is 200,000, and the traffic demand of a single user for the allocated service is 0.1Mbps, and the bandwidth demand is 17Gbps.

[0079] Table 1: Bandwidth requirements for 1+1 pooling

[0080]

[0081] For example, as shown in Table 2 below, when the BRAS-UP device selects a 3+1 pooling scale, the service type is broadband Internet access service, the number of users is 400,000, the traffic demand of a single user for the allocated service is 5Mbps, and the bandwidth demand is 553Gbps; the service type is voice service, the number of users is 200,000, the traffic demand of a single user for the allocated service is 0.3Mbps, and the bandwidth demand is 16Gbps; the service type is terminal management service, the number of users is 400,000, the traffic demand of a single user for the allocated service is 0.3Mbps, and the bandwidth demand is 33Gbps.

[0082] Table 2: Bandwidth requirements for 3+1 pooling

[0083]

[0084] The above scheme brings at least the following beneficial effects: In the embodiment of the present application, taking into account the impact of the user concurrent online rate and the number of master devices of the BRAS-UP device on the bandwidth demand of the to-be-allocated service, the port allocation device can accurately determine the bandwidth demand based on the number of users corresponding to the to-be-allocated service, the traffic demand of a single user for the to-be-allocated service, the number of master devices of the BRAS-UP device, and the user concurrent online rate.

[0085] In one possible implementation, combining Figure 3 ,like Figure 5 As shown, in S301 , the process in which the port allocation device obtains the service information of the service to be allocated can be specifically implemented through the following S501 - S503 .

[0086] S501: The port allocation device obtains a single-user traffic demand of a service to be allocated.

[0087] In a possible implementation, the port allocation device obtains the single-user traffic demand of the service to be allocated through the operator's server.

[0088] It needs to be explained that the operator's server will analyze and record the communication data in the network.

[0089] S502: If the traffic demand of a single user for the service to be allocated is greater than a first threshold, the port allocation device determines that the service to be allocated is a high-traffic service.

[0090] Optionally, the first threshold is 1 Mbps.

[0091] It should be explained that high-traffic business usually refers to business scenarios that need to process or transmit massive amounts of data in a short period of time. Its core characteristics are large data scale, high real-time requirements, and critical system stability.

[0092] S503: If the traffic demand of the service to be allocated by the single user is less than or equal to the first threshold, the port allocation device determines that the service to be allocated is a low-traffic service.

[0093] Understandably, low-traffic services typically refer to scenarios with smaller data volumes, low user concurrency, and relatively simple business logic. While less technically complex than high-traffic services, they also require attention to stability, user experience, and cost control.

[0094] It is understandable that we do not further limit the order of S502 and S503.

[0095] The above solution brings at least the following beneficial effects: In the embodiment of the present application, the port allocation device determines whether the service to be allocated is a high-traffic service or a low-traffic service based on the single-user traffic demand of the service to be allocated, and then determines the port corresponding to the service to be allocated.

[0096] In one possible implementation, combining Figure 5 ,like Figure 6 As shown, in S503, if the traffic demand of a single user for the service to be allocated is less than or equal to the first threshold, the port allocation device determines that the service to be allocated is a low-traffic service, and then determines the type of the traffic service. The process of the port allocation device determining the type of the traffic service can be specifically implemented through the following S601-S602.

[0097] S601: When the service to be allocated is a high-traffic service, the port allocation device determines that the port type is a high-speed transmission type.

[0098] It is understandable that, considering that high-traffic services need to process or transmit massive amounts of data in a short period of time, the port allocation device uses high-speed transmission type ports to handle high-traffic services, avoid communication congestion, and meet business needs.

[0099] S602: When the service to be allocated is a low-traffic service, the port allocation device determines that the port type is a low-speed transmission type.

[0100] It should be explained that, considering that low-traffic services do not need to process or transmit massive amounts of data in a short period of time, and have low requirements for port transmission speed, the port allocation device uses low-speed transmission type ports to process low-traffic services, which can save port resources.

[0101] It is understandable that we do not further limit the order of S601 and S602.

[0102] The above scheme brings at least the following beneficial effects: in the embodiment of the present application, when the business to be allocated is a high-traffic business, the port allocation device determines the port type as a high-speed transmission type; when the business to be allocated is a low-traffic business, the port allocation device determines the port type as a low-speed transmission type. In this way, ports can be reasonably allocated to the business to be allocated.

[0103] In one possible implementation, combining Figure 3 ,like Figure 7 As shown, in S303, before the port allocation apparatus determines the number of ports of the port type to be allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type, the port allocation apparatus determines the number of target subcards for the service to be allocated. The process of the port allocation apparatus determining the number of target subcards for the service to be allocated can be specifically implemented as follows: S701-S703.

[0104] S701. The port allocation device determines the number of first sub-cards to be configured for the high-traffic service according to the number of users corresponding to the high-traffic service, the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card.

[0105] In one possible implementation, the port allocation device determines the number of sessions corresponding to the high-traffic service based on the number of users corresponding to the high-traffic service, the average number of sessions per user, the concurrent user rate, and the number of master devices in the BRAS-UP device. The port allocation device determines the number of first subcards to configure for the high-traffic service based on the ratio of the number of sessions corresponding to the high-traffic service to the capability information of a single subcard.

[0106] Optionally, the number of sessions satisfies the following formula: number of sessions = a*m*c / n, where m is the average number of sessions for a single user.

[0107] Optional, m is 1. The capacity information of a single daughter card is 64KB.

[0108] It needs to be explained that if the ratio of the number of sessions corresponding to the high-traffic service to the capability information of a single sub-card according to the port allocation device is an integer, then the number of first sub-cards configured for the high-traffic service is the integer; if the ratio of the number of sessions corresponding to the high-traffic service to the capability information of a single sub-card according to the port allocation device is a decimal, then the number of first sub-cards configured for the high-traffic service is the integer part of the decimal plus one.

[0109] S702: The port allocation device determines the number of second sub-cards to be configured for the low-traffic service according to the number of users corresponding to the low-traffic service, the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card.

[0110] For example, as shown in Table 3 below, when the BRAS-UP device selects the 1+1 pooling scale, the service type is broadband Internet access service, the number of users is 200,000, the traffic demand of each user for the allocated service is 3 Mbps, the number of service sessions is 170,000, the number of high-traffic service sessions is 170,000, and the number of first sub-cards configured is 3; the service type is voice service, the number of users is 100,000, the traffic demand of each user for the allocated service is 0.1 Mbps, and the number of service sessions is 85,000; the service type is terminal management service, the number of users is 200,000, the traffic demand of each user for the allocated service is 0.1 Mbps, the number of service sessions is 170,000, low-traffic services include voice service and terminal management service, the number of low-traffic service sessions is 255,000, and the number of second sub-cards configured is 4.

[0111] Table 3: Sub-card requirements under 1+1 pooling scale

[0112]

[0113] It can be understood that, in combination with Table 1 and Table 3, the port allocation device configures 7 daughter cards for each BRAS-UP device, with a configuration requirement of 5x100G+3x10G, totaling 530G port capacity.

[0114] It should be noted that if the BRAS-UP device uses a 1+1 pooling scale and does not use the service-agnostic method for port allocation, the following calculation is used: Bandwidth requirement = ∑(Number of users corresponding to the service to be allocated × Traffic demand (Mbps) per user for the service to be allocated) * User concurrent online rate / 1024 = (200,000 * 3 + 100,000 * 0.1 + 200,000 * 0.1) * 0.85 / 1024 = 523 Gbps; Total number of sessions = ∑(Number of service users * Number of sessions) * User concurrent online rate = (20 * 1 + 10 * 1 + 20 * 1) * 0.85 = 42.5; Required number of daughter cards = ROUNDUP(Total number of sessions / Session capacity per daughter card, 0) = 7. Each BRAS-UP device is configured with seven daughter cards, requiring 6 x 100G, for a total of 600G port capacity. Compared with the port allocator, the port allocator can be configured with 70G (600-530) less capacity, reducing port requirements by 11.67%.

[0115] For example, as shown in Table 4 below, when the BRAS-UP device selects the 3+1 pooling scale, the service type is broadband Internet access service, the number of users is 400,000, the traffic demand of a single user for the allocated service is 5 Mbps, the number of service sessions is 110,000, and the number of configured sub-cards is 2; the service type is voice service, the number of users is 200,000, the traffic demand of a single user for the allocated service is 0.3 Mbps, the number of service sessions is 60,000, and the number of configured second sub-cards is 1; the service type is terminal management service, the number of users is 400,000, the traffic demand of a single user for the allocated service is 0.3 Mbps, the number of service sessions is 110,000, and the number of configured sub-cards is 2.

[0116] Table 4: Sub-card requirements under 3+1 pooling scale

[0117]

[0118] It can be understood that, in combination with Table 2 and Table 4, the port allocation device configures 5 daughter cards for each BRAS-UP device, and the configuration requirement is 6x100G+5x10G, with a total port capacity of 650G.

[0119] It should be explained that when the BRAS-UP device selects the 3+1 pooling scale, if the calculation method is not based on service differentiation, the allocated ports are as follows: Bandwidth requirement = ∑(number of users corresponding to the service to be allocated * traffic requirement of a single user for the service to be allocated (Mbps)) * user concurrent online rate / 3 / 1024 = (400,000 * 5 + 200,000 * 0.3 + 400,000 * 0.3)

[0120] *0.85 / 3 / 1024 = 603 Gbps; Total number of sessions = ∑(number of users corresponding to the services to be allocated × number of sessions) * user concurrent online rate / 3 = (40*1+20*1+40*1)*0.85 / 3 = 28. Number of required subcards

[0121] = ROUNDUP(total number of sessions / session capacity of a single daughter card, 0) = 5. Each BRAS-UP device is configured with five daughter cards, requiring 7x100G ports, for a total of 700G. This reduces the port requirement by 50G (700-650) compared to the port distributor, reducing the port requirement by 7.1%.

[0122] S703: The port allocation apparatus determines the number of target sub-cards to be allocated services according to the configured number of the first sub-card and the configured number of the second sub-card.

[0123] The target sub-card is used to carry a port of a port type allocated corresponding to the service to be allocated.

[0124] It's important to note that a BRAS-UP device includes multiple daughter cards, each with multiple slots. Each slot can accommodate at least one high-speed port and at least one low-speed port. A daughter card (such as an Ethernet daughter card) handles the physical interface connections on the user side. The number of ports and speed directly impact the number of users the device can support.

[0125] The above scheme brings at least the following beneficial effects: In the embodiment of the present application, the port allocation device determines the number of sub-cards to be configured for the service to be allocated based on the number of users corresponding to the service to be allocated and the average number of sessions of a single user, the user concurrent online rate, and the capability information of a single sub-card, so that the sub-cards can be reasonably configured for the service to be allocated.

[0126] In one possible implementation, combining Figure 7 ,like Figure 8 As shown, in S303, the process in which the port allocation device determines the number of ports of the port type allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type can be specifically implemented through the following S801.

[0127] S801: A port allocating apparatus selects at least one port from each target sub-card as a port of a port type allocated corresponding to a service to be allocated.

[0128] The number of ports of the port type allocated corresponding to the service to be allocated is greater than the number of target sub-cards.

[0129] Exemplarily, it is determined that the number of ports of the port type assigned corresponding to the business to be assigned is 5, the target sub-cards include sub-card A, sub-card B and sub-card C, and the port allocation device determines to select 2 ports from sub-card A, 1 port from sub-card B, and 2 ports from sub-card C as the ports of the port type assigned corresponding to the business to be assigned.

[0130] The above scheme brings at least the following beneficial effects: In the embodiment of the present application, the port allocation device selects at least one port from each sub-card in the target sub-card as the port of the port type corresponding to the service to be allocated. In this way, not only the port requirements of the service to be allocated can be met, but also the sub-card requirements of the service to be allocated can be met.

[0131] In the embodiments of the present application, the port allocation device can be divided into functional modules or functional units according to the above-mentioned method examples. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into a processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules or functional units. The division of modules or units in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, other division methods may be used.

[0132] For example, Figure 9 FIG. 9 is a schematic diagram of a possible structure of a port allocation device according to an embodiment of the present application. The port allocation device includes an acquisition unit 901 and a processing unit 902 .

[0133] An acquisition unit 901 is used to acquire service information of the service to be allocated; the service information includes a service type and a bandwidth requirement; a processing unit 902 is used to determine, based on the service type of the service to be allocated, a port type in a broadband remote access server user interface BRAS-UP device that matches the service to be allocated; the port type includes a high-speed transmission type or a low-speed transmission type; the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type; the processing unit 902 is used to determine the number of ports of the port type allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type.

[0134] Optionally, the acquisition unit 901 is also used to obtain the number of users corresponding to the service to be allocated and the traffic demand of a single user for the service to be allocated; the acquisition unit 901 is also used to obtain the number of master devices of the BRAS-UP device; the processing unit 902 is also used to determine the bandwidth demand based on the number of users corresponding to the service to be allocated, the traffic demand of a single user for the service to be allocated, the number of master devices of the BRAS-UP device, and the concurrent online rate of users.

[0135] Optionally, the acquisition unit 901 is also used to obtain the single-user traffic demand of the service to be allocated; the processing unit 902 is also used to determine that the service to be allocated is a high-traffic service if the traffic demand of a single user for the service to be allocated is greater than a first threshold; the processing unit 902 is also used to determine that the service to be allocated is a low-traffic service if the traffic demand of a single user for the service to be allocated is less than or equal to the first threshold.

[0136] Optionally, the processing unit 902 is further used to determine the port type as a high-speed transmission type when the service to be allocated is a high-traffic service; the processing unit 902 is further used to determine the port type as a low-speed transmission type when the service to be allocated is a low-traffic service.

[0137] Optionally, the processing unit 902 is further used to determine the number of first sub-cards to be configured for the high-traffic service based on the number of users corresponding to the high-traffic service and the average number of sessions of a single user, the concurrent online rate of users, and the capability information of a single sub-card; the processing unit 902 is further used to determine the number of second sub-cards to be configured for the low-traffic service based on the number of users corresponding to the low-traffic service and the average number of sessions of a single user, the concurrent online rate of users, and the capability information of a single sub-card; the processing unit 902 is further used to determine the number of target sub-cards for the service to be allocated based on the number of first sub-cards configured and the number of second sub-cards configured; the target sub-cards are used to carry ports of the port type allocated corresponding to the service to be allocated.

[0138] Optionally, the processing unit 902 is further configured to select at least one port from each of the target subcards as a port of the port type assigned to the service to be assigned; the number of ports of the port type assigned to the service to be assigned is greater than the number of target subcards.

[0139] Optionally, the service to be allocated includes at least one of the following: broadband Internet access service, voice service, and terminal management service.

[0140] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instruction to implement the port allocation method in the above method embodiment.

[0141] An embodiment of the present application provides a computer program product comprising instructions. When the instructions are executed on a computer, the computer is caused to execute the port allocation method in the above method embodiment.

[0142] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium in a suitable combination of the above, or a numerical value in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In embodiments of the present invention, computer-readable storage media may be any tangible media that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0143] Since the apparatus, device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above-mentioned method, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of this application will not be repeated here.

[0144] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A port allocation method, characterized in that: include: Obtaining service information of the service to be allocated; the service information includes service type and bandwidth requirement; Determining, based on the service type of the service to be allocated, a port type in a broadband remote access server user interface BRAS-UP device that matches the service to be allocated; the port type includes a high-speed transmission type or a low-speed transmission type; and the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type; Based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type, the number of ports of the port type allocated corresponding to the service to be allocated is determined.

2. The method according to claim 1, characterized in that The obtaining of the service information of the service to be allocated includes: Obtaining the number of users corresponding to the service to be allocated and the traffic demand of a single user for the service to be allocated; Obtain the number of master devices of the BRAS-UP device; The bandwidth requirement is determined according to the number of users corresponding to the service to be allocated, the traffic demand of the single user for the service to be allocated, the number of master devices of the BRAS-UP device, and the concurrent online rate of users.

3. The method according to claim 1, characterized in that The obtaining of the service information of the service to be allocated includes: Obtaining a single-user traffic demand of the service to be allocated; If the traffic demand of the single user for the service to be allocated is greater than a first threshold, determining that the service to be allocated is a high-traffic service; If the traffic demand of the single user for the service to be allocated is less than or equal to the first threshold, it is determined that the service to be allocated is a low-traffic service.

4. The method according to claim 3, characterized in that The method further comprises: In a case where the service to be allocated is the high-traffic service, determining that the port type is a high-speed transmission type; In a case where the service to be allocated is the low-traffic service, the port type is determined to be a low-speed transmission type.

5. The method according to claim 1, wherein Before determining the number of ports of the port type to be allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type, the method further includes: Determine the number of first sub-cards configured for the high-traffic service based on the number of users corresponding to the high-traffic service, the average number of sessions for a single user, the concurrent online rate of users, and the capability information of a single sub-card; Determining the number of second sub-cards configured for the low-traffic service based on the number of users corresponding to the low-traffic service, the average number of sessions of the single user, the concurrent online rate of the users, and the capability information of the single sub-card; The number of target subcards for the service to be allocated is determined according to the configured number of the first subcards and the configured number of the second subcards; the target subcards are used to carry ports of the port type allocated corresponding to the service to be allocated.

6. The method according to claim 5, characterized in that The determining, based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type, the number of ports of the port type allocated corresponding to the service to be allocated includes: At least one port is selected from each of the target subcards as the port of the port type allocated corresponding to the service to be allocated; the number of the ports of the port type allocated corresponding to the service to be allocated is greater than the number of the target subcards.

7. The method according to any one of claims 1 to 6, characterized in that The service to be allocated includes at least one of the following: broadband Internet access service, voice service and terminal management service.

8. A port allocation device, characterized in that: The port allocation device includes: an acquisition unit and a processing unit; The acquisition unit is used to acquire service information of the service to be allocated; the service information includes service type and bandwidth requirement; The processing unit is configured to determine, based on the service type of the service to be allocated, a port type in a broadband remote access server user interface BRAS-UP device that matches the service to be allocated; the port type includes a high-speed transmission type or a low-speed transmission type; and the port bandwidth corresponding to the high-speed transmission type is greater than the port bandwidth corresponding to the low-speed transmission type; The processing unit is configured to determine the number of ports of the port type allocated corresponding to the service to be allocated based on the bandwidth requirement of the service to be allocated and the port bandwidth corresponding to the port type.

9. A port allocation device, characterized in that: include: A processor and a memory; wherein the memory is used to store computer-executable instructions, and when the port allocation device is running, the processor executes the computer-executable instructions stored in the memory, so that the port allocation device performs the port allocation method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes instructions, which, when executed by the port allocation device, cause the computer to perform the port allocation method according to any one of claims 1 to 7.