Business resource analysis method, electronic device and storage medium

By determining each business model and matching port resources before business creation, calculating path and wavelength resources, and generating business resource information, the problem of inaccurate evaluation of business resource status in the existing technology is solved, and the reliability of business creation and the convenience of user resource scheduling is achieved.

CN113014407BActive Publication Date: 2025-03-28ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911316199.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-19
Publication Date
2025-03-28
Estimated Expiration
2039-12-19

AI Technical Summary

Technical Problem

In the prior art, when establishing a business, the service resource status cannot be accurately evaluated due to fixed threshold values, resulting in the failure of the business creation to find that the resource is occupied and is not convenient for user resource scheduling.

Method used

By determining each business model, selecting matching port resources from each port resource of the network, calculating whether there are path resources and wavelength resources, and generating business resource information to facilitate users to perform resource scheduling.

Benefits of technology

It realizes accurate judgment of whether business resources are available before creating a business, avoids business creation failure, and enhances users' guidance on resource scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113014407B_ABST
    Figure CN113014407B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to the field of communications, and disclose a service resource analysis method, an electronic device, and a storage medium. In the present invention, the service resource analysis method includes: determining each service model; selecting port resources matching each service model from each port resource of the network; obtaining a first calculation result of whether there are path resources for each service model according to the port resources matching each service model and the routing constraints of each service model; if the first calculation result is that there are path resources, obtaining a second calculation result of whether there are wavelength resources on the path resources for each service model according to the optical transmission quality constraints of each service model; generating service resource information according to the first calculation result and the second calculation result; wherein the service resource information includes the path resources existing in each service model and the wavelength resources existing on the path resources. The present invention can accurately determine whether the current service resources are available before establishing the service, and avoid finding that the service resources are occupied only after the service creation fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular to a service resource analysis method, an electronic device, and a storage medium. Background Art

[0002] With the rapid development of communication service technology, the network scale is constantly expanding, and network services are also becoming more abundant. At present, before establishing a service, the method usually adopted is: manually set a fixed threshold value for the utilization rate of service resources. If the service resource utilization rate between the ports to be established is calculated to be lower than the fixed threshold value, it is determined that the current service resources are sufficient, and then the network management system starts to establish the service, and calculates the available service resources between the pair of ports during the process of establishing the service.

[0003] The inventors have discovered that there are at least the following problems in the prior art: Since the status of business resources changes in real time, the method of setting a fixed threshold value has limitations and cannot accurately evaluate the status of business resources, which may cause the problem of business resources being occupied only after the business creation fails. Moreover, it cannot provide effective guidance to users, making it inconvenient for users to schedule resources through the network management system. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a business resource analysis method, an electronic device and a storage medium, which can provide the business resource status in the network and provide effective guidance when creating a business so that users can schedule resources; thereby avoiding the problem in the prior art that business resources are occupied only after the business creation fails.

[0005] To solve the above technical problems, an embodiment of the present invention provides a business resource analysis method, including: determining each business model, selecting port resources matching each business model from each port resource of the network, and obtaining a first calculation result of whether there are path resources for each business model based on the port resources matching each business model and the routing constraints of each business model; if the first calculation result is that there are path resources, then obtaining a second calculation result of whether there are wavelength resources on the path resources for each business model based on the optical transmission quality constraints of each business model; and generating business resource information based on the first calculation result and the second calculation result, wherein the business resource information includes the path resources existing for each business model and the wavelength resources existing on the path resources.

[0006] An embodiment of the present invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned business resource analysis method.

[0007] An embodiment of the present invention further provides a computer-readable storage medium, comprising: a computer program that implements the above-mentioned business resource analysis method when executed by a processor.

[0008] Compared with the prior art, in the embodiments of the present invention, the network management system selects port resources that match each business model from the port resources of the business, obtains a first calculation result and a second calculation result through calculation, and generates business resource information based on the first calculation result and the second calculation result. That is to say, the network management system analyzes the current business resource status and generates business resource information before establishing the business, so as to accurately determine whether the current business resources are available, and avoid finding that the business resources are occupied after the business creation fails.

[0009] In addition, the business resource analysis method also includes: determining the priority order of each business model according to the attribute information of each business model, and obtaining the first calculation result of whether each business model has path resources according to the port resources matched by each business model and the routing constraints of each business model, including: according to the priority order of each business model, according to the port resources matched by each business model and the routing constraints of each business model, obtaining the first calculation result of whether each business model has path resources. That is, the network management system obtains the first calculation result of whether each business model has path resources according to the priority order of the business model, and the business model with a high priority is calculated first. This embodiment can obtain the path resources of the business model most needed by the user earlier.

