Movatterモバイル変換


[0]ホーム

URL:


CN110601915A - Method and device for testing gateway device - Google Patents

Method and device for testing gateway device
Download PDF

Info

Publication number
CN110601915A
CN110601915ACN201910740723.8ACN201910740723ACN110601915ACN 110601915 ACN110601915 ACN 110601915ACN 201910740723 ACN201910740723 ACN 201910740723ACN 110601915 ACN110601915 ACN 110601915A
Authority
CN
China
Prior art keywords
test
equipment
testing
tested
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910740723.8A
Other languages
Chinese (zh)
Inventor
袁良伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tongwei Communication Technology Co Ltd
Original Assignee
Shenzhen Tongwei Communication Technology 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 Shenzhen Tongwei Communication Technology Co LtdfiledCriticalShenzhen Tongwei Communication Technology Co Ltd
Priority to CN201910740723.8ApriorityCriticalpatent/CN110601915A/en
Publication of CN110601915ApublicationCriticalpatent/CN110601915A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The application is applicable to the technical field of communication, and provides a method and a device for testing gateway equipment, wherein the method comprises the following steps: acquiring test request information; configuring test environment information of the gateway equipment to be tested based on the test request information; determining a test script corresponding to the to-be-tested function information and equipment identification information of the test equipment based on the test request information; and determining an execution result of the test script based on the equipment identification information and the test script. According to the scheme, the testing environment of the gateway equipment to be tested is automatically configured, the corresponding testing script is sent to the execution equipment according to different testing functions, the gateway equipment to be tested is tested, the testing efficiency of the gateway equipment is improved, and resources are saved.

Description

