Data processing methods, apparatus, equipment and computer-readable storage media

By generating a business primary key to replace RMUID, the problem of data collection being unable to be compared due to changes in RMUID was solved, thus achieving accurate data management and processing.

CN117251478BActive Publication Date: 2026-05-26CHINA MOBILE GROUP DESIGN INST +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE GROUP DESIGN INST
Filing Date
2022-06-09
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Due to the changes in rmuid, existing technologies are unable to accurately compare collected data with existing data, resulting in collected data slipping out of control and losing its management capabilities.

Method used

By generating a business primary key with unique resources to replace RMUID, a comparison method is established between collected data and existing data to achieve accurate comparison and management.

Benefits of technology

They regained control over the collected data, preventing it from slipping out of control and improving the accuracy and efficiency of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117251478B_ABST
    Figure CN117251478B_ABST
Patent Text Reader

Abstract

This application discloses a data processing method, apparatus, device, and computer-readable storage medium. The method includes the steps of: acquiring collected data and generating a business primary key for the collected data; the business primary key having resource uniqueness; comparing the differences between the collected data and existing data based on the business primary key to obtain a comparison result; and processing the existing data accordingly based on the comparison result. This application enables accurate comparison of collected data and existing data through the business primary key, thereby regaining the ability to manage collected data and preventing collected data from slipping out of control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data transmission, and more particularly to a data processing method, apparatus, device, and computer-readable storage medium. Background Technology

[0002] Currently, the OMC (Operation and Maintenance Center) is responsible for collecting resource data from lower-level devices, obtaining the collected data, and transmitting the collected data to the upper-level integrated network management system. After receiving the collected data transmitted by the OMC, the upper-level integrated network management system processes the existing data in the database accordingly. Specifically, it compares the collected data and the existing data using the database primary key (rmuid) (which is unique for the resources of the lower-level devices) and performs the corresponding processing.

[0003] However, after the rmui in the collected data is changed, the comparison method is interrupted, and the upper-level integrated network management system cannot compare the collected data and the existing data through the rmui, thus losing the ability to manage the collected data and causing the collected data to go out of control. Summary of the Invention

[0004] In view of this, the main objective of this application is to provide a data processing method, apparatus, device, and computer-readable storage medium, which aims to prevent collected data from slipping out of control.

[0005] To achieve the above objectives, this application provides a data processing method, the method comprising:

[0006] Acquire the collected data and generate a business primary key for the collected data; the business primary key has the uniqueness of the resource;

[0007] Based on the business primary key, the differences between the collected data and the existing data are compared to obtain the comparison results;

[0008] Based on the comparison results, the existing data is processed accordingly.

[0009] For example, the business primary key for generating the collected data includes:

[0010] A designated operation and maintenance center is identified, which provides the collected data.

[0011] Obtain the first identity information of the operation and maintenance center, and obtain the second identity information of the resource;

[0012] By concatenating the first identity information and the second identity information, the business primary key of the collected data is obtained.

[0013] For example, the collected data is the first resource data of the first resource that directly carries the business. The comparison of the collected data and the existing data based on the business primary key to obtain the comparison result includes:

[0014] Based on the business primary key, determine the existing data corresponding to the collected data;

[0015] Based on the newly acquired first database primary key in the collected data, refresh the original second database primary key in the existing data;

[0016] Based on the primary key of the first database, the differences between the collected data and the existing data are compared to obtain the comparison results.

[0017] For example, the step of comparing the differences between the collected data and the existing data based on the first database primary key to obtain the comparison result includes:

[0018] Acquire secondary resources that do not directly support business operations;

[0019] The first resource and the second resource are taken as the total resource, and the differences between the total resource and the resources in the existing data are compared based on the first database primary key to obtain the comparison result.

[0020] For example, the corresponding processing of the existing data based on the comparison results includes:

[0021] If the existing data contains resource data for a third resource, and the collected data does not contain resource data for that third resource;

