Digital trunk line isolation method and device, storage medium and electronic equipment

By obtaining the status information and performing fault detection when receiving the digital trunk warning information, and then performing isolation processing after confirmation, the problem of low isolation accuracy in the prior art is solved, and more efficient E1 trunk management and operation and maintenance are achieved.

CN119996570APending Publication Date: 2025-05-13INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510236689.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The prior art directly isolates the digital trunk when it detects an early warning, resulting in low isolation accuracy and failing to effectively solve the complex E1 trunk management and operation and maintenance problems.

Method used

When receiving the early warning information for the digital relay line, it obtains its status information, performs fault detection based on the status information, and then performs isolation processing after determining the detection result to ensure isolation accuracy.

Benefits of technology

The isolation accuracy of digital trunks is improved, and it can determine whether to isolate according to the fault type, thereby optimizing the management and operation and maintenance of E1 trunks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996570A_ABST
    Figure CN119996570A_ABST
Patent Text Reader

Abstract

The invention discloses a digital trunk line isolation method and device, a storage medium and electronic equipment. Relates to the field of financial science and technology or other fields, and the method comprises the steps: obtaining the state information of a digital trunk line under the condition of receiving the early warning information of the digital trunk line, and enabling the state information to be obtained through the detection of a target interface board card connected with the digital trunk line, the digital trunk line is used for communication between a user of the target institution and a customer service of the target institution; performing fault detection on the digital relay line based on the state information to obtain a detection result; and under the condition that the detection result shows that the digital relay line has a fault, carrying out isolation processing on the digital relay line. Through the method and the device, the problem of low isolation accuracy caused by direct isolation of the digital relay line when early warning of the digital relay line is detected in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of financial technology or other fields, and specifically, to a method, device, storage medium and electronic device for isolating a digital trunk line. Background Art

[0002] With the continuous development of major enterprises, call centers with independent voice systems are indispensable. Since digital trunk lines (also known as E1 trunk lines) are far superior to traditional analog telephone lines in terms of functional reliability and line density, voice access systems using E1 trunk line access are widely used in major call centers. However, with the growth of business volume, the demand for E1 trunk lines is also increasing, and the management and operation and maintenance of hundreds or thousands of E1 trunk lines are becoming more and more complicated.

[0003] At present, in the related technology, when an early warning is detected in an E1 trunk line, the digital trunk line is directly isolated, resulting in a problem of low isolation accuracy.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The main purpose of the present application is to provide a method, device, storage medium and electronic device for isolating a digital trunk line, so as to solve the problem in the related art that when an alarm is detected in the digital trunk line, the digital trunk line is directly isolated, resulting in low isolation accuracy.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for isolating a digital trunk line is provided. The method comprises: upon receiving early warning information for a digital trunk line, obtaining status information of the digital trunk line, wherein the status information is obtained by detecting a target interface board card to which the digital trunk line is connected, and the digital trunk line is used for communication between a user of a target organization and a customer service of the target organization; performing fault detection on the digital trunk line based on the status information to obtain a detection result; and isolating the digital trunk line when the detection result indicates that a target fault exists in the digital trunk line.

[0007] Furthermore, the method for isolating a digital trunk line also includes: determining a target interface card to which the digital trunk line is connected, and generating a detection instruction set based on connection information of the digital trunk line on the target interface card, wherein the detection instructions in the detection instruction set are used to instruct a gateway device to detect status information of the digital trunk line; determining a gateway device to which the digital trunk line is connected, and sending the detection instructions in the detection instruction set to the gateway device; and receiving status information of the digital trunk line fed back by the gateway device.

[0008] Furthermore, the method for isolating a digital trunk line also includes: generating a first detection instruction based on a first instruction template and connection information, wherein the first detection instruction is used to instruct the gateway device to detect whether a target signal processing unit is in a blocked state, and the target signal processing unit refers to a signal processing unit associated with the digital trunk line on an optical port of a target interface board; generating a second detection instruction based on a second instruction template and connection information, wherein the second detection instruction is used to instruct the gateway device to detect whether a loopback function is enabled for the digital trunk line, and the gateway device determines whether the loopback function is enabled or disabled by detecting an interface on the target interface board connected to the digital trunk line; generating a third detection instruction based on a third instruction template and connection information, wherein the third detection instruction is used to instruct the gateway device to detect whether a target channel on the target interface board is in a multi-frame establishment state, and the target channel is a channel that carries signaling information; generating a detection instruction set based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

[0009] Furthermore, the method for isolating a digital trunk line also includes: when the detection instruction set includes a first detection instruction, a second detection instruction, and a third detection instruction, when the status information indicates that the target signal processing unit is in a non-blocked state, and the loopback function of the digital trunk line is not turned on, and the target channel is in a multi-frame establishment state, determining that the detection result indicates that there is no target fault in the digital trunk line; when the status information indicates that the target signal processing unit is in a blocked state, or the loopback function of the digital trunk line is turned on, or the target channel is not in a multi-frame establishment state, determining that the detection result indicates that there is a target fault in the digital trunk line.

[0010] Furthermore, the method for isolating a digital trunk line also includes: obtaining a service type associated with the digital trunk line; and when the service type is an incoming call service, enabling a loopback function of the digital trunk line.

[0011] Furthermore, the method for isolating a digital trunk line also includes: obtaining a service type associated with the digital trunk line; when the service type is an outgoing service, sending a target instruction to a gateway device connected to the digital trunk line, wherein the target instruction is used to instruct the gateway device to prohibit sending data received by the gateway device to the digital trunk line.

[0012] Furthermore, the method for isolating a digital trunk line further includes: after obtaining the detection result, if the detection result indicates that the digital trunk line does not have a target fault, prohibiting isolation processing of the digital trunk line.

