A method, apparatus, and storage medium for expanding a data link.

By obtaining link expansion data from preset configuration data and generating configuration scripts, link expansion is automatically executed, solving the problems of low efficiency and low accuracy of traditional link expansion, and achieving efficient and accurate link expansion.

CN116599847BActive Publication Date: 2025-11-14CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310666536.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-06
Publication Date
2025-11-14
Estimated Expiration
2043-06-06

AI Technical Summary

Technical Problem

In the traditional link expansion process, PCF network elements, BSF network elements, and DRA network elements require different engineers to manually create link data, resulting in low work efficiency and low accuracy.

Method used

By obtaining the configuration data of the link to be configured from the preset configuration data, generating the configuration script, and automatically sending it to the PCF network element and the peer device, the link expansion is automated.

Benefits of technology

This improved the accuracy and efficiency of link expansion, reduced manual intervention, and ensured the success rate and stability of link expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116599847B_ABST
    Figure CN116599847B_ABST
Patent Text Reader

Abstract

This application provides a link expansion method, apparatus, and storage medium, relating to the field of communication technology, for improving the efficiency and accuracy of link expansion. The method includes: in response to detecting that a policy control function (PCF) network element needs to expand a link, obtaining configuration data of the link to be configured from preset configuration data; generating a configuration script based on the configuration data of the link to be configured; and sending the configuration script to the PCF network element and the peer device on the link to be configured, so that the PCF network element and the peer device run the configuration script to configure the link to be configured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus and storage medium for expanding a link. Background Technology

[0002] The policy control function (PCF) network element, binding support function (BSF) network element, and diameter routing agent (DRA) network element have opened Internet Protocol (IP) links, which enables the provision of dedicated voice loadout session binding function for users when using voice services, thereby improving the user's call experience.

[0003] With the continuous growth of 5G users, the already limited capacity of PCF network elements urgently needs expansion. In traditional expansion processes, PCF, BSF, and DRA network elements all require the creation of new link data. Each network element requires different engineers to perform data operations, and the amount of data to be created each time is enormous. Furthermore, the IP addresses to be connected also require manual verification, resulting in low workload and accuracy. Therefore, improving the efficiency and accuracy of link expansion is a pressing issue that needs to be addressed. Summary of the Invention

[0004] This application provides a link expansion method, apparatus, and storage medium to improve the efficiency and accuracy of link expansion.

[0005] In a first aspect, a method for expanding a link is provided, comprising: in response to detecting that a policy control function (PCF) network element needs to expand a link, obtaining configuration data of the link to be configured from preset configuration data; generating a configuration script based on the configuration data of the link to be configured; and sending the configuration script to the PCF network element and the peer device on the link to be configured, so that the PCF network element and the peer device run the configuration script to configure the link to be configured.

[0006] The technical solution provided in this application includes at least the following beneficial effects: when the PCF network element and the peer device of the PCF network element need to expand the link capacity, the configuration data can be directly obtained from the preset configuration data, and then a configuration script can be generated according to the configuration data and sent to the PCF network element and the peer device of the PCF network element, so that the PCF network element can configure the link to be configured, thereby realizing the automation of the link expansion and improving the accuracy and efficiency of the link expansion.

[0007] As one possible implementation, the above method further includes: obtaining a first number of links configured by the PCF network element before running the script; obtaining a second number of links configured by the PCF network element after running the script; determining whether the difference between the second number and the first number is equal to the number of links to be configured; if the difference between the second number and the first number is equal to the number of links to be configured, determining that the link expansion is successful; if the difference between the second number and the first number is less than the number of links to be configured, obtaining the configuration data of the unconfigured links to be configured; generating a new configuration script based on the configuration data of the unconfigured links to be configured; and sending the new configuration script to the PCF network element and the peer device.

[0008] As one possible implementation, the preset configuration data includes configuration data for multiple links. The configuration data for each link includes link information of the PCF network element, link information of the peer device, and the status of the link. The status of the link includes an enabled state or a disabled state. The configuration data of the link to be configured is obtained from the preset configuration data, including: finding the configuration data of the disabled link from the preset configuration data; and using the configuration data of the disabled link as the link data of the link to be configured.

[0009] As one possible implementation, the link information of the PCF network element includes: device name, interface type, working mode, port number, and IP address; the link information of the peer device includes: device name, DRA working mode, port number, and IP address.

