Method and apparatus for voice trunk alarm delimitation based on instruction channel

By performing multi-layer parsing and matching of alarm commands from the AGCF access gateway control function unit, the problem of not being able to accurately determine the cause of voice leased line interruption in existing technologies has been solved, achieving efficient transmission alarm delimitation and improving the accuracy and efficiency of fault diagnosis.

CN115622863BActive Publication Date: 2026-08-04CHINA MOBILE GROUP ZHEJIANG +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE GROUP ZHEJIANG
Filing Date
2021-07-12
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Current technology cannot accurately determine whether a voice leased line interruption is caused by a problem with the transmission optical cable, which affects the progress of fault repair.

Method used

By acquiring alarm commands and transmission alarm commands from the AGCF access gateway control function unit, performing multi-level parsing, and splicing them together to obtain the service port information of the alarm, querying to determine the corresponding service circuit and transmission circuit information, and matching the alarm type to delineate the port for transmitting the alarm.

Benefits of technology

It improves the accuracy and efficiency of voice leased line alarm delineation, clarifies whether the voice leased line alarm is caused by the transmission alarm, and facilitates fault diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115622863B_ABST
    Figure CN115622863B_ABST
Patent Text Reader

Abstract

The application discloses a voice private line alarm delimitation method and device based on an instruction channel, wherein the method comprises the following steps: acquiring a first alarm instruction and a second alarm instruction; the first alarm instruction is an alarm instruction of an AGCF access gateway control function unit; the second alarm instruction is a transmission alarm instruction; performing multi-layer analysis on the first alarm instruction to splice service port information of the alarm; querying and determining corresponding service circuit information according to the service port information; querying corresponding transmission circuit information according to the service circuit information, acquiring port information and alarm information of a first specified end-second specified end transmission port; matching the alarm instruction of the first specified end-second specified end transmission port with a specified alarm type of the second alarm instruction, and completing port delimitation of the transmission alarm according to the matching result. Compared with the prior art, whether the voice service interruption is caused by transmission interruption can be directly and accurately judged, and the delimitation accuracy and efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communications, and specifically to a method and apparatus for determining alarm boundaries for voice leased lines based on a command channel. Background Technology

[0002] The AGCF (Access Gateway Control Function) is a device attached to the fixed network of the core network IMS (IP Multimedia Subsystem) for external enterprise access to intermediate PBX (Private Branch Exchange) and other equipment. It can connect to thousands of different voice leased lines. The customer-side PBX connects to the AGCF via TG (Trunk Gateway). The AGCF is the control plane, and the TG is the media plane.

[0003] Current monitoring methods rely on unreachable MTP (Message Transfer Part) destination signaling point alarms on the AGCF side to monitor the operation of the leased line from that office. If an MTP destination signaling point unreachable alarm is issued from a certain office, it indicates a complete service interruption for that office. Based on static information from customer access records, the system contacts the customer to confirm whether the service interruption is due to customer-side issues; however, there is no method to determine if a transmission interruption caused the service interruption. This approach cannot accurately determine whether a problem with the transmission fiber optic cable is causing the service interruption, thus affecting the progress of fault repair. Summary of the Invention

[0004] In view of the above problems, the present invention is proposed to provide a voice leased line alarm delimitation method and apparatus based on command channel to overcome or at least partially solve the above problems.

[0005] According to one aspect of the present invention, a voice leased line alarm delimitation method based on a command channel is provided, comprising:

[0006] Obtain the first alarm command and the second alarm command; the first alarm command is the alarm command of the AGCF access gateway control function unit; the second alarm command is the transmission alarm command.

[0007] The first alarm command is parsed in multiple layers and then concatenated to obtain the alarm's service port information.

[0008] Determine the corresponding service circuit information based on the service port information;

[0009] Based on the service circuit information, query the corresponding transmission circuit information to obtain the port information and alarm information of the transmission port from the first designated end to the second designated end;

[0010] The alarm command of the first designated end to the second designated end transmission port is matched with the specified alarm type of the second alarm command, and the port delimitation of the transmission alarm is completed according to the matching result.

[0011] According to another aspect of the present invention, a voice leased line alarm delimitation device based on a command channel is provided, comprising:

[0012] The acquisition module is adapted to acquire a first alarm instruction and a second alarm instruction; the first alarm instruction is an alarm instruction from the AGCF access gateway control function unit; the second alarm instruction is a transmission alarm instruction.

