A method, apparatus, device, and readable storage medium for calculating service interruptions.

CN115567101BActive Publication Date: 2026-08-14CHINA TELECOM DIGITAL INTELLIGENCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]上述基于定制化算法判断通信网业务中断情况存在很大的局限性,只能对某一领域中某一业务完成中断情况的判断,同样也会浪费大量的时间

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567101B_ABST
    Figure CN115567101B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, and readable storage medium for calculating service interruptions. The method includes: determining the interruption status of some services in a communication network based on preset interruption rules, wherein the some services include at least one of transmission network services, computer network services, and switching network services; and calculating the interruption status of all services in the communication network based on the interruption status of the some services. This method can improve the efficiency of calculating the interruption status of communication network services in various fields.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computing service interruption, and more specifically, to a method, apparatus, device, and readable storage medium for computing service interruption. Background Technology

[0002] Currently, communication network services are becoming increasingly developed in various fields, leading to frequent service interruptions. There are also various methods for calculating service interruptions in communication networks. Traditionally, judging whether a service is interrupted requires configuring a customized algorithm for a specific service and calculating whether the service is interrupted based on the customized algorithm.

[0003] The aforementioned method of judging the interruption of communication network services based on customized algorithms has significant limitations. It can only judge the interruption status of a specific service in a specific domain, and it also wastes a lot of time.

[0004] Therefore, improving the efficiency of calculating service interruptions in communication networks across various fields is a technical problem that needs to be solved. Summary of the Invention

[0005] The purpose of this application is to provide a method for calculating service interruptions. The technical solution of this application can achieve the effect of high efficiency in calculating service interruptions in communication networks in various fields.

[0006] In a first aspect, embodiments of this application provide a method for calculating service interruption, including: determining the interruption status of some services in a communication network service based on preset interruption rules, wherein the some services include at least one of transmission network services, computer network services, and switching network services; and calculating the interruption status of all services in the communication network service based on the interruption status of the some services.

[0007] In the above embodiments, this application can calculate the total interruption of the entire communication network service by analyzing partial communication network service interruption situations. This can quickly detect service interruptions and improve the efficiency of calculating communication network service interruptions in various fields.

[0008] In some embodiments, based on preset interruption rules, the interruption status of certain services in the communication network is determined, including:

[0009] The interruption status of each service in a certain service is calculated layer by layer from the bottom layer of the communication network upwards.

[0010] The interruption status of each service within a given service is calculated layer by layer from the bottom layer of the communication network upwards, including:

[0011] Determine if there are any protective measures in place for the current business operations;

[0012] If it is determined that there are protective measures in place for the current business, the current business should be interrupted based on whether the protective measures are turned on or off.

[0013] If it is determined that there are no protective measures for the current service, the system will determine whether the current service should be interrupted based on the feedback parameters of the current service.

[0014] In the above embodiments, the protection measures for each service in a certain service are determined layer by layer from the bottom layer of the communication network upwards. The interruption status of the current service can be determined by opening and closing the protection measures. The method of judging the interruption status of the service through the protection measures can accurately determine the interruption status of the current service.

[0015] In some embodiments, determining whether the current service is interrupted based on the opening or closing of the protection measures includes:

[0016] When the protection measures are activated, the current service is determined to be interrupted;

[0017] When the protection measures are turned off, it is determined that the current business is not interrupted.

[0018] In the above embodiments, the protection measures indicate that the current service is interrupted when they are enabled, and that the current service is not interrupted when they are disabled. This method of determining whether the current service is interrupted is more efficient.

[0019] In some embodiments, some services include transmission network services, and communication network services include transmission network services, computer network services, and switching network services;

[0020] Calculate the interruption status of all services in the communication network, including:

[0021] Calculate the interruption status of each service in the transmission network;

[0022] Based on the interruption status of each service in the transmission network, determine the interruption status of computer network services and switching network services.

[0023] In the above embodiments, the interruption status of upper-layer computer network services and switching network services can be accurately determined by the interruption status of the transmission network.

