Data processing method and device, electronic equipment and storage medium

By comparing the operation and maintenance center data of the first device and the second device, the legacy data is identified and processed, which solves the problem of data accumulation during network pre-provisioning, achieves efficient automatic processing, and improves equipment operation efficiency.

CN118797360APending Publication Date: 2024-10-18CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311848038.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

During the pre-provisioning of the network, pre-provisioning services were not continuously tracked, resulting in the accumulation of redundant business data left in the equipment and lagging in cleanup, affecting equipment operation efficiency.

Method used

By obtaining the operation and maintenance center data of the first device and the second device, comparing the data chains based on preset constraint rules, identifying the data to be processed, and processing according to the data attribute information, realizing efficient and automatic identification and processing of legacy data. .

Benefits of technology

It reduces manual processing costs, improves equipment operation efficiency, and ensures that legacy data generated by network engineering operations can be efficiently and automatically identified and processed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797360A_ABST
    Figure CN118797360A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining at least one piece of first operation and maintenance center OMC data of first equipment and at least one piece of second OMC data of second equipment; acquiring at least one first OMC data link based on the at least one first OMC data; acquiring at least one second OMC data link based on the at least one second OMC data; comparing the at least one first OMC data chain with the at least one second OMC data chain based on a preset constraint rule, and obtaining a to-be-processed OMC data chain in the at least one first OMC data chain; obtaining to-be-processed OMC data in the at least one piece of first OMC data based on the to-be-processed OMC data chain; and processing the OMC data to be processed. According to the technical scheme of the invention, the method can achieve the efficient and automatic recognition and processing of the remaining data generated by the network engineering operation, reduces the manual processing cost, and improves the operation efficiency of equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and storage medium. Background Art

[0002] In the related art, when the network is pre-activated, the pre-activated services are not continuously tracked, resulting in the data of services that are not activated as planned being left behind. The cleaning of the data left behind by services such as network cutover, activation and deactivation is also relatively lagging. The above problems lead to an increase in the accumulation of redundant service data left in the equipment. Summary of the invention

[0003] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0004] In a first aspect, the present application proposes a data processing method, including: obtaining at least one first operation and maintenance center OMC data of a first device and at least one second OMC data of a second device; wherein the second device is an upstream device of the first device; obtaining at least one first OMC data chain based on the at least one first OMC data; obtaining at least one second OMC data chain based on the at least one second OMC data; comparing the at least one first OMC data chain and the at least one second OMC data chain based on preset constraint rules to obtain the OMC data chain to be processed in the at least one first OMC data chain; obtaining the OMC data to be processed in the at least one first OMC data based on the OMC data chain to be processed; and processing the OMC data to be processed.

[0005] In one implementation, the at least one first OMC data and / or the at least one second OMC data respectively include at least one of the following types: device network data; module data; port data; port virtual local area network VLAN data.

[0006] In an optional implementation, the acquiring of at least one first OMC data chain based on the at least one first OMC data includes: acquiring a field value of a target data field in the at least one first OMC data; matching and associating the field values ​​in the at least one first OMC data to acquire the at least one first OMC data chain.

[0007] Optionally, each type of the first OMC data corresponds to at least one field group, each of the field group includes at least one field value, and the matching and associating the field values ​​in the at least one first OMC data to obtain the at least one first OMC data chain includes: matching the field values ​​in the at least one first OMC data to obtain multiple target field groups with the same field value; wherein different target field groups belong to different types of the first OMC data; and obtaining the first OMC data chain based on entity resource information corresponding to the field values ​​in the multiple target field groups.

[0008] In one implementation, the comparing the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule to obtain the OMC data link to be processed in the at least one first OMC data link includes: for the first data link in the at least one first OMC data link, based on the constraint rule, comparing the first data link with each of the second OMC data links respectively; the first data link is any data link in the first OMC data links; determining that there is no data link in the at least one second OMC data link that meets the constraint rule with the first data link, and determining the first data link as the OMC data link to be processed.

[0009] In an implementation manner, the processing the OMC data to be processed includes: acquiring data attribute information of the OMC data to be processed; and processing the OMC data to be processed based on the data attribute information.