[0010] Secondly, a link expansion device is provided, comprising: an acquisition module, configured to acquire configuration data of the link to be configured from preset configuration data in response to detecting that a policy control function (PCF) network element needs to expand the link; a processing module, configured to generate a configuration script based on the configuration data of the link to be configured; and the processing module is further configured to send the configuration script to the PCF network element and the peer device on the link to be configured, so that the PCF network element and the peer device run the configuration script to configure the link to be configured.

[0011] As one possible implementation, the above-mentioned device further includes: a judgment module; an acquisition module, further configured to acquire a first number of links configured by the PCF network element before running the script; an acquisition module, further configured to acquire a second number of links configured by the PCF network element after running the script; a judgment module, configured to determine whether the difference between the second number and the first number is equal to the number of links to be configured; the judgment module, further configured to determine that the link expansion is successful if the difference between the second number and the first number is equal to the number of links to be configured; a processing module, further configured to acquire configuration data of the unconfigured links to be configured if the difference between the second number and the first number is less than the number of links to be configured; generate a new configuration script based on the configuration data of the unconfigured links to be configured; and send the new configuration script to the PCF network element and the peer device.

[0012] As one possible implementation, the preset configuration data includes configuration data for multiple links. The configuration data for each link includes link information of the PCF network element, link information of the peer device, and the status of the link. The status of the link includes enabled or disabled status. The acquisition module is specifically used to: find the configuration data of the disabled links from the preset configuration data; and use the configuration data of the disabled links as the link data of the link to be configured.

[0013] As one possible implementation, the link information of the PCF network element includes: device name, interface type, working mode, port number, and IP address; the link information of the peer device includes: device name, DRA working mode, port number, and IP address.

[0014] Thirdly, a link expansion device is provided, including a processor, which implements the link expansion method as described in the first aspect when executing a computer program.

[0015] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium including computer instructions; wherein, when the computer instructions are executed, the link expansion method as described in the first aspect is implemented.

[0016] The beneficial effects described in the second to fourth aspects of this invention can be referred to the analysis of the beneficial effects of the first aspect, and will not be repeated here. Attached Figure Description

[0017] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0018] Figure 1 This is a schematic diagram of the structure of a capacity expansion system provided in an embodiment of this application;

[0019] Figure 2 A flowchart illustrating a link expansion method provided in an embodiment of this application;

[0020] Figure 3 A complete flowchart of a link expansion method provided in an embodiment of this application;

[0021] Figure 4 A schematic diagram of a link expansion device provided in an embodiment of this application;

[0022] Figure 5 This is a schematic diagram of another link expansion device provided in an embodiment of this application. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0024] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. The words "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences. It should be noted that in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations.

[0025] Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner. In embodiments of this application, "instruction" can include direct instruction and indirect instruction. For example, taking the first control information hereinafter as an example, the first control information can directly carry information A itself or its index to achieve the purpose of directly instructing information A. Alternatively, the first control information can also carry information B that is associated with information A, thereby achieving the purpose of indirectly instructing information A while instructing information B.

[0026] As described in the background section, in traditional link expansion processes, the link data for PCF, DRA, and BSF network elements all require different engineers to create the data, resulting in significant manpower consumption. The specific link expansion process primarily involves a diameter load balancer (DLB) module. This module is used for distributing and processing expansion services. This module resides in virtual machines, with two DLB modules within each virtual machine. For example, expanding the capacity of a PCF network element from 3 million to 5 million requires expanding two virtual machines, each containing four DLB modules. The expansion requires two links. Each operator has approximately 26 PCF network elements, meaning that completing this expansion requires configuring 52 link data entries for the PCF network elements. In addition, the peer devices DRA and BSF network elements of the PCF network elements require a total of 156 link data entries to be configured. Furthermore, after different engineers have configured the link data, a significant amount of manpower is needed to verify and allocate the link data, making the process very complex. As a result, the efficiency of the link expansion is very low, and the accuracy of the link expansion cannot be guaranteed due to manual verification.

[0027] Based on this, this application provides a link expansion method that can improve the efficiency and accuracy of link expansion. The approach is as follows: when link expansion is required, the configuration data of the link to be configured is directly obtained from preset configuration data, a configuration script is generated, and sent to the PCF network element and its peer device, enabling the PCF network element and its peer device to configure the link to be configured.