[0024] In some embodiments, determining the interruption status of computer network services and switching network services based on the interruption status of each service in the transmission network service includes:

[0025] If there is no second protection measure for computer network services and switching network services, the interruption status of computer network services and switching network services is calculated using a cutover algorithm based on the feedback parameters of computer network services and switching network services.

[0026] or

[0027] Calculate the interruption status of computer network services and switching network services based on the interruption status of each service in the transmission network.

[0028] In the above embodiments, this application can directly calculate the interruption status of computer network services and switching network services by using the feedback parameters of computer network services and switching network services and the calculation of the cutover algorithm, or further accurately infer the interruption status of computer network services and switching network services by using the service interruption status of the transmission network.

[0029] In some embodiments, the interruption status of computer network services and switching network services is calculated based on the interruption status of each service in the transmission network service, including:

[0030] Determine whether there are third protection measures for the transmission network services, including ring protection or single-end switching protection;

[0031] If a third protection measure exists for transmission network services, the interruption status of computer network services and switching network services shall be determined based on the third protection measure.

[0032] If there is no third protection measure for the transmission network service, the interruption status of the computer network service and the switching network service is calculated based on the feedback parameters of each service in the transmission network service.

[0033] In the above embodiments, the interruption status of upper-layer computer network services and switching network services can be inferred by determining the protection measures of transmission network services. The interruption status of computer network services and switching network services can also be determined by the protection measures of the computer network services and switching network services themselves. Furthermore, the interruption status of computer network services and switching network services can be inferred by the interruption status of transmission network services.

[0034] In some embodiments, determining whether a third protection measure exists for the transport network service includes:

[0035] If a random service in the transmission network is cut off and the transmission network service is interrupted, it is determined that there is no third protection measure for the transmission network service.

[0036] If the transmission network service is not interrupted, it is determined that a third protection measure exists for the transmission network service.

[0037] In the above embodiments, this application can determine whether there are protection measures for a service by cutover. If the transmission network service is not interrupted after a service cutover, it indicates that there are protection measures for the transmission network service.

[0038] Secondly, embodiments of this application provide an apparatus for calculating service interruption, comprising:

[0039] The determination module is used to determine the interruption status of some services in the communication network service based on preset interruption rules, wherein some services include at least one of transmission network service, computer network service and switching network service;

[0040] The calculation module is used to calculate the interruption status of all services in the communication network based on the interruption status of some services.

[0041] Optionally, determine the specific use of the module for:

[0042] The interruption status of each service in a certain service is calculated layer by layer from the bottom layer of the communication network upwards.

[0043] The module is specifically used for:

[0044] Determine if there are any protective measures in place for the current business operations;

[0045] If it is determined that there are protective measures in place for the current business, the current business should be interrupted based on whether the protective measures are turned on or off.

[0046] If it is determined that there are no protective measures for the current service, the system determines whether the current service should be interrupted based on the feedback parameters of the current service.

[0047] Optionally, determine the specific use of the module for:

[0048] When the protection measures are activated, the current service is determined to be interrupted;

[0049] When the protection measures are turned off, it is determined that the current business is not interrupted.

[0050] Optionally, the calculation module is specifically used for:

[0051] Some services include transmission network services, and communication network services include transmission network services, computer network services, and switching network services. Calculate the interruption status of each service in the transmission network services.

[0052] Based on the interruption status of each service in the transmission network, determine the interruption status of computer network services and switching network services.

[0053] Optionally, the calculation module is specifically used for:

[0054] If there is no second protection measure for computer network services and switching network services, the interruption status of computer network services and switching network services is calculated using a cutover algorithm based on the feedback parameters of computer network services and switching network services.

[0055] or

[0056] Calculate the interruption status of computer network services and switching network services based on the interruption status of each service in the transmission network.

[0057] Optionally, the calculation module is specifically used for:

[0058] Determine whether there are third protection measures for the transmission network services, including ring protection or single-end switching protection;

[0059] If a third protection measure exists for transmission network services, the interruption status of computer network services and switching network services shall be determined based on the third protection measure.