[0010] In addition, the priority order is determined according to the attribute information of the service model, and the attribute information includes one or any combination of the following information: service mode, service level, service operation status. This embodiment provides several attribute information that can be used to determine the priority order of the service model.

[0011] In addition, the optical transmission quality constraint condition includes a maximum allowable value of an optical signal-to-noise ratio. According to the optical transmission quality constraint condition of the business model, a second calculation result of whether there is a wavelength resource on the path resource for the business model is obtained, including: estimating the optical signal-to-noise ratio of optical signals of multiple optional wavelengths transmitted on the path resource, and determining whether there is a wavelength resource on the path resource for the business model according to the relationship between the optical signal-to-noise ratio and the maximum allowable value of the optical signal-to-noise ratio, wherein when there is an optical signal with an optical signal-to-noise ratio less than the maximum allowable value of the optical signal-to-noise ratio, the wavelength of the existing optical signal is used as the wavelength resource on the path resource for the business model. This embodiment provides a method for determining the wavelength resource of a business model on a path resource.

[0012] In addition, after the business resource information is generated according to the first calculation result and the second calculation result, it includes: when a business resource change message is received, the first calculation result of whether there is a path resource for each business model is obtained again according to the port resources matched by each business model and the routing constraints of each business model. This embodiment can re-execute the calculation action according to the resource change situation to dynamically update the business resource information, so that the business resource information can be updated in real time to accurately reflect the current business resource status in the network.

[0013] In addition, the service resource change message includes at least one of the following messages: a message for creating service occupying resources, a message for deleting service releasing resources, and a message for modifying service changing resources. This implementation provides several types of service resource change messages.

[0014] In addition, selecting port resources matching each business model from each port resource of the network includes: grouping each port resource of the network, determining each port resource pair, wherein the port resource pair includes two port resources as a departure port and a destination port respectively, and selecting port resources matching each business model from each port resource pair according to the business type of each business model. This embodiment provides a method for selecting matching port resources for a business model.

[0015] In addition, after generating the service resource information according to the first calculation result and the second calculation result, the method further includes: visually displaying the service resource information. The user can allocate service resources to the port according to the visualized service resource information. This embodiment enhances the operability of the network management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0017] Figure 1 is a flow chart of the business resource analysis method in the first embodiment of the present invention;

[0018] Figure 2 is a flow chart of a business resource analysis method in a second embodiment of the present invention;

[0019] Figure 3 is a flow chart of a business resource analysis method in a third embodiment of the present invention;

[0020] Figure 4 It is a schematic diagram of the structure of an electronic device in the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0021] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0022] The first embodiment of the present invention relates to a service resource analysis method. The network management system determines each service model, selects the port resources that match each service model from each port resource of the service, and calculates whether there are available resources for each service model, including, for each service model, if the service model has path resources calculated based on the port resources that match the service model and the routing constraints of the service model, then, based on the optical transmission quality constraints of the service model, calculates whether the service model has wavelength resources on the path resources, and generates service resource information, the service resource information including the path resources that exist for each service model and the wavelength resources that exist on the path resources. The implementation details of the service resource analysis method of this embodiment are described in detail below. The following content is only the implementation details provided for the convenience of understanding, and is not necessary for the implementation of this solution.

[0023] In this embodiment, there are multiple network elements, each of which is equipped with a single board, each of which has a port, and each of which has multiple wavelength resources or time slot resources for establishing services.

[0024] The specific process of the business resource analysis method in this embodiment is as follows Figure 1 As shown, including:

[0025] Step 101, determine each business model.

[0026] In one example, the network management system can customize multiple service templates by combining different attribute information and / or changing the relevant parameters of the attribute information. The generated multiple service templates can be saved in a database or cache for direct retrieval when used again without regeneration. Furthermore, the network management system can sort the historically generated service templates according to the frequency of use, so that the user can more conveniently find the most frequently used service template when selecting a service template. Among them, the attribute information may include one of the following or any combination thereof: service layer rate, direction of service establishment, customer, activation status, bandwidth, service type, service level, service mode, routing strategy, optical damage verification parameters, routing constraints, etc., which are not limited here.

[0027] Step 102: Select port resources matching each service model from the port resources of the network.

