Bandwidth control method and apparatus, and storage medium
Patent Information
- Application Number
- CN202310679393.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2043-06-08
AI Technical Summary
[0019] Specifically, the chip provided in this application embodiment also includes a memory for storing computer programs or instructions.
Smart Images

Figure CN116600350B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a bandwidth control method, apparatus and storage medium. Background Technology
[0002] Currently, policy and charging control (PCC) rules offer limited granularity in bandwidth control. For example, bandwidth control based on access point name (APN) involves managing the overall bandwidth of all session data streams from the terminal through the APN, thus achieving fine-grained bandwidth control. Therefore, realizing fine-grained bandwidth control has become a pressing technical challenge. Summary of the Invention
[0003] This application provides a bandwidth control method, apparatus, and storage medium capable of bandwidth control.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] Firstly, a bandwidth control method is provided, comprising: receiving multiple session data streams from a terminal; parsing each session data stream to determine the priority and data stream type of each session data stream; determining the target bandwidth control rule corresponding to each session data stream based on the data stream type and priority; and performing bandwidth control on the multiple session data streams of the terminal based on the target bandwidth control rule.
[0006] In conjunction with the first aspect mentioned above, in one possible implementation, parsing each session data stream and determining the priority and data stream type of each session data stream includes: parsing each session data stream based on the User Plane Function (UPF) to determine the target parsed data for each session data stream; the target parsed data includes: destination Internet Protocol (IP) address information and Access Point Name (APN) information; determining the priority of the session data stream based on the IP address information in the target parsed data; and determining the data stream type of the session data stream based on the APN information in the target parsed data.
[0007] In conjunction with the first aspect mentioned above, in one possible implementation, the target bandwidth control rule corresponding to each session data stream is determined based on the data stream type and priority, including: matching a first bandwidth control rule corresponding to each session data stream based on the priority of each session data stream; the first bandwidth control rule is used to control the traffic and billing policies of the session data stream; matching a second bandwidth control rule corresponding to each session data stream based on the data stream type of each session data stream; the second bandwidth control rule is used to control the bandwidth allocation method of the session data stream; and determining the target bandwidth control rule corresponding to each session data stream based on the first bandwidth control rule and the second bandwidth control rule.
[0008] In conjunction with the first aspect above, in one possible implementation, based on the data stream type of each session data stream, a second bandwidth control rule corresponding to each session data stream is matched, including: determining the priority of the data stream type; the priority of the data stream type includes: a first priority and a second priority; if the priority of the data stream type is the first priority, then a third bandwidth control rule is matched as the second bandwidth control rule; the third bandwidth control rule is used to control the uplink bandwidth and downlink bandwidth of each session data stream; if the priority of the data stream type is the second priority, then a fourth bandwidth control rule is matched as the second bandwidth control rule; the fourth bandwidth control rule is used to control the overall bandwidth of multiple session data streams.
[0009] In conjunction with the first aspect above, in one possible implementation, the first bandwidth control rule includes any of the following: dynamic policy and billing control (PCC), pre-defined PCC, or local PCC.
[0010] Secondly, a bandwidth control device is provided, comprising: a processing unit and a communication unit; the communication unit is used to receive multiple session data streams from a terminal; the processing unit is used to parse each session data stream and determine the priority and data stream type of each session data stream; the processing unit is also used to determine the target bandwidth control rule corresponding to each session data stream based on the data stream type and priority; the processing unit is also used to perform bandwidth control on the multiple session data streams of the terminal based on the target bandwidth control rule.
[0011] In conjunction with the second aspect above, in one possible implementation, the processing unit is specifically used to: parse each session data stream based on the User Plane Function (UPF) to determine the target parsed data for each session data stream; the target parsed data includes: destination Internet Protocol (IP) address information and Access Point Name (APN) information; determine the priority of the session data stream based on the IP address information in the target parsed data; and determine the data stream type of the session data stream based on the APN information in the target parsed data.
[0012] In conjunction with the second aspect above, in one possible implementation, the processing unit is further specifically configured to: match a first bandwidth control rule corresponding to each session data stream based on the priority of each session data stream; the first bandwidth control rule is used to control the traffic and billing policies of the session data stream; match a second bandwidth control rule corresponding to each session data stream based on the data stream type of each session data stream; the second bandwidth control rule is used to control the bandwidth allocation method of the session data stream; and determine the target bandwidth control rule corresponding to each session data stream based on the first bandwidth control rule and the second bandwidth control rule.
[0013] In conjunction with the second aspect above, in one possible implementation, the processing unit is further specifically configured to: determine the priority of the data stream type; the priority of the data stream type includes: a first priority and a second priority; if the priority of the data stream type is the first priority, then a third bandwidth control rule is matched as the second bandwidth control rule; the third bandwidth control rule is used to control the uplink bandwidth and downlink bandwidth of each session data stream; if the priority of the data stream type is the second priority, then a fourth bandwidth control rule is matched as the second bandwidth control rule; the fourth bandwidth control rule is used to control the overall bandwidth of multiple session data streams.
[0014] In conjunction with the second aspect above, in one possible implementation, the processing unit is further configured to: include any one of the following first bandwidth control rules: dynamic policy and charging control (PCC), predetermined PCC, and local PCC.
[0015] Thirdly, this application provides a bandwidth control device, which includes a processor and a memory; wherein the memory is used to store computer execution instructions, and when the bandwidth control device is running, the processor executes the computer execution instructions stored in the memory to cause the bandwidth control device to perform the bandwidth control method as described in the first aspect and any possible implementation thereof.
[0016] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed by a processor of a bandwidth control device, enable the bandwidth control device to perform the bandwidth control method described in the first aspect and any possible implementation thereof.
[0017] Fifthly, this application provides a computer program product containing instructions that, when the computer program product is run on a bandwidth control device, cause the bandwidth control device to perform the bandwidth control method as described in the first aspect and any possible implementation thereof.
[0018] In a sixth aspect, this application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run computer programs or instructions to implement the bandwidth control method as described in the first aspect and any possible implementation thereof.
[0019] Specifically, the chip provided in this application embodiment also includes a memory for storing computer programs or instructions.
[0020] In this application, the names of the aforementioned bandwidth control devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those in this application, they fall within the scope of the claims of this application and their equivalents.
[0021] These or other aspects of this application will become more readily apparent in the following description.
[0022] The technical solution provided in this application offers at least the following advantages: A bandwidth control device receives multiple session data streams from a terminal. The bandwidth control device parses the multiple data streams to determine the data stream type and priority of each session data stream. Based on the data stream type and priority, the bandwidth control device matches a corresponding bandwidth control rule to each session data stream. The bandwidth control device then performs bandwidth control on the multiple session data streams of the terminal according to this bandwidth control rule. In this way, by parsing the multiple data streams, determining the data stream type and priority of each session data stream, and then matching a corresponding bandwidth control rule to each session data stream, the bandwidth control device achieves bandwidth control for each session data stream, solving the technical problem of achieving fine-grained bandwidth control. Attached Figure Description
[0023] Figure 1 A schematic diagram of a PCC-SM process is provided for an embodiment of this application;
[0024] Figure 2 This application provides a schematic diagram of PCC rule issuance as an embodiment of the present application.
[0025] Figure 3 A schematic diagram of a terminal session data flow control process provided in an embodiment of this application;
[0026] Figure 4 A schematic diagram of a bandwidth control system provided in an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of the hardware structure of a bandwidth control device provided in an embodiment of this application;
[0028] Figure 6 A schematic flowchart of a bandwidth control method provided in an embodiment of this application;
[0029] Figure 7 This is another flowchart illustrating a bandwidth control method provided in an embodiment of this application;
[0030] Figure 8 This is another flowchart illustrating a bandwidth control method provided in an embodiment of this application;
[0031] Figure 9 This is a schematic diagram of a bandwidth control device provided in an embodiment of this application. Detailed Implementation
[0032] The bandwidth control method, apparatus, and storage medium provided in this application embodiment are described in detail below with reference to the accompanying drawings.
[0033] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0034] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of objects.
[0035] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.
[0036] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0037] With the development of 5G technology, the number of 5G base stations and 5G mobile users is rapidly increasing. 5G networks, with their advantages of high bandwidth, low latency, optical connectivity, and high security, are widely used in various industries such as manufacturing, healthcare, education, and transportation. However, with the rapid development of 5G networks and the rapid growth of 5G users, how to conduct refined network operation to realize the output and value of 5G network capabilities, as well as optimize network construction investment and build a flexible and agile 5G network, has become an urgent problem for major operators.
[0038] Currently, in 5G networks, operators typically use the dynamic policy and charging control framework defined by the 3rd Generation Partnership Project (3GPP) to meet the differentiated service needs of users. Among these, policy and charging control (PCC) can monitor and rationally allocate network resources for users, facilitating the provision of service flow carrying resource guarantees and flow charging policies. For example... Figure 1 The diagram illustrates the PCC-session management (SM) process in related technologies. The session management function (SMF) obtains the terminal's subscribed Quality of Service (QoS) information from the unified data management (UDM). Based on the obtained QoS information, the SMF retrieves the corresponding PCC rule information from the policy control function (PCF). The SMF then sends perfect forward secrecy (PFS) and QoS information to the user plane function (UPF) based on the obtained PCC rule information. Further, the SMF sends QoS Profile information to the radio access network (RAN) through the authentication management function (AMF), and the SMF sends QoS rules to the terminal through the AMF. Accordingly, the UPF performs uplink QoS flow identifier (QFI) verification and downlink QFI marking and control based on the PFS and QoS information issued by the SMF; the RAN establishes a mapping between the data radio bearer (DRB) and QoS flow based on the QoS Profile information issued by the SMF; and the terminal executes uplink QoS control according to the QoS rules issued by the SMF. However, the QoS subscribed in the UDM can only allocate 5G QoS identifier (5QI) / address resolution protocol (ARP) according to the default QoS Flow when the user goes online, and provide bandwidth control at the APN granularity and terminal granularity for the terminal.
[0039] In related technologies, such as Figure 2The diagram illustrating PCC rule distribution shows three types of PCC rules in the 5G core network. Dynamic PCC rules allocate bandwidth in real-time according to user demand during traffic transmission and dynamically adjust bandwidth allocation based on network conditions. The PCF dynamically issues RULE conditions and actions based on terminal subscription information. Predefined PCC rules authorize the maximum available bandwidth resources to the user before a call connection is established. After the terminal subscribes on the PCF, the PCF dynamically issues the user plane (UP) or RULE name to the terminal based on the "trigger point-condition". Further, the SMF or UPF performs QoS control on the terminal session based on the pre-issued UP or RULE name. Local PCC refers to the local network controlling bandwidth allocation to users when using local network services. It is deployed in the local network, controlling the policies and pricing methods of specific border gateways, such as Broadband Remote Access Servers (BRAS), and allowing network operators to formulate different policies according to user needs. The SMF then issues UP or RULE names to the terminal.
[0040] However, the bandwidth control granularity of PCC rules is too large. For example, bandwidth control based on APN controls the overall bandwidth of all session data streams of the terminal through the APN, but it cannot achieve fine-grained bandwidth control for each session data stream of the terminal. Therefore, how to achieve fine-grained bandwidth control has become an urgent technical problem to be solved.
[0041] To address the aforementioned technical problems, this application provides a method such as Figure 3 The diagram shows the terminal session data flow control process. Figure 3 As shown, the SMF obtains the end-user's subscribed QoS information from the UDM. Simultaneously, the SMF obtains PCC rule information from the PCF. Based on the obtained QoS and PCC rule information, the SMF sends corresponding policy and charging control information to the UPF. Furthermore, when a terminal requests access to an external data network, the terminal's session data stream is sent to the UPF via the wireless network RAN. Accordingly, upon receiving the terminal's session data stream, the UPF performs fine-grained bandwidth control on the session data stream based on the policy and charging control information issued by the SMF.
[0042] To address the aforementioned technical problems, this application provides a bandwidth control method. The method includes: a bandwidth control device receiving multiple session data streams from a terminal; the bandwidth control device parsing the multiple data streams to determine the data stream type and priority of each session data stream; the bandwidth control device matching a corresponding bandwidth control rule to each session data stream based on its data stream type and priority; and the bandwidth control device performing bandwidth control on the multiple session data streams of the terminal according to the bandwidth control rule. In this way, by parsing the multiple data streams to determine the data stream type and priority of each session data stream, and then matching a corresponding bandwidth control rule to each session data stream, the bandwidth control device achieves bandwidth control for each session data stream, thus solving the technical problem of achieving fine-grained bandwidth control.
[0043] This application provides a broadband control method that can be applied to, for example... Figure 4 The bandwidth control system 40 shown includes: a data parsing module 401, a bandwidth control rule matching module 402, and a bandwidth control module 403. The data parsing module parses the terminal session data stream, including but not limited to the following types: network layer and transport layer IP addresses and ports, network layer and transport layer hosts, network layer and transport layer protocols, application layer URLs, and application layer protocols. The bandwidth control rule matching module matches corresponding bandwidth control rules to the session data stream based on the data parsing results from the service identification module. The bandwidth control module performs fine-grained bandwidth control on the terminal's session data stream according to the bandwidth matching rules.
[0044] Figure 5 This is a schematic diagram of a bandwidth control device provided in an embodiment of this application, which can be applied to, for example... Figure 4 The bandwidth control system 40 shown includes a bandwidth control device 500 comprising at least one processor 501, a communication line 502, and at least one communication interface 504, and may also include a memory 503. The processor 501, memory 503, and communication interface 504 are connected via the communication line 502.
[0045] The processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).
[0046] Communication line 502 may include a path for transmitting information between the aforementioned components.
[0047] The communication interface 504 is used to communicate with other devices or communication networks. It can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0048] The memory 503 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of including or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0049] In one possible design, the memory 503 can exist independently of the processor 501, meaning the memory 503 can be an external memory of the processor 501. In this case, the memory 503 can be connected to the processor 501 via a communication line 502 to store execution instructions or application code, and its execution is controlled by the processor 501 to implement the space measurement and determination method provided in the following embodiments of this application. In another possible design, the memory 503 can also be integrated with the processor 501, meaning the memory 503 can be an internal memory of the processor 501. For example, the memory 503 can be a cache, used to temporarily store some data and instruction information.
[0050] As one possible implementation, processor 501 may include one or more CPUs, for example Figure 5 CPU0 and CPU1 in the example. Alternatively, the bandwidth control device 500 may include multiple processors, such as... Figure 5 The processors 501 and 507 are included. Alternatively, the bandwidth control device 500 may also include an output device 505 and an input device 506.
[0051] Through the above description of the implementation methods, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the network node can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, modules, and network nodes described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0052] Figure 6 The bandwidth control method provided in the embodiments of this application, such as Figure 4 As shown, the bandwidth control method provided in this application embodiment can be implemented through the following steps 601 to 604.
[0053] Step 601: The bandwidth control device receives multiple session data streams from the terminal.
[0054] In one possible implementation, the bandwidth control device receives multiple session data streams from the terminal.
[0055] In one example, the terminal sends multiple session data streams to the bandwidth control device via a wireless network or a bearer network. Correspondingly, the bandwidth control terminal receives the multiple session data streams from the terminal.
[0056] Step 602: The bandwidth control device parses each session data stream and determines the priority and data stream type of each session data stream.
[0057] In one possible implementation, the bandwidth control device parses multiple session data streams from the terminal, including but not limited to one or more of the following methods: packet parsing, message identification, etc. Based on the message identification results, the bandwidth control device determines the priority and data stream type of each session data stream.
[0058] As an example, the priority of a session data stream can be determined based on the destination IP address in the session data stream parsing data. Data stream types include "Default Group + Group Type" and "Specific Group + User Type." The "Default Group + Group Type" data stream type means that the data stream uses a default assigned APN for session requests, and multiple user groups are bound to this APN, sharing a fixed bandwidth resource limit. The "Specific Group + User Type" data stream type means that the data stream uses a specific APN, and each user in the user group bound to this APN is allocated a specific preset bandwidth resource limit, the size of which is not affected by other users' access.
[0059] Step 603: The bandwidth control device determines the target bandwidth control rules for each session data stream based on the data stream type and priority.
[0060] In one possible implementation, the bandwidth control device matches the corresponding bandwidth control rules for each session data stream based on the priority and data stream type of each session data stream.
[0061] In one example, the bandwidth control device determines the policy control and billing rules for each session data stream based on its priority. Furthermore, the bandwidth control device determines the target bandwidth control rules for that session data stream under the corresponding policy control and billing rules, based on the data stream type.
[0062] Step 604: The bandwidth control device performs bandwidth control on multiple session data streams of the terminal based on the target bandwidth control rules.
[0063] In one possible implementation, the bandwidth control device controls the multiple session data streams of the terminal according to the target bandwidth control rules determined in the above steps.
[0064] In one example, the target bandwidth control rule performs bandwidth control separately for each of the multiple session data streams, allocating a separate preset bandwidth resource limit for each session data stream. Alternatively, the target bandwidth control rule performs overall bandwidth control for the multiple session data streams, allocating an overall preset bandwidth resource limit for the multiple session data streams.
[0065] The above scheme offers at least the following benefits: The bandwidth control device receives multiple session data streams from the terminal. The bandwidth control device parses the multiple data streams to determine the data stream type and priority of each session data stream. Based on the data stream type and priority, the bandwidth control device matches a corresponding bandwidth control rule to each session data stream. Based on this bandwidth control rule, the bandwidth control device performs bandwidth control on the multiple session data streams of the terminal. In this way, by parsing multiple data streams to determine the priority and data stream type of each session data stream, and then matching a corresponding bandwidth control rule to each session data stream, the bandwidth control device achieves bandwidth control for each session data stream, solving the technical problem of achieving fine-grained bandwidth control.
[0066] Combination Figure 6 ,like Figure 7 As shown. Step 602 above, where the bandwidth control device parses the session data stream to determine its data stream type and priority, can be further implemented through steps 701-703:
[0067] Step 701: The bandwidth control device parses each session data stream based on the User Plane Function (UPF) and determines the target parsed data for each session data stream.
[0068] In one possible implementation, the bandwidth control device uses UPF to parse the session data stream through methods such as packet parsing and message identification to determine the target parsed data, including destination IP address information and APN information.
[0069] As an example, the target parsed data may also include information such as the port number, URL, and protocol data of the session data stream.
[0070] Step 702: The bandwidth control device determines the priority of each session data stream based on the destination IP address information in the target resolution data.
[0071] One possible implementation is that the bandwidth control device determines the priority of the session data stream corresponding to the target IP address based on the target IP address of the session data stream in the target parsing data.
[0072] In one example, the bandwidth control device determines the domain names corresponding to the target IP addresses of multiple session data streams as A, B, C, and D, respectively, based on the target IP addresses in the target resolution data of multiple session data streams. Here, domain name D has the highest priority (level 1), domain name B has the highest priority (level 2), domain name A has the highest priority (level 3), and domain name C has the highest priority (level 4). Therefore, the priority order of the multiple session data streams is: D, B, A, C.
[0073] Step 703: The bandwidth control device determines the data stream type of each session data stream based on the APN information in the target parsed data.
[0074] In one possible implementation, the bandwidth control device determines the type of the APN based on the APN information in the target parsed data. The bandwidth control device then determines the data stream type of the session data stream based on the type corresponding to that APN.
[0075] As an example, APN types include: default APN type and specific APN type.
[0076] The above scheme offers at least the following benefits: The bandwidth control device parses session data streams based on the User Plane Function (UPF) to determine the target parsed data for the session data. Based on the IP address and APN information in the target parsed data, the bandwidth control device determines the priority and data stream type of each session data stream. In this way, the bandwidth control device accurately determines the priority and data stream type of each session data stream through parsing. Furthermore, it provides a precise basis for matching corresponding bandwidth control rules to each session data stream, thus providing a management foundation for achieving refined bandwidth management.
[0077] Combination Figure 6 ,like Figure 8 As shown, step 603 above, which is the bandwidth control device matching the bandwidth control rules corresponding to the session data stream based on the data stream type and priority, can be specifically implemented through the following steps 801-803:
[0078] Step 801: The bandwidth control device matches the first bandwidth control rule corresponding to each session data stream based on the priority of each session data stream.
[0079] The first bandwidth control rule is used to control the traffic and billing policies of session data streams.
[0080] In one possible implementation, bandwidth control type rules can be of the following types: dynamic policy control and accounting PCC, predefined PCC, and local PCC. The bandwidth control device matches the corresponding bandwidth control type rules to multiple session data streams based on the priority of the session data stream information.
[0081] For example, dynamic PCC refers to allocating bandwidth in real time according to user demand during traffic transmission and dynamically adjusting bandwidth allocation based on network conditions. This allows for more flexible allocation and utilization of current network resources and better adapts to the real-time needs of different users and application environments. Predefined PCC refers to authorizing the maximum available bandwidth resources to a user through PCC rules before a call connection is established. This ensures that users have sufficient bandwidth resources during a call, avoiding bandwidth shortages. Local PCC refers to the local network controlling bandwidth allocation to users when using local network services. Deployed within the local network, it controls the policies and pricing methods of specific border gateways (such as BRAS) and allows network operators to formulate different policies based on user needs.
[0082] It should be noted that,
[0083] Step 802: The bandwidth control device matches the second bandwidth control rule corresponding to each session data stream based on the data stream type of each session data stream.
[0084] The second bandwidth control rule is used to control the bandwidth allocation method for session data streams.
[0085] In one possible implementation, the bandwidth control device determines the priority corresponding to the data stream type based on the data stream type. Based on the priority of the data stream type, the bandwidth control device matches the target bandwidth control rule under the corresponding bandwidth control type rule for the session data stream.
[0086] In one example, if the priority of the data stream type is first priority, the bandwidth control device matches a third bandwidth control rule to the session data stream corresponding to that data type, using it as the target matching bandwidth control rule. This third bandwidth control rule is used to control the uplink and downlink bandwidth of each session data stream separately. For example, it controls the bandwidth control direction within the session data, such as uplink or downlink; it also controls the limits of uplink and downlink bandwidth, such as an uplink bandwidth limit of M and a downlink bandwidth limit of N, etc.
[0087] Optionally, if the priority of the data stream type is the second priority, the bandwidth control device will match the fourth bandwidth control rule to the session data stream corresponding to that data type, using it as the target matching bandwidth control rule. The fourth bandwidth control rule is used to perform overall bandwidth control on multiple session data streams. For example, a fixed bandwidth limit, such as H, may be allocated to multiple session data streams. When n session data streams simultaneously request access to the application, the bandwidth control device will allocate a bandwidth limit of H ÷ n to each of the n session data streams.
[0088] Step 803: The bandwidth control device determines the target bandwidth control rule corresponding to each session data stream based on the first bandwidth control rule and the second bandwidth control rule.
[0089] In one possible implementation, the bandwidth control device generates a target bandwidth control rule for each session data stream based on a first bandwidth control rule and a second bandwidth control rule, that is, a traffic billing strategy and bandwidth allocation method for each session data stream.
[0090] In one example, the first bandwidth control rule for matching the session data stream is to control the traffic and billing policy of the session data stream through dynamic PCC; the second bandwidth control rule for matching the session data stream is to control the uplink and downlink bandwidth of the session data stream. Then the target bandwidth control rule for the session data stream is "dynamic PCC + uplink and downlink bandwidth control".
[0091] The above scheme offers at least the following benefits: The bandwidth control device prioritizes multiple session data streams and sequentially matches corresponding bandwidth control rules to each session data stream. These bandwidth control rules are then based on the data stream type, matching each session data stream with a target bandwidth control rule corresponding to its bandwidth control type. In this way, the bandwidth control device first matches the corresponding business logic (i.e., bandwidth control rules) to each session data stream based on its priority. Further, the bandwidth control device then matches the target bandwidth control rule to the session data stream based on its type. By determining the target bandwidth control rule for each session data stream step-by-step based on priority and data stream type, the bandwidth control device improves the accuracy of bandwidth control and achieves refined bandwidth management.
[0092] The bandwidth control device involved in the embodiments of this application, as well as the functions of each device in the bandwidth control device and the interaction between the devices, have been described in detail above.
[0093] As can be seen, the above mainly describes the technical solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0094] This application embodiment can divide the bandwidth control device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0095] This application provides a bandwidth control device for executing a method required by any device in the aforementioned bandwidth control system. This bandwidth control device may be the bandwidth control device described in this application, or a module within a bandwidth control device; it may also be a chip within a bandwidth control device, or other devices for executing bandwidth control methods; this application does not limit the specific device used.
[0096] like Figure 9 The diagram shown is a structural schematic of a bandwidth control device provided in an embodiment of this application. It is applied to the Session Management Function (SMF). The bandwidth control device includes a processing unit 901 and a communication unit 902.
[0097] The communication unit 902 is used to receive multiple session data streams from the terminal; the processing unit 901 is used to parse each session data stream and determine the priority and data stream type of each session data stream; the processing unit 901 is also used to determine the target bandwidth control rule corresponding to each session data stream based on the data stream type and priority; the processing unit 901 is also used to perform bandwidth control on the multiple session data streams of the terminal based on the target bandwidth control rule.
[0098] Optionally, the processing unit 901 is specifically used to: parse each session data stream based on the User Plane Function (UPF) to determine the target parsing data for each session data stream; the target parsing data includes: destination Internet Protocol (IP) address information and Access Point Name (APN) information; determine the priority of the session data stream based on the IP address information in the target parsing data; and determine the data stream type of the session data stream based on the APN information in the target parsing data.
[0099] Optionally, the processing unit 901 is further configured to: match a first bandwidth control rule corresponding to each session data stream based on the priority of each session data stream; the first bandwidth control rule is used to control the traffic and billing policies of the session data stream; match a second bandwidth control rule corresponding to each session data stream based on the data stream type of each session data stream; the second bandwidth control rule is used to control the bandwidth allocation method of the session data stream; and determine the target bandwidth control rule corresponding to each session data stream based on the first bandwidth control rule and the second bandwidth control rule.
[0100] Optionally, the processing unit 901 is further specifically configured to: determine the priority of the data stream type; the priority of the data stream type includes: a first priority and a second priority; if the priority of the data stream type is the first priority, then a third bandwidth control rule is matched as the second bandwidth control rule; the third bandwidth control rule is used to control the uplink bandwidth and downlink bandwidth of each session data stream; if the priority of the data stream type is the second priority, then a fourth bandwidth control rule is matched as the second bandwidth control rule; the fourth bandwidth control rule is used to control the overall bandwidth of multiple session data streams.
[0101] Optionally, the processing unit 901 is further configured to: include any of the following first bandwidth control rules: dynamic policy and charging control (PCC), pre-defined PCC, or local PCC.
[0102] This application provides a bandwidth control device for executing a method required by any device in the aforementioned bandwidth control system. This bandwidth control device may be the bandwidth control device described in this application, or a module within a bandwidth control device; it may also be a chip within a bandwidth control device, or other devices for executing bandwidth control methods; this application does not limit the specific device used.
[0103] This application also provides a computer-readable storage medium storing instructions. When a computer executes these instructions, the computer performs each step of the method flow shown in the above-described method embodiments.
[0104] Embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the bandwidth control method described in the above method embodiments.
[0105] Embodiments of this application provide a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run computer programs or instructions to implement the bandwidth control method as described in the above method embodiments.
[0106] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having 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), registers, hard disks, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in an application-specific integrated circuit (ASIC). In the embodiments of this application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0107] Since the apparatus, device, computer-readable storage medium, and computer program product in the embodiments of this application can be applied to the above methods, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.
[0108] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A bandwidth control method, characterized in that, The method includes: Receive multiple session data streams from the terminal; Based on the User Plane Function (UPF) parsing, each session data stream is analyzed to determine the target parsing data for each session data stream; the target parsing data includes: destination Internet Protocol (IP) address information and Access Point Name (APN) information. Based on the IP address information in the target parsed data, the priority of each session data stream is determined; Based on the APN information in the target parsed data, determine the data stream type of each session data stream; Based on the priority of each session data stream, a first bandwidth control rule corresponding to each session data stream is matched; the first bandwidth control rule is used to control the traffic and billing strategy of the session data stream. Based on the data stream type of each session data stream, a second bandwidth control rule is matched for each session data stream; the second bandwidth control rule is used to control the bandwidth allocation method of the session data stream. Based on the first bandwidth control rule and the second bandwidth control rule, the target bandwidth control rule corresponding to each session data stream is determined; Based on the target bandwidth control rules, bandwidth control is performed on multiple session data streams of the terminal.
2. The method according to claim 1, characterized in that, The second bandwidth control rule, which matches the data stream type of each session data stream, includes: Determine the priority of the data stream type; the priority of the data stream type includes: a first priority and a second priority; If the priority of the data stream type is the first priority, then the third bandwidth control rule is matched with the second bandwidth control rule; the third bandwidth control rule is used to control the uplink bandwidth and downlink bandwidth of each session data stream. If the priority of the data stream type is the second priority, then the fourth bandwidth control rule is matched as the second bandwidth control rule; the fourth bandwidth control rule is used to control the overall bandwidth of the multiple session data streams.
3. The method according to claim 2, characterized in that, The first bandwidth control rule includes any of the following: dynamic policy and billing control (PCC), predefined PCC, or local PCC.
4. A bandwidth control device, characterized in that, The device includes: a processing unit and a communication unit; The communication unit is used to receive multiple session data streams from the terminal; The processing unit is specifically used for: Each session data stream is parsed based on the User Plane Function (UPF) to determine the target parsing data for each session data stream; the target parsing data includes: destination Internet Protocol (IP) address information and Access Point Name (APN) information. Based on the IP address information in the target parsed data, the priority of the session data stream is determined; Based on the APN information in the target parsed data, the data stream type of the session data stream is determined; The processing unit is further specifically used for: Based on the priority of each session data stream, a first bandwidth control rule corresponding to each session data stream is matched; the first bandwidth control rule is used to control the traffic and billing strategy of the session data stream. Based on the data stream type of each session data stream, a second bandwidth control rule is matched for each session data stream; the second bandwidth control rule is used to control the bandwidth allocation method of the session data stream. Based on the first bandwidth control rule and the second bandwidth control rule, the target bandwidth control rule corresponding to each session data stream is determined; The processing unit is further configured to perform bandwidth control on multiple session data streams of the terminal based on the target bandwidth control rules.
5. The apparatus according to claim 4, characterized in that, The processing unit is further specifically used for: Determine the priority of the data stream type; the priority of the data stream type includes: a first priority and a second priority; If the priority of the data stream type is the first priority, then the third bandwidth control rule is matched with the second bandwidth control rule; the third bandwidth control rule is used to control the uplink bandwidth and downlink bandwidth of each session data stream. If the priority of the data stream type is the second priority, then the fourth bandwidth control rule is matched as the second bandwidth control rule; the fourth bandwidth control rule is used to control the overall bandwidth of the multiple session data streams.
6. A bandwidth control device, characterized in that, include: A processor and a communication interface; the communication interface is coupled to the processor, the processor being used to run computer programs or instructions to implement the bandwidth control method as described in any one of claims 1-3.
7. A computer-readable storage medium storing instructions, characterized in that, When the computer executes the instruction, the computer performs the bandwidth control method as described in any one of claims 1-3.