[0060] If there is no third protection measure for the transmission network service, the interruption status of the computer network service and the switching network service is calculated based on the feedback parameters of each service in the transmission network service.

[0061] Optionally, the calculation module is specifically used for:

[0062] If a random service in the transmission network is cut off and the transmission network service is interrupted, it is determined that there is no third protection measure for the transmission network service.

[0063] If the transmission network service is not interrupted, it is determined that a third protection measure exists for the transmission network service.

[0064] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the method provided in the first aspect above are performed.

[0065] Fourthly, embodiments of this application provide a readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the method provided in the first aspect above.

[0066] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0067] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0068] Figure 1 A flowchart illustrating a method for calculating service interruption provided in this application embodiment;

[0069] Figure 2 A flowchart illustrating a method for implementing a computational service interruption, as provided in an embodiment of this application;

[0070] Figure 3 A schematic diagram of the structure of a system for calculating service interruption provided in an embodiment of this application;

[0071] Figure 4 A schematic block diagram of a device for calculating service interruption provided in an embodiment of this application;

[0072] Figure 5 This is a schematic diagram of a device for handling service interruption provided in an embodiment of this application. Detailed Implementation

[0073] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0074] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0075] First, some of the terms used in the embodiments of this application will be explained to facilitate understanding by those skilled in the art.

[0076] OLP (Optical Line Protection) is an automatic monitoring and protection system that operates independently of the communication transmission system and is entirely based on the physical optical cable link.

[0077] OCP: (Optical Channel Protection)

[0078] SDH (Synchronous Digital Hierarchy), as defined by ITU-T recommendations, is a technical system that provides corresponding levels of information structure for the transmission of digital signals at different rates, including multiplexing and mapping methods, as well as related synchronization methods.

[0079] PDH: Plesiochronous Digital Hierarchy. Plesiochronous digital hierarchy was a digital communication standard widely used in the early stages of digital communication development.

[0080] IP stands for Internet Protocol, a network layer protocol in the TCP / IP architecture. The purpose of IP is to improve network scalability: firstly, to solve internet problems and achieve interconnection of large-scale, heterogeneous networks; and secondly, to separate the coupling between top-level network applications and underlying network technologies, facilitating their independent development. Based on end-to-end design principles, IP provides only one connectionless, unreliable, best-effort packet transmission service to hosts.

[0081] Transmission medium: Network transmission medium refers to the carrier that transmits information in a network. Commonly used transmission media are divided into two main categories: wired transmission media and wireless transmission media. Different transmission media have different characteristics, and these different characteristics have a significant impact on the quality and speed of data communication in the network.

[0082] A relay is a transmission path between two switching centers. A relay is a physical connection that carries multiple logical links. With technological advancements, the concept of relays is not only applied to wireless communication; the trunk of a network communication switch can also be considered a type of relay.

[0083] This application is applied to scenarios involving service interruption, specifically, calculating the interruption status of the entire communication network service based on the protection methods and feedback parameters of each service within the communication network.

[0084] However, with the increasing development of communication network services across various fields, service interruptions are becoming more frequent. Various methods exist for calculating service interruption status. Traditionally, determining service interruption requires configuring customized algorithms for specific services to determine whether the service is interrupted. This method of determining service interruption based on customized algorithms has significant limitations. It can only assess the interruption status of a specific service within a specific field, and it also wastes a considerable amount of time. For example, it suffers from poor timeliness: when performing cutovers for different services, a new cutover plan needs to be developed, resulting in significant time wastage before completion and potentially leading to incorrect assessments. Furthermore, it has a limited scope: it is difficult to implement cutover assessment methods for cross-disciplinary computer network services and switching network services.

[0085] Therefore, this application determines the interruption status of certain services in a communication network based on preset interruption rules. These services include at least one of transmission network services, computer network services, and switching network services. Based on the interruption status of these services, the interruption status of all services in the communication network is calculated. By analyzing the interruption status of these partial communication network services, the total interruption status of the entire communication network can be calculated, enabling rapid detection of service interruptions and improving the efficiency of calculating interruptions in various communication network sectors.

