CN104065541A - Method and system for automatically performing network mode testing - Google Patents

Method and system for automatically performing network mode testing Download PDF

Info

Publication number
CN104065541A
CN104065541A CN 201410333537 CN201410333537A CN104065541A CN 104065541 A CN104065541 A CN 104065541A CN 201410333537 CN201410333537 CN 201410333537 CN 201410333537 A CN201410333537 A CN 201410333537A CN 104065541 A CN104065541 A CN 104065541A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
mode
network
communication module
based
test
Prior art date
Application number
CN 201410333537
Other languages
Chinese (zh)
Inventor
朱渊
Original Assignee
上海斐讯数据通信技术有限公司
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

Links

Abstract

The invention provides a method and system for automatically performing network mode testing. The method and system are applied to a communication module which is connected with a network server by adopting one or more modes, and the communication module is arranged in equipment which can log in the network server. According to the method, firstly, the network mode of the communication module is set into a first mode on the basis of a testing starting instruction, and a login program for logging in the network server in the equipment is started on the basis of the first mode; then, corresponding information is output according to whether login is successful or not; if the communication module comprises a plurality of network modes, and the network modes of the communication module are modified into other modes for the next login testing after login is successful until each network mode is traversed. Thus, automatic testing on the network mode can be achieved, and the problem that manual mistaken operation causes the testing failure in a manual testing process can be effectively solved.

Description

自动进行网络模式测试的方法及系统 The method of automatically testing and system network mode

技术领域 FIELD

[0001] 本发明涉及网络模式测试领域,特别是涉及一种自动进行网络模式测试的方法及系统。 [0001] The present invention relates to the field of testing a network model, particularly to a method and system for automatic testing of the network mode.

背景技术 Background technique

[0002] 随着无线网络的飞速发展,SOHO WIFI产品已经占有大家网络生活的主导地位,所有的SOHO WIFI产品都是通过网络模式口进行上网,而网络模式包含三种模式,即基于动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)链接网络服务器的模式、基于ΡΡΡ0Ε(point-to-point protocol over ethernet)协议链接网络服务器的模式、以及基于静态IP链接网络服务器的模式。 [0002] With the rapid development of wireless networks, SOHO WIFI product has been dominant all network life, all of SOHO WIFI Internet products are conducted through the network port mode, and network mode includes three modes, namely Dynamic Host Configuration protocol (Dynamic Host Configuration protocol, DHCP) server links to a network model, based on ΡΡΡ0Ε (point-to-point protocol over ethernet) network server mode protocol link, and the link model is based on a static IP network servers. S0H0 WIFI产品能否上网成功,取决于前述三种模式是否生效,因此对S0H0 WIFI产品网络模式的测试非常重要。 S0H0 WIFI Internet products can succeed, depending on whether the entry into force of the aforementioned three modes, so the test for S0H0 WIFI network product model is very important.

[0003] 目前,对于网络模式的测试主要以手动测试为主,即先由测试人员选择待测试的WIFI产品中的网络模式,例如,选择基于DHCP协议链接网络服务器的模式,随后,测试人员再启动该产品的网页浏览器登陆某一网络服务器,若登陆成功,则测试人员再将网络模式修改为基于ΡΡΡ0Ε协议链接网络服务器的模式,随后,测试人员重新启动登陆某一网络服务器来进行测试,以确定是否能上网成功,并在登陆成功后再次将网络模式修改为基于静态IP链接网络服务器的模式,并配置静态地址、子网掩码、默认网关及域名解析服务器,随后再重新启动登陆某一网络服务器,以测试是否能上网成功;如此测试,缺点颇多:1、测试周期长:测试步骤繁琐,耗费大量时间;2、增加产品的成本:因为需要增加测试人力物力, 且延长了测试时,导致产品整个研发成本增 [0003] Currently, the network test patterns for manual testing based mainly, i.e. to be selected first by the tester products tested WIFI network mode, e.g., selected based on the link network protocol DHCP server mode, then the tester then start the product web browser login to a network server, if the landing is successful, then the network staff to modify the mode of the test mode ΡΡΡ0Ε linked server-based network protocol, then restart the landing testers for testing a network server, to determine whether access to the Internet success, and the network model modified after the successful landing static IP mode again linked server-based network, and configure a static address, subnet mask, default gateway and DNS server, and then reboot a landing a web server to test whether access to the Internet success; such tests, a lot of disadvantages: 1, long test cycle: test procedures cumbersome, time-consuming; 2, increase the cost of the product: because of the need to increase manpower and resources to test and extend the test when, resulting in the entire product development costs increase ;3、手动测试误测率高:因为测试过程繁琐、 相似,易在测试工程中造成误操作等。 ; 3, manual testing false positive rate is high: Because the testing process cumbersome, similar, could easily lead to misuse in the test project and so on.