[0028] For example, Figure 1 This diagram illustrates the structure of a capacity expansion system according to an embodiment of this application. The capacity expansion system may include a server and PCF network elements. The server may be connected to one or more PCF network elements. It should be noted that... Figure 1 The diagram shown is merely a structural schematic of the expansion system that can be applied to the embodiments of this application, in order to help those skilled in the art understand the technical content of this disclosure, but it does not mean that the embodiments of this application cannot be used in other devices, systems, environments or scenarios.

[0029] The PCF network element is a policy control function network element, belonging to the standard 5GC network element, used to provide access mobility policy control functions and session management policy control functions.

[0030] The link expansion device is used to store and distribute preset configuration data. The link expansion device can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. The following description uses the link expansion device as a server to exemplify the link expansion method provided in this embodiment of the invention.

[0031] It should be noted that, Figure 1 This is just an example structural diagram. Figure 1 The number of structures included, and the names of each structure, are unlimited, except for... Figure 1 In addition to the structure shown, this system architecture may also include other structures.

[0032] The application scenarios of the embodiments in this application are not limited. The system architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0033] like Figure 2 The embodiment of this application provides a link expansion method, which includes the following steps:

[0034] S201. In response to the detection that the policy control function PCF network element needs to expand the link capacity, the configuration data of the link to be configured is obtained from the preset configuration data.

[0035] In some embodiments, when a PCF network element needs to expand its link capacity, the server used to perform the link expansion work of the PCF network element receives expansion request information sent by the maintenance system; or, the server used to perform the link expansion work of the PCF network element receives expansion request information sent by the PCF network element.

[0036] The expansion request information is used to instruct the aforementioned servers to perform link expansion work for PCF network elements.

[0037] It is understandable that the link expansion work of PCF network elements can be carried out periodically, with the aforementioned maintenance system periodically sending expansion request information to the aforementioned server; or, when the capacity used by the PCF network element is about to reach its capacity limit, the PCF network element actively sends expansion request information to the aforementioned server.

[0038] For example, the expected cycle for PCF network element link expansion is 72 hours. That is, every 72 hours, the maintenance system sends an expansion request to the server to instruct the server to perform link expansion for the PCF network element. Alternatively, when the PCF network element's capacity is already 90% utilized, the PCF network element proactively sends an expansion request to the server. In this case, even if the next expansion cycle has not yet arrived, the server will still perform link expansion for the PCF network element.

[0039] The preset configuration data includes configuration data for multiple links. The configuration data for each link includes the link information of the PCF network element, the link information of the peer device, and the status of the link. The status of the link includes enabled or disabled status.

[0040] In some embodiments, when the server receives a capacity expansion request from the maintenance system or PCF network element, the server searches for the configuration data of the disabled links in the preset configuration data; and uses the configuration data of the disabled links as the link data of the link to be configured.

[0041] For example, if the configuration data of an enabled link is abnormal, when the server detects the configuration data, it marks the configuration data and sends it to the maintenance system for error handling.

[0042] The link information for PCF network elements includes: device name, interface type, working mode, port number, and IP address; the link information for peer devices includes: device name, DRA working mode, port number, and IP address.

[0043] In some embodiments, the ratio of the link information of the PCF network element to the link information of the peer device is 1:2.

[0044] For example, the peer device of a PCF network element can be a DRA network element or a BSF network element. As shown in Tables 1 and 2, Tables 1 and 2 show the preset configuration data with the peer device of the PCF network element being a DRA network element. This preset configuration data includes the configuration data of 10 links. Among them, the link information of the PCF network element is 10, the link information of the DRA1 network element is 5, and the link information of the DRA2 network element is 5.

[0045] Table 1

[0046]

[0047] Table 2

[0048]

[0049] The working mode in the link information of the PCF network element can be either server mode or client mode, while the DRA working mode of the peer device of the PCF network element can only be client mode.

[0050] It should be noted that during the operation of a PCF network element, it establishes an IP link with the peer device to jointly provide services to users. Therefore, when a PCF network element needs to expand its link capacity, its peer device also needs to expand its link capacity.

[0051] In some embodiments, the link configuration data also includes link usage information. The server searches for configuration data of unused links from preset configuration data; the configuration data of the unused links is used as the link data for the link to be configured.