[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a device for isolating a digital trunk line is provided. The device comprises: an acquisition module, which is used to acquire the status information of the digital trunk line when receiving the warning information for the digital trunk line, wherein the status information is obtained by detecting the target interface board card connected to the digital trunk line, and the digital trunk line is used for communication between the user of the target organization and the customer service of the target organization; a detection module, which is used to perform fault detection on the digital trunk line based on the status information to obtain the detection result; and a first processing module, which is used to isolate the digital trunk line when the detection result indicates that the digital trunk line has a target fault.

[0014] Furthermore, the acquisition module also includes: a first determination submodule, used to determine the target interface board to which the digital trunk line is connected, and generate a detection instruction set based on the connection information of the digital trunk line on the target interface board, wherein the detection instructions in the detection instruction set are used to instruct the gateway device to detect the status information of the digital trunk line; a second determination submodule, used to determine the gateway device to which the digital trunk line is connected, and send the detection instructions in the detection instruction set to the gateway device; and a receiving submodule, used to receive the status information of the digital trunk line fed back by the gateway device.

[0015] Furthermore, the first determination submodule also includes: a first generation unit, used to generate a first detection instruction based on a first instruction template and connection information, wherein the first detection instruction is used to instruct the gateway device to detect whether the target signal processing unit is in a blocked state, and the target signal processing unit refers to the signal processing unit associated with the digital trunk line on the optical port of the target interface board; a second generation unit, used to generate a second detection instruction based on a second instruction template and connection information, wherein the second detection instruction is used to instruct the gateway device to detect whether the loopback function of the digital trunk line is turned on, and the gateway device determines the opening and closing of the loopback function by detecting the interface connected to the digital trunk line on the target interface board; a third generation unit, used to generate a third detection instruction based on a third instruction template and connection information, wherein the third detection instruction is used to instruct the gateway device to detect whether the target channel on the target interface board is in a multi-frame establishment state, and the target channel is a channel that carries signaling information; a fourth generation unit, used to generate a detection instruction set based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

[0016] Furthermore, the detection module also includes: a third determination submodule, which is used to determine that the detection result indicates that there is no target fault in the digital trunk line when the status information indicates that the target signal processing unit is in a non-blocked state, the loopback function is not turned on for the digital trunk line, and the target channel is in a multi-frame establishment state; a fourth determination submodule, which is used to determine that the detection result indicates that there is a target fault in the digital trunk line when the status information indicates that the target signal processing unit is in a blocked state, or the loopback function is turned on for the digital trunk line, or the target channel is not in a multi-frame establishment state.

[0017] Furthermore, the first processing module also includes: a first acquisition submodule, used to acquire the service type associated with the digital trunk line; and a first sending submodule, used to enable the loopback function of the digital trunk line when the service type is an incoming call service.

[0018] Furthermore, the first processing module also includes: a second acquisition submodule, used to obtain the service type associated with the digital trunk line; a second sending submodule, used to send a target instruction to the gateway device connected to the digital trunk line when the service type is an outgoing service, wherein the target instruction is used to instruct the gateway device to prohibit sending data received by the gateway device to the digital trunk line.

[0019] Furthermore, the isolation device for a digital trunk line further includes: a second processing module, configured to prohibit isolation processing of the digital trunk line when the detection result indicates that the digital trunk line does not have a target fault.

[0020] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, and the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned digital trunk isolation method.

[0021] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, the electronic device comprising a memory storing an executable program; and a processor for running the program, wherein the above-mentioned method for isolating a digital trunk line is executed when the program is running.

[0022] In order to achieve the above object, according to another aspect of the present application, a computer program product is provided, comprising computer instructions, which implement the steps of the above digital trunk isolation method when executed by a processor.

[0023] In an embodiment of the present application, by acquiring status information of a digital trunk line upon receiving early warning information for the digital trunk line, effective acquisition of information characterizing the working condition of the digital trunk line is achieved, and by performing fault detection on the digital trunk line based on the status information to obtain a detection result, it is possible to determine whether a target fault exists in the digital trunk line based on the working condition of the digital trunk line, and by isolating the digital trunk line when the detection result characterizes the existence of a target fault in the digital trunk line, it is possible to isolate the digital trunk line when a specific fault occurs in the digital trunk line, thereby achieving targeted determination of whether to isolate the digital trunk line based on the fault type, thereby improving the accuracy of isolation.

[0024] It can be seen that the solution provided in the present application achieves the purpose of determining whether to isolate the digital trunk line based on the fault type of the digital trunk line after the digital trunk line alarm is generated, realizes the technical effect of improving the isolation accuracy, and solves the problem in the related technology that when an alarm is detected in the digital trunk line, the digital trunk line is directly isolated, resulting in low isolation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0026] Figure 1 is a hardware structure block diagram of a computer terminal provided according to an embodiment of the present application;

[0027] Figure 2 is a flow chart of a method for isolating a digital trunk line provided according to an embodiment of the present application;

[0028] Figure 3 is a schematic diagram of early warning information provided according to an embodiment of the present application;

[0029] Figure 4 is a schematic diagram of service types of a digital trunk line provided according to an embodiment of the present application;

[0030] Figure 5 is a schematic diagram of determining status information provided according to an embodiment of the present application;

[0031] Figure 6 is a schematic diagram of determining a detection result according to an embodiment of the present application;

[0032] Figure 7 is a schematic diagram of processing a digital trunk line according to an embodiment of the present application;

[0033] Figure 8is a schematic diagram of an isolation device for a digital trunk provided according to an embodiment of the present application;