[0086] In this embodiment of the application, the executing entity can be a computing service interruption device in a computing service interruption system. In practical applications, the computing service interruption device can be electronic devices such as communication network equipment, terminal equipment, and servers, and there are no restrictions here.

[0087] The following is combined with Figure 1 The method for interrupting computing services according to embodiments of this application will be described in detail.

[0088] Please refer to Figure 1 , Figure 1 A flowchart of a method for calculating service interruption provided in an embodiment of this application is shown below. Figure 1 The methods for interrupting computing services shown include:

[0089] Step 110: Based on the preset interruption rules, determine the interruption status of some services in the communication network.

[0090] Some of these services include at least one of the following: transmission network services, computer network services, and switching network services. Interruption information includes the location and duration of the interruption. Transmission network services include transmission media, transmission services, OLP systems, wavelength division multiplexing (WDM) systems, OCP systems, SDH systems, PDH systems, and channel transmission services. Computer network services include computer data, IP services, and IP retransmission. Switching network services include telephone network services. Each service includes a system segment, a multiplexing segment, and line resources. Each line resource consists of multiple different devices, and the connection between two adjacent devices is called a system segment. The connection between two adjacent multiplexing devices is called a multiplexing segment. Each multiplexing segment consists of multiple system segments and virtualizes multiple line resources for service carrying. Interruption rules include at least one of the following:

[0091] If this system segment or circuit segment (whether primary or backup equipment) is cut over, the primary or backup equipment of this segment is calculated as interrupted, and the interruption status can be calculated based on the protection measures of this layer. If the cutover of the lower layer affects this system segment or circuit segment, and this layer has no protection measures for the system or circuit segment, then only the parameters transmitted from the lower layer are displayed as interrupted, not interrupted, or momentary interrupted. If the cutover of the lower layer causes the system segment or circuit segment to be displayed as interrupted, and this layer has protection measures for the system or circuit segment, then the interruption status of this layer is calculated based on the protection measures of this layer and the interruption information transmitted from the lower layer. First, the interruption status of the primary equipment route is calculated based on the transmission from the lower layer, and then the interruption status of this system or circuit segment is calculated based on the primary and backup route interruption status of this layer.

[0092] In some embodiments of this application, the interruption status of some services in the communication network is determined based on preset interruption rules, including: calculating the interruption status of each service in the partial services layer by layer from the bottom layer of the communication network to the top layer; the calculation of the interruption status of each service in the partial services layer by layer from the bottom layer of the communication network to the top layer includes: determining whether there are protection measures for the current service; if it is determined that there are protection measures for the current service, determining whether the current service is interrupted based on the opening or closing of the protection measures; if it is determined that there are no protection measures for the current service, determining whether the current service is interrupted based on the feedback parameters of the current service.

[0093] In the above process, this application determines the protection measures for each service in a certain service layer by layer from the bottom layer of the communication network upwards. The interruption status of the current service can be determined by opening and closing the protection measures. The method of judging the interruption status of the service through the protection measures can accurately determine the interruption status of the current service.

[0094] The feedback parameters include the current service's running time, deadline, and whether the upper-layer equipment is connected. Protection measures can include backup equipment, backup routing, or backup lines.

[0095] In some embodiments of this application, determining whether the current service is interrupted based on the opening or closing of the protection measures includes: determining that the current service is interrupted when the protection measures are open; and determining that the current service is not interrupted when the protection measures are closed.

[0096] In the above process, the application indicates that the current service is interrupted when the protection measures are enabled, and that the current service is not interrupted when they are disabled. This method of determining the current service interruption is more efficient.

[0097] Step 120: Based on the interruption status of some services, calculate the interruption status of all services in the communication network.

[0098] In some embodiments of this application, some services include transmission network services, and communication network services include transmission network services, computer network services, and switching network services; calculating the interruption status of all services in the communication network services includes: calculating the interruption status of each service in the transmission network services; and determining the interruption status of the computer network services and switching network services based on the interruption status of each service in the transmission network services.