[0022] If the resource data of the third resource is not directly used for services, and no resource data of the third resource is found in the data collected a preset number of times, then the resource data of the third resource is deleted.

[0023] For example, the corresponding processing of the existing data based on the comparison results includes:

[0024] If both the existing data and the collected data contain resource data for the fourth resource, then the resource data for the fourth resource in the collected data will be updated in the existing data.

[0025] For example, the corresponding processing of the existing data based on the comparison results includes:

[0026] If the existing data does not contain resource data for the fifth resource, but the collected data contains resource data for the fifth resource, then it is determined whether the fifth resource is a network element and whether the network element has been connected to the network.

[0027] If so, the resource data of the fifth resource will be added to the existing data.

[0028] Furthermore, to achieve the above objectives, this application also provides a data processing apparatus, the apparatus comprising:

[0029] The acquisition module is used to acquire collected data and generate a business primary key for the collected data; the business primary key has the uniqueness of the resource.

[0030] The comparison module is used to compare the differences between the collected data and the existing data based on the business primary key, and obtain the comparison result;

[0031] The processing module is used to process the existing data accordingly based on the comparison results.

[0032] In addition, to achieve the above objectives, this application also provides a data processing device, which includes a memory, a processor, and a data processing program stored in the memory and executable on the processor. When the data processing program is executed by the processor, it implements the steps of the data processing method described above.

[0033] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a data processing program, which, when executed by a processor, implements the steps of the data processing method described above.

[0034] In contrast to existing technologies where the comparison pathway is disrupted, making accurate comparison of collected and existing data via RMUID impossible and thus leading to a loss of control over collected data, this application uses the unique business primary key of the collected data to determine the corresponding existing data. It then compares the differences between the collected and existing data to obtain a comparison result, which enables appropriate processing of the existing data. This application replaces RMUID with a business primary key, using the business primary key as the RMUID to reconnect the matching pathway. This allows for accurate comparison of collected and existing data via the business primary key, thereby regaining the ability to manage collected data and preventing it from slipping out of control. Attached Figure Description

[0035] Figure 1 This is a flowchart illustrating the first embodiment of the data processing method of this application;

[0036] Figure 2 This is a schematic diagram of a network topology before OMC fusion, as described in the first embodiment of the data processing method of this application;

[0037] Figure 3This is a schematic diagram of a network topology after OMC fusion according to the first embodiment of the data processing method of this application;

[0038] Figure 4 This is a flowchart illustrating the second embodiment of the data processing method of this application;

[0039] Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0040] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0041] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0042] This application provides a data processing method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the data processing method of this application.

[0043] This application provides embodiments of a data processing method. It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here. The data processing method can be applied to upper-layer integrated network management systems. For ease of description, the execution entity descriptions of each step of the data processing method are omitted below. The data processing method includes:

[0044] Step S110: Obtain the collected data and generate the business primary key of the collected data; the business primary key has the uniqueness of the resource.

[0045] The collected data includes the newly collected primary database key. Generally, for the same resource, this primary database key is the same as the original secondary database key in the existing data. However, if multiple OMCs merge or if a northbound interface upgrade occurs within an OMC, the primary database key will change, resulting in a difference between the primary and secondary database keys for the same resource. Data processing (including adding, modifying, and deleting data) relies on the existence of a primary database key in the existing data that matches the primary database key in the collected data. In this case, because the primary database key has changed, it's impossible to find a corresponding secondary database key in the existing data, making it impossible to manage the collected data and thus requiring data hosting.

[0046] Taking the merging of multiple OMCs as an example, refer to Figure 2 , Figure 2This is a network topology prior to OMC convergence. For a long time, transmission OMCs have been built in a "siloed" manner, with different equipment manufacturers constructing different OMCs based on the type of equipment being managed, and even at the city or prefecture level. This situation has resulted in inconsistent functions, data, and interfaces between different OMCs, leading to high risks of data inconsistency, high complexity of interoperability across multiple OMCs, and low efficiency in service activation.