[0010] In an optional implementation, the data attribute information includes a data generation date, and the processing of the OMC data to be processed based on the data attribute information includes: determining the data existence duration of the OMC data to be processed based on the data generation date; obtaining a duration threshold corresponding to the OMC data to be processed; and processing the OMC data to be processed in response to the data existence duration being greater than or equal to the duration threshold.

[0011] In the second aspect, the present application proposes a data processing device, comprising: a first acquisition module, used to acquire at least one first operation and maintenance center OMC data of a first device and at least one second OMC data of a second device; wherein the second device is an upstream device of the first device; a first processing module, used to acquire at least one first OMC data chain based on the at least one first OMC data; a second processing module, used to acquire at least one second OMC data chain based on the at least one second OMC data; a third processing module, used to compare the at least one first OMC data chain and the at least one second OMC data chain based on preset constraint rules, and acquire the OMC data chain to be processed in the at least one first OMC data chain; a second acquisition module, used to acquire the OMC data to be processed in the at least one first OMC data based on the OMC data chain to be processed; and a fourth processing module, used to process the OMC data to be processed.

[0012] In one implementation, the at least one first OMC data and / or the at least one second OMC data respectively include at least one of the following types: device network data; module data; port data; port virtual local area network VLAN data.

[0013] In an optional implementation, the first processing module is specifically used to: obtain a field value of a target data field in the at least one first OMC data; match and associate the field values ​​in the at least one first OMC data to obtain the at least one first OMC data chain.

[0014] Optionally, each type of the first OMC data corresponds to at least one field group, each of the field group includes at least one field value, and the first processing module is specifically used to: match the field values ​​in the at least one first OMC data to obtain multiple target field groups with the same field value; wherein different target field groups belong to different types of the first OMC data; and obtain the first OMC data link based on the entity resource information corresponding to the field values ​​in the multiple target field groups.

[0015] In one implementation, the third processing module is specifically used to: for the first data link in the at least one first OMC data link, based on the constraint rule, compare the first data link with each of the second OMC data links respectively; the first data link is any data link in the first OMC data links; determine that there is no data link in the at least one second OMC data link that meets the constraint rule with the first data link, and determine the first data link as the OMC data link to be processed.

[0016] In one implementation, the fourth processing module is specifically used to: obtain data attribute information of the OMC data to be processed; and process the OMC data to be processed based on the data attribute information.

[0017] In an optional implementation, the data attribute information includes a data generation date, and the fourth processing module is specifically used to: determine the data existence duration of the OMC data to be processed based on the data generation date; obtain a duration threshold corresponding to the OMC data to be processed; and process the OMC data to be processed in response to the data existence duration being greater than or equal to the duration threshold.

[0018] In a third aspect, the present application proposes an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data processing method as described in the first aspect.

[0019] In a fourth aspect, the present application proposes a computer-readable storage medium for storing instructions, which, when executed, enables the method described in the first aspect to be implemented.

[0020] In a fifth aspect, the present application proposes a computer program product, comprising a computer program, which implements the steps of the data processing method as described in the first aspect when executed by a processor.

[0021] The data processing method, device, electronic device and storage medium provided by the present application can compare the first OMC data chain generated based on the first OMC data of the first device with the second OMC data chain generated based on the second OMC data of the second device based on the constraint rules to obtain the OMC data chain to be processed in the first OMC data chain, and obtain the OMC data to be processed in the first OMC data based on the OMC data chain to be processed, so as to process the OMC data to be processed. It can realize efficient automatic identification and processing of legacy data generated by network engineering operations, reduce manual processing costs, and improve equipment operation efficiency.

[0022] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0024] Figure 1It is a flowchart of a data processing method provided in an embodiment of the present application;

[0025] Figure 2 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0026] Figure 3 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0027] Figure 4 is a schematic diagram of a data link identification solution provided in an embodiment of the present application;

[0028] Figure 5 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0029] Figure 6 is a schematic diagram of a data processing solution provided in an embodiment of the present application;