[0004] 因此,极有必要提供一种能自动进行网络模式测试的方法。 [0004] Thus, it is highly desirable to provide a method capable of automatically testing the network mode.

发明内容 SUMMARY

[0005] 鉴于以上所述现有技术的缺点,本发明的目的在于提供一种自动进行网络模式测试的方法及系统,以实现网络模式的自动化测试。 [0005] In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a method and system for automatic testing of the network model, to automate the network test mode.

[0006] 为实现上述目的及其他相关目的,本发明提供一种自动进行网络模式测试的方法,应用于采用至少一种模式与网络服务器链接的通信模块,所述通信模块设置在能登陆网络服务器的设备中,所述自动进行网络模式测试的方法至少包括:基于测试启动指令将所述通信模块的网络模式设置为第一模式,并基于所述第一模式来启动所述设备中登陆网络服务器的登陆程序;以及基于是否能登陆成功来输出相应信息。 [0006] To achieve the above objects and other related objects, the present invention provides a method for automatically testing the network mode, using at least one model applicable to the communication link network server module, the communication module can access the network server is provided a method of device, the automatic test mode the network comprising at least: a network based on the test mode activation command to the communication module is set to the first mode, and to start login in the network server device based on the first mode landing procedures; and based on whether the successful landing to output the information.

[0007] 优选地,若所述通信模块包含多种网络模式,则登陆成功后,将所述通信模块的网络模式修改为其他模式后再次进行登陆测试。 [0007] Preferably, if the network communication module comprises a plurality of modes, the login is successful, the mode of the network communication module for modifying the test again after another landing mode.

[0008] 本发明还提供一种自动进行网络模式测试的测试系统,应用于采用至少一种模式与网络服务器链接的通信模块,所述通信模块设置在能登陆网络服务器的设备中,所述自动进行网络模式测试的测试系统至少包括:设置模块,用于基于测试启动指令将所述通信模块的网络模式设置为第一模式,并基于所述第一模式来启动所述设备中登陆网络服务器的登陆程序;以及输出模块,用于基于是否能登陆成功来输出相应信息。 [0008] The present invention further provides an automatic test system for testing network mode, and is applied using at least one mode of communication links network server module, the communication module can access the network server is provided an apparatus, the automatic test mode network testing system includes at least: a setting module, a network based on the test mode instruction to start the communication module is set to the first mode, and to start login in the network server device based on the first mode landing procedures; and an output module for outputting a corresponding information based on whether a successful landing.

[0009] 优选地,若所述通信模块包含多种网络模式,则所述设置模块还包括:修改单元, 用于在登陆成功后,将所述通信模块的网络模式修改为其他模式后再次进行登陆测试。 [0009] Preferably, if the communication module comprises a plurality of network mode, the setting module further comprising: a modification unit after successful login, network communication module changes the mode again after another mode landing tests.

[0010] 优选地,所述通信模块包括WiFi通信模块;更为优选地,所述WiFi通信模块的网络模式包括基于DHCP协议链接网络服务器的模式、基于ΡΡΡ0Ε协议链接网络服务器的模式、以及基于静态IP链接网络服务器的模式。 [0010] Preferably, the communications module comprises a WiFi communication module; network mode More preferably, the WiFi communication module includes a DHCP protocol based on the mode linked network server, the network server based ΡΡΡ0Ε link protocol mode, and based on the static IP link network server mode.

