Switching resource configuration method and device, computer equipment and storage medium

By obtaining the capacity and channel usage rate of the gateway forwarding device, dynamically selecting resource configuration components, and configuring resources for the OSU forwarding unit, the problem of resource waste is solved, and the maximum resource utilization and investment benefits are maximized.

CN119583992AActive Publication Date: 2025-03-07CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411662323.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-03-07
Estimated Expiration
2044-11-20

AI Technical Summary

Technical Problem

The resource use of OSU adapter units is limited by two dimensions: capacity and channel number, which can easily cause resource waste.

Method used

By obtaining the capacity utilization rate and channel utilization rate of the gateway forwarding device, select the target resource configuration component from the candidate resource configuration components, and configure the gateway forwarding device to optimize resource utilization.

Benefits of technology

Effectively prevent resource waste, maximize the utilization of data transfer resources, ensure investment efficiency, and simplify network business allocation and operation complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583992A_ABST
    Figure CN119583992A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of optical fiber communication, in particular to a switching resource configuration method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a capacity utilization rate and a channel number utilization rate corresponding to a gateway switching device; selecting a target resource configuration component corresponding to the gateway switching device from the at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate; and performing switching resource configuration on the gateway switching device according to the target resource configuration component. According to the method and the device, the target resource configuration component corresponding to the gateway switching device is dynamically selected according to the resource utilization condition of the gateway switching device, so that the data switching resource maximization operation aiming at the gateway switching resource is realized, the investment benefit maximization aiming at the gateway switching resource is ensured, and the user experience is improved. And the network service configuration and operation complexity for the gateway switching resources are simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical fiber communication technology, and in particular to a switching resource configuration method, device, computer equipment and storage medium. Background Art

[0002] In order to make OTN (Optical Transport Network) technology better adapt to the small-grained bandwidth service requirements of the existing network, OSU technology has been introduced in the OTN technology system. OSU stands for Optical Service Unit. OSU technology integrates the characteristics of time-division service and packet service, can cope with various application scenarios of the access layer, and supports bandwidth segmentation and adjustment.

[0003] In order to solve the network convergence problem in the application of OSU technology, the OSU adapter card was born, which reused the ODUk (Optical Data Unit-k) line card with low bandwidth utilization in the core node of the old metropolitan area to protect the network investment. However, after actual application, it was found that the resource utilization of the OSU adapter unit was limited by the two dimensions of capacity and number of channels, which easily caused resource waste. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for configuring switching resources that can prevent waste of resources in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for configuring a switching resource. The method comprises:

[0006] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0007] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0008] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0009] In one of the embodiments, selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate includes:

[0010] Determine the relationship between the capacity utilization rate and the channel number utilization rate;

[0011] According to the size relationship, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components.

[0012] In one embodiment, selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the size relationship includes:

[0013] If the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration components whose two ends are optical data unit ODUk line cards is used as the target resource configuration component corresponding to the gateway switching device.

[0014] In one embodiment, selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the size relationship includes:

[0015] If the size relationship is that the capacity utilization rate is less than the channel number utilization rate, the second component of the candidate resource configuration component with an optical service unit OSU board card at one end and an ODUk line card at the other end is used as the target resource configuration component corresponding to the gateway switching device.

[0016] In one of the embodiments, the candidate resource configuration component includes a first component and a second component;

[0017] The configuring the gateway switching device for switching resources according to the target resource configuration component includes:

[0018] In a case where the target resource configuration component is the first component, based on the first component, both ends of the gateway switching device are configured as ODUk line cards;

[0019] In the case where the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

[0020] In one embodiment, the capacity utilization rate is the ratio between the used OSU capacity and the total OSU capacity of the gateway switching device;

[0021] The channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; wherein the data transmission channel is a signal transmission channel for ODUk and OSU.

[0022] In a second aspect, the present application further provides a switching resource configuration device. The device comprises:

