CN116938681A - Twin data auditing method and device of network element equipment and computer equipment - Google Patents

Twin data auditing method and device of network element equipment and computer equipment Download PDF

Info

Publication number
CN116938681A
CN116938681A CN202310871291.0A CN202310871291A CN116938681A CN 116938681 A CN116938681 A CN 116938681A CN 202310871291 A CN202310871291 A CN 202310871291A CN 116938681 A CN116938681 A CN 116938681A
Authority
CN
China
Prior art keywords
data
attribute
instruction
network element
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310871291.0A
Other languages
Chinese (zh)
Inventor
高一超
田海波
云龙
张宇婕
杨婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202310871291.0A priority Critical patent/CN116938681A/en
Publication of CN116938681A publication Critical patent/CN116938681A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a twin data auditing method, a twin data auditing device and computer equipment of network element equipment. The method comprises the following steps: determining twin data of network element equipment; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction execution data includes first attribute values respectively corresponding to the plurality of attribute fields; the allocation data includes second attribute values respectively corresponding to the plurality of attribute fields; determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field uniquely identifying target data among a plurality of attribute fields included in the target data; the target data is instruction operation data or distribution data; content consistency comparison is carried out on the first attribute value and the second attribute value corresponding to the target attribute field, and the first quantity and the second quantity are compared to obtain a comparison result; and performing exception handling under the condition that the comparison result is abnormal. By adopting the method, the accuracy of twin data can be improved.

Description