[0099] In the above process, this application can accurately determine the interruption status of upper-layer computer network services and switching network services by observing the interruption status of the transmission network.

[0100] The process involves obtaining parameters for each service from the lower layer of the transmission network service to the higher layers of the switching network service and computer network service. This is achieved by finding the multiplexing segment through the system segment, obtaining the corresponding line resources through the multiplexing segment, and then finding the system segment of the upper layer of the transmission network service, computer network service, and switching network service through the line resources. The interruption status of each service is then calculated based on the parameters fed back by the system segment.

[0101] In some embodiments of this application, determining the interruption status of computer network services and switching network services based on the interruption status of each service in the transmission network service includes: if there is no second protection measure for computer network services and switching network services, then calculating the interruption status of computer network services and switching network services using a cutover algorithm based on the feedback parameters of computer network services and switching network services; or calculating the interruption status of computer network services and switching network services based on the interruption status of each service in the transmission network service.

[0102] In the above process, this application can directly calculate the interruption status of computer network services and switching network services by using the feedback parameters of computer network services and switching network services and the calculation of the cutover algorithm, or further accurately infer the interruption status of computer network services and switching network services by using the service interruption status of the transmission network.

[0103] Among them, a targeted cutover algorithm is set according to the feedback parameters to calculate the interruption status of the current service based on the feedback parameters.

[0104] In some embodiments of this application, the interruption status of computer network services and switching network services is calculated based on the interruption status of each service in the transmission network service, including: determining whether there is a third protection measure for the transmission network service, wherein the third protection measure includes ring protection or single-end switching protection; if there is a third protection measure for the transmission network service, the interruption status of computer network services and switching network services is determined according to the third protection measure; if there is no third protection measure for the transmission network service, the interruption status of computer network services and switching network services is calculated based on the feedback parameters of each service in the transmission network service.

[0105] In the above process, this application can infer the interruption status of upper-layer computer network services and switching network services by determining the protection measures of transmission network services, and can also determine the interruption status of computer network services and switching network services by the protection measures of the computer network services and switching network services themselves, and can also infer the interruption status of computer network services and switching network services by the interruption status of transmission network services.

[0106] In single-point or multi-point cutovers, the interrupted system or circuit is calculated at the cutover point based on the protection measures of the current layer or those passed from the lower layer. The calculation starts from the lower layer. If protection measures exist at the cutover point, the current service will not be interrupted or will only experience a momentary interruption, displaying the lowest-level protection measures for the current service. Otherwise, if no protection measures exist, "No Protection" is displayed. These protection measures can include backup cables, backup equipment, and backup systems. The specific methods for determining the interruption status are as follows:

[0107] When cutting over a current service, if there are no current protection measures, an interruption will be displayed, and if protection measures are in place, no protection will be displayed. If the current service has protection measures, the specific protection measures will be displayed based on whether they are effective. These include single-ended switching protection (1+1 protection) and ring protection. Single-ended switching protection can be a backup circuit at the start and end points, which can provide protection by activating the backup circuit. Ring protection can be a ring circuit, which provides protection by activating the backup circuit or by taking a detour. If cutting over a lower-level transmission network service affects the current service system segment or circuit segment, and the current system or circuit segment has no protection measures, only the lowest-level protection measures in effect will be displayed based on the protection measures transmitted by the transmission network service. If cutting over a transmission network service affects the current system segment or circuit segment, and the current system or circuit segment has protection measures, the lowest-level protection method in effect will be calculated based on the current service's protection measures and the feedback parameters of the transmission network service interruption.

[0108] In some embodiments of this application, determining whether a third protection measure exists in a transmission network service includes: cutting over a random service in the transmission network service; if the transmission network service is interrupted, it is determined that no third protection measure exists in the transmission network service; if the transmission network service is not interrupted, it is determined that a third protection measure exists in the transmission network service.

