Method, system, terminal device and medium for probing

By using automated testing methods and blockchain technology, the problems of existing testing methods relying on manual intervention and easily modified records have been solved, achieving timeliness of testing and authenticity of records, thereby improving network management efficiency and security.

CN116800598BActive Publication Date: 2026-06-05中国移动通信集团江西有限公司 +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
中国移动通信集团江西有限公司
Filing Date
2022-03-15
Publication Date
2026-06-05

Smart Images

  • Figure CN116800598B_ABST
    Figure CN116800598B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method and system for probing, a terminal device and a medium, wherein in the method, a current time device parameter list of any network element in a network is obtained; all blocks in a device parameter blockchain are traversed to determine whether the current time device parameter list is saved in the device parameter blockchain, the device parameter blockchain being used to save the device parameter list of the network element; when the current time device parameter list is not saved in the device parameter blockchain, the current time device parameter list is stored in the device parameter blockchain; in response to a change in the device parameter blockchain, a smart contract is called, the smart contract being used to probe the network element; a probing result returned by the smart contract is obtained, and the probing result is stored in a probing result blockchain, thereby realizing automatic probing, ensuring that the probing is timely and effective, and realizing blockchain storage of the probing record, and ensuring the authenticity of the probing record.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application relates to the field of computer technology, and in particular to a dialing test method, system, terminal device and medium. [Background Technology]

[0002] During network adjustments, after network elements undergo version upgrades or parameter adjustments, it is necessary to confirm the impact on services. Dial-up testing is one of the most direct and effective methods.

[0003] Traditional testing methods involve manual testing, while some utilize automated machines, but these still require manual task creation. Therefore, existing testing methods all rely on human intervention, resulting in low efficiency and issues such as missed or untimely testing tasks.

[0004] In addition, test logs are important log records that need to be protected from data tampering and loss, but existing test methods do not meet this requirement. [Summary of the Invention]

[0005] This application provides a dialing test method, system, terminal device, and medium to automatically perform dialing tests, ensuring timely and effective dialing tests, and storing dialing test records on a blockchain to guarantee the authenticity of the dialing test records.

[0006] In a first aspect, embodiments of this application provide a dial-up testing method, which is applied to a dial-up testing system and includes: obtaining a current-time device parameter list for any network element in the network; traversing all blocks in a device parameter blockchain to determine whether the current-time device parameter list is stored in the device parameter blockchain, wherein the device parameter blockchain is used to store the device parameter list of the network element; when the current-time device parameter list is not stored in the device parameter blockchain, storing the current-time device parameter list in the device parameter blockchain; responding to changes in the device parameter blockchain, invoking a smart contract, wherein the smart contract is used to perform dial-up testing on the network element; obtaining the dial-up testing result returned by the smart contract, and storing the dial-up testing result in a dial-up testing result blockchain.

[0007] In the above-mentioned dial-up testing method, when a change in network element parameters is detected, dial-up testing can be performed automatically, ensuring that dial-up testing is timely and effective, realizing unmanned automatic dial-up testing management, improving the efficiency of dial-up testing, and ensuring the security and stability of the network; in addition, this application also implements blockchain storage of dial-up testing records to ensure the authenticity of dial-up testing records.

[0008] In one possible implementation, the block includes the network element name and the hash value of the historical device parameter list.

[0009] In one possible implementation, traversing all blocks in the device parameter blockchain and determining whether the current device parameter list is stored in the device parameter blockchain includes: for each block, determining whether the network element name in the block is the same as the name of the network element corresponding to the current device parameter list; if the network element name in the block is not the same as the name of the network element corresponding to the current device parameter list, it indicates that the current device parameter list is not stored in the block; if the network element name in the block is the same as the name of the network element corresponding to the current device parameter list, determining whether the hash value in the block is the same as the hash value of the current device parameter list; if the hash value in the block is not the same as the hash value of the current device parameter list, it indicates that the current device parameter list is not stored in the block.