Twin data auditing method and device of network element equipment and computer equipment
Technical Field
The present application relates to the field of communications technologies and computer technologies, and in particular, to a method, an apparatus, and a computer device for auditing twin data of a network element device.
Background
The operator realizes the virtualization controllable monitoring of the operation process by constructing a digital twin platform of a core network, wherein the problem of data quality is a whole body which is a main factor for determining the vitality of digital twin, the accuracy of twin data directly determines the feasibility of a twin scheme, and if the data is distorted, the digital twin loses value and significance.
In the traditional method, after twin data are obtained, the twin data are directly used for analysis and monitoring. However, in the case of abnormality in the twin data, it is difficult to accurately analyze and monitor the twin data of the abnormality.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer readable storage medium and a computer program product for auditing twin data of a network element device capable of improving accuracy of twin data.
In a first aspect, the present application provides a method for auditing twin data of a network element device. The method comprises the following steps:
Determining twin data of network element equipment; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction operation data is operation data generated when the network element equipment executes an instruction; the allocation data is resource data for allocating resources for the network element equipment; the instruction execution data includes first attribute values corresponding to a plurality of attribute fields, respectively; the allocation data includes second attribute values corresponding to a plurality of the attribute fields, respectively;
determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field which uniquely identifies the target data from a plurality of attribute fields included in the target data; the target data is the instruction running data or the distribution data;
content consistency comparison is carried out on the first attribute value and the second attribute value corresponding to the target attribute field, and the first quantity and the second quantity are compared to obtain a comparison result;
and under the condition that the comparison result is abnormal, performing exception handling.
In a second aspect, the application also provides a twin data auditing device of the network element equipment. The device comprises:
The data acquisition module is used for determining twin data of the network element equipment; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction operation data is operation data generated when the network element equipment executes an instruction; the allocation data is resource data for allocating resources for the network element equipment; the instruction execution data includes first attribute values corresponding to a plurality of attribute fields, respectively; the allocation data includes second attribute values corresponding to a plurality of the attribute fields, respectively;
a comparison module for determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field which uniquely identifies the target data from a plurality of attribute fields included in the target data; the target data is the instruction running data or the distribution data; content consistency comparison is carried out on the first attribute value and the second attribute value corresponding to the target attribute field, and the first quantity and the second quantity are compared to obtain a comparison result;
the exception handling module is used for carrying out exception handling under the condition that the comparison result is abnormal.
In one embodiment, the exception handling module is further configured to perform at least one of:
if the comparison result is that the first quantity is smaller than the second quantity, redundant distribution data are set to be idle or deleted; the content of the second attribute value corresponding to the redundant distribution data under the target attribute field is inconsistent with the content of the first attribute value corresponding to the target attribute field;
if the comparison result is that the first quantity is larger than the second quantity, outputting information of newly increased instruction operation data;
and if the comparison result is that the first quantity is equal to the second quantity, but the content of the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value, carrying out data abnormality warning.
In one embodiment, the data acquisition module is further configured to acquire instruction specification configuration information; the instruction specification configuration information at least comprises an instruction and parameters of the instruction; the instruction specification configuration information is normalized and a data table is generated according to the normalized instruction specification configuration information; the instruction and the parameters of the instruction are attribute fields in the data table; acquiring instruction operation data and allocation data of network element equipment; and recording the instruction running data and the distribution data in the data table corresponding to each attribute field as attribute values.
In one embodiment, the instruction specification configuration information further includes attribute requirements of parameters of the instruction; the data acquisition module is further used for verifying the data of the parameter corresponding to the instruction in the instruction operation data and the distribution data according to the attribute requirement so as to determine whether the data of the parameter corresponding to the instruction meets the attribute requirement corresponding to the parameter of the instruction; and executing the step of recording the instruction running data and the distribution data corresponding to each attribute field in the data table as attribute values aiming at the instruction running data and the distribution data which pass verification.
In one embodiment, the data acquisition module is further configured to acquire instruction operation data of the network element device from an instruction operation log of the upstream device service platform; the upstream equipment service platform is used for generating the instruction running log by docking the network element equipment; and carrying out resource allocation on the network element equipment to obtain allocation data.
In one embodiment, the comparison module is further configured to, when the auditing task is full-quantity auditing, periodically compare the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and compare the first number and the second number to obtain a comparison result; or after receiving the full auditing instruction, comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
In one embodiment, the comparison module is further configured to determine the designated network element device and the instruction specification configuration information when the auditing task is local auditing; determining target instruction operation data and target allocation data which accord with the specified instruction specification configuration information from the instruction operation data and the allocation data corresponding to the specified network element equipment; and comparing the first attribute value and the second attribute value corresponding to the target attribute field in the target instruction operation data and the target allocation data for content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the computer program when executed by the processor causes the processor to execute the steps in the twin data auditing method of the network element device according to the embodiments of the present application.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to execute the steps in the twin data auditing method of the network element device according to the embodiments of the present application.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, causes the processor to execute the steps in the twin data auditing method of the network element device according to the embodiments of the present application.
According to the twin data auditing method, device, computer equipment, storage medium and computer program product of the network element equipment, twin data comprising instruction operation data and distribution data of the network element equipment are determined, the first quantity of first attribute values and the second quantity of second attribute values corresponding to target attribute fields in the instruction operation data and the distribution data are determined, and because the target attribute fields can uniquely identify the instruction operation data or the distribution data, content consistency comparison is carried out on the first attribute values and the second attribute values corresponding to the target attribute fields, and the first quantity and the second quantity are compared, so that whether the instruction operation data and the distribution data are consistent or not can be conveniently and accurately determined, and under the condition that an abnormality exists in comparison results, abnormal processing can be timely carried out, and the accuracy of the twin data is improved.
Drawings
FIG. 1 is an application environment diagram of a twin data auditing method of network element devices in one embodiment;
fig. 2 is a flow diagram of a twin data auditing method of a network element device in an embodiment;
fig. 3 is an overall flow diagram of a twin data auditing method of a network element device in an embodiment;
FIG. 4 is an overall architecture diagram of a digital twin platform of a core network in one embodiment;
fig. 5 is a block diagram of a twin data auditing apparatus of a network element device in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The twin data auditing method of the network element equipment provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the server 102 of the core network digital twin platform communicates with the terminal 104 through a network. The data storage system may store data that the server 102 needs to process. The data storage system may be integrated on the server 102 or may be located on a cloud or other network server. The server 102 of the core network digital twin platform can acquire instruction operation data and distribution data of the network element equipment, execute the twin data auditing method of the network element equipment in the embodiments of the application, perform exception handling under the condition that the comparison result is abnormal, and output the exception handling result to the terminal 104 for display. The server 102 may be implemented as a stand-alone server or a server cluster including a plurality of servers. The terminal 104 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like.
In some embodiments, as shown in fig. 2, a method for auditing twin data of a network element device is provided, and the method is applied to the server 102 of the digital twin platform of the core network in fig. 1, and includes the following steps:
step 202, determining twin data of network element equipment; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction operation data is operation data generated when the network element equipment executes the instruction; the allocation data is resource data for allocating resources for the network element equipment; the instruction execution data includes first attribute values respectively corresponding to the plurality of attribute fields; the allocation data includes second attribute values corresponding to the plurality of attribute fields, respectively.
Wherein the network element device is a network element device in a core network. For example: the network element devices in the 5G core network mainly include AMF (Access and Mobility Management Function ), SMF (Session Management Function, session management function), PCF (Policy Control Function ), NSSF (Network Slice Selection Function, network slice selection function), UPF (User Plane Function ), NRF (Network Repository Function, network resource storage function), UDM (Unified Data Management ), and the like.
Twin data refers to a virtual copy that is created by collecting, storing, processing, and analyzing real-time data that matches a real physical entity. It is a mathematical model that simulates and reflects the operation and behavior of an entity and can be used to monitor, analyze, and predict the status and performance of an entity. The twinning data of the network element device is used for monitoring, analyzing and predicting the state and performance of the network element device.
The attribute field is a field belonging to a certain attribute corresponding to a column in the data table.
In some embodiments, the server of the core network digital twin platform may obtain instruction operation data of the network element device from the upstream device service platform, and perform resource allocation for the network element device to obtain allocation data of the network element device. For example: and (3) domain names can be allocated to the network element equipment, and the obtained allocation data comprises domain name identifiers.
The upstream equipment service platform is used for generating an instruction running log for the interfacing network element equipment.
In some embodiments, after obtaining the instruction running data and the allocation data of the network element device, the server of the core network digital twin platform may record the instruction running data and the allocation data corresponding to each attribute field in the pre-established data table as attribute values.
In some embodiments, the method in embodiments of the present application may be applied to a 5G core network digital twin platform. In other embodiments, the method can also be applied to a core network digital twin platform of 4G or 6G and the like.
Step 204, determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field uniquely identifying target data among a plurality of attribute fields included in the target data; the target data is instruction execution data or allocation data.
Wherein the first number refers to the number of first attribute values corresponding to the target attribute field. The second number refers to the number of second attribute values corresponding to the target attribute field.
In some embodiments, the target attribute field may be a unique index field. The unique index field is a field used for indexing each record in the data table.
In other embodiments, the target attribute field may also be a key attribute field. The key attribute field is a field for characterizing specific attribute information. Such as: domain name identification fields, etc.
And 206, comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
The content consistency comparison is to compare the specific content of the attribute values corresponding to the first attribute value and the second attribute value of the target attribute field.
In some embodiments, if the comparison results are consistent in content and consistent in number, then the twinned data is indicated to be accurate. The server of the core network digital twin platform can monitor, analyze and predict the state and performance of the network element equipment by using accurate twin data. In some embodiments, the server may also output information of accurate data to the terminal for presentation.
In other embodiments, if the comparison result is at least one of inconsistent content and inconsistent quantity, it indicates that there is an anomaly in the twin data, and step 208 is performed to perform anomaly processing, so that accurate twin data is finally obtained. The server of the core network digital twin platform can monitor, analyze and predict the state and performance of the network element equipment by using accurate twin data.
And step 208, performing exception handling when the comparison result is abnormal.
In some embodiments, the presence of an anomaly in the comparison result includes the comparison result being at least one of a content inconsistency and a quantity inconsistency.
In some embodiments, the case that the comparison result has an anomaly specifically includes three cases that the first number is smaller than the second number, the first number is larger than the second number, and the first number is equal to the second number but the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value.
According to the twin data auditing method of the network element equipment, twin data of the network element equipment, which comprises instruction operation data and distribution data, are determined, and the first quantity of first attribute values and the second quantity of second attribute values corresponding to target attribute fields in the instruction operation data and the distribution data are determined.
In some embodiments, in the event that the comparison results are abnormal, performing the exception handling includes at least one of: if the comparison result is that the first quantity is smaller than the second quantity, redundant distribution data are set to be idle or deleted; the content of the second attribute value corresponding to the redundant distribution data under the target attribute field is inconsistent with the content of the first attribute value corresponding to the target attribute field; if the comparison result is that the first number is larger than the second number, outputting information of the new increase of the instruction operation data; and if the comparison result is that the first quantity is equal to the second quantity, but the content of the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value, carrying out data abnormality warning.
It can be understood that if the comparison result is that the first number is smaller than the second number, the instruction running data is indicated to be less than the allocation data, and the allocation data is redundant, so that the server can set the redundant allocation data as idle or delete. For example: the first attribute values corresponding to the target attribute fields are 1, 2, 3 and 4, and the second attribute values corresponding to the target attribute fields are 1, 2, 3, 4 and 5, namely that the first quantity is smaller than the second quantity, and the distribution data corresponding to the second attribute value 5 is redundant distribution data.
If the comparison result is that the first quantity is larger than the second quantity, the instruction operation data is more than the allocation data, and the instruction operation data is newly increased, so that the server can output information of the newly increased instruction operation data. For example: the first attribute value corresponding to the target attribute field is 1, 2, 3, 4, 5, and the second attribute value corresponding to the target attribute field is 1, 2, 3, 4, that is, the instruction operation data corresponding to the first attribute value 5 is the newly added instruction operation data when the first number is greater than the second number.
If the comparison result is that the first number is equal to the second number, but the content of the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value, the problem that the instruction operation data or the distribution data is inaccurate is indicated, and therefore the server can perform data abnormality warning. For example: the first attribute values corresponding to the target attribute fields are 1, 2, 3, 4, and the second attribute values corresponding to the target attribute fields are 1, 2, 3, 5, i.e., the case where the numbers are consistent but the contents are inconsistent.
In some embodiments, if the comparison result is that the first number is smaller than the second number, the redundant allocation data is set to be idle or deleted, and redundant information of the allocation data is sent to the terminal, and the terminal can display information without corresponding instruction operation data at the allocation data corresponding to the network element data.
In some embodiments, if the comparison result is that the first number is greater than the second number, the server may output information of the new instruction operation data to the terminal, and the terminal may display the information of the new instruction operation data. In some embodiments, the terminal may also display the time of entry of the newly added instruction execution data.
In some embodiments, if the comparison result is that the first number is equal to the second number, but the content of the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value, the server may send the data anomaly alarm information to the terminal, and the terminal may display the data anomaly alarm information.
In the above embodiment, the three cases that the first number is smaller than the second number, the first number is larger than the second number, and the first number is equal to the second number, but the contents of the first attribute value corresponding to the target attribute field and the second attribute value are inconsistent are respectively compared, so that targeted exception processing can be performed for different data exception conditions, and accuracy of twin data is improved.
In some embodiments, before determining the twinning data for the network element device, the method further comprises: acquiring instruction specification configuration information; the instruction specification configuration information at least comprises an instruction and parameters of the instruction; the instruction specification configuration information is normalized and a data table is generated according to the normalized instruction specification configuration information; the instruction and the parameters of the instruction are attribute fields in a data table; acquiring instruction operation data and allocation data of network element equipment; the instruction execution data and the allocation data are recorded in the data table corresponding to the respective attribute fields as attribute values.
The instruction specification configuration information is information for configuring the specification which is required to be met by the instruction of the network element equipment. The parameters of the instruction refer to parameters required to be specified when the instruction is executed. For example: the parameter corresponding to the instruction of "query seven-layer filter" includes "seven-layer filter name", that is, the parameter of "seven-layer filter name" needs to be carried when the instruction of "query seven-layer filter" is executed to specify the name of the seven-layer filter of the required query.
In some embodiments, the server may obtain the instruction specification configuration information from the instruction specification document of each network element equipment manufacturer in advance, and then use the instruction template to perform normalized representation on the instruction specification configuration information, and generate the data table according to the normalized representation instruction specification configuration information.
In some embodiments, the server may obtain instruction operation data and allocation data of the network element device; the instruction execution data and the allocation data are recorded in a pre-established data table corresponding to the respective attribute fields as attribute values.
In some embodiments, the server may also associate instructions in the instruction specification configuration information with associated instructions.
In some embodiments, when the instruction specification document is detected to be updated, the server may acquire the updated instruction specification document, acquire updated instruction specification configuration information from the updated instruction specification document, and update the data table according to the updated instruction specification configuration information.
In some embodiments, the server may also output queried instruction execution data or allocation data in response to a data query instruction. In some embodiments, the server may query the data table for instruction execution data or allocation data corresponding to the attribute value according to the attribute value of the attribute field specified by the data query instruction.
In the above embodiment, the data table is generated according to the instruction specification configuration information, so that the instruction operation data and the allocation data of the network element equipment can be stored and updated dynamically, and the efficiency and accuracy of recording and managing the twin data are improved.
In some embodiments, the instruction specification configuration information further includes attribute requirements for parameters of the instruction; before recording the instruction execution data and the allocation data in the data table corresponding to the respective attribute fields as attribute values, the method further includes: checking the data of the parameters corresponding to the instructions in the instruction operation data and the distribution data according to the attribute requirements to determine whether the data of the parameters corresponding to the instructions meet the attribute requirements corresponding to the parameters of the instructions; and executing the step of recording the instruction running data and the allocation data corresponding to the respective attribute fields in the data table as attribute values for the instruction running data and the allocation data which pass the verification.
The attribute requirement of the parameter of the instruction refers to a requirement that the parameter of the instruction needs to conform to. For example: the attribute requirement of the parameter ' seven-layer filter name ' corresponding to the instruction ' query seven-layer filter ' comprises ' value range, namely character string type, and the input length range is 1-63. Space is not supported, case and case are not distinguished, namely, the parameter ' seven-layer filter name ' is required to accord with ' a value range, namely, a character string type and an input length range is 1-63. Space is not supported, and the case is not distinguished.
In some embodiments, after obtaining the instruction running data and the allocation data of the network element device, the server may verify the data corresponding to the parameters of the instruction in the instruction running data and the allocation data according to the attribute requirements, so as to determine whether the data corresponding to the parameters of the instruction meets the attribute requirements corresponding to the parameters of the instruction, if so, the verification is passed, and the step of recording the instruction running data and the allocation data corresponding to each attribute field in the data table as attribute values is performed for the instruction running data and the allocation data which pass the verification.
In the above embodiment, before recording the instruction running data and the distribution data, the data is verified according to the attribute requirement, so that the accuracy of the recorded twin data can be improved.
In some embodiments, obtaining instruction execution data and allocation data for the network element device includes: acquiring instruction operation data of the network element equipment from an instruction operation log of an upstream equipment service platform; the upstream equipment service platform is used for generating an instruction running log for the interfacing network element equipment; and carrying out resource allocation on the network element equipment to obtain allocation data.
In some embodiments, the server may obtain the instruction running data of the network element device from the instruction running log of the upstream device service platform in real time.
In some embodiments, in the case that the newly added network element device or service is detected, the server may acquire instruction running data of the newly added network element device or instruction running data of the newly added service of the network element device from an instruction running log of the upstream device service platform.
In the above embodiment, the instruction operation data of the network element device is obtained from the instruction operation log of the upstream device service platform, and the resource allocation is performed on the network element device to obtain the allocation data.
In some embodiments, comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first number and the second number, the obtaining a comparison result includes: under the condition that the auditing task is full auditing, regularly comparing the content consistency of the first attribute value and the second attribute value corresponding to the target attribute field, and comparing the first quantity and the second quantity to obtain a comparison result; or after receiving the full auditing instruction, comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
In some embodiments, the server may receive an audit task setting instruction, and in a case where it is determined that the audit task is a full quantity audit according to the audit task setting instruction, the server may periodically compare the content consistency of the first attribute value and the second attribute value corresponding to the full quantity of the target attribute field, and compare the first quantity and the second quantity to obtain a comparison result. The auditing task setting instruction is used for setting whether the auditing task is full auditing or local auditing.
In some embodiments, after receiving the full-quantity auditing instruction, the server may compare the content consistency of the full-quantity first attribute value and the full-quantity second attribute value corresponding to the target attribute field in real time, and compare the first quantity and the second quantity to obtain a comparison result.
In the above embodiment, under the condition that the auditing task is full auditing, the server may perform full auditing periodically or perform full auditing in real time after receiving the full auditing instruction, so that the auditing task may be flexibly set, full auditing may be performed on twin data periodically or in real time, and flexibility of a twin data auditing mode is improved.
In some embodiments, comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first number and the second number, the obtaining a comparison result includes: determining at least one of designated network element equipment and instruction specification configuration information under the condition that the auditing task is local auditing; determining target instruction operation data and target allocation data which accord with the specified instruction specification configuration information from instruction operation data and allocation data corresponding to the specified network element equipment; and comparing the first attribute value and the second attribute value corresponding to the target attribute field in the target instruction operation data and the target allocation data in content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
In some embodiments, the server may receive an audit task setting instruction, and in a case where it is determined that the audit task is local audit according to the audit task setting instruction, the server may determine at least one of a network element device and instruction specification configuration information specified in the audit task setting instruction, and determine target instruction operation data and target allocation data that conform to the specified instruction specification configuration information from instruction operation data and allocation data corresponding to the specified network element device; and comparing the first attribute value and the second attribute value corresponding to the target attribute field in the target instruction operation data and the target allocation data in content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
In the above embodiment, in the case that the auditing task is local auditing, the server may audit the specified twin data, so that the auditing task may be flexibly set, and flexibility of a twin data auditing manner is improved.
As shown in fig. 3, an overall flow diagram of a twin data auditing method of a network element device in each embodiment of the present application is shown, where instruction specification configuration information of the network element device is obtained to perform standardization and unified management to generate a data table to implement management of network element instructions, twin data records are obtained to the data table to implement management and control of twin data, then the auditing specification can be configured, the configured comparison result includes four cases in the diagram in total, and then a processing result can be output to a cloud network operation platform for display according to 4 comparison results (i.e., data difference processing). The auditing task can also be configured, namely global auditing or local auditing is configured.
As shown in fig. 4, the core network digital twin platform may include a network element instruction management unit, a twin data management unit, an audit rule configuration unit, an audit task configuration unit, and a data difference processing unit. The network element command management unit is used for obtaining command specification configuration information of network element equipment of each manufacturer, carrying out standardized and unified management to generate a data table, and realizing management of the command specification configuration information. The twin data management and control unit is used for acquiring twin data from the upstream equipment service platform in a butt joint manner, recording the twin data in the data table to realize management and control of the twin data, and distributing resources for the network element equipment. The auditing rule configuration unit is used for setting data auditing comparison rules. The auditing task configuration unit is used for configuring local auditing tasks or full auditing tasks according to requirements. The data difference processing unit is used for displaying data auditing results on the interface so as to support cloud network service operation.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a twin data auditing device of the network element equipment for realizing the twin data auditing method of the network element equipment. The implementation scheme of the solution provided by the device is similar to the implementation scheme described in the above method, so the specific limitation in the embodiment of the twin data auditing device of one or more network element devices provided below may refer to the limitation of the twin data auditing method of the network element device hereinabove, and will not be repeated herein.
In some embodiments, as shown in fig. 5, there is provided a twin data auditing apparatus 500 of a network element device, including: a data acquisition module 502, a comparison module 504, and an exception handling module 506, wherein:
a data acquisition module 502, configured to determine twin data of a network element device; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction operation data is operation data generated when the network element equipment executes the instruction; the allocation data is resource data for allocating resources for the network element equipment; the instruction execution data includes first attribute values respectively corresponding to the plurality of attribute fields; the allocation data includes second attribute values corresponding to the plurality of attribute fields, respectively.
A comparison module 504 for determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field uniquely identifying target data among a plurality of attribute fields included in the target data; the target data is instruction operation data or distribution data; and comparing the first attribute value with the second attribute value corresponding to the target attribute field in content consistency, and comparing the first quantity with the second quantity to obtain a comparison result.
The exception handling module 506 is configured to perform exception handling when the comparison result has an exception.
In some embodiments, exception handling module 506 is further to perform at least one of: if the comparison result is that the first quantity is smaller than the second quantity, redundant distribution data are set to be idle or deleted; the content of the second attribute value corresponding to the redundant distribution data under the target attribute field is inconsistent with the content of the first attribute value corresponding to the target attribute field; if the comparison result is that the first number is larger than the second number, outputting information of the new increase of the instruction operation data; and if the comparison result is that the first quantity is equal to the second quantity, but the content of the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value, carrying out data abnormality warning.
In some embodiments, the data acquisition module 502 is further configured to acquire instruction specification configuration information; the instruction specification configuration information at least comprises an instruction and parameters of the instruction; the instruction specification configuration information is normalized and a data table is generated according to the normalized instruction specification configuration information; the instruction and the parameters of the instruction are attribute fields in a data table; acquiring instruction operation data and allocation data of network element equipment; the instruction execution data and the allocation data are recorded in the data table corresponding to the respective attribute fields as attribute values.
In some embodiments, the instruction specification configuration information further includes attribute requirements for parameters of the instruction; the data acquisition module 502 is further configured to verify, according to the attribute requirement, data of parameters corresponding to the instruction in the instruction operation data and the allocation data, so as to determine whether the data of the parameters corresponding to the instruction meets the attribute requirement corresponding to the parameters of the instruction; and executing the step of recording the instruction running data and the allocation data corresponding to the respective attribute fields in the data table as attribute values for the instruction running data and the allocation data which pass the verification.
In some embodiments, the data obtaining module 502 is further configured to obtain instruction running data of the network element device from an instruction running log of the upstream device service platform; the upstream equipment service platform is used for generating an instruction running log for the interfacing network element equipment; and carrying out resource allocation on the network element equipment to obtain allocation data.
In some embodiments, the comparison module 504 is further configured to, in a case where the auditing task is full auditing, periodically compare the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and compare the first number and the second number to obtain a comparison result; or after receiving the full auditing instruction, comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
In some embodiments, the comparison module 504 is further configured to determine the designated network element device and the instruction specification configuration information if the auditing task is local auditing; determining target instruction operation data and target allocation data which accord with the specified instruction specification configuration information from instruction operation data and allocation data corresponding to the specified network element equipment; and comparing the first attribute value and the second attribute value corresponding to the target attribute field in the target instruction operation data and the target allocation data in content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
According to the twin data auditing device of the network element equipment, twin data of the network element equipment, which comprises the instruction running data and the distribution data, are determined, and the first quantity of the first attribute values and the second quantity of the second attribute values corresponding to the target attribute fields in the instruction running data and the distribution data are determined.
All or part of each module in the twin data auditing device of the network element equipment can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing twin data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by the processor is configured to implement a twin data auditing method for a network element device.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (11)