[0047] Reference Figure 3 , Figure 3 This is the network topology after OMC convergence. Currently, major mobile operators are actively promoting the convergence of OMC network management, and are carrying out unified maintenance on a provincial basis, with northbound interfaces unified as lightweight SOCKET+FTP interfaces, to facilitate end-to-end automatic activation and automatic service provisioning. The problem is that the OMC convergence process is essentially a process of re-attaching the OMC to the device. ARMuID is a unique identifier for resources allocated by the OMC's built-in database according to certain rules after the device connects to the OMC. Therefore, the ARMuID will change after OMC convergence.

[0048] For example, resources include first resources that directly carry services and second resources that do not directly carry services. First resources include optical network elements, network components, containers, boards, ports, time slots, and links, etc.; second resources include signal flow (cross-connection), board protection groups, board protection group units, port protection groups, port protection group units, subnets, subnets to which network elements belong, subnet connection routes, and subnet connection bearer relationships, etc. Logically, first resources can also be divided into physical units and virtual units. For example, each port is a physical unit, and a virtual port composed of multiple ports is a virtual unit; similarly, each network element is a physical unit, and a virtual network element composed of multiple network elements is a virtual unit.

[0049] For example, a link includes topology connections and service channels. Specifically, service channels refer to subnet connections in the OTN / WDM northbound specification and pseudowires and tunnels in the PTN / SPN northbound specification. Subnet connections are physical units, while pseudowires and tunnels are virtual units.

[0050] In this embodiment, the business primary key (FDN (Full Distinguished Name, Management Object Identifier)) is independent of the database primary key. It also has the uniqueness of resources (that is, the business primary key of each resource is different, and the data in the collected data and the existing data are distinguished by the similarity and difference of resources). Since the database primary key changes, it does not affect the business primary key. Therefore, the business primary key can directly take over the function of the database primary key.

[0051] For example, the business primary key for generating the collected data includes:

[0052] Step a, determine the operation and maintenance center, which provides the collected data;

[0053] Step b: Obtain the first identity information of the operation and maintenance center, and obtain the second identity information of the resource;

[0054] Step c: Concatenate the first identity information and the second identity information to obtain the business primary key of the collected data.

[0055] The operation and maintenance center collects data from the equipment via the southbound interface and transmits the collected data to the upper-level integrated management system via the northbound interface.

[0056] Each operation and maintenance center has its own primary identification information, such as its name and physical address. Similarly, resources also have their own secondary identification information, such as their name and physical address. Combining the primary and secondary identification information yields a unique business primary key. For example, if an operation and maintenance center includes two optical network elements, optical network element 1 and optical network element 2, it can be understood that optical network element 1 and optical network element 2 have different secondary identification information, and therefore, their business primary keys are different. The business primary key can be understood as the actual installation location of the resource, similar to the location of a file on a disk; the location of a file on each disk is unique.

[0057] It should be noted that the business primary key is for the first resource mentioned above, and the second resource mentioned above does not need to have a business primary key set.

[0058] In this structure, the first resource's optical network element is attached to an OMC, the network element is attached to an optical network element, the container is attached to a network element, and so on, with the link attached to a time slot. Therefore, similar to a unique resource locator for a file on a disk, the concatenation rule for the service primary key is: the next level resource includes the service primary key of the previous level resource. For example, the service primary key of a network element includes the service primary key of the optical network element it is attached to, as well as its own identity information; similarly, the service primary key of a container includes the service primary key of the network element it is attached to, as well as its own identity information.

[0059] For example, the container's identity information includes the parent container number, the current container number, and the container's rack, sub-rack, frame, sub-frame, slot, and sub-slot, etc.; the board's own information includes the board's local name, etc.