[0011] 如上所述,本发明的自动进行网络模式测试的方法及系统,具有以下有益效果:能实现网络模式的自动测试,缩短了测试周期,可有效避免因人工误操作导致的测试失败等问题。 [0011] As described above, the method and system for automatic testing of the network mode of the present invention has the following advantages: the network can automatically test mode, the test cycle is shortened, which can effectively avoid test failure due to misoperation due to other problem.

附图说明 BRIEF DESCRIPTION

[0012] 图1显示为本发明的自动进行网络模式测试的方法的流程图。 [0012] Figure 1 shows a flowchart of the present invention is an automatic method for testing the network mode.

[0013] 图2显示为本发明的自动进行网络模式测试的测试系统示意图。 [0013] Figure 2 shows a schematic view of the present automatic test pattern test system network of the present invention.

[0014] 元件标号说明 [0014] DESCRIPTION OF REFERENCE NUMERALS element

[0015] 1 测试系统 [0015] Test System 1

[0016] 11 设置模块 [0016] The module 11 is provided

[0017] 111 修改单元 [0017] The modification unit 111

[0018] 12 输出模块 [0018] 12 Output Module

[0019] S1 〜S6 步骤 [0019] S1 ~S6 step

具体实施方式 detailed description

[0020] 以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。 [0020] Hereinafter, an embodiment of the present invention by certain specific examples, those skilled in the art disclosed in this specification may readily understand the content of other advantages and effects of the present invention. 本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。 The present invention may also be implemented or applied through other different specific embodiments, the details of the specification may be carried out in various modified or changed without departing from the spirit of the invention based on various concepts and applications.

[0021] 请参阅图1至图2。 [0021] Please refer to FIG. 1 to FIG. 需要说明的是,本实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。 Incidentally, the present embodiment illustrates a schematic manner only examples provided to illustrate the basic idea of ​​the invention, then the drawings shows only related to the present invention, the number of components in the assembly when not in accordance with the actual embodiment, the shape and drawn to scale, its actual implementation of each component type, number and proportion of changes may be as a free, and the layout of the components may also be more complex patterns.

[0022] 如图1所示,本发明提供一种自动进行网络模式测试的方法,其主要应用于采用至少一种模式与网络服务器链接的通信模块,所述通信模块设置在能登陆网络服务器的设备中;优选地,所述通信模块包括但不限于:WiFi通信模块等。 [0022] As shown, the present invention provides a method for automatically testing a network mode, which is mainly used employing at least one mode of communication links with a web server module, the communication module can be provided at the network server login apparatus; preferably, said communication module includes but not limited to: WiFi communication module.

[0023] 以下将以包含有基于DHCP链接网络服务器的模式、基于ΡΡΡ0Ε协议链接网络服务器的模式、以及基于静态IP链接网络服务器的模式的SOHO WIFI FIR303B产品为例,来详述本发明的自动进行网络模式测试的方法。 [0023] The following will be linked with the network based on the mode DHCP server, based on the mode linked ΡΡΡ0Ε protocol network server, and the SOHO WIFI FIR303B product based on the mode linked static IP network server, for example, to automatically present invention described in detail network mode testing method.

[0024] 其中,本发明的方法主要通过测试系统来完成,其包括步骤S1至S6。 [0024] wherein, the method of the present invention is accomplished primarily through the test system, comprising the steps S1 to S6.

[0025] 在步骤S1中,所述测试系统基于测试启动指令将所述通信模块的网络模式设置为第一模式,并基于所述第一模式来启动所述设备中登陆网络服务器的登陆程序。 [0025] In step S1, the test system is based on the test mode activation command to said network communication module is set to a first mode, and to initiate the login procedure the landing apparatus based on the first network server mode.

[0026] 具体地,所述测试系统基于测试人员通过按键等发出的测试启动指令,通过运行以下脚本一进入WiFi通信模块的管理页面:[0027] 脚本一: [0026] In particular, the test system is based on the test start command through testers keys, etc. issued by running the following script WiFi communication module to enter a management page: [0027] a script:

[0030] 随后,所述测试系统再通过运行以下脚本二进入网络模式配置页面,并配置网络模式为第一模式,例如,基于DHCP协议链接网络服务器的模式: [0030] Subsequently, the test system by running the following script to re-enter the second mode is a first mode network configuration page, and configure the network mode, e.g., based on the link network DHCP protocol server mode:

[0031] 脚本二: [0031] Script II:

[0032] [0032]

[0036] 接着,在步骤S2中,所述测试系统判断是否能登陆成功,若登陆不成功,则进入步骤S6 ;若登陆成功则进入步骤S3。 [0036] Next, in step S2, the test determines whether the system could successfully login, if the login is not successful, the process proceeds to step S6; if successful login proceeds to step S3.

[0037] 其中,所述测试系统根据预定时间内SOHO WIFI FIR303B产品的浏览器是否收到来自网络服务器,例如地址为=www. baidu. com的网络服务器的信息来判断是否能登陆成功。 [0037] wherein the test system is received from a network server, for example, address = www. Baidu. Com information web server to determine whether a predetermined time in accordance with successful landing SOHO WIFI FIR303B product browser.

[0038] 接着,在步骤S3中,所述测试系统将所述通信模块的网络模式修改为其他模式后再次启动登陆程序,并判断是否能登陆成功。 [0038] Next, in step S3, the test mode of the system to a network communication module modifying the boot program again after another landing mode, and determines whether the login was successful.

[0039] 具体地,所述测试系统再次进入网络模式配置页面,并配置网络模式为其他模式, 例如,基于ΡΡΡ0Ε协议链接网络服务器的模式,随后再次启动SOHO WIFI FIR303B产品的浏览器登陆地址为baidu. com的网络服务器,若登陆成功,则讲入步骤S4,否则讲入步骤S6。 [0039] Specifically, the test system to re-enter the network mode configuration page and configure the network mode to another mode, for example, based on a pattern ΡΡΡ0Ε link protocol network server, then starts SOHO WIFI FIR303B product browser landing address again baidu . com web server, if the landing is successful, speak to step S4, otherwise speaking to step S6.

[0040] 接着,在步骤S4中,所述测试系统再次进入网络模式配置页面,并配置网络模式为基于静态IP链接网络服务器的模式,随后再次启动S0H0 WIFI FIR303B产品的浏览器登陆地址为:www. baidu. com的网络服务器,若登陆成功,则进入步骤S5,否则进入步骤S6。 [0040] Next, in step S4, the test system to re-enter the network mode configuration page and configure the network mode to mode-based server static IP network link, and then start the browser landing address S0H0 WIFI FIR303B product again: www . baidu. com web server, if the landing is successful, the process proceeds to step S5, otherwise to step S6.

[0041] 在步骤S5中,所述测试系统输出测试成功的信息。 [0041] In step S5, the output of the test system to test successful.

[0042] 在步骤S6中,所述测试系统输出测试失败的信息。 [0042] In step S6, the test output test information system failure.

[0043] 优选地,也可基于各种模式来输出相应的测试模式测试失败的信息。 [0043] Preferably, it may be based on various modes corresponding to the test mode output test failure. 例如,若在基于DHCP协议链接网络服务器的模式下登陆网络服务器失败,则输出基于DHCP协议链接网络服务器的模式异常的信息;又例如,若在基于ΡΡΡ0Ε协议链接网络服务器的模式下登陆网络服务器失败,则输出基于ΡΡΡ0Ε协议链接网络服务器的模式异常的信息;再例如,若在基于静态IP链接网络服务器的模式下登陆网络服务器失败,则输出基于静态IP链接网络服务器的模式异常的信息等。 For example, if the landing web server failure at based on the DHCP protocol link network server mode, the output based on the DHCP protocol link network server mode exception of information; another example, if the landing web server in based ΡΡΡ0Ε agreement linked network server mode failure the output based on ΡΡΡ0Ε link protocol network server mode exception of information; another example, if a network server fail in landing mode based on a static IP connection network server, static IP mode based on the network server linked abnormality information output.