1. A method for auditing twin data of a network element device, the method comprising:
determining twin data of network element equipment; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction operation data is operation data generated when the network element equipment executes an instruction; the allocation data is resource data for allocating resources for the network element equipment; the instruction execution data includes first attribute values corresponding to a plurality of attribute fields, respectively; the allocation data includes second attribute values corresponding to a plurality of the attribute fields, respectively;
Determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field which uniquely identifies the target data from a plurality of attribute fields included in the target data; the target data is the instruction running data or the distribution data;
content consistency comparison is carried out on the first attribute value and the second attribute value corresponding to the target attribute field, and the first quantity and the second quantity are compared to obtain a comparison result;
and under the condition that the comparison result is abnormal, performing exception handling.
2. The method of claim 1, wherein in the event that the comparison results are abnormal, performing exception handling comprises at least one of:
if the comparison result is that the first quantity is smaller than the second quantity, redundant distribution data are set to be idle or deleted; the content of the second attribute value corresponding to the redundant distribution data under the target attribute field is inconsistent with the content of the first attribute value corresponding to the target attribute field;
if the comparison result is that the first quantity is larger than the second quantity, outputting information of newly increased instruction operation data;
And if the comparison result is that the first quantity is equal to the second quantity, but the content of the first attribute value corresponding to the target attribute field is inconsistent with the content of the second attribute value, carrying out data abnormality warning.
3. The method of claim 1, wherein prior to said determining the twinning data for the network element device, the method further comprises:
acquiring instruction specification configuration information; the instruction specification configuration information at least comprises an instruction and parameters of the instruction;
the instruction specification configuration information is normalized and a data table is generated according to the normalized instruction specification configuration information; the instruction and the parameters of the instruction are attribute fields in the data table;
acquiring instruction operation data and allocation data of network element equipment;
and recording the instruction running data and the distribution data in the data table corresponding to each attribute field as attribute values.
4. A method according to claim 3, wherein the instruction specification configuration information further comprises attribute requirements for parameters of the instruction; before said recording of said instruction execution data and said allocation data in said data table corresponding to respective attribute fields as attribute values, said method further comprises:
Checking the data of the parameter corresponding to the instruction in the instruction running data and the distribution data according to the attribute requirement to determine whether the data of the parameter corresponding to the instruction meets the attribute requirement corresponding to the parameter of the instruction;
and executing the step of recording the instruction running data and the distribution data corresponding to each attribute field in the data table as attribute values aiming at the instruction running data and the distribution data which pass verification.
5. A method according to claim 3, wherein the obtaining instruction execution data and allocation data of the network element device comprises:
acquiring instruction operation data of the network element equipment from an instruction operation log of an upstream equipment service platform; the upstream equipment service platform is used for generating the instruction running log by docking the network element equipment;
and carrying out resource allocation on the network element equipment to obtain allocation data.
6. The method according to any one of claims 1 to 5, wherein comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first number and the second number, to obtain a comparison result includes:
Under the condition that the auditing task is full auditing, regularly comparing the content consistency of the first attribute value and the second attribute value corresponding to the target attribute field, and comparing the first quantity and the second quantity to obtain a comparison result; or,
and after receiving the full quantity auditing instruction, comparing the content consistency of the first attribute value and the second attribute value corresponding to the target attribute field, and comparing the first quantity and the second quantity to obtain a comparison result.
7. The method according to any one of claims 1 to 5, wherein comparing the first attribute value and the second attribute value corresponding to the target attribute field for content consistency, and comparing the first number and the second number, to obtain a comparison result includes:
determining at least one of designated network element equipment and instruction specification configuration information under the condition that the auditing task is local auditing;
determining target instruction operation data and target allocation data which accord with the specified instruction specification configuration information from the instruction operation data and the allocation data corresponding to the specified network element equipment;
And comparing the first attribute value and the second attribute value corresponding to the target attribute field in the target instruction operation data and the target allocation data for content consistency, and comparing the first quantity and the second quantity to obtain a comparison result.
8. A twin data auditing apparatus for a network element device, the apparatus comprising:
the data acquisition module is used for determining twin data of the network element equipment; the twin data comprises instruction operation data and distribution data of the network element equipment; the instruction operation data is operation data generated when the network element equipment executes an instruction; the allocation data is resource data for allocating resources for the network element equipment; the instruction execution data includes first attribute values corresponding to a plurality of attribute fields, respectively; the allocation data includes second attribute values corresponding to a plurality of the attribute fields, respectively;
a comparison module for determining a first number of first attribute values and a second number of second attribute values corresponding to the target attribute field; the target attribute field is an attribute field which uniquely identifies the target data from a plurality of attribute fields included in the target data; the target data is the instruction running data or the distribution data; content consistency comparison is carried out on the first attribute value and the second attribute value corresponding to the target attribute field, and the first quantity and the second quantity are compared to obtain a comparison result;
The exception handling module is used for carrying out exception handling under the condition that the comparison result is abnormal.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310871291.0A 2023-07-17 2023-07-17 Twin data auditing method and device of network element equipment and computer equipment Pending CN116938681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310871291.0A CN116938681A (en) 2023-07-17 2023-07-17 Twin data auditing method and device of network element equipment and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310871291.0A CN116938681A (en) 2023-07-17 2023-07-17 Twin data auditing method and device of network element equipment and computer equipment

