Search

CN-116225750-B - Data auditing method, device and storage medium

CN116225750BCN 116225750 BCN116225750 BCN 116225750BCN-116225750-B

Abstract

The application provides a data auditing method, a device and a storage medium, relates to the technical field of communication, and is used for solving the technical problem of low data auditing efficiency of a general technology. The data auditing method comprises the steps of obtaining numbering information of a circuit to be audited, determining a data result corresponding to the numbering information based on a pre-established resource database, and determining an auditing result of the circuit to be audited according to the data result, wherein the resource database comprises resource data obtained from a plurality of network management devices, the resource data comprises at least one data set, and the at least one data set comprises at least one of a circuit data set, a routing data set and a port data set.

Inventors

  • Ni Xuedong
  • FENG YI
  • WANG XIANG
  • TAN YONGTAO
  • ZHANG RONGJIAN
  • CHEN LIN
  • WANG YUNFEI
  • FU JUNYI

Assignees

  • 中国联合网络通信集团有限公司

Dates

Publication Date
20260505
Application Date
20221219

Claims (10)

  1. 1. A method of auditing data, comprising: Acquiring the number information of a circuit to be audited; Determining a data result corresponding to the number information based on a pre-established resource database, and determining an auditing result of the circuit to be audited according to the data result, wherein the resource database comprises resource data acquired from a plurality of network management devices, the resource data comprises at least one data set, and the at least one data set comprises at least one of a circuit data set, a routing data set and a port data set; When the at least one data set comprises the circuit data set and the routing data set, and the circuit data set comprises a second quantity of circuit data corresponding to the number information, each circuit data in the second quantity of circuit data comprises a circuit identifier corresponding to the circuit data, wherein the second quantity is larger than a second preset value and smaller than or equal to a first preset value; The step of determining a data result corresponding to the number information based on a pre-established resource database and determining an auditing result of the circuit to be audited according to the data result comprises the following steps: When the routing data set does not comprise the routing data corresponding to the circuit identifier, determining that the data result is that the routing data is not queried, and determining that the auditing result is that the routing data of the circuit to be audited is missing; when the routing data set only comprises text routing data corresponding to the circuit identifier, determining that the data result is that the text routing data is queried, and determining that the auditing result is that the routing data of the circuit to be audited is missing; When the routing data set comprises text routing data and other routing data corresponding to the circuit identifier, and the number of the text routing data and the other routing data is an odd number, determining that the data result is query routing data, the number of the routing data is an odd number, and determining that the auditing result is that the opposite-end routing data of the circuit to be audited is missing.
  2. 2. The method according to claim 1, wherein when the at least one data set includes the circuit data set, the determining, based on a pre-established resource database, a data result corresponding to the number information, and determining, according to the data result, an audit result of the circuit to be audited includes: When the circuit data set does not comprise the circuit data corresponding to the number information, determining that the data result is that the circuit data is not queried, and determining that the auditing result is that the circuit data of the circuit to be audited is missing; When the circuit data set comprises a first quantity of circuit data corresponding to the number information, determining that the data result is that the first quantity of circuit data is queried, and determining that the auditing result is that the circuit to be audited is a redundant circuit, wherein the first quantity is larger than a first preset value.
  3. 3. The data auditing method of claim 2, wherein when the at least one data set includes the circuit data set, the route data set, and the port data set, and text route data and other route data corresponding to the numbering information are included in the route data set, and the number of the text route data and other route data is an even number, a route identification is included in the other route data; The step of determining a data result corresponding to the number information based on a pre-established resource database and determining an auditing result of the circuit to be audited according to the data result comprises the following steps: When the port data set does not comprise the port acquisition pre-identifier corresponding to the route identifier, determining that the data result is that the port acquisition pre-identifier is not queried, and determining that the auditing result is that the port acquisition pre-identifier of the circuit to be audited is missing; When the port data set comprises a port acquisition pre-arranged identifier corresponding to the route identifier, and the data format of the port acquisition pre-arranged identifier does not meet a preset format, determining that the data result is that the port acquisition pre-arranged identifier which does not meet the preset format is inquired, and determining that the auditing result is that the port acquisition pre-arranged identifier of the circuit to be audited does not meet the preset format.
  4. 4. A method of auditing data according to any of claims 1-3, further comprising: When the route data set or the port data set comprises a port name field of the circuit to be audited, or the route data set comprises a route name field of the circuit to be audited, determining the number of preset symbols in a target field, wherein the target field is the port name field or the route name field; and determining the time slot information of the circuit to be audited according to the number of the preset symbols.
  5. 5. The data auditing device is characterized by comprising an acquisition unit and a processing unit; The acquisition unit is used for acquiring the number information of the circuit to be audited; The processing unit is used for determining a data result corresponding to the number information based on a pre-established resource database, and determining an auditing result of the circuit to be audited according to the data result, wherein the resource database comprises resource data acquired from a plurality of network management devices, the resource data comprises at least one data set, and the at least one data set comprises at least one of a circuit data set, a routing data set and a port data set; When the at least one data set comprises the circuit data set and the routing data set, and the circuit data set comprises a second quantity of circuit data corresponding to the number information, each circuit data in the second quantity of circuit data comprises a circuit identifier corresponding to the circuit data, wherein the second quantity is larger than a second preset value and smaller than or equal to a first preset value; the processing unit is specifically configured to: When the routing data set does not comprise the routing data corresponding to the circuit identifier, determining that the data result is that the routing data is not queried, and determining that the auditing result is that the routing data of the circuit to be audited is missing; when the routing data set only comprises text routing data corresponding to the circuit identifier, determining that the data result is that the text routing data is queried, and determining that the auditing result is that the routing data of the circuit to be audited is missing; When the routing data set comprises text routing data and other routing data corresponding to the circuit identifier, and the number of the text routing data and the other routing data is an odd number, determining that the data result is query routing data, the number of the routing data is an odd number, and determining that the auditing result is that the opposite-end routing data of the circuit to be audited is missing.
  6. 6. The data auditing device of claim 5, wherein when the at least one data set comprises the circuit data set, the processing unit is specifically configured to: When the circuit data set does not comprise the circuit data corresponding to the number information, determining that the data result is that the circuit data is not queried, and determining that the auditing result is that the circuit data of the circuit to be audited is missing; When the circuit data set comprises a first quantity of circuit data corresponding to the number information, determining that the data result is that the first quantity of circuit data is queried, and determining that the auditing result is that the circuit to be audited is a redundant circuit, wherein the first quantity is larger than a first preset value.
  7. 7. The data auditing device of claim 6, wherein when the at least one data set includes the circuit data set, the routing data set, and the port data set, and text routing data and other routing data corresponding to the numbering information are included in the routing data set, and the number of the text routing data and other routing data is an even number, a routing identification is included in the other routing data; the processing unit is specifically configured to: When the port data set does not comprise the port acquisition pre-identifier corresponding to the route identifier, determining that the data result is that the port acquisition pre-identifier is not queried, and determining that the auditing result is that the port acquisition pre-identifier of the circuit to be audited is missing; When the port data set comprises a port acquisition pre-arranged identifier corresponding to the route identifier, and the data format of the port acquisition pre-arranged identifier does not meet a preset format, determining that the data result is that the port acquisition pre-arranged identifier which does not meet the preset format is inquired, and determining that the auditing result is that the port acquisition pre-arranged identifier of the circuit to be audited does not meet the preset format.
  8. 8. The data auditing device according to any of claims 5-7, The processing unit is further configured to determine, when the route data set or the port data set includes a port name field of the circuit to be audited, or the route data set includes a route name field of the circuit to be audited, a number of preset symbols in a target field, where the target field is the port name field or the route name field; The processing unit is further configured to determine time slot information of the circuit to be audited according to the number of the preset symbols.
  9. 9. A data auditing device, comprising a memory and a processor, wherein the memory is used for storing computer-executable instructions, the processor is connected with the memory through a bus, and when the data auditing device is operated, the processor executes the computer-executable instructions stored in the memory to enable the data auditing device to execute the data auditing method according to any one of claims 1-4.
  10. 10. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the data auditing method of any of claims 1-4.