[0023] An acquisition module, used to acquire the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0024] A selection module, configured to select a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0025] A configuration module is used to configure the switching resources of the gateway switching device according to the target resource configuration component.

[0026] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0027] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0028] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0029] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0030] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0031] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0032] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0033] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0034] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0035] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0036] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0037] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0038] The above-mentioned switching resource configuration method, device, computer equipment and storage medium obtain the capacity utilization rate and channel utilization rate corresponding to the gateway switching device to select the target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and channel utilization rate, and then, according to the target resource configuration component, perform switching resource configuration on the gateway switching device. According to the above content, it can be seen that the present application obtains the capacity utilization rate and channel utilization rate corresponding to the gateway switching device to intuitively obtain the resource utilization of the gateway switching device, and then, in the process of determining the target resource configuration component corresponding to the gateway switching device according to the capacity utilization rate and channel utilization rate, it is realized that according to the resource utilization of the gateway switching device, the target resource configuration component corresponding to the gateway switching device is dynamically selected, thereby realizing the data switching resource maximization operation for the gateway switching resources, ensuring the maximization of the investment benefit for the gateway switching resources, and simplifying the network service configuration and operation complexity for the gateway switching resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 An application environment diagram of a transfer resource configuration method provided in an embodiment of the present application;

[0040] Figure 2 A flowchart of a first transfer resource configuration method provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of a gateway switching device provided in an embodiment of the present application being connected to two candidate resource configuration components respectively;

[0042] Figure 4 A schematic diagram of the deployment location of the gateway switching device provided in the embodiment of the present application;

[0043] Figure 5 A flowchart of a second transfer resource configuration method provided in an embodiment of the present application;

[0044] Figure 6 A flowchart of a third method for configuring transfer resources provided in an embodiment of the present application;

[0045] Figure 7 A flowchart of a fourth method for configuring transfer resources provided in an embodiment of the present application;

[0046] Figure 8 A structural block diagram of a switching resource configuration device provided in an embodiment of the present application;

[0047] Fig. 9FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the description of the present application, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily have to be directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.

[0050] The transfer resource configuration method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By obtaining the capacity utilization rate and the channel number utilization rate corresponding to the gateway switching device, the target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate, and then, according to the target resource configuration component, the gateway switching device is transferred The resource configuration. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0051] In one embodiment, Figure 2 As shown, a method for configuring switching resources is provided, and the method is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:

[0052] S201, obtaining the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device.

[0053] It should be noted that the capacity utilization rate is the ratio between the used OSU capacity and the total OSU capacity of the gateway switching device; the channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; among which, the data transmission channel is the signal transmission channel for ODUk and OSU.

[0054] Therefore, when it is necessary to obtain the capacity utilization rate and channel utilization rate corresponding to the gateway switching device, the used OSU capacity and the total OSU capacity of the gateway switching device can be obtained respectively, and then, the capacity utilization rate can be determined based on the ratio of the used OSU capacity to the total OSU capacity; the number of used data transmission channels and the total number of data transmission channels of the gateway switching device can also be obtained respectively, and then, the channel utilization rate can be determined based on the ratio of the number of used data transmission channels to the total number of data transmission channels.

[0055] S202: Select a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate.

[0056] It should be noted that at least two candidate resource configuration components may include a first component with optical data unit ODUk line cards at both ends, and a second component with an optical service unit OSU board card at one end and an ODUk line card at the other end; because the service in the first component can enter the gateway switching device from the line card at one end as an ODUk signal, demap to OSU, and the OSU signal crosses to the other end in the gateway switching device, maps to ODUk, and enters the line card at the other end. Each service needs to be converted from ODUk to OSU twice, occupying two ODUk to OSU data transmission channels; and the service of the second component can enter the gateway switching device from the board card at one end as an OSU signal, and the OSU signal crosses to the other end in the gateway switching device, maps to ODUk, and enters the line card at the other end. Each service needs to be converted from ODUk to OSU once, occupying one ODUk to OSU data transmission channel.