[0109] In the above process, this application can determine whether there are protection measures for the service by cutting over the service. If the transmission network service is not interrupted after a service is cut over, it indicates that there are protection measures for the transmission network service.

[0110] In the above Figure 1 In the process described, this application determines the interruption status of certain services in a communication network based on preset interruption rules. These certain services include at least one of transmission network services, computer network services, and switching network services. Based on the interruption status of these certain services, the interruption status of all services in the communication network is calculated. By analyzing the interruption status of these certain services, the total interruption status of the entire communication network can be calculated, enabling rapid detection of service interruptions and improving the efficiency of calculating interruptions in various communication network sectors.

[0111] The following is combined with Figure 2 The implementation method for interrupting computing services according to the embodiments of this application will be described in detail.

[0112] Please refer to Figure 2 , Figure 2 A flowchart illustrating an implementation method for computational service interruption provided in this application embodiment is shown below. Figure 2 The implementation methods for interrupting computing services shown include:

[0113] Taking the cutover task of SDH / PDH system in transmission network services of communication network services as an example, it includes:

[0114] Step 210: Calculate the interruption status of each service layer by layer from the bottom layer of the transmission network service upwards.

[0115] Specifically, determine whether there are protection measures for SDH / PDH system services; if protection measures are found, determine whether the SDH / PDH system services are interrupted based on whether the protection measures are open or closed; if no protection measures are found, determine whether the SDH / PDH system services are interrupted based on the feedback parameters of the SDH / PDH system services.

[0116] Step 220: Calculate the interruption status of computer network services and switching network services.

[0117] Specifically, determine whether there are protection measures for SDH / PDH system services, including ring protection or single-end switching protection; if there are protection measures for SDH / PDH system services, determine the interruption status of computer network services and switching network services based on the protection measures; if there are no protection measures for SDH / PDH system services, calculate the interruption status of computer network services and switching network services based on the feedback parameters of each service in the SDH / PDH system services.

[0118] also, Figure 2 The specific method shown can be achieved through Figure 1 The methods and steps shown are described in detail, and will not be elaborated further here.

[0119] The following is combined with Figure 3 The system for interrupting computing services according to embodiments of this application will be described in detail.

[0120] Please refer to Figure 3 , Figure 3 This application provides a schematic diagram of the structure of a system for calculating service interruptions, as shown in the embodiments of the present application. Figure 3 The systems shown to have experienced computing service interruptions include:

[0121] Transmission media (optical fiber and shortwave), services (optical cable and satellite), OLP system, wavelength division system (multiplexing segment or system segment), OCP system, SDH (multiplexing segment or system segment), PDH system (multiplexing segment or system segment), channels (service relay, transmission relay and transmission services), computer network services (computer data, IP services and IP relay) and switching network services (telephone network).

[0122] Among them, optical fiber cables are mainly located at the bottom layer, and also include services that use light waves as the transmission medium, such as satellites. Channels include transmission services such as service relay and transmission relay. Computer network services include computer data, IP relay, IP services, etc. The switching network mainly refers to the telephone network.

[0123] The previous text passed Figures 1-3 The methods and systems for calculating service interruptions are described below. Figures 4-5 A device that describes a computing service interruption.

[0124] Please refer to Figure 4 This is a schematic block diagram of a computing service interruption device 400 provided in an embodiment of this application. The device 400 can be a module, program segment, or code on an electronic device. This device 400 is related to the above... Figure 1 The method implementation corresponds to this and can be executed. Figure 1 The various steps involved in the method embodiment, and the specific functions of the device 400, can be found in the description below. To avoid repetition, detailed descriptions are appropriately omitted here.

[0125] Optionally, the device 400 includes:

[0126] The determination module 410 is used to determine the interruption status of some services in the communication network service based on the preset interruption rules, wherein the some services include at least one of transmission network service, computer network service and switching network service;

[0127] The calculation module 420 is used to calculate the interruption status of all services in the communication network based on the interruption status of some services.

[0128] Optionally, determine the specific use of the module for:

[0129] The interruption status of each service in a certain service is calculated layer by layer from the bottom layer of the communication network upwards.