[0010] In one possible implementation, the smart contract is specifically used for: obtaining the network element name within the new block; calling the automatic dialing test system service interface, passing the network element name within the new block to the automatic dialing test system service interface, the automatic dialing test system service interface being used to execute a dialing test task based on the network element name; receiving the dialing test result returned by the automatic dialing test system service interface, and sending the dialing test result to the dialing test system.

[0011] Secondly, embodiments of this application provide a dial-up testing system, installed in a terminal device. The dial-up testing system includes: an acquisition module, used to acquire the current-time device parameter list of any network element in the network; a traversal module, used to traverse all blocks in the device parameter blockchain and determine whether the current-time device parameter list is stored in the device parameter blockchain, the device parameter blockchain being used to store the device parameter list of the network element; a first block generation module, used to store the current-time device parameter list in the device parameter blockchain when it is not stored in the device parameter blockchain; a calling module, used to call a smart contract in response to changes in the device parameter blockchain, the smart contract being used to perform dial-up testing on the network element; and a second block generation module, used to acquire the dial-up testing result returned by the smart contract and store the dial-up testing result in the dial-up testing result blockchain.

[0012] In one possible implementation, the block includes the network element name and the hash value of the historical device parameter list.

[0013] In one possible implementation, the traversal module includes: a name determination module, used to determine, for each block, whether the name of the network element in the block is the same as the name of the network element corresponding to the current time device parameter list; if the name of the network element in the block is not the same as the name of the network element corresponding to the current time device parameter list, it indicates that the current time device parameter list is not stored in the block; and a hash value determination module, used to determine, 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 device parameter list, whether the hash value in the block is the same as the hash value of the current time device parameter list; if the hash value in the block is not the same as the hash value of the current time device parameter list, it indicates that the current time device parameter list is not stored in the block.

[0014] In one possible implementation, the smart contract is specifically used for: obtaining the network element name within the new block; calling the automatic dialing test system service interface, passing the network element name within the new block to the automatic dialing test system service interface, the automatic dialing test system service interface being used to execute a dialing test task based on the network element name; receiving the dialing test result returned by the automatic dialing test system service interface, and sending the dialing test result to the dialing test system.

[0015] Thirdly, embodiments of this application provide a terminal device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor can execute the method provided in the first aspect by calling the program instructions.

[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer instructions that cause the computer to perform the method provided in the first aspect.

[0017] It should be understood that the second to fourth aspects of the embodiments of this application are consistent with the technical solutions of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again. [Attached Image Description]

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart of a dialing test method provided in one embodiment of this application;

[0020] Figure 2 A schematic diagram of a device parameter blockchain provided for another embodiment of this application;

[0021] Figure 3 A schematic diagram of the blockchain for testing results provided in another embodiment of this application;

[0022] Figure 4 This is a schematic diagram of the structure of a dialing system provided in one embodiment of this specification.

Detailed Implementation Methods

[0023] To better understand the technical solutions in this specification, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0024] It should be understood that the described embodiments are merely some, not all, of the embodiments in this specification. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without inventive effort are within the scope of protection of this specification.

[0025] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0026] In existing technologies, after network equipment parameters are adjusted, a dial-up test is required to confirm whether the service is operating normally. However, the existing dial-up test methods have the following drawbacks:

[0027] (1) Reliance on manual intervention: It requires manual testing or setting up automatic testing tasks, and there is a possibility that maintenance personnel will forget to test.

[0028] (2) The call test records were modified: In order to pursue the call test indicators, the actual call test records may be modified, and the authenticity of the call test cannot be guaranteed.

[0029] Based on the above problems, this application provides a dialing test method that can automatically perform dialing tests, ensuring timely and effective dialing tests, and also realizes blockchain storage of dialing test records, ensuring the authenticity of dialing test records.