[0057] Furthermore, based on the capacity utilization rate and the channel utilization rate, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components. Based on the relationship between the capacity utilization rate and the channel utilization rate, the channel utilization rate of the gateway switching device or the capacity utilization rate corresponding to the gateway switching device can be increased to achieve the purpose of balancing resources.

[0058] S203: Perform transfer resource configuration on the gateway transfer device according to the target resource configuration component.

[0059] It should be noted that when it is necessary to configure the transfer resources for the gateway transfer device, the gateway transfer state can be connected to the target resource configuration component to implement the operation of transferring resources to the gateway transfer device according to the target resource configuration component. As an example, the gateway transfer device is connected to two candidate resource configuration components respectively. Figure 3 shown.

[0060] Further explanation, the purpose of the switching resource configuration method of the present application is to maximize the utilization of switching device resources. Therefore, the present application can be applied to the metropolitan area network aggregation node (M3) or core node (M4), and the deployment location is as follows: Figure 4 as shown.

[0061] The above-mentioned transfer resource configuration method obtains the capacity utilization rate and channel utilization rate corresponding to the gateway transfer device to select the target resource configuration component corresponding to the gateway transfer device from at least two candidate resource configuration components according to the capacity utilization rate and channel utilization rate, and then, according to the target resource configuration component, transfer resources are configured for the gateway transfer device. According to the above content, it can be known that the present application obtains the capacity utilization rate and channel utilization rate corresponding to the gateway transfer device to intuitively obtain the resource utilization of the gateway transfer device, and then, in the process of determining the target resource configuration component corresponding to the gateway transfer device according to the capacity utilization rate and channel utilization rate, it is realized that according to the resource utilization of the gateway transfer device, the target resource configuration component corresponding to the gateway transfer device is dynamically selected, thereby realizing the data transfer resource maximization operation for the gateway transfer resources, ensuring the maximization of the investment benefit for the gateway transfer resources, and simplifying the network service configuration and operation complexity for the gateway transfer resources.

[0062] In one embodiment, if Figure 5 As shown, when it is necessary to select a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate, the following contents may be specifically included:

[0063] S501, determining the relationship between the capacity utilization rate and the channel number utilization rate.

[0064] It should be noted that by determining the size relationship between the capacity utilization rate and the channel number utilization rate, it is possible to characterize the utilization of the capacity resources and the transmission channel resources of the gateway switching device according to the size relationship.

[0065] Specifically, if the size relationship is that the capacity utilization rate is greater than or equal to the channel utilization rate, it means that the capacity utilization rate is high, so it is recommended to increase the channel utilization rate to achieve a balanced capacity utilization rate and channel utilization rate; if the size relationship is that the capacity utilization rate is less than the channel utilization rate, it means that the channel utilization rate is high, so it is recommended to increase the capacity utilization rate to achieve a balanced capacity utilization rate and channel utilization rate.

[0066] S502: Select a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to a size relationship.

[0067] In one embodiment of the present application, if the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration component with both ends of the optical path data unit ODUk line card is used as the target resource configuration component corresponding to the gateway switching device.

[0068] Since each service in the first component needs to undergo two ODUk to OSU conversions and occupies two ODUk to OSU data transmission channels, when the capacity utilization rate is greater than or equal to the channel utilization rate, the first component is recommended as the target resource configuration component to improve the utilization rate of the data transmission channel and achieve resource balance.

[0069] In another embodiment of the present application, if the size relationship is that the capacity utilization rate is less than the channel utilization rate, the second component of the candidate resource configuration component, one end of which is an optical service unit OSU board card and the other end is an ODUk line card, is used as the target resource configuration component corresponding to the gateway switching device.