[0060] Step S120: Based on the business primary key, compare the differences between the collected data and the existing data to obtain the comparison result.

[0061] The comparison results include those with identical business primary keys and those without. There are two comparison methods: one is to compare directly using the business primary key; the other is to refresh the database primary keys in the existing data using the business primary key.

[0062] Step S130: Based on the comparison results, the existing data is processed accordingly.

[0063] For example, the corresponding processes include deletion, addition, and update.

[0064] For the comparison method that directly compares business primary keys, the process is as follows: match the business primary key in the collected data with the business primary key in the existing data. If the existing data contains the same business primary key as the collected data, update the resource data corresponding to that business primary key to the existing data. If the existing data does not contain the same business primary key as the collected data, consider adding the resource data corresponding to that business primary key to the existing data. If the collected data does not contain the same business primary key as the existing data, consider deleting the resource data corresponding to that business primary key from the existing data.

[0065] Specifically, if the same business primary key does not exist in the collected data as in the existing data, the resource data corresponding to that business primary key in the existing data will be deleted. If resource data for a third resource exists in the existing data, but not in the collected data, then...

[0066] If the existing data contains resource data for a third resource, but the collected data does not contain such resource data, it indicates that the third resource may have been decommissioned. In other words, the resource data for the third resource may no longer be used. If the resource data for the third resource is retained, it will waste database resources. Therefore, the resource data for the third resource in the existing data can be deleted.

[0067] When a third resource does not directly support business operations, if no resource data for the third resource is found in the data collected a preset number of times, the resource data for the third resource will be deleted. To avoid the absence of resource data for the third resource in the collected data due to various reasons (such as missed data collection), it is necessary to make a judgment based on multiple data collections. That is, after collecting data a preset number of times, a judgment is made, and only if no resource data for the third resource is found will the resource data for the third resource be deleted, thus avoiding accidental deletion of data and improving data security.

[0068] It should be noted that if the third resource directly carries the business, in order to avoid business crashes, the resource data of the third resource cannot be directly deleted. Instead, it should be marked as "deleted" and then handed over to a human for review.

[0069] Specifically, if the existing data contains the same business primary key as the collected data, the resource data corresponding to that business primary key will be updated in the existing data. That is, if both the existing data and the collected data contain resource data for the fourth resource, the resource data for the fourth resource in the collected data will be updated in the existing data.

[0070] When resource data for the fourth resource exists in both existing data and collected data, the existing data is processed by updating it. That is, the resource data for the fourth resource in the collected data is updated to the resource data for the fourth resource in the existing data.

[0071] Specifically, if the existing data does not contain the same business primary key as the collected data, then the resource data corresponding to that business primary key will be added to the existing data. That is, if the existing data does not contain resource data for the fifth resource, but the collected data does contain resource data for the fifth resource, then it will be determined whether the fifth resource is a network element and whether the network element has been connected to the network.

[0072] Whether a network element is registered in the network is determined by whether it is recorded in the northbound interface. If a network element is not registered, even if its resource data is added to the existing database, the resource data cannot be used, resulting in wasted database resources. Therefore, if a network element is not registered, its resource data is not added to the existing database. Correspondingly, since the network element is not registered, the resource data of containers, boards, and ports attached to it are also not added to the existing database, as they are also unusable.

[0073] If so, the resource data of the fifth resource will be added to the existing data. It can be understood that adding the resource data of the fifth resource to the existing data requires one of the following conditions to be met: the fifth resource is not a network element; or the fifth resource is a network element, but that network element has already been connected to the network.

[0074] In contrast to existing technologies where the comparison pathway is disrupted, making accurate comparison of collected and existing data via RMUID impossible and thus leading to a loss of control over collected data, this application uses the unique business primary key of the collected data to determine the corresponding existing data. It then compares the differences between the collected and existing data to obtain a comparison result, which enables appropriate processing of the existing data. This application replaces RMUID with a business primary key, using the business primary key as the RMUID to reconnect the matching pathway. This allows for accurate comparison of collected and existing data via the business primary key, thereby regaining the ability to manage collected data and preventing it from slipping out of control.