[0034] Fig. 9 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] It should be noted that the collected information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with relevant laws, regulations and standards, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation entrances are provided for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or institutions to provide users with corresponding operation entrances for users to choose to agree or refuse the results of automated decision-making; if the user chooses to refuse, the expert decision-making process will be entered.

[0038] It should be noted that the isolation method, device, storage medium and electronic device of the digital trunk line disclosed in the present invention can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application field of the isolation method, device, storage medium and electronic device of the digital trunk line disclosed in the present invention is not limited.

[0039] Example 1

[0040] According to an embodiment of the present application, an embodiment of a method for isolating a digital trunk line is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for isolating a digital trunk line is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more (shown as 102a, 102b, ..., 102n in the figure) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0042] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0043] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the method for isolating digital trunks in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the method for isolating digital trunks described above is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0044] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0045] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0046] Under the above operating environment, this application provides Figure 2 The isolation method of the digital trunk line is shown. Figure 2 It is a flow chart of a method for isolating a digital trunk line provided according to an embodiment of the present application.

[0047] Step S201, upon receiving warning information for a digital trunk line, obtain status information of the digital trunk line, wherein the status information is obtained by detecting a target interface board to which the digital trunk line is connected, and the digital trunk line is used for communication between a user of a target organization and a customer service of the target organization.

[0048] Optionally, electronic devices, application systems, servers and other devices may be used as the execution subject of the present application. In this embodiment, the target processing system is used as the execution subject to execute the above-mentioned digital trunk isolation method.

[0049] In some embodiments, the customer service agent side of the target organization, the target processing system, the gateway device, and the operator server are connected in sequence, a digital trunk line is connected between the gateway device and the operator server, and the user of the target organization communicates with the customer service agent side through the operator server, and the digital trunk line carries the communication data between the customer service agent side and the user of the target organization. Optionally, the digital trunk line is also called an E1 trunk line. Optionally, the target organization can be a financial institution or other types of organizations.

[0050] Optionally, the physical connection relationship of the digital trunk line is described. The digital trunk line is connected to the E1 interface card of the gateway device through a physical interface (such as a coaxial cable or a twisted pair). These cards usually have multiple E1 ports, each of which can be connected to an E1 line. After the E1 signal reaches the card, it will be demultiplexed. The E1 signal is a PCM (pulse code modulation) signal with 32 time slots, of which 30 time slots are used for user data transmission and 2 time slots (TS0 and TS16) are used to transmit synchronization and signaling information. The demultiplexing process decomposes this 2Mbit / s E1 signal into 64Kbit / s signal streams in each time slot. In some networks, the demultiplexed E1 signal will be adapted to a specific 2M subunit, which usually refers to a logical unit that adapts a 2Mbit / s rate electrical signal (such as an E1 signal) to a higher bandwidth transmission frame structure. The device can use these 2M subunits to manage and monitor the transmission status of the E1 signal, such as bit error rate, signal loss, etc. Inside the device, the signals of multiple 2M subunits are multiplexed into a high-speed signal stream, which is eventually transmitted to the optical port of the device, converted into optical signals by the optical transceiver module at the optical port, and transmitted over long distances through the optical fiber network.

[0051] Optionally, the digital trunk warning information can be initiated by the customer service agent or gateway device. Figure 3 is a schematic diagram of early warning information provided according to an embodiment of the present application, such as Figure 3As shown, the early warning information of the digital trunk line includes the trunk number, trunk name, reference number (line number), board information, and operation information (including line status and detailed information) of the digital trunk line, wherein the trunk number is the unique digital identifier of the digital trunk line, and the trunk name is the unique text identifier of the digital trunk line. The trunk name may include the service type of the digital trunk line (e.g., incoming call, outgoing call), the connected gateway device, the location on the gateway device, the corresponding operator, etc. The trunk name can be used to locate the service type of the digital trunk line. The reference number (line number) is important information to be provided by the operator for fault reporting, which is convenient for timely acquisition of key information after confirming the line fault. The board information includes but is not limited to the identifier of the target interface board to which the digital trunk line is connected, the optical port to which the digital trunk line is connected on the target interface board, and the connection position of the digital trunk line on the optical port (e.g., the third digital trunk line on the optical port).

[0052] In some embodiments, the aforementioned incoming call is a call initiated by the user to the target organization, and the aforementioned outgoing call is a call initiated by the target organization to the user. Figure 4 is a schematic diagram of the service types of the digital trunk line provided according to the embodiment of the present application, such as Figure 4 As shown, incoming call services can be divided into more fine-grained regions according to provinces, cities, operators, etc., such as incoming call services in Province A, outgoing call services in Province B, etc. Outgoing call services can also be divided into manual outbound call services, intelligent outbound call services, etc.

[0053] In some embodiments, a correspondence between the relay number of the digital trunk line and the gateway device is preset in the target processing system. When receiving early warning information for the digital trunk line, the target processing system can determine the gateway device to which the digital trunk line is connected based on the correspondence, and determine the target interface board to which the trunk line is connected on the gateway device based on the relay name or board information of the digital trunk line.

[0054] In some embodiments, upon receiving warning information for a digital trunk line, the target processing system can also determine the gateway device to which the trunk line is connected based on the trunk name of the digital trunk line, and then determine the target interface board to which the trunk line is connected on the gateway device based on the trunk name or board information of the digital trunk line.