[0070] Since each service in the second component requires one ODUk to OSU conversion and occupies one ODUk to OSU data transmission channel, when the capacity utilization rate is less than the channel utilization rate, the second component is recommended as the target resource configuration component to improve the capacity utilization rate and achieve resource balance.

[0071] The above-mentioned switching resource configuration method selects the first component and the second component as the target resource configuration components corresponding to the gateway switching device respectively in the two cases where the capacity utilization rate is greater than or equal to the channel utilization rate, and the capacity utilization rate is less than the channel utilization rate. In this way, the target resource configuration component corresponding to the gateway switching device is dynamically selected according to the resource utilization of the gateway switching device, thereby realizing the maximization operation of data switching resources for the gateway switching resources and ensuring the maximization of the investment benefit of the gateway switching resources.

[0072] In one embodiment, if Figure 6As shown, when it is necessary to configure the gateway switching device for switching resources according to the target resource configuration component, the following contents may be specifically included:

[0073] S601: When the target resource configuration component is the first component, both ends of the gateway switching device are configured as ODUk line cards based on the first component.

[0074] In one embodiment of the present application, since both ends of the first component are configured as ODUk line cards, when the gateway switching device cannot connect to the first component, the gateway switching device can connect to at least one other component to configure both ends of the gateway switching device as ODUk line cards.

[0075] S602: When the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

[0076] In one embodiment of the present application, since one end of the second component is an optical service unit OSU board card and the other end is an ODUk line card, when the gateway switching device cannot connect to the second component, the gateway switching device can be connected to at least one other component to configure one end of the gateway switching device as an OSU board card and the other end as an ODUk line card.

[0077] The above-mentioned switching resource configuration method configures both ends of the gateway switching device as ODUk line cards, or configures one end of the gateway switching device as an OSU board card and the other end as an ODUk line card, so as to dynamically select the target resource configuration component corresponding to the gateway switching device according to the resource utilization of the gateway switching device, thereby ensuring the maximization of the investment benefit of the gateway switching resources and simplifying the network service configuration and operation complexity of the gateway switching resources.

[0078] In one embodiment, if Figure 7 As shown, when it is necessary to configure the switching resources for the gateway switching device, the following contents may be specifically included:

[0079] S701, obtaining the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device.

[0080] S702, determine the size relationship between the capacity utilization rate and the channel number utilization rate. If the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, execute S703; if the size relationship is that the capacity utilization rate is less than the channel number utilization rate, execute S704.

[0081] S703: The first component of the candidate resource configuration components, both ends of which are optical channel data unit ODUk line cards, is used as the target resource configuration component corresponding to the gateway switching device.

[0082] S704: A second component of the candidate resource configuration component, one end of which is an optical service unit OSU card and the other end of which is an ODUk line card, is used as a target resource configuration component corresponding to the gateway switching device.

[0083] S705: Perform transfer resource configuration on the gateway transfer device according to the target resource configuration component.

[0084] The above-mentioned transfer resource configuration method obtains the capacity utilization rate and channel utilization rate corresponding to the gateway transfer device to select the target resource configuration component corresponding to the gateway transfer device from at least two candidate resource configuration components according to the capacity utilization rate and channel utilization rate, and then, according to the target resource configuration component, transfer resources are configured for the gateway transfer device. According to the above content, it can be known that the present application obtains the capacity utilization rate and channel utilization rate corresponding to the gateway transfer device to intuitively obtain the resource utilization of the gateway transfer device, and then, in the process of determining the target resource configuration component corresponding to the gateway transfer device according to the capacity utilization rate and channel utilization rate, it is realized that according to the resource utilization of the gateway transfer device, the target resource configuration component corresponding to the gateway transfer device is dynamically selected, thereby realizing the data transfer resource maximization operation for the gateway transfer resources, ensuring the maximization of the investment benefit for the gateway transfer resources, and simplifying the network service configuration and operation complexity for the gateway transfer resources.