[0030] The method provided in this application embodiment can be executed by a testing system. This testing system is applied in communication networks such as the Internet or LTE networks. The communication network includes multiple network elements and the testing system. A network element is the smallest unit that can be monitored and managed in network management, such as a computing node, an E-NodeB (Electronic Access Network), a Mobility Management Equipment (MME), a Serving Gateway (S-GW), a PDN Gateway (P-GW), an HSS (Home Subscriber Server), and a PCRF (Policy and Charging Rules Function). The testing system is used to test network elements, and there is a communication connection between the testing system and each network element.

[0031] Figure 1 This is a flowchart of a dialing test method provided in one embodiment of this application. The method is applied to a dialing test system, such as... Figure 1 As shown, the above-mentioned dialing test method may include:

[0032] Step 101: Obtain the current device parameter list of any network element in the network.

[0033] The testing system retrieves a list of device parameters for any network element at the current moment; this list is called the current-moment device parameter list. Device parameters refer to important and critical parameters of a network element in the service system, such as heartbeat detection parameters for unavailability status. For example, the testing system will collect multiple specified device parameters for network element A, and then sort the collected parameters alphabetically to generate a device parameter list.

[0034] Step 102: Traverse all blocks in the device parameter blockchain and determine whether the device parameter list at the current time is stored in the device parameter blockchain. The device parameter blockchain is used to store the device parameter list of network elements.

[0035] The testing system pre-sets a device parameter blockchain to store device parameter lists of multiple network elements. A blockchain is a chain-like data structure that combines data blocks in a sequential manner. In this application, one or more device parameter lists can be stored in one block. By connecting the blocks, a device parameter blockchain is obtained. The device parameter lists come from multiple historical moments of multiple network elements.

[0036] After obtaining the device parameter list at the current moment, iterate through each block of the device parameter blockchain and determine whether the device parameter list at the current moment is stored in a block. If the device parameter list at the current moment does not exist in any block, it means that it is not stored in the device parameter blockchain.

[0037] Furthermore, the block includes the network element name and the hash value of the historical device parameter list.

[0038] In one embodiment of the application, the device parameter blockchain is as follows: Figure 2 As shown, each block in the device parameter blockchain stores a list of device parameters for a network element at a historical moment; that is, a block contains only one list of device parameters. The block stores the name of the network element corresponding to the device parameter list and the hash value of the device parameter list. The algorithm for generating the hash value of the device parameter list can use algorithms such as SHA-256 digital fingerprinting. The network element name is pre-assigned to each network element and can be specifically set, such as JX_MSC01.

[0039] Instead of storing a list of device parameters, the block stores the hash value of the device parameter list. This ensures that fingerprints obtained with the same parameters are unique, facilitates quick comparison, and ensures that parameters are not leaked, preventing malicious snooping on network parameter configurations.

[0040] Preferably, traversing all blocks in the device parameter blockchain and determining whether the current device parameter list is stored in the device parameter blockchain includes:

[0041] Step 201: For each block, determine 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;

[0042] 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 moment, it indicates that the device parameter list at the current moment is not stored in the block.

[0043] Step 203: When the network element name in the block is the same as the network element name corresponding to the device parameter list at the current time, determine whether the hash value in the block is the same as the hash value of the device parameter list at the current time.

[0044] Step 204: If the hash value in the block is different from the hash value of the device parameter list at the current moment, it indicates that the device parameter list at the current moment is not stored in the block.

[0045] When the block stores the name of the network element corresponding to the device parameter list, the hash value of the device parameter list, or only one device parameter list;

[0046] Traverse the blocks in the device parameter blockchain to determine if any block stores the device parameter list for the current moment. The traversal process for each block can be as follows: First, determine whether the network element name in the block is the same as the name of the network element corresponding to the device parameter list for the current moment; if the network element name in the block is different from the network element name in the list, it means that the block is not used to store the network element corresponding to the list, and the device parameter list corresponding to the block is not the device parameter list for the current moment.

