CN116915609A - Office data checking method, device and equipment of communication network element and storage medium - Google Patents

Office data checking method, device and equipment of communication network element and storage medium Download PDF

Info

Publication number
CN116915609A
CN116915609A CN202310551755.XA CN202310551755A CN116915609A CN 116915609 A CN116915609 A CN 116915609A CN 202310551755 A CN202310551755 A CN 202310551755A CN 116915609 A CN116915609 A CN 116915609A
Authority
CN
China
Prior art keywords
same
parameter
logic
network element
mobile communication
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
CN202310551755.XA
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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310551755.XA priority Critical patent/CN116915609A/en
Publication of CN116915609A publication Critical patent/CN116915609A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0873Checking configuration conflicts between network elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides an office data checking method, device, equipment and storage medium of a communication network element, belonging to the communication field, comprising the following steps: acquiring office data files of each of a plurality of network elements in the same resource pool, wherein the office data files comprise network element names, mobile communication elements corresponding to the network element names, element parameters corresponding to each mobile communication element and parameter contents, and acquiring a first data table of each network element according to the office data files of each network element, wherein the first data table reflects the corresponding relation between different mobile communication elements and the parameter contents of different element parameters; comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent. The method can send the manual checking information when the office data is in error, is convenient for manual further checking and modification, improves the checking speed, reduces the working cost and reduces the checking error rate.

Description