[0052] The configuration data of the used link is the configuration data of the IP address used in the link configuration data.

[0053] It is understandable that when an IP address is shown to be in use, it proves that the configuration data has been used by other network elements or devices. When performing link expansion work, the configuration data of the IP address that has been used should be deleted or marked. In subsequent link expansion work, the configuration data of the IP address that has not been used should be used to complete the expansion work.

[0054] In some embodiments, the server obtains the configuration data of the links to be configured based on the number of links to be configured.

[0055] The number of links to be configured can be determined based on the recent capacity usage of PCF network elements; or it can be set manually.

[0056] For example, when the number of 5G users is growing rapidly and the PCF network element needs to frequently expand its links, the number of links to be configured can be appropriately increased to avoid frequent expansions and reduced efficiency of the PCF network element. Alternatively, when the number of 5G users is growing slowly, the number of links to be configured can be appropriately reduced to avoid wasting resources due to a large number of link expansions.

[0057] As another example, in this link expansion process, there are 2 links to be configured. The server obtains the configuration data of 2 disabled links from the preset configuration data so as to complete the subsequent link expansion work.

[0058] S202. Generate a configuration script based on the configuration data of the link to be configured.

[0059] The configuration script includes the device name, link identifier, and port number. The configuration script is used to instruct PCF network elements and peer devices to perform link expansion.

[0060] For example, the server packages the configuration data of the link to be configured into a configuration script. When the PCF network element executes the configuration script, the PCF network element will obtain the configuration data of the corresponding link to be configured.

[0061] S203. Send the configuration script to the PCF network element and the peer device in the link to be configured that is opposite to the PCF network element.

[0062] In some embodiments, after the server sends the configuration script to the PCF network element and the peer device on the link to be configured, it logs into the PCF network element and the peer device using the file transfer protocol (FTP) and executes the configuration script so that the PCF network element and the peer device can configure the link to be configured.

[0063] For example, after the server sends the configuration script to the PCF network element and the peer device, the PCF network element and the peer device are logged in using FTP to execute the configuration script. After executing the configuration script, the PCF network element and the peer device obtain the configuration data of the link to be configured corresponding to the configuration script, and then the PCF network element and the peer device perform configuration work on the link to be configured according to the corresponding configuration data.

[0064] In this way, when a PCF network element and its peer device need to expand the link capacity, configuration data can be directly obtained from the preset configuration data. Then, a configuration script can be generated based on the configuration data and sent to the PCF network element and its peer device. This enables the PCF network element to configure the link to be configured, thus automating the link expansion and improving the accuracy and efficiency of the link expansion.

[0065] In some embodiments, based on Figure 2 In the embodiment shown, the method further includes: obtaining a first number of links configured by the PCF network element before running the script; obtaining a second number of links configured by the PCF network element after running the script; determining whether the difference between the second number and the first number is equal to the number of links to be configured; and determining that the link expansion is successful if the difference between the second number and the first number is equal to the number of links to be configured.

[0066] As one possible implementation, the server obtains the number of links of the PCF network element before and after running the script by executing link verification commands.

[0067] For example, the link verification command can be LST PEERL.

[0068] When the server executes the link verification command, the information obtained in the link data includes: number of links, link status, network element identifier, peer type, peer link identifier, distribution mode, transmission protocol type, dual-homed IP version, IP version, dual-homed IPv4 address, dual-homed IPv6 address, local IPv4 address, local IPv6 address, local port, dual-homed peer IPv4 address, dual-homed peer IPv6 address, peer IPv4 address, peer IPv6 address, and peer port.

[0069] For example, after receiving the link request information, the server executes a link verification command to obtain the first number of PCF network element links and marks the disabled links so that the maintenance system can process them. After the PCF network element runs the script and the link expansion is completed, the server executes the link verification command again to obtain the second number of PCF network element links and marks the disabled links. If the difference between the second number and the first number is equal to the number of links to be configured, the link expansion is considered successful.

[0070] Understandably, by executing the link verification command, the server can not only obtain the number of links before and after the PCF network element executes the script, but also obtain the enabling status of the links. It can not only determine whether the link expansion was successful based on the number of links, but also handle error reporting for disabled links based on their enabling status.

[0071] In other embodiments, if the difference between the second number and the first number is less than the number of links to be configured, the configuration data of the links to be configured that were not successfully configured is obtained; a new configuration script is generated based on the configuration data of the links to be configured that were not successfully configured; and the new configuration script is sent to the PCF network element and the peer device.