[0055] Optionally, after determining the target interface card, the target processing system can detect the target interface card connected to the digital trunk line to obtain the status information of the digital trunk line. The status information of the digital trunk line includes at least one of a physical state, a loopback state, and a logical state, wherein the physical state is used to indicate whether the target signal processing unit is in a blocked state, the target signal processing unit refers to a signal processing unit (such as a 2M subunit) associated with the digital trunk line on the optical port of the target interface card, the loopback state is used to indicate whether the digital trunk line has a loopback function enabled, and the logical state is used to indicate whether the target channel on the target interface card is in a multi-frame establishment state, and the target channel is a channel that carries signaling information.

[0056] Step S202: Perform fault detection on the digital trunk line based on the status information to obtain a detection result.

[0057] In some embodiments, the detection result is used to at least characterize whether a target fault exists in the digital trunk line.

[0058] For example, the target processing system may input state information into a fault classification model and determine a detection result based on the fault classification model, wherein the fault classification model may be a neural network model.

[0059] For another example, the target processing system may perform fault detection on the digital trunk line based on the state information according to a preset fault detection rule to obtain a detection result.

[0060] Step S203: When the detection result indicates that the digital trunk line has a target fault, the digital trunk line is isolated.

[0061] Optionally, in actual application, digital trunks may have instantaneous faults, which refer to faults that can be automatically recovered within a preset time range (e.g., 1s, 30s, etc.), such as signal quality fluctuations caused by electromagnetic interference, instantaneous instability of equipment hardware, or temporary noise in the line. The occurrence of such faults will also trigger corresponding warnings. However, since such faults can be recovered by themselves, when isolating digital trunks, in order to reduce labor costs and avoid isolating digital trunks that only have instantaneous faults, it is only necessary to wait for them to recover by themselves, so there is no need to manually log in to the equipment for inspection and notify relevant staff to conduct on-site inspections.

[0062] Therefore, in this embodiment, the target fault refers to a non-instantaneous fault, and a non-instantaneous fault refers to a fault that cannot be automatically recovered within a preset time range.

[0063] In an embodiment of the present application, by acquiring status information of a digital trunk line upon receiving early warning information for the digital trunk line, effective acquisition of information characterizing the working condition of the digital trunk line is achieved, and by performing fault detection on the digital trunk line based on the status information to obtain a detection result, it is possible to determine whether a target fault exists in the digital trunk line based on the working condition of the digital trunk line, and by isolating the digital trunk line when the detection result characterizes the existence of a target fault in the digital trunk line, it is possible to isolate the digital trunk line when a specific fault occurs in the digital trunk line, thereby achieving targeted determination of whether to isolate the digital trunk line based on the fault type, thereby improving the accuracy of isolation.

[0064] It can be seen that the solution provided in the present application achieves the purpose of determining whether to isolate the digital trunk line based on the fault type of the digital trunk line after the digital trunk line alarm is generated, realizes the technical effect of improving the isolation accuracy, and solves the problem in the related technology that when an alarm is detected in the digital trunk line, the digital trunk line is directly isolated, resulting in low isolation accuracy.

[0065] Optionally, in the digital trunk line isolation method provided in the embodiment of the present application, the status information of the digital trunk line is obtained, including: determining the target interface board to which the digital trunk line is connected, and generating a detection instruction set based on the connection information of the digital trunk line on the target interface board, wherein the detection instructions in the detection instruction set are used to instruct the gateway device to detect the status information of the digital trunk line; determining the gateway device to which the digital trunk line is connected, and sending the detection instructions in the detection instruction set to the gateway device; and receiving the status information of the digital trunk line fed back by the gateway device.

[0066] Optionally, a correspondence between the relay number of the digital trunk line and the gateway device is preset in the target processing system. When early warning information for the digital trunk line is received, the target processing system can determine the gateway device to which the digital trunk line is connected based on the correspondence, and determine the target interface board to which the trunk line is connected on the gateway device based on the relay name or board information of the digital trunk line.

[0067] Figure 5 is a schematic diagram of determining status information provided according to an embodiment of the present application, such as Figure 5 As shown, after determining the target interface board, the target processing system can generate a detection instruction set based on the connection information of the digital trunk line on the target interface board, wherein the aforementioned connection information includes but is not limited to the optical port to which the digital trunk line is connected on the target interface board, and the connection position of the digital trunk line on the optical port, wherein the connection position of the digital trunk line on the optical port is used to determine the signal processing unit associated with the digital trunk line on the optical port, and the interface on the target interface board connected to the digital trunk line.

[0068] Optionally, the test instruction set includes multiple test instructions, different test instructions include the aforementioned location information, different test instructions are used to indicate different states of the test digital trunk line, and different test instructions can be generated based on different preset instruction templates.

[0069] Optionally, after generating the detection instructions, such as Figure 5 As shown, the target processing system can determine the gateway device to which the digital trunk is connected, and send the detection instruction in the detection instruction set to the gateway device, so that the gateway device, when receiving the detection instruction, determines the detection object (such as an interface, a signal processing unit, etc.) based on the location information in the detection instruction, and then detects the detection object to obtain status information. After all detection instructions are completed, the target processing system summarizes all the obtained status information and sends it to the target processing system, so that the target processing system can obtain the status information of the digital trunk.

[0070] It should be noted that, through the above process, the state information of the digital trunk line is determined by the gateway device connected by the digital trunk line, thereby improving the accuracy of the determined state information.

[0071] Optionally, in the isolation method for a digital trunk line provided in an embodiment of the present application, a detection instruction set is generated based on the connection information of the digital trunk line on the target interface board, including: generating a first detection instruction based on a first instruction template and the connection information, wherein the first detection instruction is used to instruct the gateway device to detect whether the target signal processing unit is in a blocked state, and the target signal processing unit refers to the signal processing unit associated with the digital trunk line on the optical port of the target interface board; generating a second detection instruction based on a second instruction template and the connection information, wherein the second detection instruction is used to instruct the gateway device to detect whether the loopback function of the digital trunk line is turned on, and the gateway device determines whether the loopback function is turned on or off by detecting the interface connected to the digital trunk line on the target interface board; generating a third detection instruction based on a third instruction template and the connection information, wherein the third detection instruction is used to instruct the gateway device to detect whether the target channel on the target interface board is in a multi-frame establishment state, and the target channel is a channel that carries signaling information; generating a detection instruction set based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