Office data checking method, device and equipment of communication network element and storage medium
Technical Field
The present application relates to mobile communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for checking office data of a communications network element.
Background
In a mobile communication network, in the networking service of a 4/5G registration session type communication network element, an office data configuration flow is that an Internet of things client fills out an Internet of things work order to an Internet of things engineer according to requirements, an explicit parameter is given in the Internet of things work order, and then the Internet of things engineer completes office data configuration work in a network element management system according to the Internet of things work order.
In the configuration of office data and the verification of office data, the office data includes network element names, mobile communication elements, element parameters, parameter contents of element parameters, and the like. Each network element corresponds to a different mobile communication element, and each mobile communication element corresponds to different parameter content of element parameters. The Internet of things engineer can perform updating of office data configuration irregularly according to the Internet of things worksheet; in order to ensure that the same office data is configured on all network elements in the same POOL (resource POOL), customer complaints caused by improper office data configuration are avoided, and office data checking work is extremely complicated and extremely necessary.
With the advent of the 5G age, the workload of the internet of things was enormous. Meanwhile, because the checking work is complicated, a method for replacing manual checking is needed to ensure the correct rate of office data configuration.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for checking office data of a communication network element, which are used for solving the problems of low efficiency and easy error in checking office data of the network element by adopting a manual mode.
In a first aspect, the present application provides an office data checking method of a communication network element, including:
acquiring respective office data files of a plurality of network elements in the same resource pool from a network element management system, wherein the office data files comprise network element names, mobile communication elements corresponding to the network element names, element parameters corresponding to each mobile communication element and parameter contents, and different network elements in the same resource pool need to be configured with the same office data files;
acquiring a first data table of each network element according to the office data file of each network element, wherein the first data table reflects the corresponding relation between different mobile communication elements and parameter contents of different element parameters;
comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent.
In one possible design, the obtaining the first data table of each network element according to the office data file of each network element includes:
And taking the mobile communication element as a row name, the element parameter as a column name and the parameter content as table content, and acquiring a first data table of each network element according to the element parameter and the parameter content corresponding to each mobile communication element.
In one possible design, the same mobile communication elements are placed in the same row and the same element parameters are placed in the same column for the first data table of different network elements.
In one possible design, the comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same includes:
acquiring a first logic table according to the first data table of each network element; the table content of the first logic table is a logic value, the logic value reflects whether the parameter compatibility of the element parameters corresponding to the mobile communication elements in different network elements is the same, if so, the logic value is a true value, and if not, the logic value is a false value.
In one possible design, the obtaining a first logic table according to the first data table of each network element includes:
taking a row name in a first data table as a row name of the first logic table, taking a column name in the first data table as a column name of the first logic table, taking a logic value as table content, and acquiring the first logic table;
When the parameter content of the same row and the same column in the first data table of different network elements is the same, the logic value of the same row and the same column in the first logic table is a true value; when the parameter contents of the same row and the same column in the first data table of different network elements are different, the logic value of the same row and the same column in the first logic table is a false value.
In one possible design, if there is a false logical value in the first logical table, the method further includes:
querying a row and a column corresponding to the false value in the first logic table, and extracting a first mobile communication element or a first element parameter corresponding to the row and the column;
acquiring a first one-dimensional data table of the first mobile communication element or a second one-dimensional data table of the first element parameter according to the network element name, the mobile communication element, the element parameter and the parameter content;
and taking the first one-dimensional data table or the second one-dimensional data table as artificial checking information, and sending the artificial checking information.
In one possible design, in the first one-dimensional data table of the first mobile communication element, the first element parameter is used as a row of the first one-dimensional data table, the network element name is used as a column of the first one-dimensional data table, and the parameter content of the first mobile communication element is used as a table content of the first one-dimensional data table;
In the second one-dimensional data table of the first element parameter, the first mobile communication element is used as a row of the second one-dimensional data table, the network element name is used as a column of the second one-dimensional data table, and the parameter content of the first element parameter is used as a table content of the second one-dimensional data table.
In one possible design, the comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same includes:
according to the first data table of any two different network elements, a second logic table is obtained, and the row name and the column name of the second logic table are the same as those of the first data table; the table content of the second logic table is a logic value, the logic value reflects whether the parameter compatibility of the element parameters corresponding to the mobile communication elements between two network elements is the same, if so, the logic value is a true value, and if not, the logic value is a false value.
In one possible design, if there is a false logical value in the second logical table, the method further includes:
and obtaining network elements corresponding to the second logic tables with the logic values of false values, and taking the first data tables corresponding to the network elements as artificial checking information.
In one possible design, if there is a false logical value in the second logical table, the method further includes:
and acquiring a first data table of a network element corresponding to a second logic table with a false logic value, acquiring a row and a column corresponding to the false logic value in the second logic table, marking table contents corresponding to the row and the column in the first data table of the network element corresponding to the second logic table, and taking the marked first data table of the network element corresponding to the second logic table as manual checking information.
In a second aspect, the present application provides an office data checking apparatus for a communication network element, comprising:
a first obtaining module, configured to obtain respective office data files of a plurality of network elements in the same resource pool from a network element management system, where the office data files include network element names, mobile communication elements corresponding to the network element names, element parameters corresponding to each mobile communication element, and parameter contents, where different network elements in the same resource pool need to configure the same office data file;
the second acquisition module is used for acquiring a first data table of each network element according to the office data file of each network element, wherein the first data table reflects the corresponding relation between different mobile communication elements and parameter contents of different element parameters;
The judging module is used for comparing whether the parameter contents of the same row and the same column between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent.
In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement a method for checking office data of a communication network element.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out a method of office data verification of a communications network element.
The application provides an office data checking method, equipment and a storage medium of a communication network element, which are used for acquiring a first data table of each network element according to office data files of a plurality of network elements in the same resource pool and comparing the first data tables of different network elements so as to determine whether office data configurations of different network elements are the same or not and determine whether the office data configurations of different network elements are the same or not. The following technical effects are realized:
The method of the application obtains the first data table of each network element by analyzing the office data file, and sends the manual checking information when the office data is in error by comparing the contents of different first data tables one by one, thereby facilitating the manual further checking and modification. The method can improve the checking speed, reduce the labor cost and reduce the checking error rate.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario diagram of an office data checking method of a communication network element according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an office data checking method of a communication network element according to an embodiment of the present application;
fig. 3 is a schematic flow chart II of an office data checking method of a communication network element according to an embodiment of the present application;
fig. 4 is a flowchart of a method for checking office data of a communication network element according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of an office data checking device of a communication network element according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the application, as detailed in the accompanying claims, rather than all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to denote examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The following describes in detail an office data checking method of a communication network element according to an embodiment of the present application with reference to the accompanying drawings. The "at … …" in the embodiment of the present application may be an instant when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited.
Fig. 1 is a schematic diagram of an office data checking method of a communication network element according to an embodiment of the present application.
As shown in fig. 1, the method of this embodiment is used in the office data checking device 110, where the office data checking device 110 is a lower concept of the office data checking device of the above-mentioned communication network element, where the communication network element refers to a 4/5G registration session type communication network element, and the 4G registration session type communication network element includes PGW (PDN GateWay ), MME (Mobility Management Entity, mobile control node), and the like, and the 5G registration session type communication network element includes AMF (Access and Mobility Management Function, chinese name), SMF (Session Management function, chinese name), UPF (User Plane Function, chinese name), and the like. Wherein the mobile communication elements corresponding to different network elements are different, for example, the mobile communication elements corresponding to the PGW, AMF and UPF network elements are APN (Access Point Name, network access point), and the element parameters corresponding to the APN include configuration parameters, user template groups and the like; the mobile communication element corresponding to the MME and the SMF network element is an IMSI (International Mobile Subscriber Identity ), and the corresponding element parameter exists in the IMSI.
The technician performs office data configuration on the network element management device 120, for example, the common network element management device 120 is sometimes referred to as NB network management, and the network element management device 120 performs timing storage on the configured office data or performs storage during configuration, for example, storage in the SFTP server 130 (Secure File Transfer Protocol). The requirement of the network element office data configuration is that in the same resource POOL (POOL), the mobile communication element configurations of different network elements should be the same; accordingly, the method for checking office data of a communication network element provided by the embodiment of the application aims at checking the configuration of mobile communication elements, and reminding technicians of checking and modifying when the configuration of the mobile communication elements of different network elements is found to be different in the same POOL.
The office data checking device 110 may include a database 140 for storing and calling the first data table, the first logic table, and other files processed by the office data checking device 110.
Fig. 2 is a schematic flow chart of an office data checking method of a communication network element according to an embodiment of the present application. As shown in fig. 2, the method includes:
s201, acquiring respective office data files of a plurality of network elements in the same resource pool, wherein the office data files comprise network element names, mobile communication elements corresponding to the network element names, element parameters and parameter contents corresponding to each mobile communication element, and different network elements in the same resource pool need to be configured with the same office data files;
Specifically, the network element management device 120 may set a backup during configuration of office data, or may set a timing backup; the office data files that it is backed up of are exported by the network element management device 120 for storage in the SFTP server 130, where they are packaged into a compressed file.
Specifically, the obtained office data file may be obtained directly from the network element management device 120 in real time, or may be a backup file obtained from the SFTP server 130, and if the office data file is obtained from the SFTP server 130, the compressed file needs to be parsed to obtain the network element name, the mobile communication element corresponding to the network element name, and the element parameter and the parameter content corresponding to each mobile communication element.
Specifically, the office data file can be acquired and checked at regular time according to the preset period, and the office data file can be checked at regular time because the office data configuration is irregular, so that the checking accuracy can be ensured.
S202, acquiring a first data table of each network element according to the office data file of each network element, wherein the first data table reflects the corresponding relation between different mobile communication elements and parameter contents of different element parameters;
specifically, in the first data table of each network element, the mobile communication element is used as a row name, the element parameter is used as a column name, and the parameter content is used as table content.
In particular, the same mobile communication elements are placed in the same row and the same element parameters are placed in the same column for the first data table of different network elements.
S203, comparing whether the parameter contents of the same row and the same column between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent.
For example, when there is a difference between the content of the first row and the first column in the first data table of the first network element and the content of the first row and the first column in the first data table of the second network element, a manual verification message is sent, and then a manual verification is needed to correct or modify.
According to the method provided by the embodiment, the first data table of each network element is obtained according to the office data files of a plurality of network elements in the same resource pool, and the first data tables of different network elements are compared, so that whether the office data configuration of different network elements is the same or not is determined, and whether the office data configuration of different network elements is the same or not is determined. The following technical effects are realized:
the first data table of each network element is obtained by analyzing the office data file, and the contents of different first data tables are compared one by one, so that manual checking information is sent when the office data is in error, and manual further checking and modification are facilitated.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 3 is a schematic flow chart of an office data checking method of a communication network element according to an embodiment of the present application. As shown in fig. 3, the method includes:
s301, acquiring respective office data files of a plurality of network elements in the same resource pool, wherein the office data files comprise network element names, mobile communication elements corresponding to the network element names, element parameters and parameter contents corresponding to each mobile communication element, and different network elements in the same resource pool need to be configured with the same office data file;
the content of the step S301 is similar to that of S201, and will not be described here.
S302, taking the mobile communication elements as row names, element parameters as column names and parameter contents as table contents, and acquiring a first data table of each network element according to the element parameters and the parameter contents corresponding to each mobile communication element.
In particular, the same mobile communication elements are placed in the same row and the same element parameters are placed in the same column for the first data table of different network elements.
Exemplary, if the network elements in the same POOL obtained in step 301 are the first network element, the second network element, and the third network element; the acquired mobile communication elements are a mobile communication element A and a mobile communication element B; the acquired element parameters are element parameter a, element parameter b and element parameter c, wherein the parameter content of different element parameters corresponding to different mobile communication elements of different network elements is also acquired. The first data tables of the three network elements are obtained according to S302, and the first data tables of the first network element, the first data table of the second network element and the first data table of the third network element are respectively the same, as shown in table 1, row names in the table are sequentially the mobile communication element a and the mobile communication element B, column names in the table are sequentially the element parameter a, the element parameter B and the element parameter c, and the table content is the parameter content of the element parameter corresponding to the mobile communication element, and is denoted by "x" in table 1.
It should be noted that, the table contents in table 1 are in one-to-one correspondence with the parameter contents obtained in S301, and "×" merely represents that the contents are omitted, and is not meant to indicate that the table contents are "×" and are not meant to be the same.
It should be noted that the order of row names in the table may be changed, but it is necessary to ensure that row names of the same row in the first data table of different network elements are the same; column names in the table are the same.
Table 1 first data table of first/second/third network element
First/second/third network element Factor parameter a Factor parameter b Factor parameter c
Mobile communication element a *** *** ***
Mobile communication element B *** *** ***
As another preferred embodiment, a first data table may be obtained by setting a row name as an element parameter and a column name as a mobile communication element in the table. That is, the first data table has sequentially the line names of the element parameter a, the element parameter B, and the element parameter c, and the column names of the mobile communication element a and the mobile communication element B.
S303, acquiring a first logic table according to the first data table of each network element; the table content of the first logic table is a logic value, the logic value reflects whether the parameter compatibility of element parameters corresponding to mobile communication elements in different network elements is the same, if so, the logic value is a true value, and if not, the logic value is a false value;
specifically, a row name in the first data table is used as a row name of the first logic table, a column name in the first data table is used as a column name of the first logic table, a logic value is used as table content, and the first logic table is obtained;
When the parameter content of the same row and the same column in the first data table of different network elements is the same, the logic value of the same row and the same column in the first logic table is a true value; when the parameter contents of the same row and the same column in the first data tables of different network elements are different, the logic value of the same row and the same column in the first logic table is a false value.
For example, table 2 is a first logic table obtained according to the first data tables of the first, second and third network elements in table 1, for example, table 2, where the row names and column names are set identically to the first logic table, the table contents are logic values, the true values are recorded as "1", and the false values are recorded as "0";
for example, the table contents of the second row and the second column in the first two-dimensional data of the first, second and third network elements are compared, and if the tables at the positions in the three tables are identical, the table contents of the second row and the second column in the obtained first logic table are 1, as shown in table 2.
For another example, the table contents of the second row and the second column in the first two-dimensional data of the first, second and third network elements are compared, and if the table contents of the second row and the third column in one first two-dimensional data are different from the table contents of the second row and the third column in the other two first two-dimensional data, the obtained table contents of the second row and the third column in the first logic table are 0, as shown in table 2.
TABLE 2 first logic Table
Factor parameter a Factor parameter b Factor parameter c
Mobile communication element a 1 1 1
Mobile communication element B 1 1 0
S304, if the logic value in the first logic table is a false value, inquiring a row and a column corresponding to the false value in the first logic table, extracting a first mobile communication element or a first element parameter corresponding to the row and the column, and acquiring a first one-dimensional data table of the first mobile communication element or a second one-dimensional data table of the first element parameter according to the network element name, the mobile communication element, the element parameter and the parameter content;
specifically, in the first one-dimensional data table of the first mobile communication element, the first element parameter is used as a row of the first one-dimensional data table, the network element name is used as a column of the first one-dimensional data table, and the parameter content of the first mobile communication element is used as the table content of the first one-dimensional data table;
specifically, in the second one-dimensional data table of the first element parameter, the first mobile communication element is used as a row of the second one-dimensional data table, the network element name is used as a column of the second one-dimensional data table, and the parameter content of the first element parameter is used as a table content of the second one-dimensional data table.
Taking the parameter content as a second one-dimensional data table as an example, taking the table content of a second row and a third column in the first logic table as a false value, wherein the row name corresponding to the second row is a mobile communication element B, and the column name corresponding to the third column is an element parameter c, extracting the parameter content of the mobile communication element B and the element parameter c in different network elements from the network element name, the mobile communication element, the element parameter and the parameter content obtained in the S301, and obtaining a second one-dimensional data table of the element parameter c according to the extracted content; table 2 is a second one-dimensional data table of the acquired element parameters c.
In the second one-dimensional data table of the element parameter c, the row name is the mobile communication element B, the column names are the first network element, the second network element and the third network element respectively, the table contents are the corresponding parameter contents, and the second one-dimensional data table of the element parameter c is shown in table 3.
TABLE 3 second one-dimensional logic table
Factor parameter c First network element Second network element Third network element
Mobile communication element B *** *** ***
It should be noted that, the table contents in table 3 are in one-to-one correspondence with the parameter contents acquired in S301, "×" merely indicates that the contents are omitted, and are not to be interpreted as meaning that the table contents are the same, but according to the method of the present invention, the table contents corresponding to the element parameter c and the mobile communication element B in table 2 are false values, which indicates that at least one table content is different from the other table contents in table 3.
Further, if there are second one-dimensional data tables of the same element parameter (i.e., there are two or more second one-dimensional data tables of the same element parameter, the first one-dimensional data table row names are not identical)), the two second one-dimensional data tables may be combined into a second two-dimensional data table. For example, in addition to table 3, there is a second one-dimensional data table of another element parameter c, and unlike table 3, the line name is a mobile communication element a, and this table is combined with table 3 to form a second two-dimensional data table of element parameter c, which includes two lines of mobile communication element a and mobile communication element B.
Correspondingly, if there are first one-dimensional data tables of the same mobile communication element (i.e. there are two or more first one-dimensional data tables for the same mobile communication element, these first one-dimensional data tables are not identical in row name), the first one-dimensional data tables may be combined into a first two-dimensional data table.
S305, using the first one-dimensional data table or the second one-dimensional data table as the artificial checking information, and sending the artificial checking information.
Specifically, the office data checking apparatus 110 transmits the first one-dimensional data table or the second one-dimensional data table as the manual checking information, but according to the method of the present invention, at least one table content is different from other table contents in table 3. Accordingly, the technician finds a position different from the contents of other tables according to the first one-dimensional data table or the second one-dimensional data table, verifies the correctness of the position and makes a modification or reply.
Specifically, if there are multiple errors, multiple first one-dimensional data tables or second one-dimensional data tables may appear, and then the multiple first one-dimensional data tables or the multiple second one-dimensional data tables are all sent as the manual check information.
Specifically, if a plurality of first one-dimensional data tables are combined into a first two-dimensional data table or a plurality of second one-dimensional data tables are combined into a second two-dimensional data table, the first two-dimensional data table or the second two-dimensional data table is also transmitted as the manual check information.
Specifically, the intermediate files obtained in the method of the present embodiment will be stored in the database 140, including but not limited to, a first data table, a first logic table, a first one-dimensional data table, a second one-dimensional data table, and a second one-dimensional logic table.
By adopting the method provided by the embodiment, the following technical effects can be realized:
according to the method, the first data table of each network element is obtained through analyzing the office data file, and the first logic table is obtained through comparing the contents of different first data tables, so that whether the same mobile communication element and the parameter content corresponding to the same element parameter in different network elements are the same or not can be intuitively reflected by the first logic table.
According to the method, according to the first logic table, the row names and the column names of which the logic values are false values are extracted, the row names and the column names are the mobile communication elements and the element parameters corresponding to the logic values, the first one-dimensional data table or the second one-dimensional data table of different network elements corresponding to the mobile communication elements and the element parameters are extracted and used as manual checking information to be sent to technicians, and the technicians can intuitively compare and find wrong office data configuration information to modify.
In the embodiment of the method, the manual checking information is sent only when the office data is in error, so that the manual further checking and modification are facilitated, the checking speed can be improved, the labor cost can be reduced, and the checking error rate can be reduced.
Fig. 4 is a schematic flow chart III of an office data checking method of a communication network element according to an embodiment of the present application. In this embodiment, specific description is made on office data of a PGW network element, where a mobile communication element of the PGW network element is an APN, and an element parameter is an element parameter corresponding to the APN. As shown in fig. 4, the method includes:
s401, acquiring respective office data files of a plurality of network elements in the same resource pool, wherein the office data files comprise network element names, mobile communication elements corresponding to the network element names, element parameters and parameter contents corresponding to each mobile communication element, and different network elements in the same resource pool need to be configured with the same office data files;
specifically, the office data file of each of the PGW network elements in the same resource pool is obtained, where the office data is a backup file downloaded from the SFTP server 130 for checking office data of a communication network element, and is a compressed package file. The office data backup file in TXT format is extracted from the compressed packet file, for example, table 4 is an office data backup file of an APN of a PGW network element, where the office data backup file adopts standardized ADD and SET commands with clear entries (ADD command in table 4), and a command can intuitively display the parameter content of the element parameters in the APN, and as known from table 4, the PGW network element has an APN with a name of "swbdyqc02.jnm 2 can" and includes element parameters having "HASVPN" (the parameter content of the element parameter is "ENABLE"), "VPNINSTANCE" (the parameter content of the element parameter is "nb_gi"), "HASVPNIPV" (the parameter content of the element parameter is "DISABLE"), "restogwswiswitch" (the parameter content of the element parameter is "inhet"), "polname" (the parameter content of the element parameter is "nbioot"), "element parameter is" 16 "and" program "(the parameter of the element parameter is" prqdyqg ") and" program ") of the element parameter is" program ".
Table 4 local data backup file for an APN of a PGW element
S402, taking the mobile communication elements as row names, element parameters as column names and parameter contents as table contents, and acquiring a first data table of each network element according to the element parameters and the parameter contents corresponding to each mobile communication element.
The steps are the same as S202 and S302, and are not described here in detail, and are directly described in specific embodiments:
specifically, according to the network element name acquired in S401, the mobile communication element corresponding to the network element name, the element parameter and the parameter content corresponding to each mobile communication element, a first data table of each network element is acquired.
For example, if the data obtained in S401 includes the first PGW element and the second PGW element, and the APN and the element parameters and the parameter contents corresponding to the APN, the first data table obtained includes the first data table of the first PGW element and the first data table of the second PGW element, which are shown in tables 5 and 6, respectively.
Table 6 first data table of first PGW network element
Table 7 first data table of second PGW network element
S403, acquiring a second logic table according to the first data table of any two different network elements, wherein the row name and the column name of the second logic table are the same as those of the first data table; the table content of the second logic table is a logic value, the logic value reflects whether the parameter compatibility of the element parameters corresponding to the mobile communication elements between the two network elements is the same, if the parameters are the same, the logic value is a true value, and if the parameters are different, the logic value is a false value.
Specifically, the second logic table is obtained after comparing the two first data tables, for example, the first data tables of the first, second and third network elements are obtained in S402, and the obtained second logic table should be the second logic table between the first and third network elements, the second logic table between the first and second network elements, and the second logic table between the second and third network elements.
Exemplary, the first data table of the first PGW network element and the first data table of the second PGW network element obtained in S402 are obtained (as shown in table 6 and table 7), and the first logic table between the first PGW network element and the second PGW network element is obtained according to comparing the table contents in table 6 and table 7, where if the table contents in the same location are the same, the table contents are "1"; if the table contents at the same location are different, the table contents are "0", and the first logical table obtained is shown in table 8.
TABLE 8 first logic Table
S404, if the logic value in the first logic table is a false value, acquiring a network element corresponding to a second logic table with the logic value being the false value, taking the first data table corresponding to each network element as artificial checking information, and sending the artificial checking information.
For example, a false value "0" exists in the obtained first logic table (table 8), where the first logic table is a first logic table between the obtained first PGW network element and the second PGW network element, and the corresponding network elements are the first PGW network element and the second PGW network element, and two first data tables corresponding to the first PGW network element and the second PGW network element are sent as the manual checking information.
Further, before the artificial checking information is sent, a row and a column corresponding to the false value in the second logic table are obtained, table contents of the row and the column in the first data table are marked for the first data table corresponding to the second logic table, and the marked first data table is sent as the artificial checking information.
Further, the above-mentioned mark may be in a manner including, but not limited to, thickening, emphasizing, changing fonts, changing formats, changing colors, and in response, the technician can quickly find what needs to be verified or modified according to the position of the mark after receiving the manual check information.
Specifically, the intermediate file obtained in the method of the present embodiment will be stored in the database 140, including but not limited to the first data table, the second logic table, and the marked first data table.
By adopting the method provided by the embodiment, the following technical effects can be realized:
according to the method, the first data table of each network element is obtained through analyzing the office data file, and the second logic table is obtained through comparing the contents of different first data tables in pairs, so that whether the same mobile communication element and the parameter content corresponding to the same element parameter in different network elements are the same or not can be intuitively reflected by the second logic table.
And taking the first logic table of the network element corresponding to the second logic table with the logic value of the false value as manual checking information, extracting the row name and the column name with the logic value of the false value according to the second logic table, marking the table content of the row and the column corresponding to the first logic table, accurately positioning the mark on the parameter content which is possibly in error, and sending the marked first logic table to a technician as manual checking information, wherein the technician can accurately find the wrong local data configuration information and modify the wrong local data configuration information.
In the embodiment of the method, the manual checking information is sent only when the office data is in error, so that the manual further checking and modification are facilitated, the checking speed can be improved, the labor cost can be reduced, and the checking error rate can be reduced.
The embodiment of the invention can divide the functional modules of the electronic device or the main control device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 5 is a schematic structural diagram of an office data checking device of a communication network element according to an embodiment of the present application. As shown in fig. 5, the apparatus 50 includes:
a first obtaining module 501, configured to obtain office data files of each of a plurality of network elements in the same resource pool, where the office data files include network element names, mobile communication elements corresponding to the network element names, element parameters and parameter contents corresponding to each mobile communication element, where different network elements in the same resource pool need to configure the same office data files;
a second obtaining module 502, configured to obtain, according to the office data file of each network element, a first data table of each network element, where the first data table reflects a correspondence between different mobile communication elements and parameter contents of different element parameters;
a first judging module 503, configured to compare whether the parameter contents of the same row and column between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent.
Further, the second obtaining module 502 is specifically configured to:
and taking the mobile communication elements as row names, element parameters as column names and parameter contents as table contents, and acquiring a first data table of each network element according to the element parameters and the parameter contents corresponding to each mobile communication element.
Further, the same mobile communication elements are placed in the same row and the same element parameters are placed in the same column for the first data table of different network elements.
Further, the first determining module 503 is specifically further configured to:
acquiring a first logic table according to the first data table of each network element; the table content of the first logic table is a logic value, the logic value reflects whether the parameter compatibility of element parameters corresponding to mobile communication elements in different network elements is the same, if so, the logic value is a true value, and if not, the logic value is a false value.
Further, the first determining module 503 is specifically further configured to:
taking a row name in the first data table as a row name of the first logic table, taking a column name in the first data table as a column name of the first logic table, taking a logic value as table content, and acquiring the first logic table;
when the parameter content of the same row and the same column in the first data table of different network elements is the same, the logic value of the same row and the same column in the first logic table is a true value; when the parameter contents of the same row and the same column in the first data tables of different network elements are different, the logic value of the same row and the same column in the first logic table is a false value.
Further, the first determining module 503 is specifically further configured to:
if the logic value in the first logic table is a false value, inquiring a row and a column corresponding to the false value in the first logic table, and extracting a first mobile communication element or a first element parameter corresponding to the row and the column;
according to the network element name, the mobile communication element, the element parameters and the parameter content, a first one-dimensional data table of the first mobile communication element or a second one-dimensional data table of the first element parameters is obtained;
and taking the first one-dimensional data table or the second one-dimensional data table as artificial checking information, and sending the artificial checking information.
Further, in the first one-dimensional data table of the first mobile communication element, the first element parameter is used as a row of the first one-dimensional data table, the network element name is used as a column of the first one-dimensional data table, and the parameter content of the first mobile communication element is used as a table content of the first one-dimensional data table;
in the second one-dimensional data table of the first element parameters, the first mobile communication element is used as a row of the second one-dimensional data table, the network element name is used as a column of the second one-dimensional data table, and the parameter content of the first element parameters is used as the table content of the second one-dimensional data table.
Further, the first determining module 503 is specifically further configured to:
According to the first data table of any two different network elements, a second logic table is obtained, and the row name and the column name of the second logic table are the same as those of the first data table; the table content of the second logic table is a logic value, the logic value reflects whether the parameter compatibility of the element parameters corresponding to the mobile communication elements between the two network elements is the same, if the parameters are the same, the logic value is a true value, and if the parameters are different, the logic value is a false value.
Further, the first determining module 503 is specifically further configured to:
if the logic value in the second logic table is a false value, acquiring a network element corresponding to the second logic table with the logic value being the false value, and taking the first data table corresponding to each network element as the manual checking information.
Further, the first determining module 503 is specifically further configured to:
if the logic value in the second logic table is a false value, acquiring a first data table of the network element corresponding to the second logic table with the logic value being the false value, acquiring a row and a column corresponding to the false value in the second logic table, marking table contents corresponding to the row and the column in the first data table of the network element corresponding to the second logic table, and taking the first data table of the network element corresponding to the marked second logic table as manual checking information.
The office data checking device of a communication network element provided in this embodiment may perform the office data checking method of a communication network element in the foregoing embodiment, and its implementation principle and technical effects are similar, which is not described herein.
In the foregoing specific implementation of the office data checking device of a communication network element, each module may be implemented as a processor, and the processor may execute computer-executable instructions stored in the memory, so that the processor executes the office data checking method of a communication network element.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 60 includes: at least one processor 601 and a memory 602. The electronic device 60 further comprises a communication component 603. The processor 601, the memory 602, and the communication section 603 are connected via a bus 604.
In a specific implementation, the at least one processor 601 executes computer-executable instructions stored in the memory 602, so that the at least one processor 601 performs an office data checking method of a communication network element as performed on the electronic device side.
The specific implementation process of the processor 601 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the above embodiment, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The scheme provided by the embodiment of the application is introduced aiming at the functions realized by the electronic equipment and the main control equipment. It will be appreciated that the electronic device or the master device, in order to implement the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. The present embodiments can be implemented in hardware or a combination of hardware and computer software in combination with the various exemplary elements and algorithm steps described in connection with the embodiments disclosed in the embodiments of the present application. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of the embodiments of the present application.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the office data checking method of the communication network element is realized.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in an electronic device or a master device.
The present application also provides a computer program product comprising: a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any one of the embodiments described above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (13)

1. An office data checking method of a communication network element, comprising:
acquiring office data files of each of a plurality of network elements in the same resource pool, wherein the office data files comprise network element names, mobile communication elements corresponding to the network element names, element parameters corresponding to each mobile communication element and parameter contents, and different network elements in the same resource pool need to be configured with the same office data files;
acquiring a first data table of each network element according to the office data file of each network element, wherein the first data table reflects the corresponding relation between different mobile communication elements and parameter contents of different element parameters;
Comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent.
2. The method of claim 1, wherein the obtaining the first data table of each network element based on the office data file of each network element comprises:
and taking the mobile communication element as a row name, the element parameter as a column name and the parameter content as table content, and acquiring a first data table of each network element according to the element parameter and the parameter content corresponding to each mobile communication element.
3. The method according to claim 2, characterized in that the same mobile communication elements are placed in the same row and the same element parameters are placed in the same column for the first data table of different network elements.
4. The method of claim 1, wherein comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same comprises:
acquiring a first logic table according to the first data table of each network element; the table content of the first logic table is a logic value, the logic value reflects whether the parameter compatibility of the element parameters corresponding to the mobile communication elements in different network elements is the same, if so, the logic value is a true value, and if not, the logic value is a false value.
5. The method of claim 4, wherein the obtaining the first logic table according to the first data table of each network element comprises:
taking a row name in a first data table as a row name of the first logic table, taking a column name in the first data table as a column name of the first logic table, taking a logic value as table content, and acquiring the first logic table;
when the parameter content of the same row and the same column in the first data table of different network elements is the same, the logic value of the same row and the same column in the first logic table is a true value; when the parameter contents of the same row and the same column in the first data table of different network elements are different, the logic value of the same row and the same column in the first logic table is a false value.
6. The method of claim 5, wherein if there is a logical value in the first logical table that is a false value, the method further comprises:
querying a row and a column corresponding to the false value in the first logic table, and extracting a first mobile communication element or a first element parameter corresponding to the row and the column;
acquiring a first one-dimensional data table of the first mobile communication element or a second one-dimensional data table of the first element parameter according to the network element name, the mobile communication element, the element parameter and the parameter content;
And taking the first one-dimensional data table or the second one-dimensional data table as artificial checking information, and sending the artificial checking information.
7. The method of claim 6, wherein in the first one-dimensional data table of the first mobile communication element, the first element parameter is used as a row of the first one-dimensional data table, the network element name is used as a column of the first one-dimensional data table, and the parameter content of the first mobile communication element is used as a table content of the first one-dimensional data table;
in the second one-dimensional data table of the first element parameter, the first mobile communication element is used as a row of the second one-dimensional data table, the network element name is used as a column of the second one-dimensional data table, and the parameter content of the first element parameter is used as a table content of the second one-dimensional data table.
8. The method of claim 1, wherein comparing whether the parameter contents of the same row and column between the first data tables of different network elements are the same comprises:
according to the first data table of any two different network elements, a second logic table is obtained, and the row name and the column name of the second logic table are the same as those of the first data table; the table content of the second logic table is a logic value, the logic value reflects whether the parameter compatibility of the element parameters corresponding to the mobile communication elements between two network elements is the same, if so, the logic value is a true value, and if not, the logic value is a false value.
9. The method of claim 8, wherein if there is a logical value in the second logical table that is a false value, the method further comprises:
and obtaining network elements corresponding to the second logic tables with the logic values of false values, and taking the first data tables corresponding to the network elements as artificial checking information.
10. The method of claim 8, wherein if there is a logical value in the second logical table that is a false value, the method further comprises:
and acquiring a first data table of a network element corresponding to a second logic table with a false logic value, acquiring a row and a column corresponding to the false logic value in the second logic table, marking table contents corresponding to the row and the column in the first data table of the network element corresponding to the second logic table, and taking the marked first data table of the network element corresponding to the second logic table as manual checking information.
11. An office data checking apparatus of a communication network element, comprising:
a first obtaining module, configured to obtain office data files of each of a plurality of network elements in the same resource pool, where the office data files include network element names, mobile communication elements corresponding to the network element names, element parameters corresponding to each mobile communication element, and parameter contents, where different network elements in the same resource pool need to configure the same office data file;
The second acquisition module is used for acquiring a first data table of each network element according to the office data file of each network element, wherein the first data table reflects the corresponding relation between different mobile communication elements and parameter contents of different element parameters;
the first judging module is used for comparing whether the same-row and same-column parameter contents between the first data tables of different network elements are the same; when it is determined that the parameter contents of the same row and column are different, a manual verification message is sent.
12. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 10.
13. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 10.
CN202310551755.XA 2023-05-16 2023-05-16 Office data checking method, device and equipment of communication network element and storage medium Pending CN116915609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310551755.XA CN116915609A (en) 2023-05-16 2023-05-16 Office data checking method, device and equipment of communication network element and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310551755.XA CN116915609A (en) 2023-05-16 2023-05-16 Office data checking method, device and equipment of communication network element and storage medium

Publications (1)

Publication Number Publication Date
CN116915609A true CN116915609A (en) 2023-10-20

Family

ID=88363592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310551755.XA Pending CN116915609A (en) 2023-05-16 2023-05-16 Office data checking method, device and equipment of communication network element and storage medium

Country Status (1)

Country Link
CN (1) CN116915609A (en)

Similar Documents

Publication Publication Date Title
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN108768929B (en) Electronic device, credit investigation feedback message analysis method and storage medium
CN107682426B (en) Interface proxy method and application server
WO2020248375A1 (en) Method and system for synchronizing data between databases, computer device and storage medium
CN113312675A (en) Attribute checking method and device, electronic equipment and storage medium
CN116915609A (en) Office data checking method, device and equipment of communication network element and storage medium
CN112256672A (en) Database change approval method and device
CN116938739A (en) Data processing method, device, equipment and storage medium
CN115544132A (en) Data import method and system and electronic equipment
CN114760322A (en) Vehicle information association method, Internet of vehicles terminal and Internet of vehicles platform
CN105740114B (en) Fault tolerance test method and device for mobile terminal
CN111459911B (en) Service data processing method and device
CN108882268B (en) Method and device for updating device configuration
CN114020772A (en) Query condition configuration method, system, electronic device and storage medium
CN109871277B (en) Inter-process multi-request management method and device, terminal equipment and readable storage medium
CN110347683B (en) Data table merging processing method and device
CN112929462A (en) Domain name template processing method and device and domain name server
CN113343314A (en) Data verification method and device for data flashing
CN110580172A (en) Configuration rule verification method and device, storage medium and electronic device
CN113923189B (en) IP address record information checking method and device based on data flow
CN111273947B (en) Method for optimizing waiting time of user interface and electronic device
CN112653627B (en) Data transmission method, device and system, computer equipment and computer readable storage medium
CN111104439B (en) Stored data comparison method, stored data comparison device and storage medium
CN109471870B (en) Method and device for reading resource data, electronic equipment and computer readable medium
CN108848187B (en) Method, device and equipment for establishing communication connection and readable 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