[0030] Figure 7 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0031] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0033] The data processing method and device of the embodiments of the present application are described below with reference to the accompanying drawings.

[0034] Figure 1 is a flow chart of a data processing method provided in an embodiment of the present application. Figure 1 As shown, the method may include but is not limited to the following steps:

[0035] Step S101: acquiring at least one first OMC (Operation and Maintenance Center) data of a first device and at least one second OMC data of a second device.

[0036] In the embodiment of the present application, the second device is an upstream device of the first device.

[0037] As an example, at least one first OMC data of a first device is acquired, and at least one second OMC data of a second device is acquired.

[0038] In the embodiment of the present application, the first device and the second device may be devices in a communication network.

[0039] In an embodiment of the present application, there is at least one first OMC device and at least one second OMC device.

[0040] In one implementation, the at least one first OMC data includes at least one of the following types: device network data; module data; port data; port VLAN (Virtual Local Area Network) data.

[0041] In one implementation, the at least one second OMC data includes at least one of the following types: device network data; module data; port data; port virtual local area network VLAN data.

[0042] Step S102: acquiring at least one first OMC data link based on at least one first OMC data.

[0043] For example, different types of data corresponding to the same service in at least one first OMC data are obtained, and a first OMC data chain consisting of relevant data of the service is obtained based on the above-obtained data. The first OMC data chain may include device network data, module data, port data, port VLAN data and service data corresponding to the service.

[0044] Step S103: Acquire at least one second OMC data link based on at least one second OMC data.

[0045] For example, different types of data corresponding to the same service in at least one second OMC data are obtained, so as to obtain a second OMC data chain composed of relevant data of the service based on the obtained data. The second OMC data chain may include device network data, module data, port data, port VLAN data and service data corresponding to the service.

[0046] Step S104: comparing the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule, and acquiring an OMC data link to be processed in the at least one first OMC data link.

[0047] For example, the first OMC data link is compared with the second OMC data link to determine whether the first OMC data link and the second OMC data link satisfy the constraint rule, and the data link in the first OMC data link that does not satisfy the constraint rule is used as the OMC data link to be processed.

[0048] Step S105: acquiring the OMC data to be processed in at least one first OMC data based on the OMC data chain to be processed.

[0049] Specifically, based on the correspondence between the first OMC data and the first OMC data chain, the OMC data to be processed corresponding to the OMC data chain to be processed in the first OMC data is determined.

[0050] Step S106: Process the OMC data to be processed.

[0051] For example, it is determined whether the data to be processed meets the data processing condition to determine whether to delete the OMC data to be processed from the first OMC device.

[0052] By implementing the embodiment of the present application, the first OMC data chain generated based on the first OMC data of the first device can be compared with the second OMC data chain generated based on the second OMC data of the second device based on the constraint rules to obtain the OMC data chain to be processed in the first OMC data chain, and the OMC data to be processed in the first OMC data can be obtained based on the OMC data chain to be processed, so as to process the OMC data to be processed. It is possible to realize efficient automatic identification and processing of legacy data generated by network engineering operations, reduce manual processing costs, and improve equipment operation efficiency.

[0053] In one implementation, the first OMC data chain can be obtained by matching and associating data values ​​in the first OMC data. Figure 2 , Figure 2 FIG. 1 is a flow chart of another data processing method provided in an embodiment of the present application. Figure 2 As shown, the method may include but is not limited to the following steps:

[0054] Step S201: Acquire at least one first OMC data of a first device and at least one second OMC data of a second device.

[0055] In the embodiments of the present application, step S201 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0056] Step S202: Acquire a field value of a target data field in at least one first OMC data.

[0057] For example, the field value of the target data field included in each first OMC data in the at least one first OMC data is respectively obtained.

[0058] As an example, take the first OMC data including device network element data as an example. Obtain the target fields in the device network element data respectively <fieldname> NATIVE_EMS_NAME< / fieldname> ,<Fi eldName> DEV_IP and <fieldname> RMUID< / fieldname> The field value of .