[0072] Optionally, the first detection instruction is used to detect the physical state of the digital trunk line, that is, to detect whether the target signal processing unit is in a blocked state. Optionally, when receiving the first detection instruction, the gateway device can query the statistics, bit error rate, signal state, etc. of the received and sent data of the target signal processing unit to determine whether the subunit is blocked.

[0073] Optionally, the second detection instruction is used to detect the loopback state of the digital trunk line, that is, to detect whether the loopback function of the digital trunk line is turned on. The loopback state of the digital trunk line refers to a test mode performed on the E1 line or related equipment, which is used to detect the transmission quality and faults of the line or equipment. When the loopback function of the digital trunk line is turned on, it is determined that the digital trunk line is in a test state. In this case, the digital trunk line cannot work normally. Optionally, when the gateway device receives the second detection instruction, it can use a command line to query the state of the interface connected to the digital trunk line on the target interface board. The state of the interface includes a target field. The target field indicates whether the current interface is in a loopback state, that is, it is used to indicate whether the loopback function of the digital trunk line is turned on.

[0074] Optionally, the third detection instruction is used to detect the logical state of the digital trunk, that is, to detect whether the target channel on the target interface board is in a multi-frame establishment state. In some embodiments, the target interface board includes 30 B channels + 1 D channel, wherein the B channel is a channel for carrying traffic, such as: transmitting data, voice and other functional services, and the D channel is a channel for carrying signaling information, such as: transmitting control and signal information, and the D channel is the aforementioned target channel. If the D channel is not in a multi-frame establishment state, this means that the signaling link of the D channel is not correctly established or the signaling protocol is not running normally. Optionally, when the gateway device receives the third detection instruction, it can detect whether the target channel is in a multi-frame establishment state through a signaling link status query command, or it can detect whether the D channel is working normally, that is, whether it is in a multi-frame establishment state, by reading the channel status information on the target interface board. It can also be detected whether the target channel is in a multi-frame establishment state by analyzing the signaling protocol transmitted by the D channel.

[0075] Optionally, after obtaining the first detection instruction, the second detection instruction, and the third detection instruction, the target processing system may generate a detection instruction set based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

[0076] In some embodiments, the detection instruction set includes a first detection instruction, a second detection instruction, and a third detection instruction.

[0077] It should be noted that, through the above process, effective generation of various types of detection instructions is achieved, thereby facilitating effective detection of faults in digital trunk lines and improving detection accuracy.

[0078] Optionally, in the isolation method of a digital trunk line provided in an embodiment of the present application, when the detection instruction set includes a first detection instruction, a second detection instruction, and a third detection instruction, fault detection is performed on the digital trunk line based on status information to obtain a detection result, including: when the status information indicates that the target signal processing unit is in a non-blocked state, and the loopback function is not turned on for the digital trunk line, and the target channel is in a multi-frame establishment state, determining that the detection result indicates that there is no target fault in the digital trunk line; when the status information indicates that the target signal processing unit is in a blocked state, or the loopback function is turned on for the digital trunk line, or the target channel is not in a multi-frame establishment state, determining that the detection result indicates that there is a target fault in the digital trunk line.

[0079] Optionally, when the target signal processing unit is in a blocked state, the signal of the digital trunk line cannot be transmitted normally; when the loopback function of the digital trunk line is turned on, it is determined that the digital trunk line is in a test state, in which case the digital trunk line cannot work normally; when the D channel is not in a multi-frame establishment state, this means that the signaling link of the D channel is not established correctly or the signaling protocol is not running normally, that is, the signal of the digital trunk line cannot be transmitted normally.

[0080] Therefore, the target processing system can determine whether there is a target fault in the digital trunk line based on the above method. For example, Figure 6 is a schematic diagram of determining the detection result according to an embodiment of the present application, such as Figure 6 As shown, first determine whether the physical state of the digital trunk line is normal. If it is abnormal, determine that there is a target fault in the digital trunk line. If it is normal, determine whether the loopback state of the digital trunk line is normal. If it is abnormal, determine that there is a target fault in the digital trunk line. If it is normal, determine whether the logical state of the digital trunk line is normal. If it is normal, determine that there is no target fault in the digital trunk line. If it is abnormal, determine that there is a target fault in the digital trunk line.

[0081] It should be noted that, through the above-mentioned method, the detection result is determined based on a variety of state information, thereby achieving accurate determination of the detection result.

[0082] Optionally, in the digital trunk line isolation method provided in the embodiment of the present application, the digital trunk line is isolated, including: obtaining the service type associated with the digital trunk line; when the service type is an incoming call service, enabling the loopback function of the digital trunk line.

[0083] Optionally, the target processing system may determine the service type associated with the digital trunk line according to the trunk name of the digital trunk line, and the service type includes at least an incoming call service and an outgoing call service.

[0084] Optionally, when the service type is an incoming call service, it is necessary to ensure that the operator side can sense the line failure and no longer connect lines to the trunk. In this case, the target processing system can send a loopback function enable instruction to the gateway device connected to the digital trunk line to enable the loopback function of the digital trunk line, thereby isolating the digital trunk line. After the target processing system turns on the loopback function of the digital trunk line, the operator associated with the digital trunk line can detect that the digital trunk line is in a loopback state and no longer connects lines to the digital trunk line, thereby achieving 0 perception on the user side.

