CN110505649B - Automatic testing method and system - Google Patents

Automatic testing method and system Download PDF

Info

Publication number
CN110505649B
CN110505649B CN201810474788.8A CN201810474788A CN110505649B CN 110505649 B CN110505649 B CN 110505649B CN 201810474788 A CN201810474788 A CN 201810474788A CN 110505649 B CN110505649 B CN 110505649B
Authority
CN
China
Prior art keywords
base station
signaling
decoding
mobile terminal
testing
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.)
Active
Application number
CN201810474788.8A
Other languages
Chinese (zh)
Other versions
CN110505649A (en
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810474788.8A priority Critical patent/CN110505649B/en
Publication of CN110505649A publication Critical patent/CN110505649A/en
Application granted granted Critical
Publication of CN110505649B publication Critical patent/CN110505649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic

Abstract

The embodiment of the invention provides an automatic testing method and system, wherein the method comprises the following steps: the testing tool initializes the automatic testing system, starts a signaling tracking function of the testing tool, and performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information; the test tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling; if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling; the test tool outputs the result of the accuracy evaluation in a target state. Therefore, the problem of low problem positioning and testing efficiency is solved, and the beneficial effects of improving the problem positioning efficiency and the testing efficiency are achieved.

Description

Automatic testing method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an automated testing method and system.
Background
For an LTE (Long Term Evolution) communication network, the performance of the system may be determined through system testing. The system test mainly passes the test at the base station side and the mobile terminal side.
In the prior art, there are two schemes for performing a test on a base station side and a mobile terminal side at the same time. The first scheme is that the test is carried out through two test tools respectively arranged on two computers, wherein one test tool is used for tracking the signaling information of the base station side and testing according to the signaling information of the base station side, the other test tool is used for tracking the signaling information of the mobile terminal side, and if a time difference exists between the two computers, the signaling information of the mobile terminal side is tracked again after the time of the two computers is aligned, and the test is carried out; the second scheme is to test through two testing tools installed on the same computer, wherein one testing tool is used for tracking the base station side signaling information and testing according to the base station side signaling information, and the other testing tool is used for tracking the mobile terminal side signaling information and testing according to the mobile terminal side signaling information.
It can be seen that the time required to align the two computers for the first solution results in inefficient testing and problem location; in addition, the first scheme and the second scheme both adopt two testing tools, and the efficiency of testing and problem positioning is low due to the fact that interface programming modes, interface modes and interface styles of the testing tools are different.
Disclosure of Invention
In view of the above, the present invention has been developed to provide an automated testing method and system that solve, or at least partially solve, the above-mentioned problems.
According to a first aspect of the present invention, there is provided an automated testing method applied to an automated testing system, the automated testing system comprising: the base station is connected to the testing computer through a network cable, the mobile terminal is connected to the testing computer through a universal serial bus, the testing computer integrates terminal decoding library information and base station decoding library information, and the method comprises the following steps:
the testing tool initializes the automatic testing system, starts a signaling tracking function of the testing tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information;
the testing tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling;
if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling;
the test tool outputs the result of the accuracy evaluation in a target state.
Optionally, after the step of starting the signaling tracking function, the method further includes:
and the testing tool displays first idle signaling information aiming at the base station and second idle signaling information aiming at the mobile terminal on the first interface.
Optionally, the method further comprises:
if the target interface does not obtain the target signaling information, the testing tool detects whether the objects to which the base station and the mobile terminal belong operate normally or not in an initial state;
and if the objects to which the base station and the mobile terminal belong operate normally, the testing tool retests the objects to which the base station and the mobile terminal belong.
Optionally, the method further comprises:
and if the objects to which the base station and the mobile terminal belong operate abnormally, the testing tool performs the abnormal processing on the objects to which the base station and the mobile terminal belong, and then performs retesting on the objects to which the base station and the mobile terminal belong.
Optionally, after the step of starting the signaling tracking function of the test tool and performing signaling tracking on the base station and the mobile terminal, the method further includes:
the test tool displays the base station decoding signaling and the terminal decoding signaling on a preset first interface;
and/or the test tool saves the base station decoding signaling and the terminal decoding signaling to a preset position.
According to a second aspect of the present invention, there is provided an automated test system comprising: the base station is connected to the testing computer through a network cable, the mobile terminal is connected to the testing computer through a universal serial bus, the testing computer integrates terminal decoding library information and base station decoding library information, and the testing tool comprises:
the initialization module is used for initializing the automatic test system, starting a signaling tracking function of the test tool, and respectively tracking the signaling of the base station and the signaling of the mobile terminal to obtain base station signaling information and terminal signaling information;
the signaling decoding module is used for decoding the base station signaling information through the base station decoding base information and decoding the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling;
the first test module is used for running a test script in an initial state if a target interface acquires target signaling information, and evaluating the accuracy of the base station decoding signaling and the terminal decoding signaling;
and the result output module is used for outputting the result of the accuracy evaluation in the target state.
Optionally, the system further comprises:
and the first display module is used for displaying the first idle signaling information aiming at the base station and the second idle signaling information aiming at the mobile terminal on the first interface.
Optionally, the system further comprises:
the test object detection module is used for detecting whether the objects to which the base station and the mobile terminal belong operate normally in an initial state if the target interface does not obtain the target signaling information;
and the second testing module is used for retesting the objects to which the base station and the mobile terminal belong if the objects to which the base station and the mobile terminal belong operate normally.
Optionally, the system further comprises:
and the third testing module is used for retesting the objects to which the base station and the mobile terminal belong after performing exception processing on the objects to which the base station and the mobile terminal belong if the objects to which the base station and the mobile terminal belong operate abnormally.
Optionally, the system further comprises:
the second display module is used for displaying the base station decoding signaling and the terminal decoding signaling on a preset first interface;
and/or, a signaling storage module, configured to store the base station decoded signaling and the terminal decoded signaling to a preset location.
The embodiment of the invention has the following advantages:
according to the automatic test method and the system, the test tool initializes the automatic test system, starts a signaling tracking function of the test tool, and respectively tracks the signaling of the base station and the mobile terminal to obtain base station signaling information and terminal signaling information; the test tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling; if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling; the test tool outputs the result of the accuracy evaluation in a target state. Therefore, the problem of low problem positioning and testing efficiency is solved, and the beneficial effects of improving the problem positioning efficiency and the testing efficiency are achieved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating the steps of a first embodiment of an automated testing method according to the present invention;
FIG. 1A shows a display interface schematic of an automated test of the present invention;
FIG. 2 is a flow chart illustrating the steps of an embodiment of an automated testing method according to the present invention;
FIG. 3 is a block diagram of a third embodiment of an automated test system according to the present invention;
FIG. 4 is a block diagram of a fourth embodiment of an automated test system according to the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating a first step of an automated testing method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, the testing tool initializes the automatic testing system, starts a signaling tracking function of the testing tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information.
The embodiment of the invention is applied to the system shown in figure 3, and the system carries out automatic test on the communication network according to the signaling information of the base station side and the signaling information of the mobile terminal side.
Specifically, initializing the automated test system includes at least, but is not limited to: the parameters used for the test are set, for example, the number of test cycles is set to 0.
By default, the signaling trace function of the test tool is in an off state, and when the test is ready to begin, the signaling trace function is turned on. The testing tool is a software application and is installed in the testing computer.
In practical applications, preparation work is required before testing. For example, a test tool is installed on a test computer, a mobile terminal is connected to the test computer through a USB (Universal Serial Bus) interface, a base station is connected to the test computer through a network cable, it is ensured that a communication network to which the base station and the mobile terminal belong operates normally, required service data is prepared, and a test script is prepared on the test computer.
And 102, the testing tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling.
The testing tool provided by the embodiment of the invention is carried out on the basis of an Automatic Test Platform (ATP) of a base station, and the information of a terminal decoding library is integrated on the ATP of the base station, so that the signaling information at two sides of the base station and the mobile terminal can be tested by the same testing tool. The ATP of the base station can decode signaling information of the base station, the agent programs of terminal identification and signaling decoding identify and decode signaling of the mobile terminal, the drive test terminal control can simultaneously track the signaling information of the two sides of the base station and the mobile terminal, and the display control can control the signaling information of the base station and the mobile terminal to be displayed on a corresponding area of the first interface.
Step 103, if the target interface obtains the target signaling information, the test tool runs the test script in the initial state to perform accuracy evaluation on the base station decoding signaling and the terminal decoding signaling.
In the embodiment of the present invention, the target interface is a preset interface, and the target signaling information may be IMS (IP Multimedia Subsystem) signaling information of a Voice over Long Term Evolution (LTE) service, where the IP is an abbreviation of Internet Protocol.
In the embodiment of the invention, the number of cycles is 0 during initialization, and 1 is added during one cycle.
It can be understood that the test script is a code file for testing, and the implementation logic of the test script may be set according to an actual application scenario, and may be written for developers or maintainers, which is not limited in the embodiment of the present invention.
Step 104, the test tool outputs the result of the accuracy evaluation in a target state.
The embodiment of the invention can automatically test the performance of the communication network through the signaling information of the base station and the mobile terminal side.
In the embodiment of the present invention, the target state is a state in which the number of cycles is 1 with respect to the initial state.
In practical application, the result of the automatic test can be further analyzed to obtain a preliminary problem reason, so that the problem positioning efficiency and the test efficiency can be improved.
In the embodiment of the invention, a test tool initializes the automatic test system, starts a signaling tracking function of the test tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information; the test tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling; if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling; the test tool outputs the result of the accuracy evaluation in a target state. Therefore, the problem of low problem positioning and testing efficiency is solved, and the beneficial effects of improving the problem positioning efficiency and the testing efficiency are achieved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of an automated testing method according to the present invention is shown, which may specifically include the following steps:
step 201, the testing tool initializes the automatic testing system, starts a signaling tracking function of the testing tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information.
The method of the embodiment of the invention is suitable for the automatic test system shown in FIG. 4.
This step can refer to the detailed description of step 101, and is not described herein again.
Step 202, the testing tool decodes the base station signaling information through the base station decoding library information, and decodes the terminal signaling information through the terminal decoding library information to obtain a base station decoding signaling and a terminal decoding signaling.
This step can refer to the detailed description of step 102, and is not described herein again.
Step 203, the testing tool displays the first idle signaling information for the base station and the second idle signaling information for the mobile terminal on the first interface.
As shown in fig. 1A, which is a schematic view of the first interface, it can be seen that the first interface is divided into several regions, including: the system comprises a drive test terminal message area, a message tracking area, a new flow chart window area, a use case execution area, a terminal agent area, a parameter data area and an ATP message output window area. The system comprises a drive test terminal, a message tracking area, a new flow chart window area, a test case execution area, a terminal agent area, an ATP message output window area and a high-level base station side, wherein the drive test terminal message area displays terminal side signaling information, the message tracking area displays bottom layer and high-level base station side signaling information before analysis, the new flow chart window area displays analyzed high-level base station side signaling information, the case execution area displays test case execution results, the terminal agent area displays high-level terminal side signaling information before analysis, parameter data display parameter data, and the ATP message output window area displays terminal side signaling flow and event information.
It can be understood that the first idle signaling information is displayed in the message tracking area and the new flowchart window area, and the second idle signaling information is displayed in the drive test terminal message area and the terminal agent area.
The first idle signaling information is idle signaling set by a communication network when the signaling of the base station side is sent, and the second idle signaling information is idle signaling set by the communication network when the signaling of the mobile terminal side is sent. It can be understood that the specific format of the first idle signaling and the second idle signaling may be set according to an actual communication network protocol, and the embodiment of the present invention does not limit the format.
And step 204, the test tool displays the base station decoding signaling and the terminal decoding signaling on a preset first interface.
Specifically, firstly, the mobile terminal is controlled to carry out dial testing; then, the signaling tracks the signaling information of the function tracking base station and the mobile terminal; and finally, decoding the signaling information of the base station, decoding the signaling information of the mobile terminal through the terminal decoding library information, and displaying the decoded signaling information on a first interface.
As shown in the first interface of fig. 1A, the signaling information of the mobile terminal is displayed in the drive test terminal message area. It can be seen that the area sequentially displays the terminal name, the time corresponding to the signaling information, the sequence identifier, the version number of the mobile terminal, the system code of the mobile terminal, the protocol type, the type of the signaling information, and the signaling sending direction. The signaling information of the base station is displayed in the message tracking area and the new flowchart window area.
It can be understood that, when the signaling information is displayed, the related information to be displayed may be set according to an actual application scenario and an actual requirement, for example, for a mobile terminal, the terminal name, the time corresponding to the signaling information, the sequence identifier, the version number of the mobile terminal, the system code of the mobile terminal, the protocol type, the signaling information type, and the signaling sending direction are all related information of the signaling information of the base station.
Step 205, storing the base station decoding signaling and the terminal decoding signaling to a preset position.
The preset position can be a designated position on the test computer or a designated position on the remote machine.
The embodiment of the invention can store the signaling information to the preset position, thereby helping to position the problem and further improving the efficiency of problem positioning.
And step 206, if the target interface acquires the target signaling information, running a test script in an initial state, and performing accuracy evaluation on the base station decoding signaling and the terminal decoding signaling.
This step can refer to the detailed description of step 103, which is not repeated herein.
Step 207, if there is no target interface to obtain the target signaling information, the testing tool detects whether the objects to which the base station and the mobile terminal belong operate normally in the initial state.
In the embodiment of the present invention, a target interface may be configured in advance to obtain target information.
Specifically, development or maintenance personnel can manually detect whether each part of the communication network is normal, and if all parts of the communication network are normal, the communication network is normal; if at least one part of the communication network is abnormal, the communication network is indicated to be abnormal in operation.
And 208, if the objects to which the base station and the mobile terminal belong operate normally, the testing tool retests the objects to which the base station and the mobile terminal belong.
In the embodiment of the invention, when the communication network operates abnormally, the communication network is tested again.
Specifically, the test may be performed by the steps of steps 101 to 104.
Step 209, if the objects to which the base station and the mobile terminal belong operate abnormally, the testing tool performs the retest on the objects to which the base station and the mobile terminal belong after performing the abnormal processing on the objects to which the base station and the mobile terminal belong.
It can be understood that the operation abnormality of the object to which the base station and the mobile terminal belong may be base station abnormality, core network abnormality, and the like of the communication network, and the embodiment of the present invention does not limit the operation abnormality.
In the embodiment of the invention, if the communication network is determined to be abnormal in operation, the retest is carried out after the abnormality is manually processed.
Wherein the retesting can be performed by steps 101 to 104.
Step 210, the test tool outputs the result of the accuracy evaluation in a target state.
This step can refer to the detailed description of step 104, and will not be described herein.
In the embodiment of the invention, a test tool initializes the automatic test system, starts a signaling tracking function of the test tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information; the test tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling; if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling; the test tool outputs the result of the accuracy evaluation in a target state. Therefore, the problem of low problem positioning and testing efficiency is solved, and the beneficial effects of improving the problem positioning efficiency and the testing efficiency are achieved. In addition, the signaling information obtained by tracking can be displayed and/or stored, and the problem positioning efficiency and the test efficiency are further improved.
EXAMPLE III
Referring to fig. 3, a block diagram of a third embodiment of an automated testing system according to the present invention is shown, the system including: a testing computer 301, a base station 302, a mobile terminal 303, and a testing tool 304 installed on the testing computer 301, wherein the base station 302 accesses the testing computer 301 through a network cable, the mobile terminal 303 accesses the testing computer 301 through a universal serial bus, the testing computer 301 integrates terminal decoding library information and base station decoding library information, and the testing tool 304 may include the following modules:
an initialization module 3041, configured to initialize the automatic test system, start a signaling tracking function of the test tool 304, and perform signaling tracking on the base station 302 and the mobile terminal 303 respectively to obtain base station signaling information and terminal signaling information.
A signaling decoding module 3042, configured to decode the base station signaling information through the base station decoding library information, and decode the terminal signaling information through the terminal decoding library information, so as to obtain a base station decoding signaling and a terminal decoding signaling.
The first testing module 3043 is configured to run a testing script in an initial state if the target interface obtains the target signaling information, and perform accuracy evaluation on the base station decoded signaling and the terminal decoded signaling.
A result output module 3044 for outputting the result of the accuracy evaluation in the target state.
In the embodiment of the invention, a test tool initializes the automatic test system, starts a signaling tracking function of the test tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information; the test tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling; if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling; the test tool outputs the result of the accuracy evaluation in a target state. Therefore, the problem of low problem positioning and testing efficiency is solved, and the beneficial effects of improving the problem positioning efficiency and the testing efficiency are achieved.
Example four
Referring to fig. 4, a block diagram of a fourth embodiment of an automated testing system according to the present invention is shown, the system including: a testing computer 401, a base station 402, a mobile terminal 403, and a testing tool 404 installed on the testing computer 401, wherein the base station 402 accesses the testing computer 401 through a network cable, the mobile terminal 403 accesses the testing computer 401 through a universal serial bus, the testing computer 401 integrates terminal decoding library information and base station decoding library information, and the testing tool 404 may include the following modules:
an initialization module 40401, configured to initialize the automatic test system, start a signaling tracking function of the test tool 404, and perform signaling tracking on the base station 402 and the mobile terminal 403 respectively to obtain base station signaling information and terminal signaling information.
A signaling decoding module 40402, configured to decode the base station signaling information through the base station decoding library information, and decode the terminal signaling information through the terminal decoding library information, so as to obtain a base station decoding signaling and a terminal decoding signaling.
A first display module 40403, configured to display the first idle signaling information for the base station 402 and the second idle signaling information for the mobile terminal 403 on the first interface.
A second display module 40404, configured to display the base station decoding signaling and the terminal decoding signaling on a preset first interface;
a signaling storage module 40405, configured to store the base station decoded signaling and the terminal decoded signaling to a preset location.
The first testing module 40406 is configured to run a testing script in an initial state if the target interface acquires the target signaling information, and perform accuracy evaluation on the base station decoded signaling and the terminal decoded signaling.
The test object detecting module 40407 is configured to detect, in an initial state, whether an object to which the base station 402 and the mobile terminal 403 belong operates normally if the target interface does not obtain the target signaling information.
A second testing module 40408, configured to perform retesting on the objects to which the base station 402 and the mobile terminal 403 belong if the objects to which the base station 402 and the mobile terminal 403 belong operate normally.
A third testing module 40409, configured to perform exception handling on the objects to which the base station 402 and the mobile terminal 403 belong and then perform retesting on the objects to which the base station 402 and the mobile terminal 403 belong if the objects to which the base station 402 and the mobile terminal 403 belong operate abnormally.
A result output module 40410, configured to output a result of the accuracy evaluation in a target state.
In the embodiment of the invention, a test tool initializes the automatic test system, starts a signaling tracking function of the test tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information; the test tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling; if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling; the test tool outputs the result of the accuracy evaluation in a target state. Therefore, the problem of low problem positioning and testing efficiency is solved, and the beneficial effects of improving the problem positioning efficiency and the testing efficiency are achieved. In addition, the signaling information obtained by tracking can be displayed and/or stored, and the problem positioning efficiency and the test efficiency are further improved.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with this teaching. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an automated test equipment according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several systems, several of these systems may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. An automated testing method is applied to an automated testing system, and is characterized in that the automated testing system comprises: the base station is connected to the testing computer through a network cable, the mobile terminal is connected to the testing computer through a universal serial bus, the testing computer integrates terminal decoding library information and base station decoding library information, and the method comprises the following steps:
the testing tool initializes the automatic testing system, starts a signaling tracking function of the testing tool, and respectively performs signaling tracking on the base station and the mobile terminal to obtain base station signaling information and terminal signaling information;
the testing tool decodes the base station signaling information through the base station decoding base information and decodes the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling;
if the target interface acquires the target signaling information, the test tool runs a test script in an initial state to evaluate the accuracy of the base station decoding signaling and the terminal decoding signaling;
the test tool outputs the result of the accuracy evaluation in a target state.
2. The method of claim 1, further comprising, after the step of turning on the signaling tracking function:
and the testing tool displays first idle signaling information aiming at the base station and second idle signaling information aiming at the mobile terminal on a first interface.
3. The method of claim 1, further comprising:
if the target interface does not obtain the target signaling information, the testing tool detects whether the objects to which the base station and the mobile terminal belong operate normally or not in an initial state;
if the objects to which the base station and the mobile terminal belong operate normally, the testing tool retests the objects to which the base station and the mobile terminal belong;
and the objects to which the base station and the mobile terminal belong are communication networks to which the base station and the mobile terminal belong.
4. The method of claim 3, further comprising:
and if the objects to which the base station and the mobile terminal belong operate abnormally, the testing tool performs the abnormal processing on the objects to which the base station and the mobile terminal belong, and then performs retesting on the objects to which the base station and the mobile terminal belong.
5. The method according to claim 1, wherein after the step of starting the signaling tracing function of the test tool and performing signaling tracing on the base station and the mobile terminal, the method further comprises:
the test tool displays the base station decoding signaling and the terminal decoding signaling on a preset first interface;
and/or the test tool saves the base station decoding signaling and the terminal decoding signaling to a preset position.
6. An automated test system, comprising: the base station is connected to the testing computer through a network cable, the mobile terminal is connected to the testing computer through a universal serial bus, the testing computer integrates terminal decoding library information and base station decoding library information, and the testing tool comprises:
the initialization module is used for initializing the automatic test system, starting a signaling tracking function of the test tool, and respectively tracking the signaling of the base station and the signaling of the mobile terminal to obtain base station signaling information and terminal signaling information;
the signaling decoding module is used for decoding the base station signaling information by the test tool through the base station decoding base information and decoding the terminal signaling information through the terminal decoding base information to obtain a base station decoding signaling and a terminal decoding signaling;
the first test module is used for running a test script in an initial state if a target interface acquires target signaling information, and evaluating the accuracy of the base station decoding signaling and the terminal decoding signaling;
and the result output module is used for outputting the result of the accuracy evaluation in the target state.
7. The system of claim 6, further comprising:
and the first display module is used for displaying the first idle signaling information aiming at the base station and the second idle signaling information aiming at the mobile terminal on a first interface.
8. The system of claim 6, further comprising:
the test object detection module is used for detecting whether the objects to which the base station and the mobile terminal belong operate normally in an initial state if the target interface does not obtain the target signaling information;
the second testing module is used for retesting the objects to which the base station and the mobile terminal belong if the objects to which the base station and the mobile terminal belong operate normally;
and the objects to which the base station and the mobile terminal belong are communication networks to which the base station and the mobile terminal belong.
9. The system of claim 8, further comprising:
and the third testing module is used for retesting the objects to which the base station and the mobile terminal belong after performing exception processing on the objects to which the base station and the mobile terminal belong if the objects to which the base station and the mobile terminal belong operate abnormally.
10. The system of claim 6, further comprising:
the second display module is used for displaying the base station decoding signaling and the terminal decoding signaling on a preset first interface;
and/or, a signaling storage module, configured to store the base station decoded signaling and the terminal decoded signaling to a preset location.
CN201810474788.8A 2018-05-17 2018-05-17 Automatic testing method and system Active CN110505649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810474788.8A CN110505649B (en) 2018-05-17 2018-05-17 Automatic testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810474788.8A CN110505649B (en) 2018-05-17 2018-05-17 Automatic testing method and system

Publications (2)

Publication Number Publication Date
CN110505649A CN110505649A (en) 2019-11-26
CN110505649B true CN110505649B (en) 2021-04-23

Family

ID=68584393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810474788.8A Active CN110505649B (en) 2018-05-17 2018-05-17 Automatic testing method and system

Country Status (1)

Country Link
CN (1) CN110505649B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437260A (en) * 2007-11-12 2009-05-20 中兴通讯股份有限公司 System and method for automatization test of WCDMA physical layer
CN103987078A (en) * 2014-04-04 2014-08-13 京信通信系统(中国)有限公司 Base station physical layer test method and system
CN105101278A (en) * 2015-06-26 2015-11-25 武汉虹信通信技术有限责任公司 Method and system for testing consistency of FDD-LTE base station
CN105760296A (en) * 2016-01-21 2016-07-13 深圳市同创国芯电子有限公司 Automation testing control method, device and terminal
CN106933734A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 A kind of physical layer software automated testing method and device
CN106937303A (en) * 2015-12-30 2017-07-07 中国移动通信集团河南有限公司 A kind of base station test method and system, terminal, Cloud Server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7596778B2 (en) * 2003-07-03 2009-09-29 Parasoft Corporation Method and system for automatic error prevention for computer software
US8065128B1 (en) * 2003-10-23 2011-11-22 Altera Corporation Methods and apparatus for automated testbench generation
US9898392B2 (en) * 2016-02-29 2018-02-20 Red Hat, Inc. Automated test planning using test case relevancy
US10289535B2 (en) * 2016-05-31 2019-05-14 Accenture Global Solutions Limited Software testing integration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437260A (en) * 2007-11-12 2009-05-20 中兴通讯股份有限公司 System and method for automatization test of WCDMA physical layer
CN103987078A (en) * 2014-04-04 2014-08-13 京信通信系统(中国)有限公司 Base station physical layer test method and system
CN105101278A (en) * 2015-06-26 2015-11-25 武汉虹信通信技术有限责任公司 Method and system for testing consistency of FDD-LTE base station
CN106933734A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 A kind of physical layer software automated testing method and device
CN106937303A (en) * 2015-12-30 2017-07-07 中国移动通信集团河南有限公司 A kind of base station test method and system, terminal, Cloud Server
CN105760296A (en) * 2016-01-21 2016-07-13 深圳市同创国芯电子有限公司 Automation testing control method, device and terminal

Also Published As

Publication number Publication date
CN110505649A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110347085B (en) Automated test system, method, vehicle, and computer-readable medium
CN105589805B (en) Method and device for generating code coverage rate report
CN105787364B (en) Automatic testing method, device and system for tasks
CN112650685B (en) Automatic test method, device, electronic equipment and computer storage medium
JP2008176793A (en) Software test system, method, and computer-readable recording medium having program stored for executing this method
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN110704323B (en) Automatic data testing method and device based on rail transit line data
CN107193747B (en) Code testing method and device and computer equipment
US20150199258A1 (en) Conditional component breakpoint setting system and method
KR100758850B1 (en) Appaturus and method for test using test script in mobile communication system
CN110505649B (en) Automatic testing method and system
CN110990289B (en) Method and device for automatically submitting bug, electronic equipment and storage medium
CN109144874B (en) Method and device for monitoring test environment
CN109739760B (en) Code debugging test method and device and storage medium
CN113535580B (en) CTS test method, CTS test device and test equipment
CN104834586A (en) Automatic test method, device and system of Android interface
CN108536587A (en) A kind of automated testing method and system based on Appium
CN111061258B (en) Function testing method and device based on train control system
CN109299012A (en) A kind of test method, device and electronic equipment
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
CN107678967B (en) Unit test coverage rate generation method and device, readable storage medium and equipment
CN111679841A (en) Burning system, method and device of camera module
CN111752823A (en) Method, device and equipment for testing vehicle-mounted power supply application software
CN113360406B (en) Method and device for testing JSbridge method of application program
CN112702199A (en) Method and device for detecting activation state of equipment

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
GR01 Patent grant
GR01 Patent grant