Publications (1)

Publication Number Publication Date
CN116938681A true CN116938681A (en) 2023-10-24

Family

ID=88382069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310871291.0A Pending CN116938681A (en) 2023-07-17 2023-07-17 Twin data auditing method and device of network element equipment and computer equipment

Country Status (1)

Country Link
CN (1) CN116938681A (en)

Similar Documents

Publication Publication Date Title
CN114238085A (en) Interface testing method and device, computer equipment and storage medium
CN117851484A (en) Data processing method and device based on rule engine and computer equipment
CN113010208A (en) Version information generation method, version information generation device, version information generation equipment and storage medium
CN115658794B (en) Data query method, device, computer equipment and storage medium
CN107894942B (en) Method and device for monitoring data table access amount
CN116167882A (en) Conditional expression dynamic configuration method, accounting condition calculation method and accounting condition calculation device
CN116938681A (en) Twin data auditing method and device of network element equipment and computer equipment
CN113778996A (en) Large data stream data processing method and device, electronic equipment and storage medium
CN113760863A (en) Database configuration method and device, computer equipment and readable storage medium
CN116112377B (en) Interface simulation method, device, equipment and storage medium
CN116541454B (en) Event configuration method, device, computer equipment and storage medium
CN117785939A (en) Data analysis method and device based on rule engine and computer equipment
US11176108B2 (en) Data resolution among disparate data sources
CN116880927A (en) Rule management method, device, computer equipment and storage medium
CN117635105A (en) Method, device, computer equipment and storage medium for determining rush repair scheme
CN116451965A (en) Service request processing method and device, computer equipment and storage medium
CN116401323A (en) Index data processing method and device and computer equipment
CN117785674A (en) Interface use case generation method, device, computer equipment and storage medium
CN115190015A (en) Soft load system configuration method and device, computer equipment and storage medium
CN115422199A (en) Processing method and device of multidimensional statistical data and computer equipment
CN116521546A (en) Interface performance adjusting method and device, computer equipment and storage medium
CN115495535A (en) Cross-scheduling data job tracing method, device, equipment and storage medium
CN117971649A (en) Data processing method, device, computer equipment and storage medium
CN117349862A (en) Account authority setting method, device, computer equipment and storage medium
CN118113530A (en) Chip fault positioning method, device, computer equipment and storage medium

Legal Events

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