[0013] The parsing module is suitable for performing multi-level parsing on the first alarm command and concatenating it to obtain the alarm's service port information;

[0014] The circuit determination module is suitable for querying and determining the corresponding service circuit information based on service port information.

[0015] The port determination module is suitable for querying the corresponding transmission circuit information based on the service circuit information, and obtaining the port information and alarm information of the transmission port from the first designated end to the second designated end;

[0016] The delimitation module is suitable for matching the alarm command of the first specified end-to-second specified end transmission port with the specified alarm type of the second alarm command, and completing the port delimitation of the transmission alarm based on the matching result.

[0017] According to another aspect of the present invention, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus;

[0018] The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the above-described instruction channel-based voice leased line alarm delimitation method.

[0019] According to another aspect of the present invention, a computer storage medium is provided, the storage medium storing at least one executable instruction, the executable instruction causing a processor to perform an operation corresponding to the above-described instruction channel-based voice leased line alarm delimitation method.

[0020] The voice leased line alarm delimitation method and apparatus based on the command channel according to the present invention performs multi-layer parsing on the first alarm command to obtain the service port information of the alarm, and finally determines the corresponding first designated end-second designated end transmission port by querying. By matching the alarm information of the first designated end-second designated end transmission port with the second alarm information, it can be determined whether the voice leased line alarm is caused by the transmission alarm, which facilitates port delimitation of the transmission alarm and improves the accuracy and efficiency of delimitation.

[0021] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0022] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0023] Figure 1 A flowchart of a voice leased line alarm delimitation method based on a command channel according to an embodiment of the present invention is shown;

[0024] Figure 2 A flowchart illustrating the process of defining alarm delimitation for voice leased lines based on command channels is shown.

[0025] Figure 3 A schematic diagram of the business television view is shown;

[0026] Figure 4 A schematic diagram showing the relationship between the service circuit and the transmission circuit is shown.

[0027] Figure 5 A schematic diagram of the transmission circuit transmitting port information is shown;

[0028] Figure 6 A functional block diagram of a voice leased line alarm delimitation device based on a command channel according to an embodiment of the present invention is shown.

[0029] Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention is shown. Detailed Implementation

[0030] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0031] Figure 1 A flowchart illustrating a voice leased line alarm delimitation method based on a command channel according to an embodiment of the present invention is shown. Figure 1 As shown, the method for determining alarm boundaries for voice leased lines based on command channels specifically includes the following steps:

[0032] Step S101: Obtain the first alarm command and the second alarm command.

[0033] The first alarm command is an alarm command from the AGCF access gateway control function unit. Specifically, the first alarm command is an alarm command indicating that the destination signaling point is unreachable for devices of the AGCF access gateway control function unit type. The first alarm command includes information such as: location information = destination signaling point code = 0xDxxx1, source signaling point code = 0xDxxx2, network identifier = XX network, exchange number = 6xx, exchange name = NBXXX+XX fleet (6xx), destination signaling point index = 6xx, destination signaling point name = NB_A+XX fleet (6xx), etc. Based on the first alarm command, it can be determined that an alarm has occurred on the voice leased line.

[0034] The second alarm command is a transmission alarm command, which includes alarm types such as R_LOS and ETH_LOS. Based on the second alarm command, the cause of the alarm can be determined to be a transmission interruption.

[0035] Step S102: Perform multi-layer parsing on the first alarm command and concatenate the alarm service port information.

[0036] When performing multi-level parsing on the first alarm command, such as Figure 2 As shown, the process is performed layer by layer, querying the relay group where the service is located in the first alarm command to obtain various information required for the service port information, such as interface board type, board group number, optical port number, chassis number, and slot number. Specifically, the first alarm command is parsed to first obtain the local direction number from the location information. As shown in step S101, the parsed first alarm command obtains the local direction number as 6xx. Based on the local direction number and the first specified command, the device identifier corresponding to the relay group is determined. The first specified command is the LST TG command under AGCF. Through the LST TG command, TG is specified as the obtained local direction number, and various information corresponding to the local direction number is obtained, from which the device identifier corresponding to the relay group is obtained, as shown below:

[0037] +++ AGCF

[0038] O&M #3xx

[0039] %%LST TG:TG=6xx;%%--Location number

[0040] RETCODE=0 Operation successful

[0041] Basic Information