[0075] For example, regarding the comparison method of refreshing the database primary key in existing data using the business primary key, refer to... Figure 5 Based on the first embodiment of the data processing method of this application, a second embodiment is proposed, wherein the collected data is the first resource data of the first resource directly carrying the business, and the comparison of the collected data and the existing data based on the business primary key to obtain the comparison result includes:

[0076] Step S420: Based on the business primary key, determine the existing data corresponding to the collected data;

[0077] Step S430: Based on the newly acquired first database primary key in the acquired data, refresh the original second database primary key in the existing data;

[0078] Step S440: Based on the primary key of the first database, compare the differences between the collected data and the existing data to obtain the comparison result.

[0079] It should be noted that the method of directly using the business primary key as the database primary key in the first embodiment has certain drawbacks. Although network management integration leads to a change in the database primary key, and using the business primary key can solve the problem of primary key mismatch caused by the change in the database primary key, the business primary key cannot solve the problem of primary key mismatch caused by changes in network element names.

[0080] It should be noted that database primary keys can resolve issues caused by changes in network element names. Therefore, this embodiment proposes a scheme combining business primary keys and database primary keys to address the problems caused by changes in network element names and database primary keys.

[0081] Specifically, for resource data in the existing data that can be found through the first database primary key, the second database primary key of that resource data is refreshed; if resource data in the existing data cannot be found through the first database primary key, it means that there is no resource data for the resource corresponding to the first database primary key in the existing data.

[0082] It should be noted that the refresh process is a replacement process.

[0083] For example, the step of comparing the differences between the collected data and the existing data based on the first database primary key to obtain the comparison result includes:

[0084] Step d: Obtain the second resource that does not directly carry the business.

[0085] In addition to the primary resource that directly carries the business, there is also a secondary resource that does not directly carry the business. For the secondary resource, the database primary key can be reused without generating a business primary key.

[0086] Step e: Take the first resource and the second resource as the total resource, and compare the differences between the total resource and the resources in the existing data based on the first database primary key to obtain the comparison result.

[0087] The comparison process involves comparing the total resources. Different data processing methods are used for the first and second resources.

[0088] For example, the corresponding processing of the existing data based on the comparison results includes:

[0089] Step f: If the existing data contains resource data of a third resource, and the collected data does not contain resource data of the third resource;

[0090] Step g: If the resource data of the third resource is not present in any of the collected data after a preset number of times when the third resource does not directly carry out the service, then the resource data of the third resource is deleted.

[0091] For example, the corresponding processing of the existing data based on the comparison results includes:

[0092] Step h: If both the existing data and the collected data contain resource data for the fourth resource, then update the resource data for the fourth resource in the collected data to the existing data.

[0093] For example, the corresponding processing of the existing data based on the comparison results includes:

[0094] Step i: If the existing data does not contain resource data for the fifth resource, but the collected data contains resource data for the fifth resource, then determine whether the fifth resource is a network element and whether the network element has been connected to the network.

[0095] If so, step j: add the resource data of the fifth resource to the existing data.

[0096] It is understood that the specific implementation method of processing existing data through the first database primary key in this embodiment is basically the same as the specific implementation method of processing existing data through the business primary key described above, and will not be repeated here.

[0097] This embodiment refreshes the second database primary key using the first database primary key, enabling the reuse of existing industry-standard data collection and processing methods. In other words, this embodiment can be implemented by improving existing technology without requiring the reconstruction of the comparison process in current data collection and processing methods, thus reducing the cost of modification.

[0098] In addition, this application also provides a data processing apparatus, the apparatus comprising:

[0099] The acquisition module is used to acquire collected data and generate a business primary key for the collected data; the business primary key has the uniqueness of the resource.