[0047] If the network element name in the block is the same as the network element name in the list, it means that the block corresponds to the same network element as the device parameter list at the current time. Then it is necessary to further determine whether the hash value in the block is the same as the hash value of the device parameter list at the current time.

[0048] If the hash value within the block is different from the hash value in the device parameter list at the current moment, it indicates that the device parameter list at the current moment is different from the device parameter list at a historical moment, and the device parameters of the network element have changed.

[0049] Step 103: If the current device parameter list is not stored in the device parameter blockchain, store the current device parameter list in the device parameter blockchain.

[0050] If the current device parameter list is not stored in the device parameter blockchain, it means that the current device parameter list is either the parameter of an unknown device or the new parameter of an existing device. In both cases, it is necessary to perform a dial test on the network element corresponding to the current device parameter list to determine whether its service function is normal.

[0051] In this application, if the current device parameter list is not stored in the device parameter blockchain, the current device parameter list is stored in the device parameter blockchain. For example, the list is packaged into a new block, and the process waits for conditions to add the new block to the blockchain.

[0052] In some embodiments of this application, the hash value of the device parameter list at the current moment may be generated using the SHA-256 algorithm, and the name of the network element corresponding to the list may be obtained. A new block may be generated based on the hash value and the network element name, and the blockchain may be added to the device parameter blockchain.

[0053] Step 104: In response to the change in the device parameter blockchain, a smart contract is invoked, which is used to perform dialing tests on the network element.

[0054] This application includes a pre-set smart contract, which is used to perform dial-up testing on network elements.

[0055] A smart contract is a computer contract that executes automatically based on defined triggering rules; it can also be seen as a digital version of a traditional contract. The concept of smart contracts was first proposed in 1994 by Nick Szabo, a legal scholar and cryptographer working across disciplines. This technology was initially hindered from practical industrial applications due to a lack of programmable digital systems and related technologies, until the emergence of blockchain technology and Ethereum provided a reliable execution environment. Because blockchain technology uses a block-chain ledger, the generated data is immutable and cannot be deleted, and the entire ledger continuously adds data, ensuring the traceability of historical data; at the same time, the decentralized operating mechanism avoids the influence of centralized factors. Smart contracts based on blockchain technology not only leverage the advantages of smart contracts in terms of cost and efficiency but also prevent malicious interference with the normal execution of contracts. By writing smart contracts digitally into the blockchain, the characteristics of blockchain technology ensure that the entire process of storage, retrieval, and execution is transparent, traceable, and tamper-proof.

[0056] A smart contract is essentially a program that can be executed by a computer. Like widely used computer programs, smart contracts can be written in high-level languages ​​(such as C and C++). The code for a smart contract written in a high-level language is typically converted into machine code that the computer's CPU can recognize and run using a compiler. This machine code (or microprocessor instructions) can then be executed by the CPU. This process is generally called "compile-execution."

[0057] The smart contract in this application is triggered when the device parameters on the blockchain change.

[0058] After the current device parameter list is successfully saved into the device parameter blockchain, it means that the device parameter blockchain has changed, which meets the smart contract triggering conditions. The smart contract will then test the network element that caused the change.

[0059] Furthermore, the smart contract is specifically used for:

[0060] Obtain the network element names within the new block;

[0061] The automatic dialing test system service interface is invoked, and the network element name in the new block is passed into the automatic dialing test system service interface. The automatic dialing test system service interface is used to perform dialing test tasks based on the network element name.

[0062] Receive the test results returned by the automatic dialing test system service interface, and send the test results to the dialing test system.

[0063] The process of smart contract testing can be as follows: obtain the network element name stored in the newly added block of the blockchain where the device parameters have changed.

[0064] Then, the smart contract calls the automatic dialing test system service interface and passes the obtained network element name into the interface. The automatic dialing test system service interface is pre-set, and the function corresponding to this interface can call the corresponding dialing test method based on the network element name to perform dialing test on the network element.

[0065] After the automatic dial-up testing system service interface performs dial-up testing on the network element, it returns the test results to the smart contract.