[0059] As another example, take the first OMC data including module data as an example. Obtain the target fields in the module data respectively <fieldname> NATIVE_EMS_NAME< / fieldname> , <fieldname> ONU_ID< / fieldname> , <fieldname> RELATED_OLT_FDN< / fieldname> ,<Fi eldName> RELATED_PON_PORT, <fieldname>RMUID< / FieldNa me> and <fieldname> VENDOR< / fieldname> The field value of .

[0060] As another example, taking the first data including port data as an example, respectively obtain the target field in the port data <fieldname> NATIVE_EMS_NAME< / fieldname> , <fieldname> RELAT ED_NE_FDN< / fieldname> and <fieldname> RMUID< / fieldname> The field value of .

[0061] As another example, taking the first data including port VLAN data as an example, respectively obtain the target field in the port VLAN data <fieldname> OLT_RMUID< / fieldname> , <fieldname> ONU_RMUID< / fieldname> , <fieldname> PONID< / fieldname> , <fieldname> ONUID< / fieldname> , <fieldname> SVLAN< / fieldname> , <fieldname> CVL AN< / fieldname> and <fieldname> SERVFLOW_RMUID< / fieldname> The field value of .

[0062] Step S203: Match and associate the field values ​​in at least one first OMC data to obtain at least one first OMC data link.

[0063] For example, field values ​​corresponding to different types of data in at least one first OMC data are matched and associated to obtain a first OMC data chain consisting of multiple types of data corresponding to at least one service.

[0064] In an optional implementation, each type of first OMC data corresponds to at least one field group, each field group includes at least one field value, and the above-mentioned matching and associating the field values ​​in at least one first OMC data to obtain at least one first OMC data chain includes: matching the field values ​​in at least one first OMC data to obtain multiple target field groups with the same field values; wherein different target field groups belong to different types of first OMC data; and obtaining the first OMC data chain based on entity resource information corresponding to the field values ​​in the multiple target field groups.

[0065] Please refer to Table 1, which is a schematic table of OMC data fields and entity resource information provided in an embodiment of the present application.

[0066] Table 1: Schematic diagram of OMC data fields and entity resource information

[0067]

[0068] As shown in Table 1, each type of data group includes corresponding target fields, and each target field corresponds to a type of entity resource information.

[0069] As an example, it is taken that the device network element data corresponds to the device network element field group A, the device network element field group B and the device network element field group C, the module data corresponds to the module field group A, the module field group B and the module field group C, the port data corresponds to the port field group A, the port field group B and the port field group C, and the port VLAN data corresponds to the port VLAN field group A, the port VLAN field group B and the port VLAN field group C. If the field value of OLT_RMUID in the port VLAN field group B is the same as the field value of RMUID in the device network element field group A, then the OLT (Optical Line Terminal) network element name and the OLT network element IP (Internet Protocol) can be obtained based on the field values ​​in the port VLAN field group B and the device network element field group A. If the field values ​​of OLT_RMUID, PON (Passive Optical Network) ID (Identity document) and ONU (Optical Network Unit) ID in port VLAN field group B are respectively the same as the field values ​​of RELATED_OLT_FDN, RELATED_PON_PORT and ONU_ID in module field group C, then the ONU name and the device manufacturer name can be obtained based on the field values ​​in port VLAN field group B and the field values ​​in module field group C. If the field values ​​of OLT_RMUID and PONID in port VLAN field group B are respectively the same as the field values ​​of RELATED_NE_FDN and RMUID in port field group C, then the port name can be obtained based on the field values ​​in port VLAN field group B and the field values ​​in port field group C. And based on the field value in the port VLAN field group B, the ID of the ONU to which the service belongs, the SVLAN (Service Virtual Local Area Network) number of the service, the CVLAN (Customer Virtual Local Area Network) number of the service, and the unique identifier of the service flow are obtained. Thus, the device network element-module-port-service data chain corresponding to the same service is obtained, and the data chain includes {unique identifier of service flow, OLT network element name, port name, ID of the ONU to which it belongs, SVLAN number of the service, CVLAN number of the service, ONU name, OLT network element IP, equipment manufacturer} and other entity resource information.