[0072] For example, in this link expansion process, the number of links to be configured is 6, and the difference between the second number and the first number is 4, proving that there are links that were not successfully configured in this link expansion process, and the number of links that were not successfully configured is 2. The PCF network element sends an alarm message to the server, indicating that there are two links that were not successfully configured in this link expansion process. After receiving the alarm message, the server re-obtains the configuration data of the unconfigured links to be configured from the preset configuration data, and then generates a new configuration script based on the configuration data, and sends it to the PCF network element and the peer device, so that the PCF network element and the peer device can continue to configure the two unconfigured links.

[0073] In this way, after the link expansion is completed, the success of the expansion is determined by comparing the number of links before and after the PCF network element runs the script, improving the accuracy and stability of the expansion. If the expansion fails, the configuration script is resent to the PCF network element and the peer device to re-expand the link, ensuring successful configuration of the link to be configured.

[0074] Figure 3 This application provides a complete flowchart of a link expansion method according to an embodiment, such as... Figure 3 As shown, the method includes the following steps:

[0075] S301. Obtain the first number of links configured by the PCF network element before running the script.

[0076] In response to the detection that the PCF network element needs to expand its links, the server begins to obtain the first number of links that the PCF network element has configured before running the script.

[0077] S302. Obtain the configuration data of the link to be configured from the preset configuration data.

[0078] S303. Send the configuration script to the PCF network element and the peer device in the link to be configured that is opposite to the PCF network element.

[0079] The configuration script is used to instruct the PCF network element and the peer device on the link to be configured to configure the link.

[0080] S304. Obtain the second number of links configured by the PCF network element after running the script.

[0081] S305. Determine whether the difference between the second number and the first number is equal to the number of links to be configured.

[0082] If the difference between the second number and the first number is equal to the number of links to be configured, then execute S306.

[0083] If the difference between the second number and the first number is greater than or less than the number of links to be configured, then execute S302 to obtain the configuration data of the links that were not successfully configured and continue to complete this expansion work.

[0084] S306. Confirmation: This link expansion was successful.

[0085] The foregoing mainly describes the 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 units 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.

[0086] This application embodiment can divide the communication 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.

[0087] Figure 4 This is a schematic diagram of the structure of a link expansion device provided in an embodiment of this application, as shown below. Figure 4 As shown, the expansion device 40 of the link includes: an acquisition module 401 and a processing module 402.

[0088] The acquisition module 401 is used to acquire the configuration data of the link to be configured from the preset configuration data in response to the detection that the policy control function PCF network element needs to expand the link.

[0089] Processing module 402 is used to generate configuration scripts based on the configuration data of the link to be configured.

[0090] The processing module 402 is also used to send the configuration script to the PCF network element and the peer device in the link to be configured, so that the PCF network element and the peer device can run the configuration script to configure the link to be configured.

[0091] As one possible implementation, the above-mentioned device further includes: a judgment module 403; an acquisition module 401, further configured to acquire a first number of links configured by the PCF network element before running the script; an acquisition module 401, further configured to acquire a second number of links configured by the PCF network element after running the script; a judgment module 403, configured to determine whether the difference between the second number and the first number is equal to the number of links to be configured; a judgment module 403, further configured to determine that the link expansion is successful if the difference between the second number and the first number is equal to the number of links to be configured; a processing module 402, further configured to acquire configuration data of the unconfigured links if the difference between the second number and the first number is less than the number of links to be configured; generate a new configuration script based on the configuration data of the unconfigured links; and send the new configuration script to the PCF network element and the peer device.

[0092] As one possible implementation, the preset configuration data includes configuration data for multiple links. The configuration data for each link includes link information of the PCF network element, link information of the peer device, and the status of the link. The status of the link includes enabled or disabled status. The acquisition module is specifically used to: find the configuration data of the disabled links from the preset configuration data; and use the configuration data of the disabled links as the link data of the link to be configured.

[0093] As one possible implementation, the link information of the PCF network element includes: device name, interface type, working mode, port number, and IP address; the link information of the peer device includes: device name, DRA working mode, port number, and IP address.