[0066] Step 105: Obtain the test results returned by the smart contract and store the test results in the test result blockchain.

[0067] After the smart contract performs a test on the network element, it returns the result to the test system. Upon receiving the test result, the test system stores the result in the test result blockchain. The test result blockchain is pre-set and is used to store each test result.

[0068] One embodiment of this application shows the blockchain of the test results. Figure 3 As shown, a test result can be stored as a block. The contents of a block include the name of the network element being tested, the time, the test type, the test number, and the test result.

[0069] In the above-mentioned dial-up testing method, when a change in the parameters of a network element is detected, dial-up testing can be performed automatically, ensuring that the dial-up testing is timely and effective, realizing unmanned automatic dial-up testing management, improving the efficiency of dial-up testing, and ensuring the security and stability of the network; in addition, this application also implements blockchain storage of dial-up testing records to ensure the authenticity of the dial-up testing records.

[0070] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0071] Figure 4 This is a schematic diagram of a dialing test system provided in an embodiment of the present invention. The dialing test system is installed in a terminal device, such as... Figure 4 As shown, the display device for the above-mentioned image enhancement effect may include: an acquisition module 41, a traversal module 42, a first production block module 43, a calling module 44, and a second production block module 45;

[0072] Among them, the acquisition module 41 is used to acquire the current device parameter list of any network element in the network;

[0073] The traversal module 42 is used to traverse all blocks in the device parameter blockchain and determine whether the current device parameter list is stored in the device parameter blockchain. The device parameter blockchain is used to store the device parameter list of the network element.

[0074] The first block production module 43 is used to store the current device parameter list into the device parameter blockchain when the current device parameter list is not stored in the device parameter blockchain;

[0075] Module 44 is invoked in response to changes in the device parameter blockchain, and the smart contract is used to perform dialing tests on the network element.

[0076] The second block production module 45 is used to obtain the test results returned by the smart contract and store the test results in the test result blockchain.

[0077] Furthermore, the block includes the network element name and the hash value of the historical device parameter list.

[0078] The traversal module includes:

[0079] The name determination module is used to determine, for each block, whether the name of the network element in the block is the same as the name of the network element corresponding to the current device parameter list; if the name of the network element in the block is not the same as the name of the network element corresponding to the current device parameter list, it indicates that the current device parameter list is not stored in the block.

[0080] The hash value determination module is used to determine whether the hash value in the block is the same as the hash value in the current device parameter list when the network element name in the block is the same as the network element name corresponding to the current device parameter list; if the hash value in the block is different from the hash value in the current device parameter list, it indicates that the current device parameter list is not stored in the block.

[0081] The smart contract is specifically used for:

[0082] Obtain the network element names within the new block; call the automatic dialing test system service interface, and pass the network element names within the new block into the automatic dialing test system service interface, which is used to perform dialing test tasks based on the network element names; receive the dialing test results returned by the automatic dialing test system service interface, and send the dialing test results to the dialing test system.

[0083] Figure 4The image enhancement display device provided in the illustrated embodiment can be used to execute the technical solutions of the above-described method embodiments of this application. Its implementation principle and technical effects can be further referred to the relevant descriptions in the method embodiments.

[0084] This application provides a schematic diagram of the structure of a terminal device, which may include at least one processor and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute the dialing test method provided in the above-described method embodiment of this specification by calling the program instructions.

[0085] The aforementioned terminal device can be a smart electronic device such as a smartphone, tablet computer, or laptop computer. This embodiment does not limit the form of the aforementioned terminal device.

[0086] This application provides a computer-readable storage medium that stores computer instructions that cause the computer to execute the dialing test method provided in the above-described method embodiments of this specification.

[0087] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in connection with an instruction execution system, apparatus, or device.

[0088] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0089] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.

[0090] Computer program code for performing the operations described herein can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as "C" or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0091] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0092] In the description of the embodiments of the present invention, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this specification. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0093] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this specification, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0094] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this specification includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which the embodiments of this specification pertain.