[0042] --------

[0043] Relay group number = 6xx

[0044] Relay group name = NBXXX + XX fleet

[0045] Source signaling point code = 0Dxxx2

[0046] Destination signaling point code = 0Dxxx1

[0047] Device ID = 10.1xx.1xx.9x:x000 -- Device Identifier

[0048] Network identifier = XX network

[0049]

[0050] ---END

[0051] Based on the determined device identifier and the second specified instruction, the corresponding media gateway information is further obtained. The second specified instruction is the LST MGW instruction under AGCF. Through the LST MGW instruction, the EID is specified as the obtained device identifier, and the media gateway information corresponding to the device identifier is obtained. The media gateway information is obtained from it, as shown below:

[0052] +++ AGCF

[0053] O&M #2xx

[0054] %%LST MGW:EID = "10.1xx.1xx.9x:x000";%%--Device Identifier

[0055] RETCODE=0 Operation successful

[0056] Media gateway information

[0057] -------------

[0058] Equipment ID = 10.1xx.1xx.9x:x000

[0059] Media Gateway ID = NULL

[0060] Media gateway index = 1

[0061] Media gateway description = TZXXX01

[0062] Gateway group number = 65xxx

[0063] Session boundary controller = 65xxx

[0064]

[0065] ---END

[0066] Through the above processing, it can be determined that the relay group of the alarm corresponding to the first alarm command is located in the media gateway obtained above.

[0067] Then, based on the media gateway information and the third specified instruction, the interface board type, board group number, optical port number, etc. of the corresponding plug-in board are obtained. The third specified instruction is the LST MTP2LNK instruction. By specifying LNKNO as the obtained local area code through the LST MTP2LNK instruction, the corresponding information is obtained, from which the interface board type, board group number, optical port number, etc. are obtained, as shown below:

[0068] LST MTP2LNK:LNKNO=6xx;

[0069] TZXXX01

[0070] +++ HXXXXI UXX8X00

[0071] O&M #2XXXXX

[0072] %% / *18xxxxxxxx* / LST MTP2LNK:LNKNO=6xx;%%

[0073] RETCODE=0 Execution successful

[0074] Query MTP2LNK

[0075] ------------

[0076] Link number = 6xx

[0077] Link name = NB_X + XX Fleet 1

[0078] Link set index = 1xx

[0079] Integer interface ID = 6xx

[0080] Text-based interface ID = NULL

[0081] Link type = MXX2_6XX_FOR_XXXA

[0082] Interface board type = SxL

[0083] Interface board group number = 2

[0084] Light slogan = 1

[0085] E1T1 identifier = E1

[0086]

[0087] ---END

[0088] Based on the above information, we can obtain that the interface board type is SxL, the interface board group number is 2, and the optical port number is 1. The above is just an example; the actual values ​​should be obtained according to the specific implementation.

[0089] Based on the obtained interface board type, board group number, optical port number, and the fourth specified instruction, the chassis number and slot number of the insertion board are obtained. The fourth specified instruction is the LST BRD instruction. Using the LST BRD instruction, BT is specified as the obtained interface board type, and BN is the interface board group number, to retrieve the slot record table, from which the chassis number and slot number of the insertion board are obtained, as shown below:

[0090] LST BRD:LM = BXXN, BT = SxL, BN = 2; -LM is specified according to the implementation and can be set to a specific value.

[0091] TZXXX01

[0092] +++ HXXXXI UXX8X00

[0093] O&M #2XXXXX

[0094] %% / *18xxxxxxxx* / LST BRD:LM=BXXN, BT=SxL, BN=2;%%

[0095] RETCODE=0 Execution successful

[0096] Slot Record Sheet

[0097] ----------

[0098] Frame number = 2

[0099] Slot number = 2

[0100] Hardware type = MSxL

[0101]

[0102] ---END

[0103] Based on the slot record table above, we can obtain that the frame number is 2 and the slot number is 2. The above is just an example; the actual values ​​should be obtained based on the specific implementation.

[0104] The service port information includes media gateway information, interface board type, optical port number, chassis number, and slot number. The acquired media gateway information, interface board type, optical port number, chassis number, and slot number are concatenated in a specified order, such as media gateway information-chassis number-slot number-interface board type-optical port number, to obtain the alarm's service port information, TZXXX01-B02-02-SxL-optical port 1. The media gateway information can also be converted to correspond to the service circuit for subsequent queries, but this will not be elaborated here. The specified order is set according to the implementation situation and is not limited here.