[0085] For example, Figure 7 is a schematic diagram of processing a digital trunk line according to an embodiment of the present application, such as Figure 7 As shown, when a digital trunk line fails, an instruction is issued to isolate the digital trunk line and connect the line through another digital trunk line. Optionally, after isolating the digital trunk line, relevant staff can be notified to troubleshoot the problem of the digital trunk line. When the cause of the failure is confirmed to be restored, an instruction can be issued to restore the isolated digital trunk line, for example, a command is issued to enable the operator side and the customer service agent side to release the isolation operation and allow the trunk line to continue to connect.

[0086] It should be noted that, through the above method, the digital trunk lines for incoming call services are effectively isolated, thereby improving the working reliability of the digital trunk lines and achieving 0 perception on the user side.

[0087] Optionally, in the digital trunk line isolation method provided in an embodiment of the present application, the digital trunk line is isolated, including: obtaining the service type associated with the digital trunk line; when the service type is an outgoing service, sending a target instruction to the gateway device to which the digital trunk line is connected, wherein the target instruction is used to instruct the gateway device to prohibit sending data received by the gateway device to the digital trunk line.

[0088] Optionally, the target processing system may determine the service type associated with the digital trunk line according to the trunk name of the digital trunk line, and the service type includes at least an incoming call service and an outgoing call service.

[0089] Optionally, when the service type is an outgoing service, it is necessary to ensure that the gateway device can detect the abnormality of the digital trunk line, and the outgoing service no longer comes into the trunk. In this case, a target instruction is sent to the gateway device connected to the digital trunk line to instruct the gateway device to prohibit sending the data received by the gateway device to the digital trunk line, and instead transmit the data through other digital trunk lines, thereby isolating the digital trunk line.

[0090] It should be noted that, through the above method, the digital trunk lines for outgoing services are effectively isolated, thereby improving the working reliability of the digital trunk lines and achieving 0 perception on the user side.

[0091] Optionally, in the digital trunk line isolation method provided in the embodiment of the present application, after obtaining the detection result, the method further includes: prohibiting isolation processing of the digital trunk line when the detection result indicates that the digital trunk line does not have a target fault.

[0092] Optionally, when the detection result indicates that the digital trunk line does not have the target fault, the digital trunk line is not processed and is left to recover on its own, thereby avoiding manual troubleshooting, reducing labor costs, and improving isolation accuracy.

[0093] It can be seen that the solution provided in the present application achieves the purpose of determining whether to isolate the digital trunk line based on the fault type of the digital trunk line after the digital trunk line alarm is generated, realizes the technical effect of improving the isolation accuracy, and solves the problem in the related technology that when an alarm is detected in the digital trunk line, the digital trunk line is directly isolated, resulting in low isolation accuracy.

[0094] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0095] Example 2

[0096] The embodiment of the present application also provides an isolation device for a digital trunk line. It should be noted that the isolation device for a digital trunk line in the embodiment of the present application can be used to execute the isolation method for a digital trunk line provided in the embodiment of the present application. The isolation device for a digital trunk line provided in the embodiment of the present application is introduced below.

[0097] According to an embodiment of the present application, a device for implementing the above-mentioned digital trunk isolation method is also provided, such as Figure 8 As shown, the device comprises:

[0098] The acquisition module 801 is used to acquire the status information of the digital trunk line when receiving the warning information for the digital trunk line, wherein the status information is obtained by detecting the target interface board card connected to the digital trunk line, and the digital trunk line is used for communication between the user of the target organization and the customer service of the target organization;

[0099] A detection module 802, configured to perform fault detection on the digital trunk line based on the status information and obtain a detection result;

[0100] The first processing module 803 is used to isolate the digital trunk line when the detection result indicates that the digital trunk line has a target fault.

[0101] In an embodiment of the present application, by acquiring status information of a digital trunk line upon receiving early warning information for the digital trunk line, effective acquisition of information characterizing the working condition of the digital trunk line is achieved, and by performing fault detection on the digital trunk line based on the status information to obtain a detection result, it is possible to determine whether a target fault exists in the digital trunk line based on the working condition of the digital trunk line, and by isolating the digital trunk line when the detection result characterizes the existence of a target fault in the digital trunk line, it is possible to isolate the digital trunk line when a specific fault occurs in the digital trunk line, thereby achieving targeted determination of whether to isolate the digital trunk line based on the fault type, thereby improving the accuracy of isolation.

[0102] It can be seen that the solution provided in the present application achieves the purpose of determining whether to isolate the digital trunk line based on the fault type of the digital trunk line after the digital trunk line alarm is generated, realizes the technical effect of improving the isolation accuracy, and solves the problem in the related technology that when an alarm is detected in the digital trunk line, the digital trunk line is directly isolated, resulting in low isolation accuracy.

[0103] Optionally, in the isolation device of the digital trunk line provided in the embodiment of the present application, the acquisition module also includes: a first determination submodule, used to determine the target interface board to which the digital trunk line is connected, and generate a detection instruction set based on the connection information of the digital trunk line on the target interface board, wherein the detection instructions in the detection instruction set are used to instruct the gateway device to detect the status information of the digital trunk line; a second determination submodule, used to determine the gateway device to which the digital trunk line is connected, and send the detection instructions in the detection instruction set to the gateway device; and a receiving submodule, used to receive the status information of the digital trunk line fed back by the gateway device.