[0130] The module is specifically used for:

[0131] Determine whether there are protective measures for the current service; if there are protective measures, determine whether the current service is interrupted based on whether the protective measures are open or closed; if there are no protective measures, determine whether the current service is interrupted based on the feedback parameters of the current service.

[0132] Optionally, determine the specific use of the module for:

[0133] When the protection measures are enabled, it is determined that the current service is interrupted; when the protection measures are disabled, it is determined that the current service is not interrupted.

[0134] Optionally, the calculation module is specifically used for:

[0135] Some services include transmission network services, and communication network services include transmission network services, computer network services, and switching network services. The interruption status of each service in the transmission network services is calculated; based on the interruption status of each service in the transmission network services, the interruption status of the computer network services and switching network services is determined.

[0136] Optionally, the calculation module is specifically used for:

[0137] If there is no second protection measure for computer network services and switching network services, the interruption status of computer network services and switching network services is calculated using a cutover algorithm based on the feedback parameters of computer network services and switching network services; or the interruption status of computer network services and switching network services is calculated based on the interruption status of each service in the transmission network services.

[0138] Optionally, the calculation module is specifically used for:

[0139] Determine whether a third protection measure exists for the transmission network service, including ring protection or single-end switching protection; if a third protection measure exists for the transmission network service, determine the interruption status of the computer network service and the switching network service based on the third protection measure; if no third protection measure exists for the transmission network service, calculate the interruption status of the computer network service and the switching network service based on the feedback parameters of each service in the transmission network service.

[0140] Optionally, the calculation module is specifically used for:

[0141] If a random service in the transmission network is cut off, and the transmission network service is interrupted, it is determined that there is no third protection measure for the transmission network service; if the transmission network service is not interrupted, it is determined that there is a third protection measure for the transmission network service.

[0142] Please refer to Figure 5 This is a schematic block diagram of a computing service interruption device 500 provided in an embodiment of this application. The device may include a memory 510 and a processor 520. Optionally, the device may further include a communication interface 530 and a communication bus 540. This device is similar to the one described above. Figure 1 The method implementation corresponds to this and can be executed. Figure 1 The specific functions of the device involved in the method embodiments can be found in the following description.

[0143] Specifically, memory 510 is used to store computer-readable instructions.

[0144] Processor 520 is used to process readable instructions stored in memory and is capable of executing... Figure 1 Each step in the method.

[0145] The communication interface 530 is used for signaling or data communication with other node devices. For example, it is used for communication with a server or terminal, or for communication with other device nodes, but the embodiments of this application are not limited thereto.

[0146] Communication bus 540 is used to enable direct communication between the above components.

[0147] In this embodiment, the communication interface 530 of the device is used for signaling or data communication with other node devices. The memory 510 can be high-speed RAM or non-volatile memory, such as at least one disk storage device. Optionally, the memory 510 can also be at least one storage device located remotely from the aforementioned processor. The memory 510 stores computer-readable instructions, which, when executed by the processor 520, enable the electronic device to perform the aforementioned... Figure 1The method process is shown. The processor 520 can be used on the device 500 and is used to perform the functions in this application. Exemplarily, the processor 520 described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, and the embodiments of this application are not limited thereto.

[0148] This application embodiment also provides a readable storage medium, wherein when the computer program is executed by a processor, it performs the following... Figure 1 The method process executed by the electronic device in the illustrated method embodiment.

[0149] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the aforementioned method, and will not be elaborated further here.

[0150] In summary, embodiments of this application provide a method, apparatus, electronic device, and readable storage medium for calculating service interruptions. The method includes: determining the interruption status of certain services in a communication network based on preset interruption rules, wherein the certain services include at least one of transmission network services, computer network services, and switching network services; and calculating the interruption status of all services in the communication network based on the interruption status of the certain services. This method can improve the efficiency of calculating the interruption status of communication network services in various fields.