[0070] Step S204: Acquire at least one second OMC data link based on at least one second OMC data.

[0071] In the embodiment of the present application, step S204 can be implemented in the same manner as step S203, and the embodiment of the present application does not limit this and will not be repeated.

[0072] Step S205: comparing the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule, and acquiring an OMC data link to be processed in the at least one first OMC data link.

[0073] In the embodiments of the present application, step S205 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0074] Step S206: acquiring the OMC data to be processed in at least one first OMC data based on the OMC data chain to be processed.

[0075] In the embodiments of the present application, step S206 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0076] Step S207: Process the OMC data to be processed.

[0077] In the embodiments of the present application, step S207 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0078] By implementing the embodiment of the present application, the first OMC data chain can be obtained by matching and associating the field values ​​of the target data fields in the first OMC data of different types, and the second OMC data chain can be obtained by matching and associating the field values ​​of the target data fields in the second OMC data of different types, and the second OMC data chain can be obtained by comparing with the second OMC data chain generated based on the second OMC data of the second device, and the OMC data chain to be processed in the first OMC data chain can be obtained based on the OMC data chain to be processed, so as to process the OMC data to be processed. The invention can realize efficient automatic identification and processing of the legacy data generated by the network engineering operation, reduce the manual processing cost, and improve the equipment operation efficiency.

[0079] In one implementation, it can be determined based on the constraint rule whether there is a data link in the second OMC data link that matches the first data link, and the OMC data link to be processed is determined based on the matching result. As an example, see Figure 3 , Figure 3 FIG. 1 is a flow chart of another data processing method provided in an embodiment of the present application. Figure 3 As shown, the method may include but is not limited to the following steps:

[0080] Step S301: Acquire at least one first OMC data of a first device and at least one second OMC data of a second device.

[0081] In the embodiments of the present application, step S301 can be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0082] Step S302: Acquire at least one first OMC data link based on at least one first OMC data.

[0083] In the embodiments of the present application, step S302 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0084] Step S303: Acquire at least one second OMC data link based on at least one second OMC data.

[0085] In the embodiments of the present application, step S303 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0086] Step S304: for a first data link in the at least one first OMC data link, based on the constraint rule, the first data link is compared with each second OMC data link respectively.

[0087] Among them, in the implementation set of this application, the above-mentioned first data link is any data link in the first OMC data link.

[0088] Specifically, any first data link in the first OMC data links is compared with each second OMC data link to determine whether there is a data link in the second OMC data link that complies with the constraint rule in the first data link.

[0089] For example, the second device is a BNG (Broadband Network Gateway) device. The above constraint rules may include the following two types: Rule 1: The network element IP of the OLT in the first OMC data link can match the BNG entity with the management IP of the same network segment address within the mask range in the BNG side data. Rule 2: The SVLAN and CVLAN of the OLT in the first OMC data link can find the BNG entity with consistent SVLAN and CVLAN in the BNG side data. For example, the second OMC data link may include information such as BNG name, management IP, SVLAN, CVLAN and BNG enablement status. For example, if the network element IP in the first data link and the management IP of a second data link in the second OMC data link comply with VRRP (Virtual Router Redundancy Protocol), and the SVLAN and CVLAN of the second data link are configured according to the planned internal number segment according to the service data attributes of the first data link. It can be determined that the first data link and the second data link meet the constraint rules.

[0090] Step S305: Determine that there is no data link in the at least one second OMC data link that meets the constraint rule with the first data link, and determine the first data link as the OMC data link to be processed.

[0091] Specifically, if each data link in the second OMC data link does not comply with the constraint rule with the first data link, the first data link is determined as the OMC data link to be processed.

[0092] In some embodiments of the present application, the aforementioned configuration constraint rules may be used to generate a verification function set, so as to detect whether each first OMC data link and the second OMC data link comply with the constraint rules and have business connectivity through the verification function set. Figure 4 , Figure 4 Schematic diagram of a data link identification solution provided by an embodiment of the present application. Figure 4 As shown, each first data link Xn and second OMC data link Y1-Yn are input into the verification function set respectively to obtain the OMC data link to be processed in which the first OMC data link does not meet any configuration rule in the second OMC data link and thus does not have service connectivity. Wherein, n is a positive integer.