[0105] Step S103: Determine the corresponding service circuit information based on the service port information.

[0106] Based on the spliced ​​service port information, query the service circuit view, such as... Figure 3 As shown, the service port information of port A, such as TZXXX01-B02-02-SxL-Optical Port 1, is obtained, along with the corresponding service circuit information, which specifically includes the service circuit name. Each obtained service circuit is a transmission circuit on the same optical port.

[0107] Step S104: Query the corresponding transmission circuit information based on the service circuit information to obtain the port information and alarm information of the transmission port from the first designated end to the second designated end.

[0108] Since all service circuits are optical port transmission circuits, you can choose any one of the above service circuit information to query the service circuit and transmission circuit correspondence view to obtain the transmission circuit name. For example... Figure 4 As shown, the view corresponding to the service circuit and transmission circuit can be directly queried based on the service circuit name to obtain the transmission circuit name. The transmission port information for the corresponding first and second designated terminals can then be queried based on the transmission circuit name, such as... Figure 5 As shown in the figure, the diagram displays the port information for the A-Z transmission ports, yielding the A-end transmission port xxx-XX City XX District XX Town XXXX-XXX-XXX and the Z-end transmission port xxx-XX City XX District XX Town XXXX-XXX. Based on the first and second specified end transmission ports obtained through querying, the alarm commands associated with the first and second specified end transmission ports are further queried. Specifically, the transmission alarm commands associated with the first and second specified end transmission ports are queried.

[0109] Step S105: Match the alarm command of the first specified end-to-second specified end transmission port with the specified alarm type of the second alarm command, and complete the port delimitation of the transmission alarm based on the matching result.

[0110] The alarm commands for the first-specified-second-specified transmission port are matched with the specified alarm types contained in the second alarm command. The specified alarm types in the second alarm command include, for example, R_LOS and ETH_LOS. If the transmission alarm command for the first-specified-second-specified transmission port contains any of these specified alarm types, the match is successful, and the port for the transmission alarm can be defined as the first-specified-second-specified transmission port. Taking R_LOS as the transmission alarm at end A and R_LOS as the transmission alarm at end Z as an example, the following information can be obtained:

[0111] TZXXX01-B02-02-SxL-Optical Port 1 connects XX service circuits, mainly including XX voice leased line services for the XX fleet.

[0112] A-end transmission alarm: xxx-XX City XX District XX Town XXXX-XXX-XXX R_LOS

[0113] Z-end transmission alarm: xxx-XX City XX District XX Town XXXX-XXX R_LOS

[0114] Furthermore, the above information can be output in the preprocessing information field of the first alarm command to facilitate the delimitation of the first alarm command and clarify that the voice leased line alarm is caused by a transmission alarm.

[0115] If the transmission alarm command of the first designated end to the second designated end transmission port does not contain the above-specified alarm type, the match fails, and it is determined that the alarm of the voice leased line is not caused by the transmission alarm, resulting in the following information:

[0116] TZXXX01-B02-02-SxL-Optical Port 1 connects XX service circuits, mainly including XX voice leased line services for the XX fleet.

[0117] A-end transmission alarm: xxx-XX City XX District XX Town XXXX-XXX-XXX No alarm

[0118] Z-end transmission alarm: xxx-XX City XX District XX Town XXXX-XXX No alarm

[0119] The voice leased line alarm delimitation method based on the command channel provided by this invention involves multi-layer parsing of the first alarm command to obtain the service port information of the alarm, and finally determining the corresponding first designated end-second designated end transmission port by querying. By matching the alarm information of the first designated end-second designated end transmission port with the second alarm information, it can be determined whether the voice leased line alarm is caused by a transmission alarm, facilitating port delimitation of transmission alarms and improving the accuracy and efficiency of delimitation.

[0120] Figure 6 A functional block diagram of a voice leased line alarm delimitation device based on a command channel according to an embodiment of the present invention is shown. Figure 6 As shown, the voice leased line alarm delimitation device based on the command channel includes the following modules:

[0121] The acquisition module 610 is adapted to acquire a first alarm instruction and a second alarm instruction; the first alarm instruction is an alarm instruction from the AGCF access gateway control function unit; the second alarm instruction is a transmission alarm instruction.