[0028] In one example, the network management system groups the port resources of the network and determines each port resource pair, wherein the port resource pair includes two port resources serving as a departure port and a destination port respectively. Then, the network management system selects a port resource matching each business model from each port resource pair according to the business type of each business model. Specifically, the network management system can divide the ports in the network into input ports, output ports and bidirectional ports, wherein the input port can be used as a destination port, the output port can be used as a departure port, and the bidirectional port can be used as a destination port or a departure port; the network management system combines the ports that can be used as departure ports and the ports that can be used as destination ports into a port resource pair. For a port resource pair consisting of two bidirectional ports, when one of the bidirectional ports is used as a departure port and a destination port respectively, they can form two port resource pairs. For example, bidirectional ports A and B, the two port resource pairs are: A as the destination port and B as the departure port, B as the destination port and A as the departure port; of course, the resource pair can also include relevant information of the port, such as: wavelength resources, time slot resources, etc., which are not limited here; further, the service types of the service model may include: optical channel (Optical Channel, referred to as OCH) type, optical channel data unit (Optical Channel Data Unit, referred to as ODU) type, synchronous digital hierarchy (Synchronous Digital Hierarchy, referred to as SDH) type, optical conversion unit (Optical Transform Unit, referred to as OTU) type, etc. Correspondingly, the port type may include OCH type, ODU type, SDH type, OUT type, etc. Taking the service type of OCH type as an example, the network management system can select the OCH type departure port and OCH type destination port that match the service model of the OCH type from each port resource pair. In this embodiment, one service model is matched with one port resource pair, that is, one service model is matched with one departure port and one destination port. In actual applications, one service model can be matched with multiple port resource pairs, and correspondingly, one port resource pair may also be matched with multiple service models. It should be noted that, considering that the network resources are very large in actual applications, the network management system can select a part of all ports to pair to form port resource pairs, thereby reducing the amount of calculation.

[0029] Step 103: Obtain a first calculation result of whether path resources exist for each business model according to the port resources matched by each business model and the routing constraints of each business model.

[0030] In one example, the network management system calculates whether each business model has available resources. Specifically, the network management system can determine the priority order of each business model according to the attribute information of each business model, wherein the attribute information may include business mode, business level, business operation status, etc. Taking the business level as an example, the network management system determines the priority order of the business model according to the business level; taking the business model as an example, the network management system can determine the priority order of the business model according to the historical usage frequency of the business model, and the higher the usage frequency, the earlier the calculation; taking the business operation status as an example, the higher the priority of the business model with a better business operation status; then, the network management system can obtain a first calculation result of whether each business model has a path resource according to the priority order of each business model, according to the port resources of each business model and the routing constraints of the business model, and taking one of the business models as an example, the first calculation result may include the existence of the path resource of the business model, that is, the first calculation result includes the path resource corresponding to the business model, such as: the path resource a corresponding to the business model A, and the path resource a is, for example: port 1, port 2, port 3, port 4, wherein port 1 and port 4 are respectively the departure port and the destination port in a port resource pair matched by the business model A. It should be noted that when the network management system calculates the first calculation result of whether there are path resources in the business model, it can adopt pre-set rules, such as: shortest path priority rule, random calculation rule, maximum flow priority rule, etc. Taking the shortest path priority rule as an example, the network management system can calculate the path resources that exist in the business model according to the shortest path priority principle. The path resources may include: shortest path resources, second shortest path resources, calculation work protection path resources, etc. Among them, the second shortest path resources and calculation work protection path resources can be used as backup path resources, so that the network management system can complete the establishment of the business when the shortest path resources are occupied by other businesses. In this embodiment, business model A corresponds to path resource a, that is, one business model corresponds to one path resource. In actual applications, one business model can have multiple path resources, which is not limited here.

[0031] In one example, the network management system can group the business models according to the attribute information of each business model. For example, the network management system divides the business models into a high-level group, a medium-level group, and a low-level group according to the business level. The business models divided into the high-level group can be calculated first, and the network management system calculates in the order of priority of the high-level group, the medium-level group, and the low-level group. Furthermore, the priority order of different business models in the same group can be in no particular order.

[0032] In one example, the priority order of different business models in the same group can be further determined based on another attribute information. Taking the business model as an example, the network management system can determine the priority order of each business model in the advanced group based on the historical usage frequency of the business model. The higher the historical usage frequency, the higher the priority order of the business model. Then, the business model with the highest historical usage frequency in the advanced group can be calculated first. In other words, the network management system can also determine the priority order of the business model based on multi-layer attribute information.