[0151] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0152] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0153] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0154] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0155] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0156] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for calculating service interruption, characterized in that, include: Based on preset interruption rules, the interruption status of some services in the communication network is determined, wherein the some services include at least one of transmission network services, computer network services and switching network services; Based on the interruption status of the aforementioned partial services, calculate the interruption status of all services in the communication network. The calculation of the interruption status of all services in the communication network includes: Calculate the interruption status of each service in the transmission network service; Based on the interruption status of each service in the transmission network service, determine the interruption status of the computer network service and the switching network service; The step of determining the interruption status of the computer network service and the switching network service based on the interruption status of each service in the transmission network service includes: If there is no second protection measure for the computer network service and the switching network service, the interruption status of the computer network service and the switching network service is calculated using a cutover algorithm based on the feedback parameters of the computer network service and the switching network service. If the computer network service and the switching network service do not have a second protection measure, determine whether the transmission network service has a third protection measure, wherein the third protection measure includes ring protection or single-end switching protection; if the transmission network service has the third protection measure, determine the interruption status of the computer network service and the switching network service according to the third protection measure; if the transmission network service does not have the third protection measure, calculate the interruption status of the computer network service and the switching network service according to the feedback parameters of each service in the transmission network service. The step of determining whether the transmission network service has a third protection measure includes: If a random service in the transmission network is interrupted, it is determined that the third protection measure does not exist in the transmission network service. If the transmission network service is not interrupted, it is determined that the transmission network service is protected by the third protection measure.

2. The method according to claim 1, characterized in that, The method of determining the interruption status of certain services in the communication network based on preset interruption rules includes: The interruption status of each service in the aforementioned services is calculated layer by layer from the bottom layer of the communication network upwards. The calculation of the interruption status of each service in the aforementioned services, layer by layer from the bottom layer of the communication network upwards, includes: Determine if there are any protective measures in place for the current business operations; If it is determined that the current service has the protection measures in place, the current service is interrupted based on whether the protection measures are turned on or off. If it is determined that the current service does not have the protection measures, the current service is interrupted based on the feedback parameters of the current service.

3. The method according to claim 2, characterized in that, The step of determining whether the current service is interrupted based on the opening and closing of the protection measures includes: When the protection measures are activated, the current service is determined to be interrupted; When the protection measures are turned off, it is determined that the current service is not interrupted.

4. An apparatus for calculating service interruption, characterized in that, include: The determination module is used to determine the interruption status of some services in the communication network service based on preset interruption rules, wherein the some services include at least one of transmission network service, computer network service and switching network service; The calculation module is used to calculate the interruption status of all services in the communication network based on the interruption status of the partial services; Specifically, the calculation module is used to calculate the interruption status of each service in the transmission network service; and to determine the interruption status of the computer network service and the switching network service based on the interruption status of each service in the transmission network service. Specifically, the calculation module is used to calculate the interruption status of the computer network service and the switching network service based on the feedback parameters of the computer network service and the switching network service, using a cutover algorithm, if there is no second protection measure for the computer network service and the switching network service. The calculation module is specifically configured to: determine whether a third protection measure exists for the transmission network service if the computer network service and the switching network service do not have a second protection measure, wherein the third protection measure includes ring protection or single-end switching protection; if the transmission network service has the third protection measure, determine the interruption status of the computer network service and the switching network service based on the third protection measure; if the transmission network service does not have the third protection measure, calculate the interruption status of the computer network service and the switching network service based on the feedback parameters of each service in the transmission network service. The calculation module is specifically used to cut over a random service in the transmission network service. If the transmission network service is interrupted, it is determined that the third protection measure does not exist in the transmission network service; if the transmission network service is not interrupted, it is determined that the third protection measure exists in the transmission network service.

5. An electronic device, characterized in that, include: A memory and a processor, the memory storing computer-readable instructions that, when executed by the processor, perform the steps of the method as described in any one of claims 1-3.

6. A computer-readable storage medium, characterized in that, include: A computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Diagnostic method and device for breakout of cable

    CN101090296A

  • Bearer network, interrupt processing method and device thereof, and storage medium

    CN114696890A