[0093] Step S306: acquiring the OMC data to be processed in at least one first OMC data based on the OMC data chain to be processed.

[0094] In the embodiments of the present application, step S306 can be implemented in any of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0095] Step S307: Process the OMC data to be processed.

[0096] In the embodiments of the present application, step S307 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0097] By implementing the embodiment of the present application, the first OMC data chain generated based on the first OMC data of the first device can be compared with the second OMC data chain generated based on the second OMC data of the second device based on the constraint rule to obtain the OMC data chain to be processed that does not meet the constraint rule with the second OMC data chain in the first OMC data chain, and the OMC data to be processed in the first OMC data is obtained based on the OMC data chain to be processed to process the OMC data to be processed. It is possible to achieve efficient automatic identification and processing of legacy data generated by network engineering operations, reduce manual processing costs, and improve equipment operation efficiency.

[0098] In one implementation, the OMC data to be processed may be processed based on the relevant information of the OMC data to be processed. Figure 5 , Figure 5 FIG. 1 is a flow chart of another data processing method provided in an embodiment of the present application. Figure 5 As shown, the method may include but is not limited to the following steps:

[0099] Step S501: Acquire at least one first operation and maintenance center OMC data of a first device and at least one second OMC data of a second device.

[0100] In the embodiments of the present application, step S501 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0101] Step S502: Acquire at least one first OMC data link based on at least one first OMC data.

[0102] In the embodiments of the present application, step S502 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0103] Step S503: Acquire at least one second OMC data link based on at least one second OMC data.

[0104] In the embodiments of the present application, step S503 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0105] Step S504: comparing the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule, and acquiring an OMC data link to be processed in the at least one first OMC data link.

[0106] In the embodiments of the present application, step S504 can be implemented in any of the ways in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0107] Step S505: acquiring the OMC data to be processed in at least one first OMC data based on the OMC data chain to be processed.

[0108] In the embodiments of the present application, step S505 can be implemented by any of the methods in the embodiments of the present application, and the embodiments of the present application do not limit this and will not be described in detail.

[0109] Step S506: Acquire data attribute information of the OMC data to be processed.

[0110] For example, the data attribute information corresponding to the generation of the OMC data to be processed is obtained.

[0111] Among them, in the implementation set of this application, the above-mentioned attribute information includes but is not limited to: the last access time of the data, the security level of the data and the data hierarchy, etc.

[0112] Step S507: Process the OMC data to be processed based on the data attribute information.

[0113] As an example, take the case where the data attribute information includes the most recent access time. If the time between the most recent access time and the current time is greater than the time threshold, the OMC data to be processed is deleted.

[0114] As an example, take the data attribute information including the data security level as an example. If the data security level of the OMC data to be processed is low, the OMC data to be processed can be directly deleted. If the data security level of the OMC data to be processed is high, the OMC data to be processed can be marked so that relevant personnel can manually process it.

[0115] In an optional implementation, the above-mentioned data attribute information includes a data generation date, and the OMC data to be processed is processed based on the data attribute information, including: determining the data existence duration of the OMC data to be processed based on the data generation date; obtaining a duration threshold corresponding to the OMC data to be processed; and processing the OMC data to be processed in response to the data existence duration being greater than or equal to the duration threshold.

[0116] For example, the data existence time of the OMC data to be processed is determined based on the data generation date and the current date of the OMC data to be processed, and the time threshold corresponding to the OMC data to be processed is obtained. If the data existence time of the OMC data to be processed is greater than or equal to the time threshold, the OMC data to be processed is deleted.

[0117] By implementing the embodiment of the present application, the first OMC data chain generated based on the first OMC data of the first device can be compared with the second OMC data chain generated based on the second OMC data of the second device based on the constraint rules to obtain the OMC data chain to be processed in the first OMC data chain, and the OMC data to be processed in the first OMC data can be obtained based on the OMC data chain to be processed, and the OMC data to be processed can be processed based on the attribute information of the OMC data to be processed. It can realize efficient automatic identification and processing of legacy data generated by network engineering operations, reduce manual processing costs, and improve equipment operation efficiency.