[0122] The parsing module 620 is suitable for performing multi-level parsing on the first alarm command and concatenating it to obtain the alarm's service port information.

[0123] The circuit determination module 630 is adapted to query and determine the corresponding service circuit information based on the service port information.

[0124] The port determination module 640 is adapted to query the corresponding transmission circuit information based on the service circuit information, and obtain the port information and alarm information of the transmission port from the first designated end to the second designated end.

[0125] The delimitation module 650 is adapted to match the alarm command of the first specified end-to-second specified end transmission port with the specified alarm type of the second alarm command, and complete the port delimitation of the transmission alarm based on the matching result.

[0126] Optionally, the first alarm instruction is specifically: an alarm instruction indicating that the destination signaling point of the device type AGCF access gateway control function unit is unreachable.

[0127] Optionally, the service port information includes media gateway information, interface board type, optical port number, chassis number and / or slot number.

[0128] Optionally, the parsing module 620 is further adapted to:

[0129] The first alarm command is parsed to obtain the local direction number from the location information;

[0130] Based on the local direction number and the first designated instruction, determine the device identifier corresponding to the relay group;

[0131] Based on the device identifier and the second specified instruction, obtain the corresponding media gateway information;

[0132] Based on the media gateway information and the third specified instruction, obtain the corresponding plug-in board type, board group number and / or optical port number;

[0133] Based on the interface board type, board group number and / or optical port number and the fourth specified instruction, obtain the chassis number and / or slot number of the plug-in board;

[0134] By concatenating the media gateway information, interface board type, optical port number, chassis number and / or slot number in a specified order, the service port information of the alarm is obtained.

[0135] Optionally, the circuit determination module 630 specifically performs the following: querying the service circuit view based on the service port information to obtain the service circuit information where the first specified end port is the service port information; wherein, the service circuit is a co-optical port transmission circuit.

[0136] Optionally, the port determination module 640 is further adapted to:

[0137] Based on the service circuit information, query the corresponding view of the service circuit and transmission circuit to obtain the name of the transmission circuit;

[0138] Based on the transmission circuit name, query the port information of the corresponding first designated end - second designated end transmission port.

[0139] Query alarm information for the first designated end to the second designated end transmission port.

[0140] Alternatively, the delimiting module 650 is further adapted to:

[0141] Match the alarm command of the first designated end to the second designated end transmission port with the specified alarm type of the second alarm command;

[0142] If a match is successful, the port delimitation for transmitting alarms is determined to be the transmission port between the first designated end and the second designated end.

[0143] The descriptions of the above modules refer to the corresponding descriptions in the method embodiments, and will not be repeated here.

[0144] This application also provides a non-volatile computer storage medium storing at least one executable instruction that can execute the voice leased line alarm delimitation method based on the instruction channel in any of the above method embodiments.

[0145] Figure 7 The diagram illustrates the structure of an electronic device according to an embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the electronic device.

[0146] like Figure 7 As shown, the electronic device may include: a processor 702, a communications interface 704, a memory 706, and a communications bus 708.

[0147] in:

[0148] The processor 702, communication interface 704, and memory 706 communicate with each other via communication bus 708.

[0149] The communication interface 704 is used to communicate with other network elements such as clients or other servers.

[0150] The processor 702 is used to execute program 710, specifically to execute the relevant steps in the above embodiment of the voice leased line alarm delimitation method based on the instruction channel.

[0151] Specifically, program 710 may include program code that includes computer operation instructions.

[0152] Processor 702 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The electronic device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.

[0153] Memory 706 is used to store program 710. Memory 706 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0154] Specifically, program 710 can be used to cause processor 702 to execute the command channel-based voice leased line alarm delimitation method in any of the above method embodiments. The specific implementation of each step in program 710 can be found in the corresponding descriptions of the steps and units in the above-described command channel-based voice leased line alarm delimitation embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0155] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0156] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0157] Similarly, it should be understood that, in order to streamline this disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0158] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0159] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments can be used in any combination.

[0160] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the instruction channel-based voice leased line alarm demarcation device according to embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such programs implementing the present invention can be stored on a computer-readable medium or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0161] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

Claims