[0100] The comparison module is used to compare the differences between the collected data and the existing data based on the business primary key, and obtain the comparison result;

[0101] The processing module is used to process the existing data accordingly based on the comparison results.

[0102] For example, the acquisition module is specifically used for:

[0103] A designated operation and maintenance center is identified, which provides the collected data.

[0104] Obtain the first identity information of the operation and maintenance center, and obtain the second identity information of the resource;

[0105] By concatenating the first identity information and the second identity information, the business primary key of the collected data is obtained.

[0106] For example, the collected data is the first resource data of the first resource that directly carries the service, and the comparison module is specifically used for:

[0107] Based on the business primary key, determine the existing data corresponding to the collected data;

[0108] Based on the newly acquired first database primary key in the collected data, refresh the original second database primary key in the existing data;

[0109] Based on the primary key of the first database, the differences between the collected data and the existing data are compared to obtain the comparison results.

[0110] For example, the comparison module is specifically used for:

[0111] Acquire secondary resources that do not directly support business operations;

[0112] The first resource and the second resource are taken as the total resource, and the differences between the total resource and the resources in the existing data are compared based on the first database primary key to obtain the comparison result.

[0113] For example, the processing module is specifically used for:

[0114] If the existing data contains resource data for a third resource, and the collected data does not contain resource data for that third resource;

[0115] If the resource data of the third resource is not directly used for services, and no resource data of the third resource is found in the data collected a preset number of times, then the resource data of the third resource is deleted.

[0116] For example, the processing module is specifically used for:

[0117] If both the existing data and the collected data contain resource data for the fourth resource, then the resource data for the fourth resource in the collected data will be updated in the existing data.

[0118] For example, the processing module is specifically used for:

[0119] If the existing data does not contain resource data for the fifth resource, but the collected data contains resource data for the fifth resource, then it is determined whether the fifth resource is a network element and whether the network element has been connected to the network.

[0120] If so, the resource data of the fifth resource will be added to the existing data.

[0121] The specific implementation of the data processing device in this application is basically the same as the embodiments of the data processing method described above, and will not be repeated here.

[0122] In addition, this application also provides a data processing device. For example... Figure 5 As shown, Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0123] It should be noted that, Figure 5 This can be a schematic diagram of the hardware operating environment of the data processing equipment.

[0124] like Figure 5 As shown, the data processing device may include: a processor 5001, such as a CPU; a memory 5005; a user interface 5003; a network interface 5004; and a communication bus 5002. The communication bus 5002 is used to enable communication between these components. The user interface 5003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 5003 may also include a standard wired interface or a wireless interface. The network interface 5004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 5005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 5005 may also be a storage device independent of the aforementioned processor 5001.

[0125] Alternatively, the data processing device may also include RF (Radio Frequency) circuits, sensors, audio circuits, WiFi modules, and so on.

[0126] Those skilled in the art will understand that Figure 5 The data processing device structure shown does not constitute a limitation on the data processing device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0127] like Figure 5 As shown, the memory 5005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a data processing program. The operating system is a program that manages and controls the hardware and software resources of the data processing device, supporting the operation of the data processing program and other software or programs.

[0128] exist Figure 5 In the data processing device shown, the user interface 5003 is mainly used to connect to the terminal and communicate with the terminal, such as receiving user signaling data sent by the terminal; the network interface 5004 is mainly used for the backend server and communicates with the backend server; the processor 5001 can be used to call the data processing program stored in the memory 5005 and execute the steps of the data processing method described above.

[0129] The specific implementation of the data processing device in this application is basically the same as the embodiments of the data processing method described above, and will not be repeated here.

[0130] Furthermore, embodiments of this application also propose a computer-readable storage medium storing a data processing program, which, when executed by a processor, implements the steps of the data processing method described above.

[0131] The specific implementation of the computer-readable storage medium in this application is basically the same as the embodiments of the data processing method described above, and will not be repeated here.