[0104] Optionally, in the isolation device of the digital trunk line provided in the embodiment of the present application, the first determination submodule also includes: a first generation unit, used to generate a first detection instruction based on a first instruction template and connection information, wherein the first detection instruction is used to instruct the gateway device to detect whether the target signal processing unit is in a blocked state, and the target signal processing unit refers to the signal processing unit associated with the digital trunk line on the optical port of the target interface board; a second generation unit, used to generate a second detection instruction based on the second instruction template and connection information, wherein the second detection instruction is used to instruct the gateway device to detect whether the loopback function of the digital trunk line is turned on, and the gateway device determines the opening and closing of the loopback function by detecting the interface connected to the digital trunk line on the target interface board; a third generation unit, used to generate a third detection instruction based on a third instruction template and connection information, wherein the third detection instruction is used to instruct the gateway device to detect whether the target channel on the target interface board is in a multi-frame establishment state, and the target channel is a channel that carries signaling information; a fourth generation unit, used to generate a detection instruction set based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

[0105] Optionally, in the isolation device of the digital trunk line provided in the embodiment of the present application, the detection module also includes: a third determination submodule, used to determine that the detection result indicates that there is no target fault in the digital trunk line when the status information indicates that the target signal processing unit is in a non-blocked state, the loopback function is not turned on for the digital trunk line, and the target channel is in a multi-frame establishment state; a fourth determination submodule, used to determine that the detection result indicates that there is a target fault in the digital trunk line when the status information indicates that the target signal processing unit is in a blocked state, or the loopback function is turned on for the digital trunk line, or the target channel is not in a multi-frame establishment state.

[0106] Optionally, in the isolation device of the digital trunk line provided in the embodiment of the present application, the first processing module also includes: a first acquisition submodule, used to obtain the service type associated with the digital trunk line; and a first sending submodule, used to enable the loopback function of the digital trunk line when the service type is an incoming service.

[0107] Optionally, in the isolation device of the digital trunk line provided in the embodiment of the present application, the first processing module also includes: a second acquisition submodule, used to obtain the service type associated with the digital trunk line; a second sending submodule, used to send a target instruction to the gateway device connected to the digital trunk line when the service type is an outgoing service, wherein the target instruction is used to instruct the gateway device to prohibit sending data received by the gateway device to the digital trunk line.

[0108] Optionally, in the isolation device for a digital trunk line provided in an embodiment of the present application, the isolation device for a digital trunk line further includes: a second processing module, configured to prohibit isolation processing of the digital trunk line when a detection result indicates that the digital trunk line does not have a target fault.

[0109] It should be noted that the acquisition module 801, the detection module 802 and the first processing module 803 correspond to steps S201 to S203 in Example 1, and the three modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above-mentioned modules may also be part of the device and may be run in the computer terminal 10 provided in Example 1.

[0110] Example 3

[0111] An embodiment of the present application may provide an electronic device, Fig. 9 is a structural block diagram of an electronic device according to an embodiment of the present application. Fig. 9 As shown, the electronic device may include: one or more ( Fig. 9 (only one is shown) processor 1002, memory 1004, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0112] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0113] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: when receiving early warning information for the digital trunk line, obtain the status information of the digital trunk line, wherein the status information is obtained by detecting the target interface board card connected to the digital trunk line, and the digital trunk line is used for communication between users of the target organization and the customer service of the target organization; based on the status information, perform fault detection on the digital trunk line to obtain the detection result; when the detection result indicates that the digital trunk line has a target fault, isolate the digital trunk line.

[0114] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: determine the target interface board to which the digital trunk line is connected, and generate a detection instruction set based on the connection information of the digital trunk line on the target interface board, wherein the detection instructions in the detection instruction set are used to instruct the gateway device to detect the status information of the digital trunk line; determine the gateway device to which the digital trunk line is connected, and send the detection instructions in the detection instruction set to the gateway device; receive the status information of the digital trunk line fed back by the gateway device.

[0115] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: generate a first detection instruction based on the first instruction template and connection information, wherein the first detection instruction is used to instruct the gateway device to detect whether the target signal processing unit is in a blocked state, and the target signal processing unit refers to the signal processing unit associated with the digital trunk line on the optical port of the target interface board; generate a second detection instruction based on the second instruction template and connection information, wherein the second detection instruction is used to instruct the gateway device to detect whether the loopback function of the digital trunk line is turned on, and the gateway device determines the opening and closing of the loopback function by detecting the interface connected to the digital trunk line on the target interface board; generate a third detection instruction based on the third instruction template and connection information, wherein the third detection instruction is used to instruct the gateway device to detect whether the target channel on the target interface board is in a multi-frame establishment state, and the target channel is a channel that carries signaling information; generate a detection instruction set based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

[0116] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: when the detection instruction set includes the first detection instruction, the second detection instruction, and the third detection instruction, when the status information indicates that the target signal processing unit is in a non-blocked state, the loopback function of the digital trunk line is not turned on, and the target channel is in a multi-frame establishment state, determine that the detection result indicates that there is no target fault in the digital trunk line; when the status information indicates that the target signal processing unit is in a blocked state, or the loopback function of the digital trunk line is turned on, or the target channel is not in a multi-frame establishment state, determine that the detection result indicates that there is a target fault in the digital trunk line.

[0117] The processor may also call the information and application program stored in the memory through the transmission device to perform the following steps:

[0118] Get the service type associated with the digital trunk line; if the service type is incoming service, enable the loopback function of the digital trunk line.

[0119] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: obtaining the service type associated with the digital trunk line; when the service type is an outgoing service, sending a target instruction to the gateway device connected to the digital trunk line, wherein the target instruction is used to instruct the gateway device to prohibit sending the data received by the gateway device to the digital trunk line.