[0095] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."

[0096] It should be noted that the terminals involved in the embodiments of this application may include, but are not limited to, personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.

[0097] In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0098] Furthermore, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0099] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0100] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.

Claims

1. A dialing test method, characterized in that, The method is applied to a dialing test system, and the method includes: Get the current device parameter list for any network element in the network; Traverse all blocks in the device parameter blockchain and determine whether the device parameter list at the current time is stored in the device parameter blockchain, where the device parameter blockchain is used to store the device parameter list of network elements. If the current device parameter list is not stored in the device parameter blockchain, the current device parameter list is stored in the device parameter blockchain. In response to changes in the device parameter blockchain, a smart contract is invoked, which is used to test the network element; Obtain the test results returned by the smart contract and store the test results in the test result blockchain.

2. The method according to claim 1, characterized in that, The block includes the network element name and the hash value of the historical device parameter list.

3. The method according to claim 2, characterized in that, The process of traversing all blocks in the device parameter blockchain and determining whether the current device parameter list is stored in the device parameter blockchain includes: For each block, determine 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 moment; If the name of the network element in the block is different from the name of the network element corresponding to the current device parameter list, it indicates that the current device parameter list is not stored in the block. If 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, determine whether the hash value in the block is the same as the hash value of the device parameter list at the current time. If the hash value within the block is different from the hash value of the device parameter list at the current moment, it indicates 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, The smart contract is specifically used for: Obtain the network element names within the blocks in the blockchain where the device parameters have changed; The network element name is passed to the automatic dial-up testing system service interface, which is used to perform dial-up testing tasks based on the network element name. Receive the test results returned by the automatic dialing test system service interface, and send the test results to the dialing test system.

5. A dialing test system, installed in a terminal device, characterized in that, The dialing system includes: The acquisition module is used to obtain the current device parameter list of any network element in the network; The traversal module is used to traverse all blocks in the device parameter blockchain and determine whether the device parameter list at the current moment is stored in the device parameter blockchain. The device parameter blockchain is used to store the device parameter list of the network element. The first block generation module is used to store the current device parameter list into the device parameter blockchain when the current device parameter list is not stored in the device parameter blockchain. The calling module is used to call a smart contract in response to changes in the device parameter blockchain. The smart contract is used to test the network element. The second block generation module is used to obtain the test results returned by the smart contract and store the test results in the test result blockchain.

6. The system according to claim 5, characterized in that, The block includes the network element name and the hash value of the historical device parameter list.

7. The system according to claim 6, characterized in that, The traversal module includes: The name determination module is used to determine, for each block, whether the name of the network element in the block is the same as the name of the network element corresponding to the current device parameter list; if the name of the network element in the block is not the same as the name of the network element corresponding to the current device parameter list, it indicates that the current device parameter list is not stored in the block. The hash value determination module is used to determine whether the hash value in the block is the same as the hash value in the current device parameter list when the network element name in the block is the same as the network element name corresponding to the current device parameter list; if the hash value in the block is different from the hash value in the current device parameter list, it indicates that the current device parameter list is not stored in the block.

8. The system according to claim 5, characterized in that, The smart contract is specifically used for: Obtain the network element name in the block where the device parameters have changed in the blockchain; call the automatic dialing test system service interface, and pass the network element name to the automatic dialing test system service interface, which is used to perform dialing test tasks based on the network element name; receive the dialing test result returned by the automatic dialing test system service interface, and send the dialing test result to the dialing test system.

9. A terminal device, characterized in that, include: At least one processor; as well as At least one memory communicatively connected to the processor, wherein: The memory stores program instructions that can be executed by the processor, and the processor can execute the method as described in any one of claims 1 to 4 by calling the program instructions.

10. A computer-readable storage medium storing computer instructions, characterized in that, The computer instructions cause the computer to perform the method as described in any one of claims 1 to 4.