[0044] 需要说明的是,本领域技术人员应该理解,以上所述仅仅只是列示,而非对本发明的限制,事实上,基于各网络模式来登陆的网络服务器可以不同,而且,配置网络模式的顺序并非以所述为限;再者,对于只包含1种网络模式的通信模块,则在步骤S2之后进入步骤S6或S5,对于包含2种网络模式的通信模块,则在步骤S3之后进入步骤S6或S5 ;若包含3种以上网络模式的通信模块,则在步骤S4后,还需再次对剩余各网络模式进行测试,直至遍历每一网络模式为止。 [0044] Incidentally, it should be understood that those skilled in the art that the foregoing is only exemplary, not restrictive of the invention, in fact, based on the network model for each network server may be different login and configure the network mode the order is not limited to; Furthermore, the communication module includes only one kind of the network mode, the process proceeds to step S5 or S6 after step S2, the communication module comprises two network mode, the process proceeds to step S3 after step S6 or S5; if a communication module comprising three or more network mode, then in the step S4, the need to once again test each of the remaining network modes, each network mode until traversing up.

[0045] 如图2所示,本发明提供一种自动进行网络模式测试的测试系统,其主要应用于采用至少一种模式与网络服务器链接的通信模块,所述通信模块设置在能登陆网络服务器的设备中;优选地,所述通信模块包括但不限于:WiFi通信模块等。 [0045] 2, the present invention provides an automatic test system for testing network mode, which is mainly used in the server using at least one mode of a communication link with the network server module, the communication module can access the network is provided devices; preferably, said communication module includes but not limited to: WiFi communication module.

[0046] 以下仍以包含有基于DHCP链接网络服务器的模式、基于ΡΡΡ0Ε协议链接网络服务器的模式、以及基于静态IP链接网络服务器的模式的SOHO WIFI FIR303B产品为例,来详述本发明的自动进行网络模式测试的测试系统。 [0046] The following is still based on the mode with the link network DHCP server, based on the mode linked ΡΡΡ0Ε protocol network server, and the SOHO WIFI FIR303B product based on the mode linked static IP network server, for example, to automatically present invention described in detail test system network mode testing.

[0047] 其中,所述测试系统1至少包括:设置模块11以及输出模块12 ;优选地,所述设置模块11还包括:修改单元111。 [0047] wherein at least one of said test system comprising: a setting module 11 and output module 12; preferably, the setting module 11 further comprising: a modification unit 111.

[0048] 所述设置模块11基于测试启动指令将所述通信模块的网络模式设置为第一模式,并基于所述第一模式来启动所述设备中登陆网络服务器的登陆程序。 [0048] The module 11 is provided to a network based on the test mode command to start the communication module is set to the first mode, and to initiate the login procedure the landing apparatus based on the first network server mode.

[0049] 具体地,所述设置模块11基于测试人员通过按键等发出的测试启动指令,通过运行脚本一进入WiFi通信模块的管理页面,随后,再通过运行脚本二进入网络模式配置页面,并配置网络模式为第一模式,例如,基于DHCP协议链接网络服务器的模式;接着,再通过运行以下脚本三,来启动SOHO WIFI FIR303B产品的浏览器登陆某一网络服务器,例如,地址为:WWW. baidu. com的网络服务器;其中,脚本一、脚本二及脚本三在图1所示的实施例中予以详述,并以引用的方式包含于此,不再重述。 [0049] In particular, the setting module 11 based on the test start command through testers keys, etc. issued by running a script into the WiFi communication module management page, then the page re-configure the network by running a script into the two mode, and configure network mode is the first mode, for example, based on the DHCP protocol link network server mode; then, again by running the following script Third, to start SOHO WIFI FIR303B product browser landing a network server, for example, the address is: WWW baidu. . com web server; wherein, a script, and the script two scripts to be described in detail three in the embodiment shown in figure 1, and is incorporated herein by reference, are not repeated.

[0050] 接着,所述输出模块12判断是否能登陆成功,若登陆不成功,则输出相应信息,例如,基于DHCP协议链接网络服务器的模式异常的信息;若登陆成功则所述输出模块12启动所述修改单元111。 [0050] Next, block 12 determines whether the output can be successful landing, unsuccessful landing, if, outputs corresponding information, e.g., based on the mode linked network server DHCP protocol error information; successful login if the output module 12 is started the modification unit 111.