[0118] See also Figure 6 , Figure 6 Schematic diagram of a data processing solution provided in an embodiment of the present application. Figure 6 As shown, the OMC data of the device to be checked (i.e., the aforementioned first device) and the OMC data of all the upstream devices of the device to be checked (i.e., the aforementioned second device) can be obtained; then the OMC data of the device to be checked is processed to obtain the first OMC data link corresponding to the device to be checked, and the first OMC data link includes network element-module-port-service data; and the second OMC data link corresponding to the second device is obtained by the same data processing method; each first OMC data link is matched with all second OMC data links respectively to obtain the OMC data link to be processed in the first OMC data link that does not conform to the configuration rule with each second data link; the network element-module-port-service data set without service connectivity is obtained according to the OMC data link to be processed; and data restoration processing is performed according to the data set to obtain the OMC data to be processed that does not conform to the Unicom rules in the device to be checked; and the legacy data level is determined according to the level of the OMC data to be processed, and the data remaining after the data in the engineering operation time window is removed is the legacy resource data. The legacy resource data is then deleted through the network management system.

[0119] See also Figure 7 , Figure 7 Schematic diagram of a data processing device provided in an embodiment of the present application. Figure 7 As shown, the device 700 includes: a first acquisition module 701, used to acquire at least one first OMC data of a first device and at least one second OMC data of a second device; wherein the second device is an upstream device of the first device; a first processing module 702, used to acquire at least one first OMC data chain based on at least one first OMC data; a second processing module 703, used to acquire at least one second OMC data chain based on at least one second OMC data; a third processing module 704, used to compare at least one first OMC data chain and at least one second OMC data chain based on preset constraint rules, and acquire an OMC data chain to be processed in at least one first OMC data chain; a second acquisition module 705, used to acquire OMC data to be processed in at least one first OMC data based on the OMC data chain to be processed; and a fourth processing module 706, used to process the OMC data to be processed.

[0120] In one implementation, at least one first OMC data and / or at least one second OMC data respectively include at least one of the following types: device network data; module data; port data; port virtual local area network VLAN data.

[0121] In an optional implementation, the first processing module 702 is specifically used to: obtain a field value of a target data field in at least one first OMC data; match and associate the field value in at least one first OMC data to obtain at least one first OMC data chain.

[0122] Optionally, each type of first OMC data corresponds to at least one field group, each field group includes at least one field value, and the first processing module 702 is specifically used to: match the field values ​​in at least one first OMC data to obtain multiple target field groups with the same field values; wherein different target field groups belong to different types of first OMC data; and obtain the first OMC data link based on the entity resource information corresponding to the field values ​​in the multiple target field groups.

[0123] In one implementation, the third processing module 704 is specifically used to: for a first data link in at least one first OMC data link, based on a constraint rule, compare the first data link with each second OMC data link respectively; the first data link is any data link in the first OMC data link; determine that there is no data link in at least one second OMC data link that meets the constraint rule with the first data link, and determine the first data link as the OMC data link to be processed.

[0124] In one implementation, the fourth processing module 706 is specifically used to: obtain data attribute information of the OMC data to be processed; and process the OMC data to be processed based on the data attribute information.

[0125] In an optional implementation, the data attribute information includes a data generation date, and the fourth processing module 706 is specifically used to: determine the data existence duration of the OMC data to be processed based on the data generation date; obtain a duration threshold corresponding to the OMC data to be processed; and process the OMC data to be processed in response to the data existence duration being greater than or equal to the duration threshold.

[0126] Through the device of the embodiment of the present application, the first OMC data chain generated based on the first OMC data of the first device can be compared with the second OMC data chain generated based on the second OMC data of the second device based on the constraint rules to obtain the OMC data chain to be processed in the first OMC data chain, and the OMC data to be processed in the first OMC data can be obtained based on the OMC data chain to be processed, so as to process the OMC data to be processed. It is possible to realize efficient automatic identification and processing of legacy data generated by network engineering operations, reduce manual processing costs, and improve equipment operation efficiency.