[0033] It should be noted that in the above example, the network management system obtains the first calculation result of whether there are path resources for each business model according to the priority order of each business model, the port resources of each business model and the routing constraints of the business model. In actual applications, the network management system may not follow the priority order.

[0034] In one example, the first calculation result may also include that the business model does not have path resources. At this time, the network management system can analyze the reasons why the business model A does not have path resources, such as: the routing constraints are not met, there are no idle path resources, etc., which are not limited here. The network management system can mark the reasons with the business identification code and record them. The type of the identification code can be a universal unique identification code, which is not repeated here. Preferably, the first calculation result can also be specific to the correspondence between the business model and the inapplicable path resources, such as: path resource a is not applicable to business model A.

[0035] Step 104: If the first calculation result is that path resources exist, a second calculation result of whether wavelength resources exist on the path resources for each service model is obtained according to the optical transmission quality constraint condition of each service model.

[0036] In one example, if it is calculated that a path resource exists for a business model, then the network management system may obtain a second calculation result of whether a wavelength resource exists on the path resource for the business model based on the optical transmission quality constraint of the business model. The second calculation result may include the existence of a wavelength resource on the path resource for the business model. Specifically, assuming that the network management system calculates that a path resource a exists for business model A, then the optical signal-to-noise ratio of optical signals of multiple optional wavelengths transmitted on path resource a may be estimated, and based on the relationship between the optical signal-to-noise ratio and the maximum allowable value of the optical signal-to-noise ratio included in the optical transmission quality constraint, it may be determined whether a wavelength resource exists on path resource a for business model A. When there is an optical signal with an optical signal-to-noise ratio less than the maximum allowable value of the optical signal-to-noise ratio, the network management system may use the wavelength of the existing optical signal as the wavelength resource of business model A on path resource a. For example, assuming that there is an optical signal 1 with a wavelength of I, an optical signal 2 with a wavelength of II, and an optical signal 3 with a wavelength of Ⅲ optical signal 3, the optical signal-to-noise ratios of these optical signals transmitted on path resource a are 30dB, 40dB, and 45dB respectively, and the maximum allowable value of the optical signal-to-noise ratio is 35dB. Since the optical signal-to-noise ratio of 30dB corresponding to optical signal 1 is less than the maximum allowable value of the optical signal-to-noise ratio of 35dB, the network management system can use the wavelength Ⅰ of optical signal 1 as the wavelength resource Ⅰ' of business model A on path resource a. Similarly, the wavelength Ⅱ of optical signal 2 and the wavelength Ⅲ of optical signal 3 cannot be used as the wavelength resource of the business model A on path resource a. At this time, the second calculation result is that business model A has wavelength resource Ⅰ' on path resource a. It should be noted that in this embodiment, path resource a corresponds to wavelength resource Ⅰ', that is, one path resource corresponds to one wavelength resource. In actual applications, one path resource can correspond to multiple wavelength resources, which is not limited here.

[0037] In one example, the second calculation result may also include that the business model does not have wavelength resources on the path resource. At this time, the network management system may analyze the reasons why the business model A does not have wavelength resources on the path resource a, such as: not meeting the optical transmission quality constraint condition, no idle wavelength resources, etc., which are not limited here. Preferably, the second calculation result may also be specific to the correspondence between the wavelength resource and the inapplicable path resource, such as: wavelength resource I' is not applicable to the path resource a.

[0038] Step 105: Generate business resource information according to the first calculation result and the second calculation result.

[0039] In one example, the service resource information includes the path resources existing in each service model and the wavelength resources existing on the path resources. For example, for service model A, the first calculation result shows that path resources a, b, and c exist; for path resource a of service model A, the second calculation result shows that wavelength resource I' exists; for path resource b of service model A, the second calculation result shows that wavelength resource II' exists; for path resource c of service model A, the second calculation result shows that wavelength resource III' exists. Then, the service resource information generated by the network management system includes the resource information corresponding to each service model, that is, service model A has wavelength resource I' on path resource a, service model A has wavelength resource II' on path resource b, and service model A has wavelength resource III' on path resource c. The resource information corresponding to each service model can exist in the form of records, and each record can be understood as the corresponding relationship between service model, path resource, and wavelength resource.