[0051] 其中,所述输出模块12根据预定时间内S0H0 WIFI FIR303B产品的浏览器是否收到来自网络服务器,例如地址为baidu. com的网络服务器的信息来判断是否能登陆成功。 [0051] wherein, according to the output module 12 within a predetermined time S0H0 WIFI FIR303B product browser accepted from the network server, such as the address of baidu. Com information web server to determine whether the successful landing.

[0052] 所述修改单元111将所述通信模块的网络模式修改为其他模式后再次启动登陆程序,所述输出模块12再判断是否能登陆成功。 [0052] The modification unit 111 of the network mode of the communication module to initiate the login procedure modified again another mode, the output module 12 then determines whether the successful landing.

[0053] 具体地,所述修改单元111再次进入网络模式配置页面,并配置网络模式为其他模式,例如,基于ΡΡΡ0Ε协议链接网络服务器的模式,随后再次启动S0H0 WIFI FIR303B产品的浏览器登陆地址为baidu. com的网络服务器,若登陆不成功,则输出樽块12输出相应信息,例如,基于ΡΡΡ0Ε协议链接网络服务器的模式异常的信息;若登陆成功,则所述修改单元111再次进入网络模式配置页面,并配置网络模式为基于静态IP链接网络服务器的模式,随后再次启动S0H0 WIFI FIR303B产品的浏览器登陆地址为:www. baidu. com的网络服务器,若登陆成功,贝1J输出模块12输出测试成功的信息,否则输出基于静态IP链接网络服务器的模式异常的信息。 [0053] Specifically, the modifying unit 111 re-enters the network configuration page mode, and configure the network mode to another mode, e.g., based on the mode linked ΡΡΡ0Ε protocol network server, then launch the browser login address S0H0 WIFI FIR303B product again . baidu com web server, if the login is not successful, then the output block 12 outputs bottles corresponding information, e.g., based on the mode linked ΡΡΡ0Ε network server protocol error information; if the login succeeds, the modification unit 111 re-enters the network configuration mode page, and configure the network model for pattern-based static IP link network server, and then start again the browser landing address S0H0 WIFI FIR303B product is:.. www baidu com web server, if successful landing, shellfish 1J output module 12 output test successful information, otherwise the output mode based on a static IP network servers linked exception information.

[0054] 需要说明的是,本领域技术人员应该理解,以上所述仅仅只是列示,而非对本发明的限制,事实上,基于各网络模式来登陆的网络服务器可以不同,而且,配置网络模式的顺序并非以所述为限;再者,对于只包含1种网络模式的通信模块,则在第一次测试后结束, 对于包含2种网络模式的通信模块,则在第二次测试后结束;若包含3种以上网络模式的通信模块,则在第三次测试后结束,还需再次对剩余各网络模式进行测试,直至遍历每一网络模式为止。 [0054] Incidentally, it should be understood that those skilled in the art that the foregoing is only exemplary, not restrictive of the invention, in fact, based on the network model for each network server may be different login and configure the network mode the order is not limited to; Furthermore, the communication module includes only one kind of network modes, then after the first end of the test, the communication module comprises two network modes, then after the end of the second test ; if comprising three or more network mode communication module, after the third end of the test, again need remaining in each network mode test, up until the traverse each network mode.

[0055] 综上所述,本发明的自动进行网络模式测试的方法及系统将网络模式的测试以自动化的形式实现,与现有最好技术相比,本发明的优点包括: Method and system for [0055] As described above, the present invention automatically tests the network mode to the test mode is implemented as a network of automation, compared to the best prior art, advantages of the present invention comprises:

[0056] 1)测试简单:测试人员只需查看测试结果即可,不需做繁琐的动作; [0056] 1) a simple test: tester simply check the test results can be, without doing the tedious action;

[0057] 2)可靠性高:手动配置中不免出现一些误差,但自动化测试不会出现配置错误问题; High [0057] 2) Reliability: manual configuration inevitably some errors, an automated test configuration errors does not occur;

[0058] 3)缩短测试时间:测试人员无需在测试中进行任何控制操作; [0058] 3) test time: tester operation without any control in the test;

