CN112291083B - Data processing method, device and equipment - Google Patents

Data processing method, device and equipment Download PDF

Info

Publication number
CN112291083B
CN112291083B CN202011069274.8A CN202011069274A CN112291083B CN 112291083 B CN112291083 B CN 112291083B CN 202011069274 A CN202011069274 A CN 202011069274A CN 112291083 B CN112291083 B CN 112291083B
Authority
CN
China
Prior art keywords
port
type
identifier
fault
operator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011069274.8A
Other languages
Chinese (zh)
Other versions
CN112291083A (en
Inventor
刘淦诚
戴建东
杨军
黄进
付斐
沈凌
张国光
赵煜
张笑
朱天成
薛金明
潘皓
王洁璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011069274.8A priority Critical patent/CN112291083B/en
Publication of CN112291083A publication Critical patent/CN112291083A/en
Application granted granted Critical
Publication of CN112291083B publication Critical patent/CN112291083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0686Additional information in the notification, e.g. enhancement of specific meta-data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The embodiment of the application provides a data processing method, a device and equipment, wherein the method comprises the following steps: the method comprises the steps that a server obtains alarm data of a first port in first operator equipment, wherein the alarm data comprise an identifier and a fault type of the first port; the server determines the type of the first port according to the identifier of the first port, wherein the type of the first port is a sharing type or a non-sharing type, the port of the sharing type is used for being connected with second operator equipment, and the port of the non-sharing type is used for being connected with the first operator equipment; and when the type of the first port is a sharing type and the fault type is a preset fault type, generating early warning information. The efficiency of determining the port alarm of the shared base station bearing network equipment is improved.

Description

Data processing method, device and equipment
Technical Field
The present application relates to the field of network monitoring technologies, and in particular, to a data processing method, apparatus, and device.
Background
The carrier network of the operator base station comprises a plurality of carrier network devices, each carrier network device comprises a plurality of ports, and operation and maintenance personnel can monitor the alarm information of the ports of the carrier network devices in a carrier network management system.
At present, because a shared base station is established among operators, monitoring of port alarms of shared base station bearer network devices generally requires acquiring port alarm information of an existing bearer network device and port alarm information of an opposite bearer network device, and further manually determining whether the port of the shared base station bearer network device alarms. Since the own bearer network management system cannot check the port alarm information of the bearer network device of the other party, the bearer network management system of the other party needs to be accessed to acquire the port alarm information of the bearer network device of the other party, thereby causing the efficiency of determining the port alarm of the bearer network device of the shared base station to be lower.
Disclosure of Invention
The application provides a data processing method, a data processing device and data processing equipment. The efficiency of determining the port alarm of the shared base station bearing network equipment is improved.
In a first aspect, an embodiment of the present application provides a data processing method, where the method includes:
the method comprises the steps that a server obtains alarm data of a first port in first operator equipment, wherein the alarm data comprise an identifier and a fault type of the first port;
the server determines the type of the first port according to the identifier of the first port, wherein the type of the first port is a sharing type or a non-sharing type, the port of the sharing type is used for being connected with second operator equipment, and the port of the non-sharing type is used for being connected with the first operator equipment;
and when the type of the first port is a sharing type and the fault type is a preset fault type, generating early warning information.
In a possible implementation manner, the preset fault type is a line fault type;
the early warning information comprises at least one of the following information: an identity of the first port, a type of the first port, an identity of the first operator device.
In another possible embodiment, the method further comprises:
the server determining a second port connected to the first port, the second port located in the second carrier device; the early warning information further comprises an identifier of the second port.
In a possible implementation manner, the determining, by the server, the type of the first port according to the identifier of the first port includes:
the server acquires a first preset relationship, wherein the first preset relationship comprises the identifiers of a plurality of ports of the first operator equipment and the type of each port;
and the server determines the type of the first port according to the identifier of the first port and the first preset relationship.
In another possible implementation, when the type of the first port is a shared type and the fault type is a line fault type, the method further includes:
acquiring line fault information, wherein the line fault information comprises an identifier of at least one fault line and an identifier of a port corresponding to the identifier of each fault line;
and determining the identifier of the fault line corresponding to the first port according to the identifier of the first port and the fault information.
In a possible implementation manner, the early warning information further includes an identifier of a faulty line corresponding to the first port.
In a second aspect, an embodiment of the present application provides a data processing apparatus, where the apparatus includes a first obtaining module, a first determining module, and a generating module, where:
the first obtaining module is used for obtaining alarm data of a first port in first operator equipment by a server, wherein the alarm data comprises an identifier and a fault type of the first port;
the first determining module is configured to determine, by the server, a type of the first port according to the identifier of the first port, where the type of the first port is a shared type or a non-shared type, the shared type of the port is used to connect to a second operator device, and the non-shared type of the port is used to connect to the first operator device;
the generation module is used for generating early warning information when the type of the first port is a sharing type and the fault type is a preset fault type.
In a possible implementation manner, the preset fault type is a line fault type;
the early warning information comprises at least one of the following information: an identity of the first port, a type of the first port, an identity of the first operator device.
In another possible implementation, the apparatus further includes a second determining module, configured to:
the server determining a second port connected to the first port, the second port located in the second carrier device; the early warning information further comprises an identifier of the second port.
In a possible implementation manner, the first determining module is specifically configured to:
the server acquires a first preset relationship, wherein the first preset relationship comprises the identifiers of a plurality of ports of the first operator equipment and the type of each port;
and the server determines the type of the first port according to the identifier of the first port and the first preset relationship.
In another possible implementation manner, when the type of the first port is a shared type and the fault type is a line fault type, the apparatus further includes a second obtaining module, where the second obtaining module is configured to:
acquiring line fault information, wherein the line fault information comprises an identifier of at least one fault line and an identifier of a port corresponding to the identifier of each fault line;
and determining the identifier of the fault line corresponding to the first port according to the identifier of the first port and the fault information.
In a possible implementation manner, the early warning information further includes an identifier of a faulty line corresponding to the first port.
In a third aspect, an embodiment of the present application provides a data processing apparatus, including: a memory for storing program instructions, a processor for calling program instructions in the memory to perform a data processing method as claimed in any one of the first aspects, and a communication interface.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored; the computer program is for implementing a data processing method as claimed in any one of the first aspects.
The embodiment of the application provides a data processing method, a data processing device and data processing equipment. And the server determines the type of the first port according to the identifier of the first port. The type of the first port is a sharing type or a non-sharing type, the sharing type port is used for being connected with the second operator equipment, and the non-sharing type port is used for being connected with the first operator equipment. And when the type of the first port is a sharing type and the fault type is a preset fault type, generating early warning information. In the method, the server can accurately determine the port of the sharing type according to the identifier of the first port, and determine whether to generate the early warning information according to the preset fault type. Therefore, the server can accurately determine whether the alarm data of the port is the port alarm of the shared base station bearing network equipment according to the alarm data of the port of the operator equipment, and further can improve the efficiency of determining the port alarm of the shared base station bearing network equipment.
Drawings
Fig. 1 is a schematic view of a bearer network link architecture of a shared base station according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a port of a shared type according to an embodiment of the present application;
fig. 5 is a schematic diagram of a non-shared port according to an embodiment of the present application;
fig. 6 is a schematic diagram of a process of generating warning information according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 8 is a schematic process diagram of a data processing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
FIG. 10 is a block diagram of another data processing apparatus according to an embodiment of the present application;
FIG. 11 is a block diagram of another data processing apparatus according to an embodiment of the present disclosure;
fig. 12 is a schematic diagram of a hardware structure of a data processing apparatus provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For convenience of understanding, the architecture of the bearer network link of the shared base station in the embodiment of the present application is described below with reference to fig. 1.
Fig. 1 is a schematic view of a bearer network link architecture of a shared base station according to an embodiment of the present disclosure. Please refer to fig. 1, which includes: operator a and operator B. The carrier network manager A and the carrier network equipment A are arranged in the operator A, the carrier network manager A can acquire alarm data in the carrier network equipment A, the carrier network manager B and the carrier network equipment B are arranged in the operator B, and the carrier network manager B can acquire the alarm data in the carrier network equipment B. The carrying network equipment A comprises a port A, the carrying network equipment B comprises a port B, the port A and the port B are connected according to a link, and data transmission can be carried out between the carrying network equipment A and the carrying network equipment B.
Because the importance of the bearer network link of the shared base station is higher, in practical application, if the bearer network link of the shared base station gives an alarm, operation and maintenance personnel need to be notified to carry out first-aid repair.
In the related art, the bearer network management system a of the operator a may obtain the alarm data of the port a in the bearer network device a, but may not obtain the alarm data of the port B in the bearer network device B. The operation and maintenance personnel need to access the bearer network management B of the operator B, and obtain the alarm data of the port B in the bearer network device B through the bearer network management B, and then determine that the bearer network link of the shared base station gives an alarm according to the alarm data of the port a and the alarm data of the port B. The efficiency of determining the port alarm of the shared base station bearer network device is low.
In order to solve the problem that the efficiency of determining port alarms of shared base station bearer network devices is low in the related art, in the embodiment of the present application, a server obtains alarm data of a first port in first operator equipment, where the alarm data includes an identifier and a fault type of the first port. And the server determines the type of the first port according to the identifier of the first port. The type of the first port is a sharing type or a non-sharing type, the sharing type port is used for being connected with the second operator equipment, and the non-sharing type port is used for being connected with the first operator equipment. And when the type of the first port is a sharing type and the fault type is a preset fault type, generating early warning information. In the method, the server can accurately determine the port of the sharing type according to the identifier of the first port, and determine whether to generate the early warning information according to the preset fault type. Therefore, the server can accurately determine whether the alarm data of the port is the port alarm of the shared base station bearing network equipment according to the alarm data of the port of the operator equipment, and further can improve the efficiency of determining the port alarm of the shared base station bearing network equipment.
For ease of understanding, an application scenario of the embodiment of the present application is described below with reference to fig. 2.
Fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present application. See fig. 2, including server, operator a and operator B. The operator a and the operator B are connected by a link, and the operator a and the operator B can perform data transmission. The server may obtain the alarm data in the operator a, and determine whether the link between the operator a and the operator B alarms through the alarm data in the operator a. Therefore, whether the link between the operator A and the operator B alarms or not can be determined only through the alarm data of one operator, and the efficiency of determining the link alarm between different operators can be improved.
It should be noted that the application scenario is one of the application scenarios of the data processing method of the present application, and is not limited to the application scenario of the present application.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application. Referring to fig. 3, the method may include:
s301, the server obtains alarm data of a first port in first operator equipment.
The execution main body of the embodiment of the present invention may be a data processing apparatus, the data processing apparatus is disposed in the terminal device, and the data processing apparatus may be a processing chip in the terminal device. Alternatively, the data processing means may be implemented by software, or by a combination of software and hardware.
The first operator device may be a bearer network device, configured to perform data transmission. For example, the bearer network device may be a router, a switch, or the like. The first port is a port in a first carrier device. Optionally, the first operator device may be configured with a plurality of ports.
Optionally, ports between multiple pieces of bearer network devices may be connected according to links. For example, port a in the bearer network device a may be connected to port B in the bearer network device B according to a link. Multiple lines may be included in a link. For example, multiple lights or multiple rooms may be included in a link.
The alarm data includes an identification of the first port and a fault type. The identifier of the first port is used for indicating the identity information of the first port. For example, the identifier of the first port may be ID information of the first port, and the first port may be accurately determined among the plurality of ports of the first carrier device according to the identifier of the first port. Optionally, the identifier of the port may be determined according to a correspondence between the port of the first operator device and the identifier. For example, the correspondence between ports and identifiers may be as shown in table 1:
TABLE 1
Figure GDA0002833857190000061
It should be noted that table 1 illustrates the correspondence between the port and the identifier of the first operator device by way of example only, and does not limit the correspondence between the port and the identifier of the first operator device.
For example, the identifier corresponding to port 1 of the first operator device is identifier 1; the identifier corresponding to the port 2 of the first operator equipment is identifier 2; the identifier corresponding to the port 3 of the first operator equipment is the identifier 3; the identifier corresponding to the port 4 of the first operator device is identifier 4.
The failure type may be a title of the failure. For example, the fault types may include communication faults, line faults, logic faults, and the like. The server may be an alarm correlation server, and the alarm correlation server may obtain alarm data generated by the first operator device in real time. For example, the alarm correlation server may obtain alarm data generated by all bearer network device ports in the first operator.
Optionally, the server may obtain the alarm data of the first port in the first operator device according to the bearer network manager. The bearer network manager can obtain the alarm data of the port of the relevant bearer network device. For example, the bearer network management system a may obtain alarm data of all ports in the bearer network device a.
S302, the server determines the type of the first port according to the identifier of the first port.
The type of the first port is a sharing type or a non-sharing type, the sharing type port is used for being connected with the second operator equipment, and the non-sharing type port is used for being connected with the first operator equipment. The second operator device may be a bearer network device, and is configured to perform data transmission with the first operator device. For example, the bearer network device may be a router, a switch, or the like.
The types of ports are described in detail below in conjunction with fig. 4-5.
Fig. 4 is a schematic diagram of a shared port according to an embodiment of the present application. See fig. 4, including operator a and operator B. Carrier network device a1 and carrier network device a2 are provided in operator a, carrier network device a1 includes port a1, and carrier network device a2 includes port a 2. Carrier B is provided with carrier B1 and carrier B2, where carrier B1 includes port B1 and carrier B2 includes port B2.
Referring to fig. 4, operator a and operator B are two different operators. Port a1 and port B1 are connected according to link a, and port a2 and port B2 are connected according to link B. Port a1, port a2 are connected to different operator ports, and therefore port a1 and port a2 are shared type ports. Port B1, port B2 are connected to different operator ports, and therefore port B1 and port B2 are shared type ports.
Fig. 5 is a schematic diagram of a non-shared port according to an embodiment of the present application. See fig. 5, including operator a. Carrier network device a1, carrier network device a2, carrier network device A3, carrier network device a4, carrier network device a5, and carrier network device a6 are set in operator a. The port a1 is included in the bearer network device a1, the port a2 is included in the bearer network device a2, the port A3 is included in the bearer network device A3, the port a4 is included in the bearer network device a4, the port a5 is included in the bearer network device a5, and the port a6 is included in the bearer network device a 6.
Referring to FIG. 5, port A1 and port A4 are connected according to link A, port A2 and port A5 are connected according to link B, and port A3 and port A6 are connected according to link C. Port a1, port a2, port A3, port a4, port a5, and port a6 are all ports of the carrier network device in carrier a, and therefore, port a1, port a2, port A3, port a4, port a5, and port a6 are non-shared type ports.
The type of the first port may be determined according to two possible implementations as follows:
one possible implementation is:
the server obtains a first preset relationship, wherein the first preset relationship comprises the identifiers of the multiple ports of the first operator equipment and the type of each port, and the server determines the type of the first port according to the identifiers of the first port and the first preset relationship. The first preset relationship is used for indicating the port type corresponding to the port identification. For example, the first preset relationship may be as shown in table 2:
TABLE 2
Port identification Port type
Port identification 1 Sharing type
Port identification 2 Non-shared type
Port identification 3 Sharing type
Port identification 4 Non-shared type
…… ……
It should be noted that table 2 illustrates the first preset relationship by way of example only, and does not limit the first preset relationship.
Optionally, the server determines the type of the first port according to the identifier of the first port and the first preset relationship. For example, when the port identifier of the first port in the alarm information acquired by the server is port identifier 1, the port type is a shared type; when the port identifier of the first port in the alarm information acquired by the server is the port identifier 2, the port type is the unshared type; when the port identifier of the first port in the alarm information acquired by the server is the port identifier 3, the port type is the sharing type; and when the port identifier of the first port in the alarm information acquired by the server is the port identifier 4, the port type is the unshared type.
Another possible implementation:
the type of the first port may be determined according to a correspondence relationship between the first port and the second port. Wherein the first port is unique in the first operator device and the second port is located in the second operator device. For example, the correspondence between the first port and the second port may be as shown in table 3:
TABLE 3
Figure GDA0002833857190000081
It should be noted that table 3 illustrates the correspondence relationship between the first port and the second port by way of example only, and does not limit the correspondence relationship between the first port and the second port.
For example, when the port of the first operator device is port 1, according to the correspondence between the first port and the second port, it may be determined that port 1 has a corresponding port a in the second operator device; when the port of the first operator equipment is the port 2, according to the corresponding relationship between the first port and the second port, it can be determined that the port 2 has a corresponding port B in the second operator equipment; when the port of the first operator equipment is the port 3, according to the corresponding relationship between the first port and the second port, it can be determined that the port 3 has a corresponding port C in the second operator equipment; when the port of the first operator device is the port 4, it may be determined that the port 4 has a corresponding port D in the second operator device according to the correspondence between the first port and the second port.
Optionally, if there is a second port connected to the first port, the first port is a shared port, and if there is no second port connected to the first port, the first port is a non-shared port. For example, if a port in a first operator device exists in a second operator device, the port of the first operator is a shared port; if the first operator port does not have a port connected with the first operator port in the second operator device, the first operator port is a non-shared port.
And S303, generating early warning information when the type of the first port is a sharing type and the fault type is a preset fault type.
The failure type may be a title of the failure. For example, the fault types may include communication faults, line faults, logic faults, and the like. Optionally, the preset fault type may be a line fault type, a logic fault type, a network fault type, a communication fault type, and the like, which is not limited in this embodiment of the present application.
Optionally, when the preset fault type is the line fault type, the early warning information is generated. For example, when the type of the first port is a shared type and the fault type is a line fault type, the early warning information is generated.
Optionally, when the preset fault type is the line fault type, the early warning information includes at least one of the following information: an identification of the first port, a type of the first port, an identification of the first operator device.
The identity of the first port may indicate identity information of the first port. For example, the identifier of the first port may be ID information of the port, and the first port may be accurately determined among the plurality of ports according to the identifier of the first port.
The type of the first port may include a shared type or a non-shared type. The identity of the first carrier device may indicate identity information of the first carrier device. For example, the identifier of the first operator device may be ID information of the first operator device, and the first operator device may be accurately determined according to the identifier of the first operator device. Optionally, the identifier of the first operator device may be determined according to a corresponding relationship between the first operator device and the identifier. For example, the correspondence between the first operator device and the identifier may be as shown in table 4:
TABLE 4
Figure GDA0002833857190000091
Figure GDA0002833857190000101
It should be noted that table 4 illustrates the correspondence between the first operator device and the identifier by way of example only, and does not limit the correspondence between the first operator device and the identifier.
For example, when the first operator device is device 1, the corresponding identifier is device identifier 1; when the first operator equipment is equipment 2, the corresponding identifier is equipment identifier 2; when the first operator equipment is equipment 3, the corresponding identifier is equipment identifier 3; and when the first operator equipment is equipment 4, the corresponding identifier is equipment identifier 4.
Optionally, if the fault type is not the preset fault type, or the first port is a non-shared port, the server may not generate the warning information.
Next, a process of generating the warning information will be described in detail with reference to fig. 6.
Fig. 6 is a schematic diagram of a process of generating early warning information according to an embodiment of the present application. See fig. 6, including server, operator a and operator B. Carrier network device a1, carrier network device a2, carrier network device A3, carrier network device a4, and carrier network device a5 are set in operator a. Port a1 is included in bearer network device a1, port a2 is included in bearer network device a2, port A3 is included in bearer network device A3, port a4 is included in bearer network device a4, and port a5 is included in bearer network device a 5. Carrier B includes carrier B1 and carrier B2. Port B1 is included in carrier B1, and port B2 is included in carrier B2. Port a1 is linked to port B1, port a2 is linked to port B2, port A3 is not linked to other ports, and port a4 is linked to port a 5. Wherein, the link comprises a plurality of lines.
Referring to fig. 6, the line between port a1 and port B1 is broken, the network between port a2 and port B2 is broken, the line between port a4 and port a5 is broken, and port A3 is normal. The server obtains alarm data in operator a. When the preset fault type is a line interruption fault, because the port a1 is a shared port, the warning information generated by the server is the identifier of the port a1, the type of the port a1, and the identifier of the bearer network device a 1. Although the type of failure of port a4 is also a line break failure, port a4 is an unshared port, and therefore, no warning information for port a4 is generated. When the preset fault type is a network interruption fault, because the port a2 is a shared port, the server generates the warning information including the identifier of the port a2, the type of the port a2, and the identifier of the bearer network device a 2.
The embodiment of the application provides a data processing method, wherein a server acquires alarm data of a first port in first operator equipment, and the alarm data comprises an identifier and a fault type of the first port. And the server determines the type of the first port according to the identifier of the first port. The type of the first port is a sharing type or a non-sharing type, the sharing type port is used for being connected with the second operator equipment, and the non-sharing type port is used for being connected with the first operator equipment. And when the type of the first port is a sharing type and the fault type is a preset fault type, generating early warning information. In the method, the server can accurately determine the port of the sharing type according to the identifier of the first port, and determine whether to generate the early warning information according to the preset fault type. Therefore, the server can accurately determine whether the alarm data of the port is the port alarm of the shared base station bearing network equipment according to the alarm data of the port of the operator equipment, and further can improve the efficiency of determining the port alarm of the shared base station bearing network equipment.
Based on the embodiment shown in fig. 3, the following describes the data processing method in detail with reference to fig. 7.
Fig. 7 is a schematic flowchart of another data processing method according to an embodiment of the present application. Referring to fig. 7, the method may include:
s701, the server obtains alarm data of a first port in first operator equipment.
It should be noted that the execution process of S701 may refer to the execution process of S301, and details are not described here.
S702, the server determines the type of the first port according to the identifier of the first port.
It should be noted that the execution process of S702 may refer to the execution process of S302, and is not described herein again.
And S703, acquiring line fault information when the type of the first port is a sharing type and the fault type is a line fault type.
The line fault information includes at least one fault line identifier and a port identifier corresponding to each fault line identifier. The identification of the fault line is used for indicating the identity information of the fault line. For example, the identification of the faulty line may be ID information of the faulty line. Optionally, a corresponding identifier may be set for each line, and the identifier of the faulty line is determined according to the correspondence between the line and the identifier. For example, the correspondence between the route and the identifier may be as shown in table 5:
TABLE 5
Line Line identification
Line 1 Line sign 1
Line 2 Line sign 2
Line 3 Line sign 3
Line 4 Line sign 4
…… ……
It should be noted that table 5 shows the correspondence between the line and the identifier by way of example only, and does not limit the correspondence between the line and the identifier.
For example, when the fault line is line 1, the identifier of the fault line is line identifier 1; when the fault line is the line 2, the identifier of the fault line is the line identifier 2; when the fault line is the line 3, the identifier of the fault line is the line identifier 3; when the fault line is the line 4, the identifier of the fault line is the line identifier 4.
Optionally, the identifier of the port corresponding to the faulty line may be determined according to the correspondence between the line identifier and the port identifier. For example, the correspondence between the line identifier and the port identifier may be as shown in table 6:
TABLE 6
Line identification Port identification
Line sign 1 Port identification a
Line sign 2 Port identification b
Line sign 3 Port identification c
Line sign 4 Port identification d
…… ……
It should be noted that table 6 shows the correspondence between the line identifier and the port identifier by way of example only, and does not limit the correspondence between the line identifier and the port identifier.
For example, the port identifier corresponding to the line identifier 1 is a port identifier a; the port identifier corresponding to the line identifier 2 is a port identifier b; the port identifier corresponding to the line identifier 3 is a port identifier c; the port identifier corresponding to the line identifier 4 is a port identifier d.
S704, determining the identification of the fault line corresponding to the first port according to the identification of the first port and the fault information.
The identification of the faulty line corresponding to the first port may be determined according to the following feasible implementation manners: according to the identifier of the first port and the fault information, for example, the identifier of the fault line corresponding to the first port may be determined in the fault information.
S705, generating early warning information.
And when the type of the first port is a sharing type and the fault type is a line fault type, the server determines a second port connected with the first port, wherein the second port is located in second operator equipment. At this time, the warning information generated by the server includes at least one of the following information: an identification of the first port, a type of the first port, an identification of the first operator device, an identification of the second port.
Wherein the identifier of the second port is used for indicating the identity information of the second port. For example, the identifier of the second port may be ID information of the second port, and the second port may be accurately determined among the plurality of ports of the second operator device according to the identifier of the second port. Optionally, the identifier of the port may be determined according to a correspondence between the port of the second operator device and the identifier. For example, the correspondence between the port of the second operator device and the identifier may be as shown in table 7:
TABLE 7
Figure GDA0002833857190000131
It should be noted that table 7 illustrates the correspondence between the port and the identifier of the second operator device by way of example only, and does not limit the correspondence between the port and the identifier of the second operator device.
For example, the identifier corresponding to port 1 of the second operator device is identifier 1; the identifier corresponding to the port 2 of the second operator equipment is identifier 2; the identifier corresponding to the port 3 of the second operator equipment is the identifier 3; the port 4 of the second operator device corresponds to the identifier 4.
Optionally, after determining the identifier of the faulty line corresponding to the first port, the early warning information may further include the identifier of the faulty line corresponding to the first port.
The embodiment of the application provides a data processing method, and a server acquires alarm data of a first port in first operator equipment. And the server determines the type of the first port according to the identifier of the first port. And when the type of the first port is a sharing type and the fault type is a line fault type, obtaining line fault information, determining the identifier of the fault line corresponding to the first port according to the identifier of the first port and the fault information, and generating early warning information. In the method, when the type of the first port is a shared type and the fault type is a line fault type, line fault information is obtained, the line with the fault can be accurately determined according to the fault information and the identification of the first port, and operation and maintenance personnel can timely rush repair the broken line, so that the efficiency of determining the port alarm of the shared base station bearer network equipment can be improved.
On the basis of any of the above embodiments, the data processing method will be described in detail below by using a specific example with reference to fig. 8.
Fig. 8 is a process diagram of a data processing method according to an embodiment of the present application. See fig. 8, including server, operator a and operator B. The carrier network device A is set in the operator A, the carrier network device A comprises a port A, the carrier network device B is set in the operator B, and the carrier network device B comprises a port B. The port types of port a and port B are shared ports. The port A and the port B are connected through a link, and the link comprises a plurality of lines.
Referring to fig. 8, when a line between a port a and a port B is interrupted, a server obtains alarm data, where the alarm data includes an identifier of a bearer network device a, an identifier of the port a, a type of the port a, and a fault type, and is the line interruption. The server can determine the alarm as a line interruption alarm of the shared port according to the alarm data. The server generates early warning information, wherein the early warning information comprises an identifier of the port A, a type of the port A, an identifier of the bearer network device A, an identifier of the port B and a line identifier of the interrupt line. And the operation and maintenance personnel can rush-repair the broken line according to the early warning information.
The embodiment of the application provides a data processing method, and a server acquires alarm data of a first port in first operator equipment. And the server determines the type of the first port according to the identifier of the first port. And when the type of the first port is a sharing type and the fault type is a line fault type, obtaining line fault information, determining the identifier of the fault line corresponding to the first port according to the identifier of the first port and the fault information, and generating early warning information. In the method, when the type of the first port is the sharing type and the fault type is the line fault type, the line fault information is obtained, the line with the interruption can be accurately determined according to the fault information and the identification of the first port, and operation and maintenance personnel can timely repair the interrupted line. And the server can determine whether the alarm data of the port is the port alarm of the shared base station bearing network equipment according to the alarm data of the port of the first operator equipment, so that the efficiency of determining the port alarm of the shared base station bearing network equipment can be improved.
Fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing apparatus may be provided in a terminal device. Referring to fig. 9, the data processing apparatus 10 includes: a first obtaining module 11, a first determining module 12 and a generating module 13, wherein:
the first obtaining module is used for obtaining alarm data of a first port in first operator equipment by a server, wherein the alarm data comprises an identifier and a fault type of the first port;
the first determining module is configured to determine, by the server, a type of the first port according to the identifier of the first port, where the type of the first port is a shared type or a non-shared type, the shared type of the port is used to connect to a second operator device, and the non-shared type of the port is used to connect to the first operator device;
the generation module is used for generating early warning information when the type of the first port is a sharing type and the fault type is a preset fault type.
In a possible implementation manner, the preset fault type is a line fault type;
the early warning information comprises at least one of the following information: an identity of the first port, a type of the first port, an identity of the first operator device.
In a possible implementation, the first determining module 12 is specifically configured to:
the server acquires a first preset relationship, wherein the first preset relationship comprises the identifiers of a plurality of ports of the first operator equipment and the type of each port;
and the server determines the type of the first port according to the identifier of the first port and the first preset relationship.
The data processing apparatus provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application, and referring to fig. 10 on the basis of the embodiment shown in fig. 9, the data processing apparatus 10 further includes a second determining module, and the second determining module 14 is configured to:
the server determining a second port connected to the first port, the second port located in the second carrier device; the early warning information further comprises an identifier of the second port.
The data processing apparatus provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 11 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application, and referring to fig. 11 on the basis of the embodiment shown in fig. 10, the data processing apparatus 10 further includes a second obtaining module, and the second obtaining module 15 is configured to:
acquiring line fault information, wherein the line fault information comprises an identifier of at least one fault line and an identifier of a port corresponding to the identifier of each fault line;
and determining the identifier of the fault line corresponding to the first port according to the identifier of the first port and the fault information.
In a possible implementation manner, the early warning information further includes an identifier of a faulty line corresponding to the first port.
The data processing apparatus provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 12 is a schematic diagram of a hardware structure of a data processing apparatus provided in the present application. Referring to fig. 12, the data processing apparatus 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 may communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 being configured to store program instructions, and the processor 21 being configured to call the program instructions in the memory to perform the data processing method shown in any of the above-described method embodiments.
Optionally, the data processing device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a data processing method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the data processing method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (10)

1. A data processing method, comprising:
the method comprises the steps that a server obtains alarm data of a first port in first operator equipment, wherein the alarm data comprise an identifier and a fault type of the first port;
the server determines the type of the first port according to the identifier of the first port, wherein the type of the first port is a sharing type or a non-sharing type, the port of the sharing type is used for being connected with second operator equipment, and the port of the non-sharing type is used for being connected with the first operator equipment;
and when the type of the first port is a sharing type and the fault type is a preset fault type, generating early warning information.
2. The method of claim 1, wherein the preset fault type is a line fault type;
the early warning information comprises at least one of the following information: an identity of the first port, a type of the first port, an identity of the first operator device.
3. The method of claim 2, further comprising:
the server determining a second port connected to the first port, the second port located in the second carrier device; the early warning information further comprises an identifier of the second port.
4. The method according to any of claims 1-3, wherein the server determining the type of the first port based on the identity of the first port comprises:
the server acquires a first preset relationship, wherein the first preset relationship comprises the identifiers of a plurality of ports of the first operator equipment and the type of each port;
and the server determines the type of the first port according to the identifier of the first port and the first preset relationship.
5. The method according to claim 2 or 3, wherein when the type of the first port is a shared type and the fault type is a line fault type, the method further comprises:
acquiring line fault information, wherein the line fault information comprises an identifier of at least one fault line and an identifier of a port corresponding to the identifier of each fault line;
and determining the identifier of the fault line corresponding to the first port according to the identifier of the first port and the fault information.
6. The method of claim 5, wherein the early warning information further comprises an identification of a faulty line to which the first port corresponds.
7. A data processing apparatus, comprising: the device comprises a first obtaining module, a first determining module and a generating module, wherein:
the first obtaining module is used for obtaining alarm data of a first port in first operator equipment by a server, wherein the alarm data comprises an identifier and a fault type of the first port;
the first determining module is configured to determine, by the server, a type of the first port according to the identifier of the first port, where the type of the first port is a shared type or a non-shared type, the shared type of the port is used to connect to a second operator device, and the non-shared type of the port is used to connect to the first operator device;
the generation module is used for generating early warning information when the type of the first port is a sharing type and the fault type is a preset fault type.
8. The apparatus of claim 7, wherein the first determining module is specifically configured to: the server acquires a first preset relationship, wherein the first preset relationship comprises the identifiers of a plurality of ports of the first operator equipment and the type of each port;
and the server determines the type of the first port according to the identifier of the first port and the first preset relationship.
9. A data processing apparatus, characterized by comprising: a memory for storing program instructions, a processor for calling the program instructions in the memory to perform the data processing method of any one of claims 1 to 6, and a communication interface.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program; the computer program is for implementing a data processing method as claimed in any one of claims 1 to 6.
CN202011069274.8A 2020-09-30 2020-09-30 Data processing method, device and equipment Active CN112291083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011069274.8A CN112291083B (en) 2020-09-30 2020-09-30 Data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011069274.8A CN112291083B (en) 2020-09-30 2020-09-30 Data processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN112291083A CN112291083A (en) 2021-01-29
CN112291083B true CN112291083B (en) 2022-08-05

Family

ID=74422828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011069274.8A Active CN112291083B (en) 2020-09-30 2020-09-30 Data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN112291083B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232428A (en) * 2007-01-23 2008-07-30 华为技术有限公司 Ethernet loop protection method and apparatus
CN104184613A (en) * 2014-08-01 2014-12-03 中国联合网络通信集团有限公司 Method and apparatus for sharing passive optical network
CN104919858A (en) * 2013-12-10 2015-09-16 华为技术有限公司 Method and device for processing failure in operator shared network
CN105897623A (en) * 2016-03-25 2016-08-24 杭州昆海信息技术有限公司 Data transmission method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307127B (en) * 2014-07-01 2018-12-21 中兴通讯股份有限公司 Alert message processing method, device, MME, CBC and base station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232428A (en) * 2007-01-23 2008-07-30 华为技术有限公司 Ethernet loop protection method and apparatus
CN104919858A (en) * 2013-12-10 2015-09-16 华为技术有限公司 Method and device for processing failure in operator shared network
CN104184613A (en) * 2014-08-01 2014-12-03 中国联合网络通信集团有限公司 Method and apparatus for sharing passive optical network
CN105897623A (en) * 2016-03-25 2016-08-24 杭州昆海信息技术有限公司 Data transmission method and apparatus

Also Published As

Publication number Publication date
CN112291083A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN108683528B (en) Data transmission method, central server, server and data transmission system
CN112019378B (en) Troubleshooting method and device
CN107948063B (en) Method for establishing aggregation link and access equipment
CN108683561B (en) Site state detection method and device
CN112291083B (en) Data processing method, device and equipment
CN103457797A (en) Method and device for detecting validity of RCPU port
CN110224872B (en) Communication method, device and storage medium
CN113423120A (en) Data distribution processing method and device based on private network terminal and electronic equipment
CN111262731B (en) Alarm method, alarm device, server equipment and storage medium
CN109964450B (en) Method and device for determining shared risk link group
CN109699041B (en) RRU channel fault diagnosis processing method, device and computer storage medium
CN109995597A (en) A kind of network equipment failure processing method and processing device
CN112653753B (en) RPC-based multi-room independent multi-activity method and system and electronic equipment
CN103747472A (en) Noninductive tandem system on basis of circuit switch domain No.7 signaling network
CN109358983A (en) Server data processing method, device and storage medium
CN112332910B (en) Fault detection method, device and equipment
CN114189471A (en) Cross-device link aggregation group main/standby configuration method, system, terminal and storage medium
CN105471621A (en) Alarm processing system and method
CN111988083A (en) Method and system for realizing bidirectional service interruption of PTN (packet transport network) and OTN (optical transport network) networking Ethernet
CN105743704B (en) A kind of failure analysis methods and device of communication link
CN110874872A (en) Fire-fighting inspection management method and system
CN205249250U (en) Multistage centralized management device
CN109884972A (en) Processing method and processing device, storage medium and the electronic device of data
CN113015198B (en) Method, device and equipment for positioning fault base station and readable storage medium
CN115801581B (en) Collaborative management method and system for power field, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant