CN116800598A - Dial test method, dial test system, terminal equipment and medium - Google Patents

Dial test method, dial test system, terminal equipment and medium Download PDF

Info

Publication number
CN116800598A
CN116800598A CN202210253307.7A CN202210253307A CN116800598A CN 116800598 A CN116800598 A CN 116800598A CN 202210253307 A CN202210253307 A CN 202210253307A CN 116800598 A CN116800598 A CN 116800598A
Authority
CN
China
Prior art keywords
dial testing
network element
block
parameter list
equipment parameter
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
CN202210253307.7A
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 Mobile Communications Group Co Ltd
China Mobile Group Jiangxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangxi 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 Mobile Communications Group Co Ltd, China Mobile Group Jiangxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210253307.7A priority Critical patent/CN116800598A/en
Publication of CN116800598A publication Critical patent/CN116800598A/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/0876Aspects of the degree of configuration automation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Abstract

The embodiment of the application provides a dial testing method, a dial testing system, terminal equipment and a medium, wherein in the dial testing method, a current time equipment parameter list of any network element in a network is obtained; traversing all blocks in the equipment parameter block chain, judging whether an equipment parameter list is stored in the equipment parameter block chain at the current moment, wherein the equipment parameter block chain is used for storing an equipment parameter list of a network element; when the device parameter list at the current moment is not stored in the device parameter block chain, storing the device parameter list at the current moment into the device parameter block chain; responding to the change of the equipment parameter block chain, calling an intelligent contract, wherein the intelligent contract is used for dial testing of the network element; the method comprises the steps of obtaining a dial testing result returned by the intelligent contract, and storing the dial testing result into a dial testing result blockchain, so that automatic dial testing is realized, timely and effective dial testing is ensured, blockchain storage of dial testing records is realized, and authenticity of the dial testing records is ensured.

Description

Dial test method, dial test system, terminal equipment and medium
[ field of technology ]
The embodiment of the application relates to the technical field of computers, in particular to a dial testing method, a dial testing system, terminal equipment and a dial testing medium.
[ background Art ]
In the network adjustment process, after the network element performs version upgrade or parameter adjustment, service influence confirmation is required, and dial testing is the most direct and effective method.
The traditional dial testing means is manual dial testing, and other dial testing means are automatic dial testing by using a machine, but the corresponding dial testing task is required to be formulated manually. Therefore, the existing dial testing means are not separated from manual intervention, the efficiency is low, and the problems of missing or untimely dial testing tasks are also solved.
In addition, the dial test record is an important log record, and needs to prevent data from being tampered and lost, but the existing dial test means do not meet the requirement.
[ application ]
The embodiment of the application provides a dial testing method, a dial testing system, terminal equipment and a medium, which are used for automatically performing dial testing, ensuring the timely and effective performance of the dial testing, storing dial testing records in a blockchain and ensuring the authenticity of the dial testing records.
In a first aspect, an embodiment of the present application provides a dial testing method, where the method is applied to a dial testing system, including: acquiring a device parameter list of any network element at the current moment in a network; traversing all blocks in an equipment parameter block chain, and judging whether the equipment parameter list at the current moment is stored in the equipment parameter block chain or not, wherein the equipment parameter block chain is used for storing the equipment parameter list of a network element; when the current time equipment parameter list is not stored in the equipment parameter block chain, storing the current time equipment parameter list into the equipment parameter block chain; responding to the change of the equipment parameter block chain, and calling an intelligent contract, wherein the intelligent contract is used for dial testing of network elements; and acquiring a dial testing result returned by the intelligent contract, and storing the dial testing result into a dial testing result block chain.
In the dial testing method, when the change of the network element parameter is detected, dial testing can be automatically performed, so that the dial testing is timely and effectively performed, unmanned automatic dial testing management is realized, the dial testing efficiency is improved, and the safety and stability of a network are ensured; and the application also realizes the blockchain storage of the dial test record and ensures the authenticity of the dial test record.
In one possible implementation manner, the block includes a network element name, and a hash value of a historical time device parameter list.
In one possible implementation manner, the traversing all blocks in the device parameter blockchain and determining whether the device parameter list at the current time is stored in the device parameter blockchain includes: for each block, judging whether the name of the network element in the block is the same as the name of the network element corresponding to the equipment parameter list at the current moment; when the name of the network element in the block is different from the name of the network element corresponding to the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block; when the name of the network element in the block is the same as the name of the network element corresponding to the equipment parameter list at the current moment, judging whether the hash value in the block is the same as the hash value of the equipment parameter list at the current moment; and when the hash value in the block is different from the hash value of the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block.
In one possible implementation manner, the smart contract is specifically configured to: acquiring the network element names in the new block; calling an automatic dial testing system service interface, and transmitting the network element name in the new block into the automatic dial testing system service interface, wherein the automatic dial testing system service interface is used for executing dial testing tasks according to the network element name; and receiving the dial testing result returned by the service interface of the automatic dial testing system, and sending the dial testing result to the dial testing system.
In a second aspect, an embodiment of the present application provides a dial testing system, provided in a terminal device, where the dial testing system includes: the acquisition module is used for acquiring a device parameter list at the current moment of any network element in the network; the traversing module is used for traversing all blocks in the equipment parameter block chain and judging whether the equipment parameter list at the current moment is stored in the equipment parameter block chain or not, wherein the equipment parameter block chain is used for storing the equipment parameter list of the network element; the first block generation module is used for storing the current time equipment parameter list into the equipment parameter block chain when the current time equipment parameter list is not stored in the equipment parameter block chain; the calling module is used for responding to the change of the equipment parameter blockchain and calling an intelligent contract, and the intelligent contract is used for dial testing of the network element; and the second block production module is used for acquiring a dial testing result returned by the intelligent contract and storing the dial testing result into a dial testing result block chain.
In one possible implementation manner, the block includes a network element name, and a hash value of a historical time device parameter list.
In one possible implementation manner, the traversing module includes: the name judging module is used for judging whether the name of the network element in each block is the same as the name of the network element corresponding to the equipment parameter list at the current moment; when the name of the network element in the block is different from the name of the network element corresponding to the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block; the hash value judging module is used for judging whether the hash value in the block is the same as the hash value of the current time equipment parameter list or not when the name of the network element in the block is the same as the name of the network element corresponding to the current time equipment parameter list; and when the hash value in the block is different from the hash value of the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block.
In one possible implementation manner, the smart contract is specifically configured to: acquiring the network element names in the new block; calling an automatic dial testing system service interface, and transmitting the network element name in the new block into the automatic dial testing system service interface, wherein the automatic dial testing system service interface is used for executing dial testing tasks according to the network element name; and receiving the dial testing result returned by the service interface of the automatic dial testing system, and sending the dial testing result to the dial testing system.
In a third aspect, an embodiment of the present application provides a terminal device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions that cause a computer to perform the method provided in the first aspect.
It should be understood that, the second to fourth aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation manner are similar, and are not repeated.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present specification, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a dial testing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a device parameter blockchain provided by another embodiment of the present application;
FIG. 3 is a schematic diagram of a dial testing result blockchain according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a dial testing system according to an embodiment of the present disclosure.
[ detailed description ] of the application
For a better understanding of the technical solutions of the present specification, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are only some, but not all, of the embodiments of the present description. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present disclosure.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In the prior art, after the network device performs parameter adjustment, a dial test is required to confirm whether the service is running normally. However, the existing dial testing method has the following defects:
(1) Relying on manual intervention: manual dial testing is needed, or an automatic dial testing task is set, so that the condition that maintenance personnel forget to test exists.
(2) The dial test record is modified: in order to pursue the dial indicator, the record of the actual dial test may be modified, and the authenticity of the dial test cannot be guaranteed.
Based on the above problems, the embodiment of the application provides a dial testing method, which can automatically perform dial testing, ensure timely and effective dial testing, realize blockchain storage of dial testing records and ensure authenticity of the dial testing records.
The method provided by the embodiment of the application can be executed by a dial testing system, the dial testing system is applied to a communication network such as the internet and an LTE network, the communication network comprises a plurality of network elements and the dial testing system, the network elements are the minimum units which can be monitored and managed in network management, for example, a computing node, a wireless access network E-NodeB, mobility management equipment MME, a service gateway S-GW, a PDN gateway P-GW, an HSS (Home Subscriber Server, a home subscriber server), a PCRF (Policy and Charging Rules Function, a policy and charging rule functional entity) and the like. The dial testing system is used for dial testing the network elements, and communication connection exists between the dial testing system and each network element.
Fig. 1 is a flowchart of a dial testing method according to an embodiment of the present application, where the method is applied to a dial testing system, as shown in fig. 1, and the dial testing method may include:
step 101, obtaining a device parameter list of any network element in the network at the current moment.
The dial testing system acquires a list of device parameters of any network element in the network at the current time, and the list is called a device parameter list at the current time. The device parameters refer to important key parameters of the network element in the service system, such as the heartbeat detection parameters in the unavailable state. For example, the dial testing system collects a plurality of designated device parameters of the network element a, and for the collected device parameters, the device parameters are ordered according to the first letter order, so as to generate a device parameter list.
Step 102, traversing all blocks in a device parameter block chain, and judging whether the device parameter list at the current moment is stored in the device parameter block chain, wherein the device parameter block chain is used for storing the device parameter list of a network element.
The application can store one/a plurality of equipment parameter lists in one block, and connect the blocks to obtain the equipment parameter blockchain, wherein the equipment parameter blockchain is used for storing equipment parameter lists of a plurality of network elements in a network, and the blockchain is a chained data structure formed by combining data blocks in a sequential connection mode.
After the device parameter list at the current moment is obtained, traversing each block of the device parameter block chain, judging whether the device parameter list at the current moment is stored in one block, and when the device parameter list at the current moment does not exist in any block, indicating that the device parameter list is not stored in the device parameter block chain.
Further, the block includes a network element name, a hash value of the historical time device parameter list.
In one embodiment of the application, as shown in fig. 2, each block in the device parameter blockchain is used to store a device parameter list of a network element at a historical time, that is, a device parameter list exists in a block. The block stores the name of the network element corresponding to the equipment parameter list and the hash value of the equipment parameter list. The algorithm for generating the hash value by the device parameter list can adopt SHA-256 digital fingerprint algorithm and the like. The network element name is pre-allocated for each network element, and can be specifically set, for example, set as jx_mss01.
The hash value of the device parameter list is stored instead of the device parameter list in the block, so that the fingerprints obtained by the same parameters can be ensured to be unique, the comparison is convenient and quick, the parameters are ensured not to be leaked, and malicious snooping of network parameter configuration is prevented.
Preferably, traversing all blocks in the device parameter blockchain, and determining whether the device parameter list at the current time is stored in the device parameter blockchain includes:
step 201, for each block, determining whether the name of the network element in the block is the same as the name of the network element corresponding to the device parameter list at the current time;
step 202, when the name of the network element in the block is different from the name of the network element corresponding to the device parameter list at the current time, the device parameter list at the current time is characterized as not being stored in the block;
step 203, when the name of the network element in the block is the same as the name of the network element corresponding to the device parameter list at the current time, judging whether the hash value in the block is the same as the hash value of the device parameter list at the current time;
step 204, when the hash value in the block is different from the hash value of the device parameter list at the current time, it is indicated that the device parameter list at the current time is not stored in the block.
When the name of the network element corresponding to the equipment parameter list, the hash value of the equipment parameter list and only one equipment parameter list are stored in the block;
traversing the blocks in the equipment parameter block chain, judging whether any block stores the equipment parameter list at the current moment, wherein the traversing process of each block can be as follows: firstly, judging whether the name of the network element in the block is the same as the name of the network element corresponding to the equipment parameter list at the current moment; when the network element names in the block are different from the network element names of the list, the block is not used for storing the network elements corresponding to the list, and the equipment parameter list corresponding to the block is not the equipment parameter list at the current moment;
when the network element name in the block is the same as the network element name corresponding to the list, indicating that the block corresponds to the same network element as the current time equipment parameter list, further judging whether the hash value in the block is the same as the hash value of the current time equipment parameter list or not;
when the hash value in the block is different from the hash value of the device parameter list at the current moment, the device parameter list at the current moment is different from the device parameter list at the historical moment, and the device parameters of the network element are changed.
And step 103, when the current time equipment parameter list is not stored in the equipment parameter blockchain, storing the current time equipment parameter list into the equipment parameter blockchain.
When the current time equipment parameter list is not stored in the equipment parameter block chain, the current time equipment parameter list is indicated to be either an unknown equipment parameter or a new parameter of the existing equipment, and for both cases, the network element corresponding to the current time equipment parameter list needs to be measured, so as to judge whether the service function of the network element is normal.
In the application, when the current time equipment parameter list is not stored in the equipment parameter block chain, the current time equipment parameter list is stored in the equipment parameter block chain. For example, the list is packed into a new block and a wait condition uplinks the new block.
In some embodiments of the present application, a SHA-256 algorithm may be used to generate a hash value of the current device parameter list, obtain a name of a network element corresponding to the list, generate a new block according to the hash value and the name of the network element, and insert the block chain into a device parameter block chain.
And 104, calling an intelligent contract in response to the change of the equipment parameter blockchain, wherein the intelligent contract is used for dial testing of the network element.
The application is provided with an intelligent contract in advance, and the intelligent contract is used for dial testing of network elements in the network elements.
An intelligent contract is a computer contract that is automatically executable based on prescribed triggering rules and can also be considered a digital version of a traditional contract. The concept of smart contracts was first proposed by cross-domain law scholars, cryptology researchers, nike-sabo (nickel Szabo) in 1994. This technology has once not been used in the real industry because of the lack of programmable digital systems and related technologies until the advent of blockchain technology and ethernet has provided a reliable execution environment for it. Because the block chain type account book adopted by the block chain technology cannot be tampered or deleted, and the whole account book is continuously added with account book data, the traceability of historical data is ensured; meanwhile, the operation mechanism of decentralization avoids the influence of the decentralization factor. The intelligent contract based on the block chain technology not only can exert the advantages of intelligent combination in terms of cost and efficiency, but also can avoid the interference of malicious behaviors on the normal execution of the combination. The intelligent contracts are written into the blockchain in a digital mode, and the transparent trackable and tamper-proof processes of storage, reading and execution are guaranteed by the characteristics of the blockchain technology.
A smart contract is essentially a piece of program that can be executed by a computer. The smart contracts, like computer programs in widespread use today, may be written in a high-level language (e.g., C language, c++ language, etc.). Program code of intelligent contracts written in a high-level language may be converted, typically by a "compiler", into "machine code" that may be recognized and executed by a CPU of a computer, and such machine code (or "microprocessor instructions") may be executed by the CPU. This approach is commonly referred to as "compilation execution".
The triggering condition of the intelligent contract is triggered when the equipment parameter block chain changes;
after the device parameter list at the current moment is successfully stored in the device parameter blockchain, the device parameter blockchain is changed, the triggering condition of the intelligent contract is met, and the intelligent contract performs dial testing on network elements causing the change.
Further, the smart contract is specifically configured to:
acquiring the network element names in the new block;
calling an automatic dial testing system service interface, and transmitting the network element name in the new block into the automatic dial testing system service interface, wherein the automatic dial testing system service interface is used for executing dial testing tasks according to the network element name;
and receiving the dial testing result returned by the service interface of the automatic dial testing system, and sending the dial testing result to the dial testing system.
The process of the intelligent contract for dial testing can be as follows: and acquiring a changed block in the equipment parameter block chain, namely, a network element name stored in the newly added block.
Then, the intelligent contract calls the service interface of the automatic dial testing system, and the acquired network element name is transmitted into the interface. The service interface of the automatic dial testing system is preset, and the function corresponding to the interface can call the corresponding dial testing method according to the name of the network element so as to dial test the network element.
After the service interface of the automatic dial testing system dials and tests the network element, the dial testing result is returned to the intelligent contract.
And 105, acquiring a dial testing result returned by the intelligent contract, and storing the dial testing result into a dial testing result block chain.
After the intelligent contract dials the network element, the result is returned to the dial testing system, and after the dial testing system receives the dial testing result, the dial testing result is stored in a dial testing result block chain which is preset and used for storing each dial testing result.
The block chain of the dial test results according to an embodiment of the present application is shown in fig. 3, where a dial test result may be used as a block, and contents stored in a block include a name, time, dial test type, dial test number, and dial test result of a network element being measured.
In the dial testing method, when the parameter change of the network element is detected, dial testing can be automatically performed, so that the dial testing is timely and effectively performed, unmanned automatic dial testing management is realized, the dial testing efficiency is improved, and the safety and stability of a network are ensured; and the application also realizes the blockchain storage of the dial test record and ensures the authenticity of the dial test record.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Fig. 4 is a schematic structural diagram of a dial testing system according to an embodiment of the present application, where the dial testing system is disposed in a terminal device, as shown in fig. 4, and the display device for image beautifying effect may include: an acquisition module 41, a traversal module 42, a first block production module 43, a calling module 44 and a second block production module 45;
the acquiring module 41 is configured to acquire a current time equipment parameter list of any network element in the network;
the traversing module 42 is configured to traverse all blocks in a device parameter blockchain, determine whether the device parameter list at the current time is stored in the device parameter blockchain, and the device parameter blockchain is used to store a device parameter list of a network element;
a first block generating module 43, configured to store the current time equipment parameter list into the equipment parameter blockchain when the current time equipment parameter list is not stored in the equipment parameter blockchain;
a calling module 44, configured to respond to the change of the equipment parameter blockchain, and call an intelligent contract, where the intelligent contract is used to dial and measure a network element;
and the second block production module 45 is configured to obtain a measurement result returned by the intelligent contract, and store the measurement result into a measurement result block chain.
Further, the block includes a network element name, a hash value of the historical time of day device parameter list.
The traversing module comprises:
the name judging module is used for judging whether the name of the network element in each block is the same as the name of the network element corresponding to the equipment parameter list at the current moment; when the name of the network element in the block is different from the name of the network element corresponding to the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block;
the hash value judging module is used for judging whether the hash value in the block is the same as the hash value of the current time equipment parameter list or not when the name of the network element in the block is the same as the name of the network element corresponding to the current time equipment parameter list; and when the hash value in the block is different from the hash value of the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block.
The intelligent contract is specifically used for:
acquiring the network element names in the new block; calling an automatic dial testing system service interface, and transmitting the network element name in the new block into the automatic dial testing system service interface, wherein the automatic dial testing system service interface is used for executing dial testing tasks according to the network element name; and receiving the dial testing result returned by the service interface of the automatic dial testing system, and sending the dial testing result to the dial testing system.
The display device for beautifying an image provided by the embodiment shown in fig. 4 may be used to implement the technical solution of the above-mentioned method embodiment of the present application, and the implementation principle and technical effects may be further described with reference to the related description in the method embodiment.
The embodiment of the application provides a schematic structural diagram of terminal equipment, which can comprise at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the dial testing method provided in the method embodiment of the present specification.
The terminal device may be an intelligent electronic device such as a smart phone, a tablet computer or a notebook computer, and the form of the terminal device is not limited in this embodiment.
An embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores computer instructions, where the computer instructions cause the computer to execute the dial testing method provided in the foregoing method embodiment of the present specification.
Any combination of one or more computer readable media may be utilized as the above-described computer readable storage media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (erasable programmable read only memory, EPROM) or flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for the present specification may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (local area network, LAN) or a wide area network (wide area network, WAN), or may be connected to an external computer (e.g., connected via the internet using an internet service provider).
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the description of embodiments of the present application, a description of reference to the terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present specification, the meaning of "plurality" means at least two, for example, two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present specification in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present specification.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, the terminal according to the embodiment of the present application may include, but is not limited to, a personal computer (personal computer, PC), a personal digital assistant (personal digital assistant, PDA), a wireless handheld device, a tablet computer (tablet computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present specification may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods described in the embodiments of the present specification. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (ROM), a random-access memory (RAM), a magnetic disk, or an optical disk, etc.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (10)

1. A dial testing method, wherein the method is applied to a dial testing system, the method comprising:
acquiring a device parameter list of any network element at the current moment in a network;
traversing all blocks in an equipment parameter block chain, and judging whether the equipment parameter list at the current moment is stored in the equipment parameter block chain or not, wherein the equipment parameter block chain is used for storing the equipment parameter list of a network element;
when the current time equipment parameter list is not stored in the equipment parameter block chain, storing the current time equipment parameter list into the equipment parameter block chain;
responding to the change of the equipment parameter block chain, and calling an intelligent contract, wherein the intelligent contract is used for dial testing of network elements;
and acquiring a dial testing result returned by the intelligent contract, and storing the dial testing result into a dial testing result block chain.
2. The method of claim 1, wherein the block comprises a network element name, a hash value of a list of historical time of day device parameters.
3. The method of claim 2, wherein the traversing all blocks in a device parameter blockchain to determine whether the current time device parameter list is stored in the device parameter blockchain comprises:
for each block, judging whether the name of the network element in the block is the same as the name of the network element corresponding to the equipment parameter list at the current moment;
when the name of the network element in the block is different from the name of the network element corresponding to the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block;
when the name of the network element in the block is the same as the name of the network element corresponding to the equipment parameter list at the current moment, judging whether the hash value in the block is the same as the hash value of the equipment parameter list at the current moment;
and when the hash value in the block is different from the hash value of the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block.
4. The method according to claim 1, characterized in that said smart contract is specifically for:
acquiring the network element names in the new block;
calling an automatic dial testing system service interface, and transmitting the network element name in the new block into the automatic dial testing system service interface, wherein the automatic dial testing system service interface is used for executing dial testing tasks according to the network element name;
and receiving the dial testing result returned by the service interface of the automatic dial testing system, and sending the dial testing result to the dial testing system.
5. A dial testing system provided in a terminal device, the dial testing system comprising:
the acquisition module is used for acquiring a device parameter list at the current moment of any network element in the network;
the traversing module is used for traversing all blocks in the equipment parameter block chain and judging whether the equipment parameter list at the current moment is stored in the equipment parameter block chain or not, wherein the equipment parameter block chain is used for storing the equipment parameter list of the network element;
the first block generation module is used for storing the current time equipment parameter list into the equipment parameter block chain when the current time equipment parameter list is not stored in the equipment parameter block chain;
the calling module is used for responding to the change of the equipment parameter blockchain and calling an intelligent contract, and the intelligent contract is used for dial testing of the network element;
and the second block production module is used for acquiring a dial testing result returned by the intelligent contract and storing the dial testing result into a dial testing result block chain.
6. The system of claim 5, wherein the block comprises a network element name, a hash value of a list of historical time of day device parameters.
7. The system of claim 6, wherein the traversal module comprises:
the name judging module is used for judging whether the name of the network element in each block is the same as the name of the network element corresponding to the equipment parameter list at the current moment; when the name of the network element in the block is different from the name of the network element corresponding to the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block;
the hash value judging module is used for judging whether the hash value in the block is the same as the hash value of the current time equipment parameter list or not when the name of the network element in the block is the same as the name of the network element corresponding to the current time equipment parameter list; and when the hash value in the block is different from the hash value of the device parameter list at the current moment, representing that the device parameter list at the current moment is not stored in the block.
8. The system according to claim 5, characterized in that said smart contracts are specifically for: acquiring the network element names in the new block; calling an automatic dial testing system service interface, and transmitting the network element name in the new block into the automatic dial testing system service interface, wherein the automatic dial testing system service interface is used for executing dial testing tasks according to the network element name; and receiving the dial testing result returned by the service interface of the automatic dial testing system, and sending the dial testing result to the dial testing system.
9. A terminal device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-4.
10. A computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 4.
CN202210253307.7A 2022-03-15 2022-03-15 Dial test method, dial test system, terminal equipment and medium Pending CN116800598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210253307.7A CN116800598A (en) 2022-03-15 2022-03-15 Dial test method, dial test system, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210253307.7A CN116800598A (en) 2022-03-15 2022-03-15 Dial test method, dial test system, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN116800598A true CN116800598A (en) 2023-09-22

Family

ID=88040376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210253307.7A Pending CN116800598A (en) 2022-03-15 2022-03-15 Dial test method, dial test system, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN116800598A (en)

Similar Documents

Publication Publication Date Title
CN110661659B (en) Alarm method, device and system and electronic equipment
CN109040316B (en) HTTP service processing method and device
WO2019051948A1 (en) Method, apparatus, server, and storage medium for processing monitoring data
CN107168841A (en) The remote test method and device of a kind of mobile device
CN104932963B (en) The method and device of management terminal
CN107181821A (en) A kind of information push method and device based on SSE specifications
CN107463479A (en) A kind of social data monitoring system
CN110727560A (en) Cloud service alarm method and device
CN112965879A (en) Data processing method and device, electronic equipment and readable storage medium
CN105022694A (en) Test case generation method and system for mobile terminal test
CN109684180A (en) Method and apparatus for output information
CN110515795A (en) A kind of monitoring method of big data component, device, electronic equipment
CN111061802A (en) Power data management processing method and device and storage medium
CN116800598A (en) Dial test method, dial test system, terminal equipment and medium
US10877958B2 (en) Systems and methods for measurement equivalency
CN115617612A (en) Log reporting method and device, computer equipment and storage medium
CN114356764A (en) Software debugging method, device, equipment, system and medium
CN111163155A (en) Account checking file transmission method, account checking file transmission system, account checking file transmission server and storage medium
CN109558375A (en) A kind of file memory method of optimization, storage medium, equipment and system
CN110764995A (en) Method, device, medium and electronic equipment for detecting file access abnormity
CN109614566A (en) Traffic source analysis method, system and device
CN109933459A (en) A kind of execution method and apparatus of multitask
CN110008103B (en) Log collection method, system, device and storage medium for third-party application program
CN111083123B (en) Equipment fault processing method and device, electronic equipment and storage medium
CN116305323A (en) Method and device for detecting whether equipment is tampered

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