[0085] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0086] Based on the same inventive concept, the embodiment of the present application also provides a switching resource configuration device for implementing the switching resource configuration method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more switching resource configuration device embodiments provided below can refer to the limitations of the switching resource configuration method above, and will not be repeated here.

[0087] In one embodiment, Figure 8As shown, a switching resource configuration device is provided, comprising: an acquisition module 10, a selection module 20 and a configuration module 30, wherein:

[0088] The acquisition module 10 is used to acquire the capacity utilization rate and the channel number utilization rate corresponding to the gateway switching device.

[0089] The selection module 20 is used to select a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate.

[0090] The configuration module 30 is used to configure the switching resources of the gateway switching device according to the target resource configuration component.

[0091] In one embodiment, determining a magnitude relationship between a capacity utilization rate and a channel number utilization rate;

[0092] According to the size relationship, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components.

[0093] In one embodiment, if the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration component with both ends being optical data unit ODUk line cards is used as the target resource configuration component corresponding to the gateway switching device.

[0094] In one embodiment, if the size relationship is that the capacity utilization rate is less than the channel number utilization rate, the second component of the candidate resource configuration component with an optical service unit OSU board card at one end and an ODUk line card at the other end is used as the target resource configuration component corresponding to the gateway switching device.

[0095] In one embodiment, configuring the gateway switching device for switching resources according to the target resource configuration component includes:

[0096] When the target resource configuration component is the first component, both ends of the gateway switching device are configured as ODUk line cards based on the first component;

[0097] When the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

[0098] In one embodiment, the channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; wherein the data transmission channel is a signal transmission channel for ODUk and OSU.

[0099] The above-mentioned switching resource configuration device obtains the capacity utilization rate and channel utilization rate corresponding to the gateway switching device to select the target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and channel utilization rate, and then, performs switching resource configuration on the gateway switching device according to the target resource configuration component. According to the above content, it can be seen that the present application obtains the capacity utilization rate and channel utilization rate corresponding to the gateway switching device to intuitively obtain the resource utilization of the gateway switching device, and then, in the process of determining the target resource configuration component corresponding to the gateway switching device according to the capacity utilization rate and channel utilization rate, it realizes the dynamic selection of the target resource configuration component corresponding to the gateway switching device according to the resource utilization of the gateway switching device, thereby realizing the data switching resource maximization operation for the gateway switching resources, ensuring the maximization of the investment benefit for the gateway switching resources, and simplifying the network service configuration and operation complexity for the gateway switching resources.

[0100] Each module in the above-mentioned switching resource configuration device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0101] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig. 9As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a switching resource configuration method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0102] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0103] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0104] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0105] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0106] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0107] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0108] Determine the relationship between capacity utilization and channel number utilization;

[0109] According to the size relationship, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components.

[0110] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0111] If the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration components with both ends of the optical channel data unit ODUk line card is used as the target resource configuration component corresponding to the gateway switching device.

[0112] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0113] If the size relationship is that the capacity utilization rate is less than the channel number utilization rate, the second component of the candidate resource configuration component with an optical service unit OSU card at one end and an ODUk line card at the other end is used as the target resource configuration component corresponding to the gateway switching device.

[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0115] According to the target resource configuration component, the gateway switching device is configured with switching resources, including:

[0116] When the target resource configuration component is the first component, both ends of the gateway switching device are configured as ODUk line cards based on the first component;

[0117] In the case where the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

[0118] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0119] The channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; wherein the data transmission channel is a signal transmission channel for ODUk and OSU.

[0120] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0121] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0122] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0123] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0124] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0125] Determine the relationship between capacity utilization and channel number utilization;

[0126] According to the size relationship, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components.

[0127] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0128] If the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration components with both ends of the optical channel data unit ODUk line card is used as the target resource configuration component corresponding to the gateway switching device.