[0094] In the case of implementing the functions of the integrated modules described above in hardware, the embodiments of this application provide... Figure 5 The link expansion device shown is an example. Figure 5 As shown, the link expansion device 50 includes a processor 502 and a bus 504. Optionally, the link expansion device 50 may also include a memory 501; alternatively, the link expansion device 50 may also include a communication interface 503.

[0095] Processor 502 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 502 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 502 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0096] Communication interface 503 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0097] The memory 501 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), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0098] As one possible implementation, the memory 501 can exist independently of the processor 502. The memory 501 can be connected to the processor 502 via a bus 504 and is used to store instructions or program code. When the processor 502 calls and executes the instructions or program code stored in the memory 501, it can implement the link expansion method provided in this application embodiment.

[0099] In another possible implementation, the memory 501 can also be integrated with the processor 502.

[0100] Bus 504 can be an extended industry standard architecture (EISA) bus, etc. Bus 504 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0101] This application also provides a computer-readable storage medium, which includes computer-executable instructions that, when executed on a computer, cause the computer to perform the method provided in the above embodiments.

[0102] This application also provides a computer program product that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the methods provided in the above embodiments.

[0103] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0104] 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 method for expanding the capacity of a link, characterized in that, The method includes: In response to the detection that the policy control function PCF network element needs to expand the link capacity, the configuration data of the disabled link is searched from the preset configuration data; the preset configuration data includes the configuration data of multiple links, and the configuration data of each link includes the link information of the PCF network element, the link information of the peer device of the PCF network element, and the status of the link, which includes the enabled state or the disabled state. The configuration data of the disabled link is used as the link data of the link to be configured; Generate a configuration script based on the configuration data of the link to be configured; The configuration script is sent to the PCF network element and the peer device in the link to be configured that is opposite to the PCF network element, so that the PCF network element and the peer device run the configuration script to configure the link to be configured. The method further includes: Obtain the first number of links configured for the PCF network element before running the script; Obtain the second number of links configured for the PCF network element after the script is run; Determine whether the difference between the second number and the first number is equal to the number of links to be configured; If the difference between the second number and the first number is equal to the number of links to be configured, the link expansion is determined to be successful. If the difference between the second number and the first number is less than the number of links to be configured, obtain the configuration data of the links to be configured that were not successfully configured; generate a new configuration script based on the configuration data of the links to be configured that were not successfully configured; and send the new configuration script to the PCF network element and the peer device.

2. The method according to claim 1, characterized in that, The link information of the PCF network element includes: device name, interface type, working mode, port number, and IP address; The link information of the peer device includes: device name, DRA working mode, port number, and IP address.

3. A link expansion device, characterized in that, The device includes: The acquisition module is used to respond to the detection that the policy control function PCF network element needs to expand the link capacity, and to search for the configuration data of the non-enabled link from the preset configuration data; the preset configuration data includes the configuration data of multiple links, and the configuration data of each link includes the link information of the PCF network element, the link information of the peer device of the PCF network element, and the status of the link, which includes the enabled state or the disabled state. The configuration data of the disabled link is used as the link data of the link to be configured; The processing module is used to generate a configuration script based on the configuration data of the link to be configured; The processing module is further configured to send the configuration script to the PCF network element and the peer device in the link to be configured that is opposite to the PCF network element, so that the PCF network element and the peer device run the configuration script to configure the link to be configured. The acquisition module is also used to acquire the first number of links that the PCF network element has configured before running the script; The acquisition module is also used to acquire a second number of links that the PCF network element has configured after running the script; The judgment module is used to determine whether the difference between the second number and the first number is equal to the number of links to be configured; The judgment module is further configured to determine that the link expansion is successful if the difference between the second number and the first number is equal to the number of links to be configured. The processing module is further configured to: obtain configuration data of unconfigured links when the difference between the second number and the first number is less than the number of links to be configured; generate a new configuration script based on the configuration data of the unconfigured links; and send the new configuration script to the PCF network element and the peer device.

4. The apparatus according to claim 3, characterized in that, The link information of the PCF network element includes: device name, interface type, working mode, port number, and IP address; The link information of the peer device includes: device name, DRA working mode, port number, and IP address.

5. A link expansion device, characterized in that, Includes a processor that, when executing a computer program, implements the link expansion method as described in any one of claims 1 to 2.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions; wherein, when the computer instructions are executed, the link expansion method as described in any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Metropolitan area network circuit expansion method and device

    CN110519107A