[0127] It should be noted that the above explanation of the data processing method embodiment is also applicable to the data processing device of this embodiment, and will not be repeated here.

[0128] In order to implement the above embodiment, the present application also proposes an electronic device. Figure 8 , Figure 8 Schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 8 As shown, the electronic device 800 includes: a processor 801, and a memory 802 communicatively connected to the processor 801; the memory 802 stores computer-executable instructions; the processor 801 executes the computer-executable instructions stored in the memory to implement the method provided in the aforementioned embodiment.

[0129] In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

[0130] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

[0131] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0132] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0133] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0134] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0135] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0136] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0137] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0138] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.< / fieldname>

Claims

1. A data processing method, It is characterized in that include: Acquire at least one first operation and maintenance center OMC data of a first device and at least one second OMC data of a second device; wherein the second device is an upstream device of the first device; acquiring at least one first OMC data link based on the at least one first OMC data; acquiring at least one second OMC data link based on the at least one second OMC data; Comparing the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule, and acquiring an OMC data link to be processed in the at least one first OMC data link; Acquire the OMC data to be processed in the at least one first OMC data based on the OMC data chain to be processed; The OMC data to be processed is processed.

2. The method according to claim 1, It is characterized in that The at least one first OMC data and / or the at least one second OMC data respectively include at least one of the following types: Device network data; Module data; Port data; Port virtual local area network VLAN data.

3. The method according to claim 2, It is characterized in that The acquiring at least one first OMC data link based on the at least one first OMC data includes: Acquire a field value of a target data field in the at least one first OMC data; Match and associate the field values ​​in the at least one first OMC data to obtain the at least one first OMC data chain.

4. The method according to claim 3, It is characterized in that Each type of the first OMC data corresponds to at least one field group, each of the field groups includes at least one field value, and matching and associating the field values ​​in the at least one first OMC data to obtain the at least one first OMC data chain includes: Matching the field values ​​in the at least one first OMC data to obtain a plurality of target field groups having the same field values; wherein different target field groups belong to different types of the first OMC data; The first OMC data link is acquired based on the entity resource information corresponding to the field values ​​in the multiple target field groups.

5. The method according to claim 1, It is characterized in that The comparing the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule to obtain the OMC data link to be processed in the at least one first OMC data link includes: For a first data link in the at least one first OMC data link, based on the constraint rule, the first data link is compared with each of the second OMC data links respectively; the first data link is any data link in the first OMC data links; It is determined that no data link that meets the constraint rule with the first data link exists in the at least one second OMC data link, and the first data link is determined as the OMC data link to be processed.

6. The method according to claim 1, It is characterized in that The processing of the OMC data to be processed includes: Acquire data attribute information of the OMC data to be processed; The OMC data to be processed is processed based on the data attribute information.

7. The method according to claim 6, It is characterized in that The data attribute information includes a data generation date, and the processing of the to-be-processed OMC data based on the data attribute information includes: Determine the data existence length of the OMC data to be processed based on the data generation date; Obtaining a time threshold corresponding to the OMC data to be processed; In response to the existence time of the data being greater than or equal to the time threshold, the to-be-processed OMC data is processed.

8. A data processing device, It is characterized in that include: A first acquisition module is used to acquire at least one first operation and maintenance center OMC data of a first device and at least one second OMC data of a second device; wherein the second device is an upstream device of the first device; A first processing module, configured to obtain at least one first OMC data link based on the at least one first OMC data; A second processing module, configured to obtain at least one second OMC data link based on the at least one second OMC data; A third processing module, configured to compare the at least one first OMC data link and the at least one second OMC data link based on a preset constraint rule, and obtain an OMC data link to be processed in the at least one first OMC data link; A second acquisition module acquires the OMC data to be processed in the at least one first OMC data based on the OMC data chain to be processed; The fourth processing module is used to process the OMC data to be processed.

9. An electronic device, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.