[0129] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0130] If the size relationship is that the capacity utilization rate is less than the channel number utilization rate, the second component of the candidate resource configuration component with an optical service unit OSU card at one end and an ODUk line card at the other end is used as the target resource configuration component corresponding to the gateway switching device.

[0131] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0132] When the target resource configuration component is the first component, both ends of the gateway switching device are configured as ODUk line cards based on the first component;

[0133] In the case where the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

[0134] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0135] The channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; wherein the data transmission channel is a signal transmission channel for ODUk and OSU.

[0136] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0137] Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device;

[0138] Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate;

[0139] According to the target resource configuration component, the gateway switching device is configured with switching resources.

[0140] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0141] Determine the relationship between capacity utilization and channel number utilization;

[0142] According to the size relationship, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components.

[0143] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0144] If the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration components with both ends of the optical channel data unit ODUk line card is used as the target resource configuration component corresponding to the gateway switching device.

[0145] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0146] If the size relationship is that the capacity utilization rate is less than the channel number utilization rate, the second component of the candidate resource configuration component with an optical service unit OSU card at one end and an ODUk line card at the other end is used as the target resource configuration component corresponding to the gateway switching device.

[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0148] When the target resource configuration component is the first component, both ends of the gateway switching device are configured as ODUk line cards based on the first component;

[0149] In the case where the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0151] The channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; wherein the data transmission channel is a signal transmission channel for ODUk and OSU.

[0152] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0153] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0155] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for configuring switching resources, characterized in that: The method comprises: Obtain the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device; Selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate; According to the target resource configuration component, the gateway switching device is configured with switching resources.

2. The method according to claim 1, characterized in that The selecting, according to the capacity utilization rate and the channel number utilization rate, a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components comprises: Determine the relationship between the capacity utilization rate and the channel number utilization rate; According to the size relationship, a target resource configuration component corresponding to the gateway switching device is selected from at least two candidate resource configuration components.

3. The method according to claim 2, characterized in that The step of selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the size relationship includes: If the size relationship is that the capacity utilization rate is greater than or equal to the channel number utilization rate, the first component of the candidate resource configuration components whose two ends are optical data unit ODUk line cards is used as the target resource configuration component corresponding to the gateway switching device.

4. The method according to claim 2, characterized in that: The step of selecting a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the size relationship includes: If the size relationship is that the capacity utilization rate is less than the channel number utilization rate, the second component of the candidate resource configuration component with an optical service unit OSU board card at one end and an ODUk line card at the other end is used as the target resource configuration component corresponding to the gateway switching device.

5. The method according to any one of claims 1 to 4, characterized in that: The candidate resource configuration component includes a first component and a second component; The configuring the gateway switching device for switching resources according to the target resource configuration component includes: In a case where the target resource configuration component is the first component, based on the first component, both ends of the gateway switching device are configured as ODUk line cards; In the case where the target resource configuration component is the second component, based on the second component, one end of the gateway switching device is configured as an OSU board card, and the other end is configured as an ODUk line card.

6. The method according to any one of claims 1 to 4, characterized in that: The capacity utilization rate is the ratio between the used OSU capacity and the total OSU capacity of the gateway switching device; The channel number utilization rate is the ratio between the number of used data transmission channels and the total number of data transmission channels included in the gateway switching device; wherein the data transmission channel is a signal transmission channel for ODUk and OSU.

7. A switching resource configuration device, characterized in that: The device comprises: An acquisition module, used to acquire the capacity utilization rate and channel number utilization rate corresponding to the gateway switching device; A selection module, configured to select a target resource configuration component corresponding to the gateway switching device from at least two candidate resource configuration components according to the capacity utilization rate and the channel number utilization rate; A configuration module is used to configure the switching resources of the gateway switching device according to the target resource configuration component.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data frame sending method and network equipment

    CN114286205A

  • Channel configuration method, optical transmission device, chip and communication system

    CN118678253A

  • Data Frame Sending Method and Network Device

    US20230254245A1