[0040] In an example, assuming that the first calculation result is that path resources exist for business model A, and the path resources include path resources a and b, and for path resource a of business model A, the second calculation result is that wavelength resources do not exist, and for path resource b of business model A, the second calculation result is also that wavelength resources do not exist. Then, the business resource information generated by the network management system may include: business model A does not have wavelength resources on path resource a, and business model A does not have wavelength resources on path resource b. At this time, taking the example that business model A does not have wavelength resources on path resource a, the network management system can analyze the specific reasons. The specific reasons have been explained by example in the above content and will not be repeated here.

[0041] In one example, the network management system can save historical calculation results, or it can use other devices to store them, for example: send the calculation results to the Software Defined Network (SDN) controller, and let the SDN controller save them. At this time, the network management system does not need to save historical calculation results, and can extract them from the SDN controller when needed. This embodiment can reduce the storage pressure of the network management system and enhance the computing power of the network management system. Among them, the way to send the calculation results can be: the network management system uses the hk2 lightweight dynamic architecture technology to realize the message conversion between the microservice processing Yaml interface and the Yang interface, that is, the calculation results are converted into Yang interface messages, and the calculation results are sent to the SDN controller through the Yaml interface of the network management system.

[0042] In this embodiment, the network management system determines each business model and selects port resources that match each business model from various port resources of the network. By calculating whether there are path resources for each business model and further calculating whether there are wavelength resources on the path resources for each business model, business resource information is obtained before establishing the business, and whether the current business resources are available is accurately determined, which can avoid discovering that business resources are occupied after the business creation fails.

[0043] The second embodiment of the present invention relates to a service resource analysis method. The second embodiment is substantially the same as the first embodiment, with the main difference being that in the second embodiment of the present invention, after the network management system generates service resource information according to the first calculation result and the second calculation result, when receiving a service resource change message, the network management system re-obtains the first calculation result of whether there are path resources for each service model according to the port resources matched by each service model and the routing constraints of each service model. The implementation details of the service resource analysis method of this embodiment are described in detail below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.

[0044] The specific process of the business resource analysis method in this embodiment is as follows Figure 2 As shown, including:

[0045] Step 201, determine each business model.

[0046] Step 202: Select port resources matching each service model from the port resources of the network.

[0047] Step 203: Obtain a first calculation result of whether there is a path resource for each business model according to the port resources matched by each business model and the routing constraint conditions of each business model.

[0048] Step 204: If the first calculation result is that path resources exist, a second calculation result of whether wavelength resources exist on the path resources for each service model is obtained according to the optical transmission quality constraint condition of each service model.

[0049] Step 205: Generate business resource information according to the first calculation result and the second calculation result.

[0050] The above steps 201, 202, 203, 204, and 205 are similar to steps 101, 102, 103, 104, and 105, respectively, and will not be repeated here.

[0051] Step 206, determine whether a service resource change message is received. If a service resource change message is received, execute step 203; otherwise, the process ends.

[0052] The service resource change message includes at least one of the following messages: a message for creating a service occupying resources, a message for deleting a service releasing resources, and a message for modifying a service changing resources.

[0053] In one example, when receiving a service resource change message, the network management system recalculates whether each service model has a path resource based on the port resources matched by each service model and the routing constraints of each service model. Assuming that the SDN controller receives a message to create service occupied resources, it can send the message to the network management system, so the network management system starts to execute steps 203 to 206.

[0054] It should be noted that when the network management system receives the service resource change message and executes step 205 again, it can update the originally generated service resource information according to the first calculation result and the second calculation result, that is, retain the unchanged service resource information. This embodiment can reduce the amount of data changes and reduce the workload of the network management system.

[0055] In this embodiment, the network management system can re-execute the calculation action according to the resource change situation to dynamically update the service resource information. This embodiment enables the service resource information to more accurately reflect the current service resource status.

[0056] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0057] The third embodiment of the present invention relates to a service resource analysis method. The third embodiment is substantially the same as the first embodiment, and the main difference is that in the third embodiment of the present invention, after the network management system generates service resource information according to the first calculation result and the second calculation result, the service resource information can be visually displayed. The implementation details of the service resource analysis method of this embodiment are specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for implementing this solution.

[0058] The specific process of the business resource analysis method in this embodiment is as follows Figure 3 As shown, including:

[0059] Step 301, determine each business model.

[0060] Step 302: Select port resources matching each service model from the port resources of the network.

[0061] Step 303: Obtain a first calculation result of whether there are path resources for each business model according to the port resources matched by each business model and the routing constraints of each business model.

[0062] Step 304: If the first calculation result is that path resources exist, a second calculation result of whether wavelength resources exist on the path resources for each service model is obtained according to the optical transmission quality constraint condition of each service model.