Method and device for testing gateway device
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and an apparatus for testing a gateway device.
Background
Gateway (Gateway) devices, also known as internetwork connectors, protocol converters, are computer systems or devices that provide data conversion services between multiple networks. A gateway device can be said to be a connector between different networks, i.e. a device that "negotiates" when data is to be passed from one network to another. At present, in order to ensure the quality of the gateway device, a corresponding function test needs to be performed on the gateway device. However, the existing automated testing method needs to operate on the server by an operator to run the next test item until all the item tests of the gateway device are completed, which results in low testing efficiency and high testing cost.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and a device for testing a gateway device, so as to solve the problems of low testing efficiency and high testing cost in the prior art.
A first aspect of an embodiment of the present application provides a method for testing a gateway device, including:
acquiring test request information; the test request information comprises identification information of the gateway equipment to be tested and function information to be tested;
configuring test environment information of the gateway equipment to be tested based on the test request information;
determining a test script corresponding to the to-be-tested function information and equipment identification information of the test equipment based on the test request information;
determining an execution result of the test script based on the equipment identification information and the test script; the test script is used for instructing the test equipment to test the gateway equipment in the test environment based on the test script.
Further, the determining an execution result of the test script based on the device identification information and the test script includes:
sending the test script to the test device based on the device identification information;
and receiving the execution result of the test script sent by the test equipment.
Further, the determining an execution result of the test script based on the device identification information and the test script includes:
and when the test equipment corresponding to the equipment identification information is the home terminal, testing the gateway equipment based on the test script to obtain an execution result of the test script.
Further, the obtaining of the test request information includes:
and generating test request information when detecting that the gateway equipment to be tested is firstly connected with the automatic configuration server ACS through the local area network.
Further, the configuring the testing environment of the gateway device to be tested based on the testing request information includes:
determining a configuration environment request based on the test request information; wherein the configuration environment request is used for triggering the gateway device to be tested to modify the testing environment information; the configuration environment request comprises a test environment modification policy;
and sending the configuration environment request to the ACS, and triggering the ACS to send the configuration environment request to the gateway equipment to be tested when the ACS receives the configuration environment request.
Further, the determining a configuration environment request based on the test request information includes:
when the test request information identifies that the test type is a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a wide area network connection.
Further, the determining a configuration environment request based on the test request information includes:
when the test request information identifies that the test type is not a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a local area network connection.
Further, after the obtaining the test request information, the method further includes:
and when the gateway equipment to be tested is not in the online state, prompting a user and stopping testing.
A second aspect of the embodiments of the present application provides a testing apparatus for a gateway device, including:
an acquisition unit configured to acquire test request information; the test request information comprises identification information of the gateway equipment to be tested and function information to be tested;
the configuration unit is used for configuring the test environment information of the gateway equipment to be tested based on the test request information;
a first determining unit, configured to determine, based on the test request information, a test script corresponding to the to-be-tested function information and device identification information of the test device;
a second determining unit, configured to determine an execution result of the test script based on the device identification information and the test script; the test script is used for instructing the test equipment to test the gateway equipment in the test environment based on the test script.
Further, the second determining unit is specifically configured to:
sending the test script to the test device based on the device identification information;
and receiving the execution result of the test script sent by the test equipment.
Further, the second determining unit is specifically configured to:
and when the test equipment corresponding to the equipment identification information is the home terminal, testing the gateway equipment based on the test script to obtain an execution result of the test script.
Further, the obtaining unit is specifically configured to:
and generating test request information when detecting that the gateway equipment to be tested is firstly connected with the automatic configuration server ACS through the local area network.
Further, the configuration unit includes:
a third determination unit configured to determine a configuration environment request based on the test request information; wherein the configuration environment request is used for triggering the gateway device to be tested to modify the testing environment information; the configuration environment request comprises a test environment modification policy;
and the sending unit is used for sending the configuration environment request to the ACS and triggering the ACS to send the configuration environment request to the gateway equipment to be tested when the ACS receives the configuration environment request.
Further, the third determining unit is specifically configured to:
when the test request information identifies that the test type is a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a wide area network connection.
Further, the third determining unit is specifically configured to:
when the test request information identifies that the test type is not a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a local area network connection.
Further, the testing apparatus of the gateway device further includes:
and the processing unit is used for prompting a user and stopping testing when the gateway equipment to be tested is not in an online state.
A third aspect of embodiments of the present application provides a testing device for a gateway device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the testing method for a gateway device according to the first aspect are implemented.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the method for testing a gateway device according to the first aspect.
In the embodiment of the application, test request information is obtained; configuring test environment information of the gateway equipment to be tested based on the test request information; determining a test script corresponding to the to-be-tested function information and equipment identification information of the test equipment based on the test request information; and determining an execution result of the test script based on the equipment identification information and the test script. According to the scheme, the testing environment of the gateway equipment to be tested is automatically configured, the corresponding testing script is sent to the execution equipment according to different testing functions, the gateway equipment to be tested is tested, the testing efficiency of the gateway equipment is improved, and resources are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a testing method for a gateway device according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a connection manner between devices during testing in a testing method for a gateway device according to a first embodiment of the present application;
fig. 3 is a schematic flowchart of a refinement of S104 in a testing method of a gateway device according to a first embodiment of the present application;
fig. 4 is a schematic flowchart of another testing method for a gateway device according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a testing apparatus of a gateway device according to a third embodiment of the present application;
fig. 6 is a schematic diagram of a testing device of a gateway device according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a schematic flow chart of a testing method of a gateway device according to a first embodiment of the present invention. The main execution body of the testing method of the gateway device in this embodiment is a device having the testing function of the gateway device, for example, a desktop computer, a notebook computer, and the like. The testing method of the gateway device shown in fig. 1 may include:
s101: acquiring test request information; the test request information comprises identification information of the gateway equipment to be tested and function information to be tested.
Gateway (Gateway) devices, also known as internetwork connectors, protocol converters, are computer systems or devices that provide data conversion services between multiple networks. A gateway device can be said to be a connector between different networks, i.e. a device that "negotiates" when data is to be passed from one network to another. At present, in order to ensure the quality of the gateway device, a corresponding function test needs to be performed on the gateway device. The device acquires the test request information, wherein the device may acquire the test request information through an operation instruction input by a user on the device, or may acquire the test request information by receiving test request information sent by other devices. The test request information is used for triggering the testing of the gateway equipment to be tested, and the test request information comprises the identification information of the gateway equipment to be tested and the function information to be tested. The function information to be tested identifies the test type of the test, such as testing the wireless connection function, testing the function of the virtual server, and the like.
Further, in order to automatically trigger the testing of the gateway device to be tested when the gateway device is connected for the first time, S101 may include: and generating test request information when detecting that the gateway equipment to be tested is firstly connected with the automatic configuration server ACS through the local area network.
In this embodiment, a TR069 protocol is used to test a gateway device, wherein TR069, named Technical Report-069, is published in may 2004 by Technical standards organization of DSL Forum (hereinafter referred to as Broadband Forum), and is a communication protocol for remotely controlling a user terminal device developed in cwmp (cpe WAN Management protocol). TR069 is a communication protocol for communication between a hardware CPE physically located in a user plane and an Auto-Configuration Server (ACS). The ACS is responsible for managing the end devices CPE in the TR069 protocol network architecture. The CPE is a gateway device to be tested in this embodiment, and can complete necessary actions of initialization and operation management, such as service activation, function setting, file uploading and downloading, system detection, and the like, by means of this agreement.
During testing, each device needs to be connected according to a preset connection mode, the connection mode is as shown in fig. 2, a public network or a test network is accessed to a route management device Router, the public network is configured and connected, and an IP of a network segment completely different from that of the CPE is set; the local terminal equipment PC1 is provided with two wired network cards, one wired network card is connected to the LAN port of the CPE, the other wired network card is connected with the Switch, and a gateway-free fixed IP1 is arranged; the WiFi-PC is provided with a wireless network card for connecting with the CPE in the test process, the other wired network card is connected with the Switch, and a gateway-free IP2 is arranged; installing two wired network cards on the WAN-PC, wherein one wired network card is connected with the LAN side of the Router of the public network access device, the other wired network card is connected with the Switch, and a gateway-free IP3 is arranged; the ACS is configured with a TR069 server, and then three wired network cards are installed, wherein one wired network card is connected to the LAN side of the CPE, the other wired network card is connected to the LAN side of the Router of the public network access equipment, the last wired network card is connected with the Switch, and a gateway-free fixed IP4 is arranged; the IP1, the IP2, the IP3 and the IP4 of the PC1, the WiFi-PC, the WAN-PC and the ACS are in the same network segment. And when detecting that the gateway equipment to be tested is firstly connected with the automatic configuration server ACS through the local area network, generating test request information, wherein the test request information is used for triggering the test of the gateway equipment to be tested.
Further, in order to save system resources, after S101, the method may further include: and when the gateway equipment to be tested is not in the online state, prompting a user and stopping testing.
After the device starts to test, whether the gateway device to be tested is online, that is, whether the gateway device to be tested is in the network is detected, and when the device acquires that the gateway device to be tested is not in the online state, the gateway device to be tested may be in a fault or a connection problem, and the device prompts a user and stops testing.
S102: and configuring the test environment information of the gateway equipment to be tested based on the test request information.
The gateway equipment to be tested needs to test multiple functions when being tested, different testing environments need to be built when different tests are carried out on the gateway equipment to be tested, and the testing request information comprises identification information of the gateway equipment to be tested and function information to be tested. The device configures test environment information of the gateway device to be tested based on the test request information, where the test environment information of the gateway device to be tested is used to build a required test environment when testing the gateway device to be tested, for example, when testing the gateway device to be tested, a network connection mode of the gateway device to be tested, and the like.
S103: and determining a test script corresponding to the to-be-tested function information and equipment identification information of the test equipment based on the test request information.
When testing the gateway equipment to be tested, the gateway equipment needs to test multiple functions, test scripts corresponding to different tests are different, and the corresponding relation between the preset test function information and the preset script information is set in the equipment. The device can determine the test script corresponding to the function information to be tested based on the corresponding relationship among the function information to be tested, the preset test function information and the preset script information in the test request information.
Since testing the gateway device to be tested requires testing of multiple functions at the time of testing, different testing devices, such as the aforementioned PC1, WiFi-PC, WAN-PC, are required for different tests. And setting a corresponding relation between the preset test function information and the preset equipment identification information in the equipment. The device can determine the test device corresponding to the function information to be tested based on the corresponding relationship among the function information to be tested in the test request information, the preset test function information and the preset device identification information, and acquire the device identification information of the test device.
S104: determining an execution result of the test script based on the equipment identification information and the test script; the test script is used for instructing the test equipment to test the gateway equipment in the test environment based on the test script.
The device determines a test device executing the test script based on the device identification information, the test script is used for instructing the test device to test the gateway device in the test environment based on the test script, the device determines an execution result of the test script based on the test device and the test script, and the execution result can identify the test result.
In one embodiment, when the test device corresponding to the device identification information is a local terminal, to obtain an execution result of the local terminal, S104 may include: and when the test equipment corresponding to the equipment identification information is the home terminal, testing the gateway equipment based on the test script to obtain an execution result of the test script.
And when the test equipment corresponding to the equipment identification information is the home terminal and the running equipment representing the test script is the home terminal, the home terminal equipment tests the gateway equipment based on the test script to obtain an execution result of the test script.
In another embodiment, when the test device corresponding to the device identification information is not a local terminal, to obtain the execution result, S104 may include S1041 to S1042, as shown in fig. 3, where S1041 to S1042 specifically include the following:
s1041: and sending the test script to the test equipment based on the equipment identification information.
The device determines a test device based on the device identification information, the test device executes the test script to test the gateway device to be tested in the test environment, so the test script is sent to the test device, the test script is sent to the test device based on the device identification information, and when the test device receives the test script, the test script is executed, the test is started, and the execution result is obtained.
S1042: and receiving the execution result of the test script sent by the test equipment.
The equipment receives an execution result of the test script sent by the test equipment, wherein the execution result is an execution result obtained by the test equipment executing the test script. The test device returns an execution result through a HyperText transfer protocol (HTTP).
In the embodiment of the application, test request information is obtained; configuring test environment information of the gateway equipment to be tested based on the test request information; determining a test script corresponding to the to-be-tested function information and equipment identification information of the test equipment based on the test request information; and determining an execution result of the test script based on the equipment identification information and the test script. According to the scheme, the testing environment of the gateway equipment to be tested is automatically configured, the corresponding testing script is sent to the execution equipment according to different testing functions, the gateway equipment to be tested is tested, the testing efficiency of the gateway equipment is improved, and resources are saved.
Referring to fig. 4, fig. 4 is a schematic flowchart of another testing method for a gateway device according to a second embodiment of the present invention. The main execution body of the testing method of the gateway device in this embodiment is a device having the testing function of the gateway device, for example, a desktop computer, a notebook computer, and the like. In order to accurately configure a test environment for a gateway device to be tested, thereby improving the accuracy of the test, the present embodiment differs from the first embodiment in S202 to S203, where S201 in the present embodiment is the same as S101 in the first embodiment, S204 to S205 in the present embodiment are the same as S103 to S104 in the first embodiment, and S202 to S203 are refinements of S102 in the first embodiment. As shown in fig. 4, S202 to S203 are specifically as follows:
s202: determining a configuration environment request based on the test request information; wherein the configuration environment request is used for triggering the gateway device to be tested to modify the testing environment information; the configuration environment request includes a test environment modification policy.
The device determines a configuration environment request based on the test request information, wherein the configuration environment request is used for triggering the gateway device to be tested to modify the test environment information, and the configuration environment request comprises a test environment modification strategy. In this embodiment, the test environment modification policy is used to modify the test environment information of the gateway device to be detected.
Further, when the test request information identifies that the test type is a test for the TR069 protocol, to determine the configuration environment request, S202 may include: when the test request information identifies that the test type is a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a wide area network connection.
The equipment determines whether the test type is a test aiming at a TR069 protocol or not based on the test request information, and when the test type identified by the test request information is the test aiming at the TR069 protocol, the equipment determines that the test environment modification strategy included in the configuration environment request is to switch the current network connection into the wide area network connection and modify the relevant parameters into the parameters corresponding to the wide area network connection.
Further, when the test request information identifies that the test type is not a test for the TR069 protocol, to determine the configuration environment request, S202 may include: when the test request information identifies that the test type is not a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a local area network connection.
The equipment determines whether the test type is a test aiming at a TR069 protocol or not based on the test request information, determines that the test environment modification strategy included in the configuration environment request is to switch the current network connection to the local area network connection when the test request information identifies that the test type is not the test aiming at the TR069 protocol, and modifies related parameters to parameters corresponding to the local area network connection. It will be appreciated that if the current network connection is already a local area network connection, no adjustment is made to the network connection.
S203: and sending the configuration environment request to the ACS, and triggering the ACS to send the configuration environment request to the gateway equipment to be tested when the ACS receives the configuration environment request.
The method comprises the steps that the equipment sends a configuration environment request to the ACS and triggers the ACS to send the configuration environment request to the gateway equipment to be tested when the configuration environment request is received, the ACS sends a work order to the gateway equipment to be tested, namely, the ACS sends the configuration environment request to the gateway equipment to be tested, and the gateway equipment configures the test environment when receiving the configuration environment request.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 5, fig. 5 is a schematic view of a testing apparatus of a gateway device according to a third embodiment of the present application. The units are included for executing the steps in the embodiments corresponding to fig. 1, 3-4. Please refer to fig. 1, 3-4 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 5, the testing apparatus 5 of the gateway device includes:
an obtaining unit 510, configured to obtain test request information; the test request information comprises identification information of the gateway equipment to be tested and function information to be tested;
a configuration unit 520, configured to configure test environment information of the gateway device to be tested based on the test request information;
a first determining unit 530, configured to determine, based on the test request information, a test script corresponding to the to-be-tested function information and device identification information of the test device;
a second determining unit 540, configured to determine an execution result of the test script based on the device identification information and the test script; the test script is used for instructing the test equipment to test the gateway equipment in the test environment based on the test script.
Further, the second determining unit 540 is specifically configured to:
sending the test script to the test device based on the device identification information;
and receiving the execution result of the test script sent by the test equipment.
Further, the second determining unit 540 is specifically configured to:
and when the test equipment corresponding to the equipment identification information is the home terminal, testing the gateway equipment based on the test script to obtain an execution result of the test script.
Further, the obtaining unit 510 is specifically configured to:
and generating test request information when detecting that the gateway equipment to be tested is firstly connected with the automatic configuration server ACS through the local area network.
Further, the configuration unit 520 includes:
a third determination unit configured to determine a configuration environment request based on the test request information; wherein the configuration environment request is used for triggering the gateway device to be tested to modify the testing environment information; the configuration environment request comprises a test environment modification policy;
and the sending unit is used for sending the configuration environment request to the ACS and triggering the ACS to send the configuration environment request to the gateway equipment to be tested when the ACS receives the configuration environment request.
Further, the third determining unit is specifically configured to:
when the test request information identifies that the test type is a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a wide area network connection.
Further, the third determining unit is specifically configured to:
when the test request information identifies that the test type is not a test for a TR069 protocol, determining that the test environment modification policy included in the configuration environment request is to switch a current network connection to a local area network connection.
Further, the testing apparatus 5 of the gateway device further includes:
and the processing unit is used for prompting a user and stopping testing when the gateway equipment to be tested is not in an online state.
Fig. 6 is a schematic diagram of a testing device of a gateway device according to a fourth embodiment of the present application. As shown in fig. 6, the test device 6 of the gateway device of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60, such as a test program for a gateway device. The processor 60, when executing the computer program 62, implements the steps in the above-described embodiments of the testing method for the respective gateway device, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 510 to 540 shown in fig. 5.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the test device 6 of the gateway device. For example, the computer program 62 may be divided into an acquisition unit, a configuration unit, a first determination unit, and a second determination unit, and each unit has the following specific functions:
an acquisition unit configured to acquire test request information; the test request information comprises identification information of the gateway equipment to be tested and function information to be tested;
the configuration unit is used for configuring the test environment information of the gateway equipment to be tested based on the test request information;
a first determining unit, configured to determine, based on the test request information, a test script corresponding to the to-be-tested function information and device identification information of the test device;
a second determining unit, configured to determine an execution result of the test script based on the device identification information and the test script; the test script is used for instructing the test equipment to test the gateway equipment in the test environment based on the test script.
The testing device of the gateway device may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 6 is merely an example of a test device 6 of a gateway device and does not constitute a limitation of the test device 6 of a gateway device and may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the test device of the gateway device may also comprise an input-output device, a network access device, a bus, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the testing device 6 of the gateway device, such as a hard disk or a memory of the testing device 6 of the gateway device. The memory 61 may also be an external storage device of the testing device 6 of the gateway device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the testing device 6 of the gateway device. Further, the memory 61 may also include both an internal storage unit and an external storage device of the testing device 6 of the gateway device. The memory 61 is used for storing the computer program and other programs and data required by the testing equipment of the gateway device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