[0120] The processor may also call the information and application program stored in the memory through the transmission device to perform the following steps: after obtaining the detection result, if the detection result indicates that the digital trunk line does not have the target fault, isolating the digital trunk line is prohibited.

[0121] In an embodiment of the present application, by acquiring status information of a digital trunk line upon receiving early warning information for the digital trunk line, effective acquisition of information characterizing the working condition of the digital trunk line is achieved, and by performing fault detection on the digital trunk line based on the status information to obtain a detection result, it is possible to determine whether a target fault exists in the digital trunk line based on the working condition of the digital trunk line, and by isolating the digital trunk line when the detection result characterizes the existence of a target fault in the digital trunk line, it is possible to isolate the digital trunk line when a specific fault occurs in the digital trunk line, thereby achieving targeted determination of whether to isolate the digital trunk line based on the fault type, thereby improving the accuracy of isolation.

[0122] It can be seen that the solution provided in the present application achieves the purpose of determining whether to isolate the digital trunk line based on the fault type of the digital trunk line after the digital trunk line alarm is generated, realizes the technical effect of improving the isolation accuracy, and solves the problem in the related technology that when an alarm is detected in the digital trunk line, the digital trunk line is directly isolated, resulting in low isolation accuracy.

[0123] It can be understood by those skilled in the art that Fig. 9 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Fig. 9 The structure of the electronic device is not limited. Fig. 9 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig. 9 Different configurations shown.

[0124] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0125] Example 4

[0126] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the method for isolating a digital trunk provided in the first embodiment.

[0127] Optionally, in this embodiment, the above-mentioned storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0128] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing the program steps of the isolation method of a digital trunk line.

[0129] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0130] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0131] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0132] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0133] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0134] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0135] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for isolating a digital trunk line, characterized in that: include: In case of receiving warning information for a digital trunk line, obtaining status information of the digital trunk line, wherein the status information is obtained by detecting a target interface board card to which the digital trunk line is connected, and the digital trunk line is used for communication between a user of a target organization and a customer service of the target organization; Performing fault detection on the digital trunk line based on the status information to obtain a detection result; When the detection result indicates that the digital trunk line has a target fault, the digital trunk line is isolated.

2. The method according to claim 1, characterized in that Acquiring the state information of the digital trunk line, including: Determine the target interface card to which the digital trunk line is connected, and generate a detection instruction set based on the connection information of the digital trunk line on the target interface card, wherein the detection instruction in the detection instruction set is used to instruct the gateway device to detect the status information of the digital trunk line; Determine a gateway device to which the digital trunk is connected, and send a detection instruction in the detection instruction set to the gateway device; Receive the state information of the digital trunk line fed back by the gateway device.

3. The method according to claim 2, characterized in that Generate a detection instruction set based on the connection information of the digital trunk line on the target interface board, including: Generate a first detection instruction based on the first instruction template and the connection information, wherein the first detection instruction is used to instruct the gateway device to detect whether a target signal processing unit is in a blocked state, and the target signal processing unit refers to a signal processing unit associated with the digital trunk line on the optical port of the target interface card; Generate a second detection instruction based on the second instruction template and the connection information, wherein the second detection instruction is used to instruct the gateway device to detect whether the loopback function of the digital trunk is turned on, and the gateway device determines the opening and closing of the loopback function by detecting the interface connected to the digital trunk on the target interface board; Generate a third detection instruction based on a third instruction template and the connection information, wherein the third detection instruction is used to instruct the gateway device to detect whether a target channel on the target interface board is in a multi-frame establishment state, and the target channel is a channel that carries signaling information; The detection instruction set is generated based on at least one of the first detection instruction, the second detection instruction, and the third detection instruction.

4. The method according to claim 3, characterized in that: In a case where the detection instruction set includes the first detection instruction, the second detection instruction, and the third detection instruction, performing fault detection on the digital trunk line based on the state information to obtain a detection result includes: In the case where the state information indicates that the target signal processing unit is in a non-blocking state, the loopback function of the digital trunk line is not enabled, and the target channel is in a multi-frame establishment state, determining that the detection result indicates that the digital trunk line does not have a target fault; When the status information indicates that the target signal processing unit is in a blocked state, or the digital trunk line has a loopback function enabled, or the target channel is not in a multi-frame establishment state, it is determined that the detection result indicates that the digital trunk line has a target fault.

5. The method according to claim 1, characterized in that The digital trunk line is isolated, including: Obtaining a service type associated with the digital trunk line; When the service type is an incoming call service, a loopback function of the digital trunk line is enabled.

6. The method according to claim 1, characterized in that The digital trunk line is isolated, including: Obtaining a service type associated with the digital trunk line; In case the service type is an outgoing service, a target instruction is sent to a gateway device to which the digital trunk line is connected, wherein the target instruction is used to instruct the gateway device to prohibit sending data received by the gateway device to the digital trunk line.

7. The method according to claim 1, characterized in that After obtaining the test result, the method further includes: When the detection result indicates that the digital trunk line does not have a target fault, isolating the digital trunk line is prohibited.

8. An isolation device for a digital trunk line, characterized in that: include: an acquisition module, configured to acquire status information of a digital trunk line upon receiving warning information for the digital trunk line, wherein the status information is obtained by detecting a target interface board card to which the digital trunk line is connected, and the digital trunk line is used for communication between a user of a target organization and a customer service of the target organization; A detection module, used to perform fault detection on the digital trunk line based on the status information to obtain a detection result; The first processing module is used to isolate the digital trunk line when the detection result indicates that the digital trunk line has a target fault.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the digital trunk isolation method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program, when running, executes the digital trunk isolation method described in any one of claims 1 to 7.

11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the digital trunk isolation method according to any one of claims 1 to 7 are implemented.