1. A method for voice trunk alarm delimitation based on instruction channel, characterized in that the method include: Obtain the first alarm command and the second alarm command; the first alarm command is the alarm command of the AGCF access gateway control function unit. The second alarm command is a transmission alarm command; The first alarm command is parsed in multiple layers to obtain the alarm's service port information. Specifically, the first alarm command is parsed to obtain the local area code (NAC) from the location information. Based on the NAC and a first specified command, the device identifier corresponding to the relay group is determined. Based on the device identifier and a second specified command, the corresponding media gateway information is obtained. Based on the media gateway information and a third specified command, the interface board type, board group number, and / or optical port number of the corresponding plug-in board are obtained. Based on the interface board type, board group number, and / or optical port number, and a fourth specified command, the chassis number and / or slot number of the plug-in board are obtained. The media gateway information, interface board type, optical port number, chassis number, and / or slot number are concatenated in a specified order to obtain the alarm's service port information. The corresponding service circuit information is determined by querying the service port information; wherein, the service circuit view is queried based on the service port information to obtain the service circuit information whose first designated port is the service port information; the service circuit is a co-optical port transmission circuit; Based on the service circuit information, query the corresponding transmission circuit information to obtain the port information and alarm information of the first designated end-to-second designated end transmission port; wherein, based on the service circuit information, query the corresponding view of the service circuit and transmission circuit to obtain the transmission circuit name; based on the transmission circuit name, query the port information of the corresponding first designated end-to-second designated end transmission port, and query the alarm information of the first designated end-to-second designated end transmission port. The alarm command of the first designated end-to-second designated end transmission port is matched with the specified alarm type of the second alarm command, and the port delimitation of the transmission alarm is completed according to the matching result.

2. The method of claim 1, wherein, The first alarm instruction is specifically: an alarm instruction indicating that the destination signaling point of the AGCF access gateway control function unit is unreachable.

3. The method of claim 1, wherein, The service port information includes media gateway information, interface board type, optical port number, chassis number and / or slot number.

4. The method of claim 1, wherein, The step of matching the alarm command of the first designated end-to-second designated end transmission port with the designated alarm type of the second alarm command, and completing the port delimitation of the transmission alarm based on the matching result, further includes: Match the alarm command of the first designated end-second designated end transmission port with the specified alarm type of the second alarm command; If a match is successful, the port for transmitting the alarm is defined as the transmission port between the first designated end and the second designated end.

5. An instruction channel based voice trunk alarm delimiting apparatus, characterized by, The device includes: The acquisition module is adapted to acquire a first alarm instruction and a second alarm instruction; the first alarm instruction is an alarm instruction from the AGCF access gateway control function unit. The second alarm command is a transmission alarm command; The parsing module is adapted to perform multi-level parsing on the first alarm command and concatenate the data to obtain the alarm's service port information. Specifically, the first alarm command is parsed to obtain the local area code (NAC) from the location information; the NAC and a first specified command are used to determine the device identifier corresponding to the relay group; the device identifier and a second specified command are used to obtain the corresponding media gateway information; the media gateway information and a third specified command are used to obtain the interface board type, board group number, and / or optical port number of the corresponding plug-in board; the interface board type, board group number, and / or optical port number and a fourth specified command are used to obtain the chassis number and / or slot number of the plug-in board; and the media gateway information, interface board type, optical port number, chassis number, and / or slot number are concatenated in a specified order to obtain the alarm's service port information. The circuit determination module is adapted to query and determine the corresponding service circuit information based on the service port information; wherein, based on the service port information, a service circuit view is queried to obtain service circuit information for which the first specified end port is the service port information; the service circuit is a co-optical port transmission circuit. The port determination module is adapted to query the corresponding transmission circuit information based on the service circuit information to obtain the port information and alarm information of the first designated end-second designated end transmission port; wherein, based on the service circuit information, the module queries the corresponding view of the service circuit and transmission circuit to obtain the transmission circuit name; based on the transmission circuit name, the module queries the port information of the corresponding first designated end-second designated end transmission port and queries the alarm information of the first designated end-second designated end transmission port. The delimitation module is adapted to match the alarm command of the first specified end-to-second specified end transmission port with the specified alarm type of the second alarm command, and complete the port delimitation of the transmission alarm based on the matching result.

6. An electronic device comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the voice leased line alarm delimitation method based on the instruction channel as described in any one of claims 1-4.

7. A computer storage medium storing at least one executable instruction that causes a processor to perform an operation corresponding to the voice leased line alarm delimitation method based on the instruction channel as described in any one of claims 1-4.