[0059] 4)测试复杂度减小:不熟悉的测试人员在也能顺利进行测试操作。 [0059] 4) reduce the complexity of the testing: unfamiliar testers test operation can be smoothly performed.

[0060] 所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。 [0060] Therefore, the present invention effectively overcomes the drawbacks of the prior art with the use of highly industrial value.

[0061] 上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。 [0061] The above-described embodiments are only illustrative of the principles and effect of the present invention, the present invention is not intended to be limiting. 任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。 Any person skilled in this art can be made at without departing from the spirit and scope of the present invention, the above-described embodiments can be modified or changed. 因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。 Thus, one skilled in the art that whenever all having ordinary knowledge in the technical ideas and spirit of the present invention is disclosed without departing from the completed equivalent modified or altered, yet the claims shall be encompassed by the present invention.

Claims (8)

  1. 1. 一种自动进行网络模式测试的方法,应用于采用至少一种模式与网络服务器链接的通信模块,所述通信模块设置在能登陆网络服务器的设备中,所述自动进行网络模式测试的方法的特征在于,至少包括: 基于测试启动指令将所述通信模块的网络模式设置为第一模式,并基于所述第一模式来启动所述设备中登陆网络服务器的登陆程序; 基于是否能登陆成功来输出相应信息。 A method for automatically testing the network mode, the method is applied to at least one mode of communication links with a web server module, the communication module can access the network server is provided in the device, the automatic test mode the network It characterized by comprising at least: a network based on the test mode activation command to the communication module is set to the first mode, and to initiate the login procedure the landing apparatus based on the first network server mode; can be based on whether a successful landing outputs corresponding information.
  2. 2. 根据权利要求1所述的自动进行网络模式测试的方法,其特征在于:若所述通信模块包含多种网络模式,则登陆成功后,将所述通信模块的网络模式修改为其他模式后再次进行登陆测试。 2. The method of claim 1 automatic testing of the network model as claimed in claim wherein: if the network communication module comprises a plurality of modes, the login is successful, the network mode of the communication module to another mode after modification landing test again.
  3. 3. 根据权利要求1或2所述的自动进行网络模式测试的方法,其特征在于:所述通信模块包括WiFi通信模块。 1 or 2 according to the automatic testing method as claimed in claim network mode, wherein: said communication module includes a WiFi communication module.
  4. 4. 根据权利要求3所述的自动进行网络模式测试的方法,其特征在于:所述WiFi通信模块的网络模式包括基于DHCP协议链接网络服务器的模式、基于PPPOE协议链接网络服务器的模式以及基于静态IP链接网络服务器的模式。 4. The method of claim 3 test mode network automatically claim, wherein: said network mode comprise WiFi communication module based on the mode linked DHCP protocol network server, based on the mode linked PPPOE protocol network server based on the static IP link network server mode.
  5. 5. -种自动进行网络模式测试的测试系统,应用于采用至少一种模式与网络服务器链接的通信模块,所述通信模块设置在能登陆网络服务器的设备中,所述自动进行网络模式测试的测试系统的特征在于,至少包括: 设置模块,用于基于测试启动指令将所述通信模块的网络模式设置为第一模式,并基于所述第一模式来启动所述设备中登陆网络服务器的登陆程序; 输出模块,用于基于是否能登陆成功来输出相应信息。 5. - kinds of automatic test pattern test network system, applied using at least one mode of communication links with a web server module, the communication module can access the network device provided in the server, the network automatically test mode characterized in that the test system, comprising at least: a setting module, based on the network test mode command to start the communication module is set to the first mode, and to start login in the network server apparatus based on the first landing mode program; output module, based on whether the successful landing to output the information.
  6. 6. 根据权利要求5所述的自动进行网络模式测试的测试系统,其特征在于:若所述通信模块包含多种网络模式,则所述设置模块还包括:修改单元,用于在登陆成功后,将所述通信模块的网络模式修改为其他模式后再次进行登陆测试。 The automatic test system for testing network mode according to claim 5, wherein: when said communication module comprises a plurality of network mode, the setting module further comprising: a modification unit after successful login test again after landing, the network mode of the communication module to another mode modification.
  7. 7. 根据权利要求5或6所述的自动进行网络模式测试的测试系统,其特征在于:所述通信模块包括WiFi通信模块。 The automatic test system for testing network mode 5 or claim 6, wherein: said communication module includes a WiFi communication module.
  8. 8. 根据权利要求7所述的自动进行网络模式测试的测试系统,其特征在于:所述WiFi 通信模块的网络模式包括基于DHCP协议链接网络服务器的模式、基于PPPOE协议链接网络服务器的模式以及基于静态IP链接网络服务器的模式。 8. The automatic test system for testing network mode according to claim 7, wherein: said network mode comprise WiFi communication module based on the mode linked DHCP protocol network server, based on the mode linked PPPOE protocol based network server and static IP connection mode network server.
