Route evaluation method and device, storage medium and electronic equipment
By constructing an optical cable network routing model and calculating routing satisfaction, the problem of not considering fiber core availability and lack of unified standards in the existing technology is solved, and an accurate and widely applicable evaluation of optical cable routing is achieved.
Patent Information
- Application Number
- CN202410503576.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-10-18
AI Technical Summary
The existing technology does not consider fiber core availability when evaluating optical cable routing, and lacks unified evaluation standards, resulting in the evaluation method not having good promotion and use capabilities.
By constructing an optical cable network routing model, the connectable routes from the starting node to the ending node are obtained, and the routing satisfaction is calculated based on the number of available fiber cores, the number of optical cables, and the number of optical cable connectors to achieve a comprehensive evaluation of optical cable routing.
This method can more accurately consider multiple factors of the transmission network, provide unified standards for routing evaluation, and improve the objectivity and applicability of the evaluation.
Smart Images

Figure CN118803481A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a route evaluation method, a route evaluation device, an electronic device, and a computer-readable storage medium. Background Art
[0002] In the field of communications, the quality of the optical cable routing of the transmission network directly affects the network quality. The maintenance personnel and designers of the transmission network must consider the optical cable routing factor when opening services, repairing faults, and optimizing the network. However, the fiber core availability is an important factor affecting the transmission network. When evaluating the optical cable routing, the existing technology does not consider the number of available fiber cores. In addition, the evaluation method of the existing technology does not have a unified standard and does not have good promotion and use capabilities. Summary of the invention
[0003] The purpose of the present disclosure is to provide a route evaluation method, a route evaluation device, an electronic device and a computer-readable storage medium, thereby solving the problem that the number of available fiber cores is not considered when evaluating the optical cable route in the related art to a certain extent. In addition, the evaluation method of the prior art has no unified standard and does not have good promotion and use capabilities.
[0004] According to a first aspect of the present disclosure, a routing evaluation method is provided, comprising: constructing a corresponding optical cable network routing model according to the network structure of the transmission optical cable network; obtaining a connected route from a starting node to an ending node in the optical cable network routing model; and determining the routing satisfaction corresponding to each of the connected routes according to the number of available fiber cores of the optical cables, the number of optical cables, and the number of optical cable connectors on each of the connected routes.
[0005] In an exemplary embodiment of the present disclosure, the method further includes: selecting a target route from the connectable routes according to the route satisfaction, and implementing data transmission from the start node to the end node based on the target route.
[0006] In an exemplary embodiment of the present disclosure, the construction of a corresponding optical cable network routing model based on the network structure of the transmission optical cable network includes: taking optical nodes in the transmission optical cable network as endpoints and optical cables as corresponding connections between the optical nodes to obtain the optical cable network routing model, wherein the length of the connection is determined according to the length of the optical cable.
[0007] In an exemplary embodiment of the present disclosure, determining the route satisfaction corresponding to each of the connectible routes based on the available number of fiber cores of the optical cables, the number of optical cables and the number of optical cable connectors on each of the connectible routes includes: obtaining the available number of fiber cores of a single optical cable, and calculating the available number of single route cores of each of the connectible routes based on the available number of fiber cores of the single optical cable; calculating the single route power loss value of the connectible route based on the length of the optical cable, the number of the optical nodes and the number of optical cable connectors; and calculating the route satisfaction of the corresponding connectible route based on the single route power loss value and the available number of fiber cores of the single route.
[0008] In an exemplary embodiment of the present disclosure, the calculation of the available number of single-route fiber cores of each of the connectible routes based on the available number of fiber cores of the single optical cable includes: obtaining the minimum value of the available number of fiber cores of the single optical cable as the available number of single-route fiber cores of the connectible route.
[0009] In an exemplary embodiment of the present disclosure, the calculation of the power loss value of a single route of the connectible route based on the length of the optical cable, the number of the optical nodes and the number of optical cable joints includes: determining the total route length of the connectible route; obtaining the average optical cable loss value per kilometer, the loss value of a single optical node, and the loss value of a single joint box; calculating a first product of the total route length and the average optical cable loss value per kilometer, a second product of the number of optical nodes and the loss value of a single optical node, and a third product of the number of optical cable joints and the loss value of a single joint box; and calculating the sum of the first product, the second product and the third product to obtain the power loss value of a single route of the connectible route.
[0010] In an exemplary embodiment of the present disclosure, the calculation of the route satisfaction of the corresponding connected route based on the power loss value of the single route and the available number of fiber cores of the single route includes: calculating the ratio of the available number of fiber cores of the single route and the power loss value of the single route, and determining the route satisfaction of the connected route based on the ratio.
[0011] According to a second aspect of the present disclosure, there is provided a route evaluation device, comprising: a model building module, for constructing a corresponding optical cable network routing model according to the network structure of the transmission optical cable network; a route acquisition module, for acquiring a connectable route from a start node to an end node in the optical cable network routing model; and a route evaluation module, for determining the route satisfaction corresponding to each of the connectable routes according to the number of available fiber cores of the optical cable, the number of optical cables and the number of optical cable connectors on each of the connectable routes.
[0012] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods by executing the executable instructions.
[0013] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the methods described above is implemented.
[0014] The exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:
[0015] In the route evaluation method provided in the example implementation of the present disclosure, a corresponding optical cable network routing model is constructed according to the network structure of the transmission optical cable network; in the optical cable network routing model, a connectable route from the start node to the end node is obtained; and the route satisfaction corresponding to each connectable route is determined according to the number of available fiber cores of the optical cable, the number of optical cables, and the number of optical cable connectors on each connectable route. The present disclosure establishes an optical cable network routing model, calculates the satisfaction of each connectable route between any two nodes in the optical cable network routing model, and comprehensively considers multiple factors that affect the transmission network, so that the route evaluation can be performed more accurately. In addition, the present solution objectively quantifies the route satisfaction based on a unified standard, and has a relatively wide range of applicability.
[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0018] Figure 1 A schematic diagram of a process flow of a routing evaluation method according to an embodiment of the present disclosure is shown;
[0019] Figure 2 A schematic diagram schematically shows an optical cable network routing model of a routing evaluation method according to a specific embodiment of the present disclosure;
[0020] Figure 3 A block diagram of a routing evaluation device according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 4A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0022] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0023] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0024] In the field of communications, the quality of the optical cable routing of the transmission network directly affects the network quality. The maintenance personnel and designers of the transmission network must consider the optical cable routing factor when opening services, repairing faults and optimizing the network.
[0025] The existing technology can evaluate the routing of the transmission network through the following two methods:
[0026] Solution 1: Use three factors, including route length, number of routes, and route length, to evaluate the optical cable route. Each factor can reflect a feature of the route, such as the route evaluation parameter of route length sorting can reflect the security performance of the route; or multiple route evaluation parameters can jointly reflect a feature of the route to form an evaluation angle, such as the two route evaluation parameters of route hop count sorting and route length sorting can reflect the delay performance of the route, and can be used as a common evaluation angle.
[0027] However, this solution has the following problems: there is no such thing as a single route, and the factors considered are not comprehensive enough, such as the availability of the fiber core, which is a very important factor in the transmission network. At the same time, this solution adopts a weighted approach, which does not provide specific quantitative data for users. The weighted parameter value plays a key role in route evaluation, so it does not have good promotion and use capabilities.
[0028] Solution 2: The routing evaluation of the transmission network is obtained by weighting four factors: routing length cost, node number cost, security risk cost, and load balancing cost. A scoring matrix is used as a mutual evaluation of the importance of the four factors.
[0029] However, this solution has the following problems: the evaluation method for a single route does not establish a quantifiable fixed formula, the weighted parameter values are variable, and the reference value is not high when comprehensively evaluating the satisfaction of a single route; at the same time, this solution does not take into account the number of available fiber cores. Fiber core availability is a very important influencing factor in the transmission network. This solution also provides a specific method for calculating the optical power loss value.
[0030] In order to solve the above problems, the embodiments of the present disclosure provide a route evaluation method, a route evaluation device, an electronic device, and a computer-readable storage medium.
[0031] The following is a detailed description of the embodiments of the present disclosure:
[0032] This example implementation first provides a routing evaluation method. Figure 1 As shown, the route evaluation method specifically includes the following steps:
[0033] Step S110: constructing a corresponding optical cable network routing model according to the network structure of the transmission optical cable network;
[0034] Step S120: in the optical cable network routing model, obtaining a connectable route from the start node to the end node;
[0035] Step S130: determining the route satisfaction corresponding to each connectable route according to the number of available fiber cores of the optical cables, the number of optical cables and the number of optical cable connectors on each connectable route.
[0036] The routing evaluation method provided by the embodiment of the present disclosure establishes an optical cable network routing model, calculates the satisfaction of each connectable route between any two nodes in the optical cable network routing model, and comprehensively considers multiple factors affecting the transmission network, so that routing evaluation can be performed more accurately. In addition, this solution objectively quantifies routing satisfaction based on a unified standard and has a wide range of applicability.
[0037] Next, in another embodiment, the above steps are described in more detail.
[0038] In step S110, a corresponding optical cable network routing model is constructed according to the network structure of the transmission optical cable network.
[0039] In the embodiments of the present disclosure, the transmission optical cable network is a communication network mode that uses optical fibers to transmit light wave signals. Exemplarily, the transmission optical cable network can be composed of sites, trunks, nodes, topologies and routers. Among them, the above-mentioned sites are the source and destination of transmitting and receiving information in the optical network, and can be computers or any other telecommunications equipment. The above-mentioned trunk is a transmission line, that is, an optical fiber cable, used to transmit optical signals. A network consists of one or more trunks for long-distance signal transmission. The above-mentioned node is a hub of multiple transmission lines in the network. In the case of a single transmission line, the optical network does not need a node because in this case, the sites at both ends can be directly connected to the optical cable. The above-mentioned topology refers to the topology of the network represented by connecting the optical cables through nodes when multiple optical cables are used in the optical network, and connecting multiple nodes together. The above-mentioned router is basically placed in the optical network to provide a suitable path for signal transmission. The embodiment of the present disclosure evaluates the routing.
[0040] In the embodiment of the present disclosure, the process of constructing the corresponding optical cable network routing model according to the network structure of the transmission optical cable network can be implemented as follows: taking the optical nodes in the transmission optical cable network as endpoints and the optical cables as the connection lines between the corresponding optical nodes, the optical cable network routing model is obtained, wherein the length of the connection line is determined according to the length of the optical cable. The optical nodes are the above-mentioned sites, including but not limited to the optical nodes of the optical cable network, including but not limited to the machine room, optical cross-connection box, terminal box, etc.
[0041] Specifically, the embodiments of the present disclosure can digitally model the above-mentioned transmission optical cable network through the following process: converting the optical nodes of the transmission optical cable network into the endpoints of the model, converting the optical cables into the lines of the model, converting the length of the optical cables into the length of the line, the length is represented by the symbol l, the fiber core availability of the optical cable is represented by the symbol υ, the number of optical cable cores is represented by the symbol N, the number of optical cables is represented by the symbol n, and the number of optical cable joints is represented by the symbol m.
[0042] The process of constructing the optical cable network routing model is described in detail below in a specific embodiment:
[0043] In this specific embodiment, a simple five-machine room site network is taken as the target. This transmission network includes four machine room nodes A, B, C, and D, and five optical cables from optical cable 1 to optical cable 5. The parameter values of each optical cable are shown in the following table:
[0044] Table 1:
[0045]
[0046] According to Table 1, the four computer room nodes A, B, C, and D are used as the endpoints of the optical cable network routing model, and the optical cable 1 to the optical cable 5 are used as the connection lines of the optical cable network routing model. Figure 2 The weighted graph shown is the above-mentioned optical cable network routing model. It should be noted that the above-mentioned scenario is only an exemplary description, and the protection scope of the embodiment of the present disclosure is not limited thereto.
[0047] In step S120, a connectable route from a start node to an end node is obtained in the optical cable network routing model.
[0048] In the embodiment of the present disclosure, the above-mentioned starting node and the ending node can be any node in the above-mentioned optical cable network routing model, and the above-mentioned connected route refers to a path that can connect the above-mentioned starting node and the ending node.
[0049] Taking the above specific embodiment as an example, Figure 2 As shown, assuming that node A is the above starting node and node D is the above ending node, there are three connectable routes between A and D, namely: route ①—A→B→D, route ②—A→C→D, and route ③—A→D. It should be noted that the above scenario is only an exemplary description, and the protection scope of the embodiments of the present disclosure is not limited to this.
[0050] In step S130, the route satisfaction corresponding to each connectable route is determined according to the number of available fiber cores of the optical cable, the number of optical cables and the number of optical cable connectors on each connectable route.
[0051] In the embodiment of the present disclosure, after obtaining a connectable route between any two nodes, the route satisfaction of each connectable route from the start node to the end node can be calculated, so that the best route from the start node to the end node can be selected based on the route satisfaction.
[0052] In the disclosed embodiment, the available number of fiber cores of the above optical cable is the number of available fiber cores whose fiber cores are not interrupted and whose loss meets the standard, which can be obtained through on-site fiber core testing. The above process of determining the route satisfaction corresponding to each connectable route based on the available number of fiber cores of the optical cables on each connectable route, the number of optical cables and the number of optical cable connectors can be implemented as follows: obtain the available number of fiber cores of a single optical cable, and calculate the available number of single route fiber cores of each connectable route based on the available number of fiber cores of a single optical cable; calculate the single route power loss value of the connectable route based on the length of the optical cable, the number of optical nodes and the number of optical cable connectors; calculate the route satisfaction of the corresponding connectable route based on the single route power loss value and the available number of single route fiber cores.
[0053] The process of calculating the available number of single-route cores of each connectable route based on the available number of cores of a single optical cable can be implemented as follows: obtaining the minimum value of the available number of cores of a single optical cable as the available number of single-route cores of the connectable route.
[0054] The above process of calculating the power loss value of a single route of a connectable route based on the length of the optical cable, the number of optical nodes and the number of optical cable joints can be implemented as follows: determine the total route length of the connectable route; obtain the average optical cable loss value per kilometer, the loss value of a single optical node, and the loss value of a single joint box; calculate the first product of the total route length and the average optical cable loss value per kilometer, the second product of the number of optical nodes and the loss value of a single optical node, and the third product of the number of optical cable joints and the loss value of a single joint box; calculate the sum of the first product, the second product and the third product to obtain the power loss value of a single route of the connectable route.
[0055] The above process of calculating the route satisfaction of the corresponding connected route based on the power loss value of a single route and the available number of fiber cores of a single route can be implemented as follows: calculate the ratio of the available number of fiber cores of a single route and the power loss value of a single route, and determine the route satisfaction of the connected route based on the ratio.
[0056] Exemplarily, the above process can be implemented as follows:
[0057] Step S1: Obtain the number of available fiber cores of a single optical cable: The number of available fiber cores of an optical cable is obtained through on-site fiber core testing. A fiber core that is not interrupted and has a loss that meets the standard is an available fiber core, and the available number is represented by N.
[0058] Step S2: Calculate the power loss value of a single route: an optical cable route consists of n optical cables, m joint boxes, and n+1 optical nodes. The optical power loss value of the optical cable route (represented by the symbol S loss) is composed of the optical cable length loss, optical node loss, and joint box loss. The calculation method is as follows:
[0059] S 损 =0.35l 总 +0.7(n+1)+m
[0060] l 总 =l1+l2+…+l n
[0061] Among them l 总 is the total length of the optical cable route, the average optical cable loss per kilometer is 0.35, the loss of an optical node is 0.7, and the loss of a junction box is 1. The above three values are the average values of on-site measurements of the optical cable.
[0062] Step S3: Calculate the number of available fiber cores for a single route: According to the networking principle of the transmission network, the number of available fiber cores for a single route is equal to the minimum number of available fiber cores among all optical cables on the route. The calculation method is as follows:
[0063] A single route consists of n optical cables. The method for calculating the number of available fiber cores (denoted by the symbol ξ) of the route is as follows:
[0064] ξ=min(N1,N2,,,N n )
[0065] Step S4: Calculate the satisfaction of a single route: The satisfaction of a cable route (denoted by δ) is calculated by the cable loss value and the number of available fiber cores of the route. δ is proportional to ξ, and δ is inversely proportional to S loss. The calculation method is as follows:
[0066]
[0067] Among them, k1 is the proportionality coefficient.
[0068] Normalize the satisfaction (i.e. the satisfaction value falls between 0 and 1, 1 is the most satisfied and 0 is the least satisfied), add the proportional adjustment coefficient k2, and the calculation method after normalization is as follows:
[0069]
[0070] Currently, the maximum number of cores in an optical cable is 288, and an optical cable route requires at least one optical cable. Therefore, the maximum value of ξ is 288, and the minimum value of S loss is 1.4. Therefore, the value of k1k2 is 1.4 / 288=0.0048.
[0071] Right now
[0072]
[0073] Specifically, taking the above specific embodiment as an example, the route satisfaction of route ①—A→B→D, route ②—A→C→D, and route ③—A→D is calculated according to the above process as follows:
[0074] Satisfaction of route ①: route loss S loss = 7.4*0.35+0.7*3+1 = 5.69, number of available fiber cores ξ = min(24,48) = 24, satisfaction δ = 0.0048*24 / 5.69 = 0.02;
[0075] Satisfaction of route ②: route loss S loss = 7.5*0.35+0.7*3+1 = 5.655, number of available fiber cores ξ = min(175,100) = 100, satisfaction δ = 0.0048*100 / 5.655 = 0.086;
[0076] Satisfaction of route ③: route loss Sloss = 10*0.35+0.7*2+2 = 6.9, number of available fiber cores ξ = min(24*1) = 24, satisfaction δ = 0.0048*24 / 6.9 = 0.017.
[0077] It should be noted that the above scenario is only an exemplary description, and the protection scope of the embodiments of the present disclosure is not limited thereto.
[0078] In the embodiment of the present disclosure, after calculating the route satisfaction of each connectable route, a target route can be selected from the connectable routes according to the route satisfaction, and data transmission from the start node to the end node can be realized based on the target route. Exemplarily, the route satisfaction can be calculated for all connectable routes between two nodes, and the connectable route with the largest satisfaction value can be selected as the best route.
[0079] In the above specific embodiment, according to the calculated route satisfaction results, 0.086>0.02>0.017, route ② has the highest satisfaction, so route ② is the best route, and data transmission between the starting node A and the ending node D can be achieved through route ② in the future. It should be noted that the above scenario is only an exemplary description, and the protection scope of the embodiments of the present disclosure is not limited to this.
[0080] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0081] Correspondingly, in this example implementation, a routing evaluation device is also provided, referring to Figure 3 As shown, the route evaluation device 300 may include a model building module 310, a route acquisition module 320 and a route evaluation module 330, wherein:
[0082] The model building module 310 can be used to build a corresponding optical cable network routing model according to the network structure of the transmission optical cable network;
[0083] The route acquisition module 320 can be used to acquire a connectable route from a start node to an end node in an optical cable network routing model;
[0084] The route evaluation module 330 can be used to determine the route satisfaction corresponding to each connectable route according to the number of available fiber cores, the number of optical cables and the number of optical cable connectors on each connectable route.
[0085] In an exemplary embodiment of the present disclosure, the above-mentioned model building module is specifically used to: use the optical nodes in the transmission optical cable network as endpoints and the optical cables as the connections between the corresponding optical nodes to obtain an optical cable network routing model, wherein the length of the connection is determined according to the length of the optical cable.
[0086] In an exemplary embodiment of the present disclosure, the above-mentioned route evaluation module is specifically used to: obtain the number of available fiber cores of a single optical cable, and calculate the number of available fiber cores of each connectible route based on the number of available fiber cores of a single optical cable; calculate the single route power loss value of the connectible route based on the length of the optical cable, the number of optical nodes and the number of optical cable connectors; calculate the route satisfaction of the corresponding connectible route based on the single route power loss value and the number of available fiber cores of a single route.
[0087] The process of calculating the available number of single-route cores of each connectable route based on the available number of cores of a single optical cable can be implemented as follows: obtaining the minimum value of the available number of cores of a single optical cable as the available number of single-route cores of the connectable route.
[0088] The above process of calculating the power loss value of a single route of a connectable route based on the length of the optical cable, the number of optical nodes and the number of optical cable joints can be implemented as follows: determine the total route length of the connectable route; obtain the average optical cable loss value per kilometer, the loss value of a single optical node, and the loss value of a single joint box; calculate the first product of the total route length and the average optical cable loss value per kilometer, the second product of the number of optical nodes and the loss value of a single optical node, and the third product of the number of optical cable joints and the loss value of a single joint box; calculate the sum of the first product, the second product and the third product to obtain the power loss value of a single route of the connectable route.
[0089] The above process of calculating the route satisfaction of the corresponding connected route based on the power loss value of a single route and the available number of fiber cores of a single route can be implemented as follows: calculate the ratio of the available number of fiber cores of a single route and the power loss value of a single route, and determine the route satisfaction of the connected route based on the ratio.
[0090] In an exemplary embodiment of the present disclosure, the route evaluation device is further used to: select a target route from the connectable routes according to route satisfaction, and implement data transmission from the start node to the end node based on the target route.
[0091] The specific implementation details of the above-mentioned route evaluation device have been described in detail in the corresponding route evaluation method, so they will not be repeated here.
[0092] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0093] Figure 4 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 4 , which shows a structural schematic diagram of an electronic device 400 suitable for implementing the embodiments of the present disclosure. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0094] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403 to implement the routing evaluation method of the embodiment described in the present disclosure. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0095] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0096] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the routing evaluation method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0097] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0098] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0099] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0100] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0101] Constructing a corresponding optical cable network routing model according to the network structure of the transmission optical cable network;
[0102] In the optical cable network routing model, a connectable route from a start node to an end node is obtained;
[0103] The route satisfaction corresponding to each connectable route is determined based on the number of available fiber cores, the number of optical cables and the number of optical cable connectors on each connectable route.
[0104] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.
[0105] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0106] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0108] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0109] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0110] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0111] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0112] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A routing evaluation method, characterized in that: include: Constructing a corresponding optical cable network routing model according to the network structure of the transmission optical cable network; In the optical cable network routing model, obtaining a connectable route from a starting node to an ending node; The route satisfaction corresponding to each of the connectable routes is determined according to the number of available fiber cores of the optical cables, the number of optical cables and the number of optical cable connectors on each of the connectable routes.
2. The routing evaluation method according to claim 1, characterized in that: The method further comprises: A target route is selected from the connectable routes according to the route satisfaction, and data transmission from the start node to the end node is implemented based on the target route.
3. The routing evaluation method according to claim 1, characterized in that: The method of constructing a corresponding optical cable network routing model according to the network structure of the transmission optical cable network includes: The optical nodes in the transmission optical cable network are used as endpoints, and the optical cables are used as the connecting lines between the corresponding optical nodes to obtain the optical cable network routing model, wherein the length of the connecting line is determined according to the length of the optical cable.
4. The routing evaluation method according to claim 3, characterized in that: Determining the route satisfaction corresponding to each of the connectable routes according to the number of available fiber cores of the optical cables, the number of optical cables, and the number of optical cable connectors on each of the connectable routes includes: Obtaining the available number of fiber cores of a single optical cable, and calculating the available number of single route fiber cores of each of the connectable routes based on the available number of fiber cores of the single optical cable; Calculate the power loss value of a single route of the connectable route based on the length of the optical cable, the number of the optical nodes and the number of the optical cable connectors; The route satisfaction of the corresponding connectable route is calculated based on the power loss value of the single route and the available number of fiber cores of the single route.
5. The routing evaluation method according to claim 4, characterized in that: The calculating the available number of single route fiber cores of each of the connectable routes based on the available number of fiber cores of the single optical cable comprises: The minimum value of the available number of fiber cores of the single optical cable is obtained as the available number of fiber cores of the single route of the connectable route.
6. The routing evaluation method according to claim 4, characterized in that: The calculating the power loss value of a single route of the connectable route based on the length of the optical cable, the number of the optical nodes and the number of the optical cable connectors comprises: Determining the total route length of the connectable routes; Obtain the average optical cable loss per kilometer, the loss of a single optical node, and the loss of a single joint box; Calculate a first product of the total route length and the average optical cable loss value per kilometer, a second product of the number of optical nodes and the loss value of each optical node, and a third product of the number of optical cable joints and the loss value of each joint box; The sum of the first product, the second product and the third product is calculated to obtain a single route power loss value of the connectable route.
7. The routing evaluation method according to claim 4, characterized in that: The calculating the route satisfaction of the corresponding connectable route based on the power loss value of the single route and the available number of fiber cores of the single route includes: The ratio of the available number of fiber cores of the single route to the power loss value of the single route is calculated, and the route satisfaction of the connectable route is determined based on the ratio.
8. A routing evaluation device, characterized in that: include: A model building module is used to build a corresponding optical cable network routing model according to the network structure of the transmission optical cable network; A route acquisition module, used to acquire a connectable route from a starting node to an ending node in the optical cable network routing model; The route evaluation module is used to determine the route satisfaction corresponding to each of the connectable routes according to the number of available fiber cores of the optical cables, the number of optical cables and the number of optical cable connectors on each of the connectable routes.
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 method according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.