[0132] In addition, to achieve the above objectives, this application also provides a computer program product, comprising: a computer program, which, when executed by a processor, implements the steps of the data processing method described above.

[0133] The specific implementation of the computer program product in this application is basically the same as the embodiments of the data processing method described above, and will not be repeated here.

[0134] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0135] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0136] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes: several instructions to cause a terminal device (which may be a mobile phone, computer, server, device, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0137] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A data processing method, characterized in that, The method, applied to the network topology after OMC convergence, includes: Acquire collected data and generate a business primary key for the collected data; the business primary key has resource uniqueness; the business primary key is independent of the database primary key, and the business primary key of each resource is different; the data in the collected data and the existing data are distinguished by the similarities and differences of the resources. Based on the business primary key, the differences between the collected data and the existing data are compared to obtain the comparison results; Based on the comparison results, the existing data is processed accordingly; The business primary key for generating the collected data includes: A designated operation and maintenance center is identified, which provides the collected data. Obtain the first identity information of the operation and maintenance center, and obtain the second identity information of the resource; By concatenating the first identity information and the second identity information, the business primary key of the collected data is obtained.

2. The method as described in claim 1, characterized in that, The collected data is the first resource data of the first resource that directly carries the business. The comparison of the collected data and the existing data based on the business primary key yields a comparison result, including: Based on the business primary key, determine the existing data corresponding to the collected data; Based on the newly acquired first database primary key in the collected data, refresh the original second database primary key in the existing data; Based on the primary key of the first database, the differences between the collected data and the existing data are compared to obtain the comparison results.

3. The method as described in claim 2, characterized in that, The step of comparing the differences between the collected data and the existing data based on the primary key of the first database to obtain the comparison result includes: Acquire secondary resources that do not directly support business operations; The first resource and the second resource are taken as the total resource, and the differences between the total resource and the resources in the existing data are compared based on the first database primary key to obtain the comparison result.

4. The method as described in claim 1 or 2, characterized in that, The process of processing the existing data based on the comparison results includes: If the existing data contains resource data for a third resource, and the collected data does not contain resource data for that third resource; If the resource data of the third resource is not directly used for services, and no resource data of the third resource is found in the data collected a preset number of times, then the resource data of the third resource is deleted.

5. The method as described in claim 1 or 2, characterized in that, The process of processing the existing data based on the comparison results includes: If both the existing data and the collected data contain resource data for the fourth resource, then the resource data for the fourth resource in the collected data will be updated in the existing data.

6. The method as described in claim 1 or 2, characterized in that, The process of processing the existing data based on the comparison results includes: If the existing data does not contain resource data for the fifth resource, but the collected data contains resource data for the fifth resource, then it is determined whether the fifth resource is a network element and whether the network element has been connected to the network. If so, the resource data of the fifth resource will be added to the existing data.

7. A data processing apparatus, characterized in that, The device includes: The acquisition module is used to acquire collected data and generate a business primary key for the collected data; the business primary key has resource uniqueness; the business primary key is independent of the database primary key, and the business primary key of each resource is different; the data in the collected data and the existing data are distinguished by the similarities and differences of the resources. The comparison module is used to compare the differences between the collected data and the existing data based on the business primary key, and obtain the comparison result; The processing module is used to process the existing data accordingly based on the comparison results; The data processing device is used to achieve: A designated operation and maintenance center is identified, which provides the collected data. Obtain the first identity information of the operation and maintenance center, and obtain the second identity information of the resource; By concatenating the first identity information and the second identity information, the business primary key of the collected data is obtained.

8. A data processing device, characterized in that, The data processing device includes a memory, a processor, and a data processing program stored in the memory and executable on the processor, wherein the data processing program, when executed by the processor, implements the steps of the data processing method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a data processing program, which, when executed by a processor, implements the steps of the data processing method as described in any one of claims 1 to 6.