CN201910740723.8A2019-08-122019-08-12Method and device for testing gateway devicePendingCN110601915A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910740723.8ACN110601915A (en)2019-08-122019-08-12Method and device for testing gateway device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910740723.8ACN110601915A (en)2019-08-122019-08-12Method and device for testing gateway device

Publications (1)

Publication NumberPublication Date
CN110601915Atrue CN110601915A (en)2019-12-20

Family

ID=68854199

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910740723.8APendingCN110601915A (en)2019-08-122019-08-12Method and device for testing gateway device

Country Status (1)

CountryLink
CN (1)CN110601915A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111404778A (en)*2020-03-122020-07-10深圳市吉祥腾达科技有限公司Gateway testing method and device and computer readable storage medium
CN113572662A (en)*2021-07-302021-10-29北京天融信网络安全技术有限公司Network testing method and device, electronic equipment and readable storage medium
CN113923443A (en)*2021-09-272022-01-11深圳市天视通视觉有限公司Network video recorder testing method and device and computer readable storage medium
CN114244756A (en)*2021-12-162022-03-25浪潮通信信息系统有限公司Method and system for automatically identifying home broadband CPE (customer premises equipment) model for remote monitoring
CN115150849A (en)*2021-03-312022-10-04星络家居云物联科技有限公司Network environment detection method, system and computer readable storage medium
CN115550231A (en)*2022-03-312022-12-30许昌开普检测研究院股份有限公司Multi-protocol testing platform based on configuration file and testing method thereof
CN116668348A (en)*2023-05-092023-08-29中国联合网络通信集团有限公司 Terminal testing method, device and storage medium based on black box application

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100197296A1 (en)*2009-01-302010-08-05Oracle International CorporationPlatform Test Environment and Unit Test Framework for a Telecommunications Gateway
CN103209101A (en)*2012-01-172013-07-17深圳市共进电子股份有限公司Gateway testing method
CN104158701A (en)*2014-08-182014-11-19中国联合网络通信集团有限公司Gateway function testing method and device
CN108718261A (en)*2018-06-082018-10-30北京飞音时代技术有限公司Gateway automated testing method and system
CN109618363A (en)*2018-11-142019-04-12青岛海信电子设备股份有限公司 Mobile gateway testing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100197296A1 (en)*2009-01-302010-08-05Oracle International CorporationPlatform Test Environment and Unit Test Framework for a Telecommunications Gateway
CN103209101A (en)*2012-01-172013-07-17深圳市共进电子股份有限公司Gateway testing method
CN104158701A (en)*2014-08-182014-11-19中国联合网络通信集团有限公司Gateway function testing method and device
CN108718261A (en)*2018-06-082018-10-30北京飞音时代技术有限公司Gateway automated testing method and system
CN109618363A (en)*2018-11-142019-04-12青岛海信电子设备股份有限公司 Mobile gateway testing system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张斌等: "企业案例软件测试技术", 《企业案例软件测试技术*

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111404778A (en)*2020-03-122020-07-10深圳市吉祥腾达科技有限公司Gateway testing method and device and computer readable storage medium
CN115150849A (en)*2021-03-312022-10-04星络家居云物联科技有限公司Network environment detection method, system and computer readable storage medium
CN113572662A (en)*2021-07-302021-10-29北京天融信网络安全技术有限公司Network testing method and device, electronic equipment and readable storage medium
CN113572662B (en)*2021-07-302024-02-06北京天融信网络安全技术有限公司Network testing method, device, electronic equipment and readable storage medium
CN113923443A (en)*2021-09-272022-01-11深圳市天视通视觉有限公司Network video recorder testing method and device and computer readable storage medium
CN114244756A (en)*2021-12-162022-03-25浪潮通信信息系统有限公司Method and system for automatically identifying home broadband CPE (customer premises equipment) model for remote monitoring
CN115550231A (en)*2022-03-312022-12-30许昌开普检测研究院股份有限公司Multi-protocol testing platform based on configuration file and testing method thereof
CN116668348A (en)*2023-05-092023-08-29中国联合网络通信集团有限公司 Terminal testing method, device and storage medium based on black box application

Similar Documents

PublicationPublication DateTitle
CN110601915A (en)Method and device for testing gateway device
US10578670B2 (en)Core testing machine
US20190182134A1 (en)Cable modems/emtas under test
CN112291079B (en)Network service configuration method and network management equipment
CN111782530B (en)Remote debugging method, device, system, electronic equipment and storage medium
CN109660386B (en)Software upgrading method for semiconductor memory aging test system
KR20170108029A (en) Inspection system for inspecting computer of computer system in inspection network
CN113038499A (en)Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN113986298A (en)Method and device for processing system vulnerability
CN114124694A (en)Configuration method and configuration device of Internet of things equipment, electronic equipment and medium
CN110460474B (en)Method and device for configuring device functions, storage medium and electronic device
CN110831049B (en)Network performance testing method and device
CN107181606B (en)Method and apparatus for controlling network nodes
CN110445513A (en)A kind of automated testing method, device, system, PC terminal and storage medium
CN104683178B (en)A kind of test method and system of the more DUT of identical IP address
CN109347695A (en) An upgrade test system and method
CN113985743A (en)Equipment control method, device and system, storage medium and electronic device
CN111131324A (en)Login method and device of business system, storage medium and electronic device
CN112685071A (en)Application program repairing method, device, equipment and storage medium
US11805098B2 (en)Communication system and communication method
CN112463083A (en)Remote collection method and system for information of substrate control manager
CN113472611A (en)Method and device for acquiring WiFi signal strength and readable storage medium
CN107634851B (en)Method for dynamically configuring server by mobile terminal
CN107528714B (en)Script processing method, device and system and router
CN111162983A (en)Equipment data acquisition method and device, storage medium and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20191220


[8]ページ先頭

©2009-2025 Movatter.jp