[0063] Step 305: Generate business resource information according to the first calculation result and the second calculation result.

[0064] The above steps 301, 302, 303, 304, and 305 are similar to steps 101, 102, 103, 104, and 105, respectively, and will not be repeated here.

[0065] Step 306: Visually display the business resource information.

[0066] In one example, the network management system displays the business resource information in the form of a report. The specific display method can be: the network management system marks the business resources available and unavailable in the business model with different colors in the report, for example: the available business resources are marked in green, indicating that the business resources are in a normal state; the unavailable business resources are marked in red, indicating that the business resources are in a warning state. In addition, the business resource information can also be stored in a database so that users can query the relevant business resource information from the database when performing resource scheduling.

[0067] In this embodiment, the network management system visualizes the service resource information, and the user can allocate service resources to the port according to the visualized service resource information. This embodiment enhances the operability of the network management system.

[0068] The fourth embodiment of the present invention relates to an electronic device, which may be a network management system, including at least one processor 401 and a memory 402 in communication with the at least one processor 401. The memory 402 stores instructions that can be executed by the at least one processor 401, and the instructions are executed by the at least one processor 401, so that the at least one processor 401 can execute the above-mentioned service resource analysis method.

[0069] Among them, the memory 402 and the processor 401 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 401 and the memory 402 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 401 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 401.

[0070] The processor 401 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 402 can be used to store data used by the processor 401 when performing operations.

[0071] A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0072] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0073] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A business resource analysis method, characterized in that: include: Determine each business model; Selecting port resources matching each of the service models from the port resources of the network; According to the port resources matched by each business model and the routing constraints of each business model, a first calculation result of whether each business model has a path resource is obtained, wherein the method further includes: Determining the priority order of each business model according to the attribute information of each business model; The obtaining, according to the port resources matched by each business model and the routing constraints of each business model, a first calculation result of whether each business model has a path resource comprises: Obtaining a first calculation result of whether path resources exist for each business model according to the priority order of each business model and the port resources matched by each business model and the routing constraints of each business model; If the first calculation result is that path resources exist, obtaining a second calculation result of whether wavelength resources exist on the path resources for each business model according to the optical transmission quality constraint condition of each business model, wherein the optical transmission quality constraint condition includes a maximum allowable value of an optical signal-to-noise ratio; The obtaining, according to the optical transmission quality constraint condition of the business model, a second calculation result of whether the business model has a wavelength resource on the path resource comprises: estimating optical signal-to-noise ratios of optical signals of selectable multiple wavelengths transmitted on the path resources; Determining whether the service model has wavelength resources on the path resource according to a magnitude relationship between the optical signal-to-noise ratio and the maximum allowable value of the optical signal-to-noise ratio; Wherein, when there is an optical signal whose optical signal-to-noise ratio is less than the maximum allowable value of the optical signal-to-noise ratio, the wavelength of the existing optical signal is used as the wavelength resource of the service model on the path resource; Generate service resource information according to the first calculation result and the second calculation result; wherein the service resource information includes the path resources existing in each service model and the wavelength resources existing on the path resources.

2. The business resource analysis method according to claim 1, characterized in that: The attribute information includes one or any combination of the following information: service mode, service level, and service operation status.

3. The business resource analysis method according to claim 1, characterized in that: After the business resource information is generated according to the first calculation result and the second calculation result, the method includes: When a service resource change message is received, a first calculation result of whether path resources exist for each service model is obtained again based on the port resources matched by each service model and the routing constraints of each service model.

4. The business resource analysis method according to claim 3, characterized in that: The service resource change message includes at least one of the following messages: a message for creating service occupying resources, a message for deleting service releasing resources, and a message for modifying service changing resources.

5. The business resource analysis method according to claim 1, characterized in that: The selecting the port resources matching the service models from the port resources of the network includes: Grouping each port resource of the network to determine each port resource pair; wherein the port resource pair includes two port resources serving as a departure port and a destination port respectively; According to the service type of each service model, a port resource matching each service model is selected from each port resource pair.

6. The business resource analysis method according to claim 1, characterized in that: After the business resource information is generated according to the first calculation result and the second calculation result, the method further includes: The business resource information is displayed visually.

7. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the business resource analysis method according to any one of claims 1 to 6.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the business resource analysis method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Network technology for accelerating optical outburst exchange resource subscription using wireless optical communication

    CN1852617A

  • Electrical system diagnoses case

    CN206193529U