Description

Data auditing method, device and storage medium Technical Field The present application relates to the field of communications technologies, and in particular, to a data auditing method, apparatus, and storage medium. Background In a telecommunications network, operation and maintenance of the transport network is critical to the telecommunications operator because the services provided by the transport network are basic services. And through checking the transmission resource data, the operation state of the transmission network can be analyzed, so that the maintenance of the abnormal network is realized. However, since the transmission resource data are stored in the network elements or the sub-network management systems in each local transmission network and each two trunk network in a scattered manner, when the transmission resource data of one circuit is checked by the general technology, the sub-data possibly spliced together in each circuit need to be sequentially queried in different network elements or sub-network management systems, and the queried sub-data are respectively checked, so that the auditing efficiency of the transmission resource data is lower. Disclosure of Invention The application provides a data auditing method, a device and a storage medium, which are used for solving the technical problem of low auditing efficiency of a general technology. In order to achieve the above purpose, the application adopts the following technical scheme: in a first aspect, a data auditing method is provided, including: Acquiring the number information of a circuit to be audited; The method comprises the steps of determining a data result corresponding to the number information based on a pre-established resource database, and determining an auditing result of a circuit to be audited according to the data result, wherein the resource database comprises resource data obtained from a plurality of network management devices, the resource data comprises at least one data set, and the at least one data set comprises at least one of a circuit data set, a routing data set and a port data set. Optionally, when the at least one data set includes a circuit data set, determining a data result corresponding to the number information based on a pre-established resource database, and determining an audit result of the circuit to be audited according to the data result, including: When the circuit data set does not comprise the circuit data corresponding to the number information, determining that the circuit data is not queried as a data result, and determining that the circuit data of the circuit to be audited is missing as an audit result; When the circuit data set comprises a first quantity of circuit data corresponding to the number information, determining that the data result is that the first quantity of circuit data is queried, and determining that the auditing result is that the circuit to be audited is a redundant circuit, wherein the first quantity is larger than a first preset value. Optionally, when at least one data set includes a circuit data set and a routing data set, and the circuit data set includes a second number of circuit data corresponding to the number information, each circuit data in the second number of circuit data includes a circuit identifier corresponding to the circuit data; Based on a pre-established resource database, determining a data result corresponding to the number information, and determining an auditing result of the circuit to be audited according to the data result, wherein the method comprises the following steps: When the route data set does not comprise the route data corresponding to the circuit identifier, determining that the data result is the route data which is not queried, and determining that the auditing result is that the route data of the circuit to be audited is missing; When the route data set only comprises text route data corresponding to the circuit identifier, determining that the data result is the text route data which is queried, and determining that the auditing result is that the route data of the circuit to be audited is missing; When the routing data set comprises text routing data and other routing data corresponding to the circuit identifier, and the number of the text routing data and the other routing data is an odd number, determining that the data result is query routing data, the number of the routing data is an odd number, and determining that the auditing result is that the opposite-end routing data of the circuit to be audited is missing. Optionally, when at least one data set includes a circuit data set, a routing data set and a port data set, and the routing data set includes text routing data and other routing data corresponding to the number information, and the number of the text routing data and the other routing data is even, the other routing data includes a routing identifier; Based on a pre-established resource database, dete