CN 201410333537 2014-07-14 2014-07-14 Method and system for automatically performing network mode testing CN104065541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410333537 CN104065541A (en) 2014-07-14 2014-07-14 Method and system for automatically performing network mode testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410333537 CN104065541A (en) 2014-07-14 2014-07-14 Method and system for automatically performing network mode testing

Publications (1)

Publication Number Publication Date
CN104065541A true true CN104065541A (en) 2014-09-24

Family

ID=51553082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410333537 CN104065541A (en) 2014-07-14 2014-07-14 Method and system for automatically performing network mode testing

Country Status (1)

Country Link
CN (1) CN104065541A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668007A (en) * 2004-03-10 2005-09-14 技嘉科技股份有限公司 System and method for automatic detection of network online mode
US20070130286A1 (en) * 2004-12-07 2007-06-07 Pure Networks, Inc. Network device management
CN101242311A (en) * 2007-02-05 2008-08-13 智邦科技股份有限公司 Method and system for automatic network connection mode detection
CN103744784A (en) * 2014-01-06 2014-04-23 中国移动(深圳)有限公司 Method and system for automatically testing mobile phone applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668007A (en) * 2004-03-10 2005-09-14 技嘉科技股份有限公司 System and method for automatic detection of network online mode
US20070130286A1 (en) * 2004-12-07 2007-06-07 Pure Networks, Inc. Network device management
CN101242311A (en) * 2007-02-05 2008-08-13 智邦科技股份有限公司 Method and system for automatic network connection mode detection
CN103744784A (en) * 2014-01-06 2014-04-23 中国移动(深圳)有限公司 Method and system for automatically testing mobile phone applications

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《中国优秀硕士学位论文全文数据库》 *
何海波: "IPv6 Router的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Similar Documents

Publication Publication Date Title
US20060085723A1 (en) Error tolerant modular testing of services
US20130007522A1 (en) Method and system for an end-to-end solution in a test automation framework
US20090204848A1 (en) Automatic grammar based fault detection and isolation
US20090089619A1 (en) Automatic detection of functional defects and performance bottlenecks in network devices
CN102902618A (en) Method and device for developing and debugging application programs of mobile equipment
CN103136095A (en) Method, device and system of test application program interface
US20150339216A1 (en) Providing Testing Environments Using Virtualization
US20140047275A1 (en) Flow based fault testing
US20140236527A1 (en) Cloud based infrastructure for supporting protocol reconfigurations in protocol independent device testing systems
US20140237292A1 (en) Gui implementations on central controller computer system for supporting protocol independent device testing
US20130254361A1 (en) Server system and management method thereof
CN101789889A (en) Method and system for automatic testing communication equipment
CN103970650A (en) Distributed testing method and device
CN101847118A (en) Automatic test system
US20140033177A1 (en) Multi-platform test automation enhancement
US7721260B2 (en) Embedded Test I/O Engine
CN101110734A (en) Automatization test approach and system
US8726298B1 (en) Cloud-based instrument driver system
CN102143414A (en) Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
CN103023699A (en) Network repair method and system
CN103092754A (en) Automatic test method of long distance multi-device condition
US8892947B1 (en) Method and system for automation framework for multi-node environments
US20140343915A1 (en) Test environment configuration apparatus and method of operating network simulation apparatus using same
CN202694145U (en) Testing system for main control board
CN101170438A (en) A remote serial port debugging method and its system

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination