Movatterモバイル変換


[0]ホーム

URL:


CN114598629B - A terminal type identification automatic test system and computer equipment - Google Patents

A terminal type identification automatic test system and computer equipment
Download PDF

Info

Publication number
CN114598629B
CN114598629BCN202210232259.3ACN202210232259ACN114598629BCN 114598629 BCN114598629 BCN 114598629BCN 202210232259 ACN202210232259 ACN 202210232259ACN 114598629 BCN114598629 BCN 114598629B
Authority
CN
China
Prior art keywords
test
protocol
module
message
terminal type
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.)
Expired - Fee Related
Application number
CN202210232259.3A
Other languages
Chinese (zh)
Other versions
CN114598629A (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.)
Shenzhen Tenda Technology Co Ltd
Original Assignee
Shenzhen Tenda 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 Tenda Technology Co LtdfiledCriticalShenzhen Tenda Technology Co Ltd
Priority to CN202210232259.3ApriorityCriticalpatent/CN114598629B/en
Publication of CN114598629ApublicationCriticalpatent/CN114598629A/en
Application grantedgrantedCritical
Publication of CN114598629BpublicationCriticalpatent/CN114598629B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides an automatic test system for terminal type identification and a computer device, wherein the test system comprises a package sending module, an automatic traversal feature library module, a multi-user simulation online module and a multi-communication protocol automatic module, wherein the package sending module is used for generating a package sending tool with a graphical user interface for a user to input test information and start a test instruction; the automatic traversal feature library module is used for automatically sending a protocol packet carrying feature information of the feature library, automatically checking the identification result, and automatically recording the test result and the report; the multi-user simulation online module is used for simulating simultaneous online of multiple users; the multi-communication protocol automation module is used for starting the multithreading to provide files required by the equipment to be tested when the ssdp protocol message is sent, and the specified protocol packet sending unit is used for sending the message of the specified protocol according to the selection of the tester. The beneficial effects of the application are as follows: the automatic test of terminal type identification is completed through simple operation.

Description

Translated fromChinese
一种终端类型识别自动化测试系统及计算机设备A terminal type identification automatic test system and computer equipment

技术领域technical field

本发明涉及网络设备测试技术领域,具体涉及一种终端类型识别自动化测试系统,还设计一种执行所述终端类型识别自动化测试系统的计算机设备。The present invention relates to the technical field of network equipment testing, in particular to an automatic test system for terminal type identification, and also designs a computer device for executing the automatic test system for terminal type identification.

背景技术Background technique

在测试网络设备(如路由器、AC等)的终端类型识别功能和识别的性能时,需要使用大量各种品牌、类型的真实终端来测试。在实际测试环境中,很难将特征库能识别的设备都覆盖到。因此,现有技术存在如下缺陷:When testing the terminal type identification function and identification performance of network devices (such as routers, ACs, etc.), it is necessary to use a large number of real terminals of various brands and types for testing. In the actual test environment, it is difficult to cover all the devices recognized by the signature database. Therefore, there is following defective in prior art:

(1)测试环境中拥有的真实终端数量有限、无法覆盖各种品牌、类型的终端;(1) The number of real terminals in the test environment is limited and cannot cover various brands and types of terminals;

(2)测试项很多,人工测试耗时很长、容易出现漏测的情况,影响设备测试结果的准确性;(2) There are many test items, the manual test takes a long time, and it is easy to miss the test, which affects the accuracy of the equipment test results;

(3)测试结果无法自动保存,需要人工一条条查看、记录,浪费大量的人力成本。(3) The test results cannot be saved automatically, and need to be manually viewed and recorded one by one, which wastes a lot of labor costs.

发明内容Contents of the invention

为解决现有技术中的问题,本发明提供一种终端类型识别自动化测试系统。In order to solve the problems in the prior art, the present invention provides an automatic test system for terminal type identification.

本发明一种终端类型识别自动化测试系统包括:发包模块、自动化遍历特征库模块、多用户模拟上线模块和多通信协议自动化模块,其中,An automatic test system for terminal type identification in the present invention includes: a contract sending module, an automatic traversal feature library module, a multi-user simulated online module and a multi-communication protocol automatic module, wherein,

所述发包模块用于生成带图形用户界面的发包工具,供用户输入测试信息及开始测试指令;The contracting module is used to generate a contracting tool with a graphical user interface for users to input test information and start test instructions;

所述自动化遍历特征库模块用于根据用户输入的测试信息,自动发送携带特征库特征信息的协议包、自动检查识别结果、自动记录测试结果和报告;The automatic traversal feature library module is used to automatically send the protocol packet carrying the feature information of the feature library, automatically check the identification result, automatically record the test result and report according to the test information input by the user;

所述多用户模拟上线模块用于模拟多用户同时上线,根据用户输入的发包协议、发包数量即可自动发送指定数量的数据包和激活保持在线功能;The multi-user simulation online module is used to simulate multiple users online at the same time, and can automatically send a specified number of data packets and activate the online function according to the contract sending protocol and the number of packets input by the user;

所述多通信协议自动化模块包括多线程开启单元、web服务单元和指定协议发包单元,其中,所述多线程开启单元用于开启多线程使web服务单元和指定协议发包单元并行工作,所述Web服务单元用于为发送ssdp协议报文时提供待测设备所需要的文件,所述指定协议发包单元用于根据测试人员的选择发送指定协议的报文。The multi-communication protocol automation module includes a multi-thread opening unit, a web service unit, and a specified protocol contracting unit, wherein the multi-threading open unit is used to open multiple threads to enable the web service unit and the specified protocol contracting unit to work in parallel, and the Web The service unit is used to provide the files required by the device under test when sending the ssdp protocol message, and the specified protocol sending unit is used to send the message of the specified protocol according to the choice of the tester.

本发明作进一步改进,还包括待测设备状态检测处理模块:用于获取获取待测设备的终端类型识别结果。The present invention is further improved, and further includes a state detection processing module of the device under test: used for obtaining the terminal type identification result of the device under test.

本发明作进一步改进,所述待测设备状态检测处理模块还用于对待测设备的网络连通性检测以及待测设备异常后的恢复。The present invention is further improved, the state detection processing module of the device under test is also used for detecting the network connectivity of the device under test and recovering after the device under test is abnormal.

本发明作进一步改进,所述待测设备状态检测处理模块的处理方法为:The present invention is further improved, and the processing method of the state detection processing module of the device under test is as follows:

B1:开始,输入模拟终端的mac地址;B1: Start, input the mac address of the simulated terminal;

B2:发送请求获取被测设备识别记录列表;B2: Send a request to obtain the list of identification records of the device under test;

B3:判断请求是否成功,如果是,执行步骤B4;如果否,执行步骤B5;B3: Determine whether the request is successful, if yes, execute step B4; if not, execute step B5;

B4:判断输入mac是否在识别记录中,如果是返回mac对应的识别记录,结束;如果否,返回失败结果,结束;B4: Determine whether the input mac is in the identification record, if it returns the identification record corresponding to the mac, end; if not, return a failure result, end;

B5:获取待测设备的保存的文本文件cookies;B5: Obtain the saved text file cookies of the device under test;

B6:将待测设备回复出厂设置,结束。B6: Restore the device under test to factory settings, end.

本发明作进一步改进,所述指定协议发包单元包括9种发包功能模块,其中8个发包功能模块分别支持对应协议报文自动构造发送,该8种协议报文包括arp协议报文、browser协议报文、DHCP协议报文、HTTP协议报文、lldp协议报文、mdns协议报文、onvif协议报文、ssdp协议报文,还包括一个nbns协议发包功能模块,用于监听和抓取待测设备发送的nbns协议请求报文,并回复nbns协议应答报文。The present invention is further improved, the designated protocol sending unit includes 9 kinds of sending function modules, wherein 8 sending function modules respectively support the automatic construction and sending of corresponding protocol messages, and the 8 kinds of protocol messages include arp protocol messages, browser protocol messages text, DHCP protocol message, HTTP protocol message, lldp protocol message, mdns protocol message, onvif protocol message, ssdp protocol message, and also includes a nbns protocol packet sending function module, which is used to monitor and capture the device under test Send the nbns protocol request message and reply the nbns protocol response message.

本发明作进一步改进,所述发包模块的处理方法为:The present invention is further improved, and the processing method of the contract sending module is:

开始,读取配置文件,根据配置中的网卡信息获得该网卡的IP信息;根据用户的设置及开始测试指令,启动多通信协议自动化模块、自动化遍历特征库模块和多用户模拟上线模块对被测设备的类型自动识别并自动化测试。Start, read the configuration file, and obtain the IP information of the network card according to the network card information in the configuration; start the multi-communication protocol automation module, the automatic traversal feature library module and the multi-user simulation online module according to the user's settings and start test instructions. The type of equipment is automatically identified and tested automatically.

本发明作进一步改进,所述自动化遍历特征库模块根据用户输入的处理方法为:The present invention is further improved, and the processing method of the automatic traversal feature library module according to user input is:

A1:读取配置文件,判断测试报告文件是否存在,如果不存在,则创建包括测试报告文件的报告文件夹;A1: Read the configuration file, judge whether the test report file exists, if not, create a report folder including the test report file;

A2:打开测试报告表格;A2: Open the test report form;

A3:遍历特征库;A3: traverse the feature library;

A4:发送特征对应协议的报文,获取识别结果记录,如果通过测试,则在测试报告中记录为测试通过,如果未通过,则在测试报告中记录为测试失败;A4: Send a message corresponding to the protocol of the feature, and obtain the recognition result record. If the test passes, it will be recorded as the test pass in the test report. If it fails, it will be recorded as the test failure in the test report;

A5:判断特征库是否遍历完毕,如果是,结束循环,结束,如果否,执行步骤A3。A5: Determine whether the feature database has been traversed, if yes, end the loop, and end, if not, go to step A3.

本发明作进一步改进,所述用户输入的信息包括:是否覆盖标识和遍历开始行;所述自动化遍历特征库模块在进行步骤A1测试前,还包括根据用户输入进行模式设置步骤,其模式设置步骤的处理过程为:The present invention is further improved, the information input by the user includes: whether to cover the identification and the traversal start line; the automatic traversal feature library module also includes a mode setting step according to the user input before performing the test in step A1, the mode setting step The processing procedure is:

判断是否存在覆盖标识,如果是,判断开始行是否存在,如果存在,则从开始行开始遍历,测试结果写入为覆盖模式,如果不存在,则从上次测试停止行开始遍历,测试结果写入为覆盖模式;如果否,则判断开始行是否存在,如果存在,则从开始行开始遍历,测试结果写入为追加模式,如果不存在,则从上次测试停止行开始遍历,测试结果写入为追加模式。Determine whether there is a coverage flag, if yes, determine whether the start line exists, if it exists, start traversing from the start line, write the test results in coverage mode, if not, start traversing from the last test stop line, and write the test results If not, judge whether the start line exists, if it exists, start traversing from the start line, and write the test results in append mode, if not, start traversing from the last test stop line, and write the test results Enter append mode.

本发明作进一步改进,所述多通信协议自动化模块的处理方法为:The present invention is further improved, and the processing method of the multi-communication protocol automation module is:

C1:开始,读取配置文件;C1: start, read the configuration file;

C2:开启多线程并行,同时执行步骤C3和步骤C4;C2: Turn on multi-thread parallelism, and execute step C3 and step C4 at the same time;

C3:创建web服务,监听被测设备的请求,收到被测设备的应答报文,返回发送ssdp协议报文时待测设备所需要的xml文件;C3: Create a web service, monitor the request of the device under test, receive the response message of the device under test, and return the xml file required by the device under test when sending the ssdp protocol message;

C4:开启指定协议发包单元程序循环,根据各种协议识别方法,发送对应的协议报文;C4: Open the program cycle of the specified protocol sending unit, and send the corresponding protocol message according to various protocol identification methods;

C5:判断是否退出程序,如果是,退出循环,结束,如果否,返回执行步骤C2。C5: Determine whether to exit the program, if yes, exit the loop and end, if not, return to step C2.

本发明还提供一种计算机设备,包括处理器和存储器,所述处理器采用上述终端类型识别自动化测试系统,对待测设备进行自动化测试。The present invention also provides a computer device, including a processor and a memory, and the processor adopts the above-mentioned automatic test system for terminal type identification to perform automatic test on the device to be tested.

与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:

(1)操作简单,只需要配置初始的数据,即可实现自动的操作和按需选择手动的操作;(1) The operation is simple, only the initial data needs to be configured to realize automatic operation and manual operation on demand;

(2)有效解决了测试环境真实终端不足的问题;(2) Effectively solve the problem of insufficient real terminals in the test environment;

(3)节约人工、时间成本、减少购买真实终端的资金投入、提升测试效率;(3) Save labor and time costs, reduce capital investment in purchasing real terminals, and improve test efficiency;

(4)遍历测试项耗时长,运行程序即可自动化操作,无需在电脑前等待;(4) It takes a long time to traverse the test items, and the operation can be automated by running the program, without waiting in front of the computer;

(5)有详细的日志信息记录;(5) There are detailed log information records;

(6)自动生成测试报告,报告中标有测试时间、测试结果、特征库信息和识别的结果;能够很清晰明了的看出此次测试中不通过的特征所在;(6) Automatically generate test reports, which are marked with test time, test results, feature database information and recognition results; it is possible to clearly see the features that failed the test;

(7)该系统具有良好的维护性,后期可根据需要进一步拓展测试;(7) The system has good maintainability, and the test can be further expanded later as needed;

(8)该系统具有较好的可移植性,系统在其它电脑运行只需更改少量配置项。(8) The system has good portability, and only a few configuration items need to be changed when the system runs on other computers.

附图说明Description of drawings

为了更清楚地说明本申请或现有技术中的方案,下面将对实施例或现有技术描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the scheme in the application or the prior art more clearly, a brief introduction will be given below to the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are of the present application For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without creative effort.

图1为本发明测试硬件拓扑图;Fig. 1 is a test hardware topology diagram of the present invention;

图2为本发明中终端类型识别自动化测试系统架构示意图;Fig. 2 is a schematic diagram of the architecture of the automatic test system for terminal type identification in the present invention;

图3为发包模块工作流程图;Fig. 3 is the working flow diagram of the contract sending module;

图4为自动化遍历特征库模块工作流程图;Fig. 4 is the workflow diagram of automatic traversal feature library module;

图5为自动化遍历特征库模块自动测试详细流程图;Fig. 5 is a detailed flow chart of the automatic test of the automatic traversal feature library module;

图6为待测设备状态检测处理模块处理流程图;Fig. 6 is the processing flowchart of the equipment under test state detection processing module;

图7为第一发包功能模块处理方法流程图;Fig. 7 is a flow chart of the processing method of the first contract sending function module;

图8为第二发包功能模块处理方法流程图;Fig. 8 is a flow chart of the processing method of the second contract sending function module;

图9为第三发包功能模块处理方法流程图;Fig. 9 is a flow chart of the processing method of the third contract sending function module;

图10为第四发包功能模块处理方法流程图;Fig. 10 is a flowchart of the processing method of the fourth contract sending function module;

图11为第五发包功能模块处理方法流程图;Fig. 11 is a flowchart of the processing method of the fifth contract sending function module;

图12为第六发包功能模块处理方法流程图;Fig. 12 is a flowchart of the processing method of the sixth contract sending function module;

图13为第七发包功能模块处理方法流程图;Fig. 13 is a flowchart of the processing method of the seventh contract sending function module;

图14为第八发包功能模块处理方法流程图;Fig. 14 is a flow chart of the processing method of the eighth contract sending function module;

图15为多通信协议自动化模块处理方法流程图。Fig. 15 is a flow chart of the processing method of the multi-communication protocol automation module.

具体实施方式Detailed ways

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the application; the terms used herein in the description of the application are only for the purpose of describing specific embodiments , is not intended to limit the present application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and the description of the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

如图1所示,本发明的终端类型识别自动化测试系统(也称为终端类型识别自动化测试工具)设置在PC上,所述PC通过网卡与待测的网络设备(DUT)相连,用于对DUT进行识别功能和识别性能测试。本发明只需要使用自动化工具就可以模拟各种类型、品牌的终端,且没有设备数量的限制。As shown in Figure 1, the terminal type identification automated test system (also referred to as the terminal type identification automated test tool) of the present invention is arranged on the PC, and the described PC is connected with the network device (DUT) to be tested through the network card, and is used for DUT conducts recognition function and recognition performance tests. The present invention can simulate terminals of various types and brands only by using an automation tool, and there is no limitation on the number of devices.

本发明终端类型识别自动化测试系统包括:发包模块、自动化遍历特征库模块、多用户模拟上线模块和多通信协议自动化模块,其中,The automatic test system for terminal type identification of the present invention includes: a contract sending module, an automatic traversal feature library module, a multi-user simulated online module and a multi-communication protocol automatic module, wherein,

所述发包模块用于生成带图形用户界面的发包工具,供用户输入测试信息及开始测试指令;The contracting module is used to generate a contracting tool with a graphical user interface for users to input test information and start test instructions;

所述自动化遍历特征库模块用于根据用户输入的测试信息,自动发送携带特征库特征信息的协议包、自动检查识别结果、自动记录测试结果和报告;The automatic traversal feature library module is used to automatically send the protocol packet carrying the feature information of the feature library, automatically check the identification result, automatically record the test result and report according to the test information input by the user;

所述多用户模拟上线模块用于模拟多用户同时上线,根据用户输入的发包协议、发包数量即可自动发送指定数量的数据包和激活保持在线功能;The multi-user simulation online module is used to simulate multiple users online at the same time, and can automatically send a specified number of data packets and activate the online function according to the contract sending protocol and the number of packets input by the user;

所述多通信协议自动化模块包括多线程开启单元、web服务单元和指定协议发包单元(GUI程序),其中,所述多线程开启单元用于开启多线程使web服务单元和指定协议发包单元并行工作,所述Web服务单元用于为发送ssdp协议报文时提供待测设备所需要的文件,所述指定协议发包单元用于根据测试人员的选择发送指定协议的报文。The multi-communication protocol automation module includes a multi-thread opening unit, a web service unit and a designated protocol contracting unit (GUI program), wherein the multi-threading opening unit is used to open multi-threading so that the web service unit and the designated protocol contracting unit work in parallel , the Web service unit is used to provide the files required by the device under test when sending ssdp protocol messages, and the designated protocol sending unit is used to send the designated protocol messages according to the tester's selection.

本发明通过搭建一套完整的自动化测试系统,具备可维护性、可扩展性、可移植性。能通过简单的操作完成终端类型识别的测试,提高测试效率和测试准确度,并且自动保存测试结果,便于测试人员查看。The present invention has maintainability, expandability and portability by building a complete set of automatic test system. The terminal type identification test can be completed through simple operations, which improves test efficiency and test accuracy, and automatically saves test results for easy viewing by testers.

本例测试工件需要的测试环境支持:The test environment support required for the test artifact in this example:

系统支持:64位windows 7及以上系统System support: 64-bit windows 7 and above

编程语言:Python3.9Programming language: Python3.9

测试框架:scapy+tkinter+xlwt+xlrd+configparser+requests+flask,Test framework: scapy+tkinter+xlwt+xlrd+configparser+requests+flask,

scapy是python的一个第三方库,能够用来发送、嗅探、剖析和构造网络数据包。Scapy is a third-party library of python that can be used to send, sniff, analyze and construct network packets.

tkinter是一个python自带的扩展库,无需安装、性能好且具有良好的技术支持。能够比较方便、快捷的开发一个GUI界面。Tkinter is an extension library that comes with python. It does not need to be installed, has good performance and has good technical support. It can be more convenient and fast to develop a GUI interface.

xlwt是python的一个第三方库,支持通过python对excel表格进行写入操作。xlwt is a third-party library of python that supports writing to excel sheets through python.

xlrd是python的一个第三方库,支持通过python对excel表格进行读取操作。xlrd is a third-party library of python that supports reading operations on excel sheets through python.

configparser是python的一个扩展库,可以用来对和Windows ini文件类似的配置文件进行读写操作。configparser is an extension library of python that can be used to read and write configuration files similar to Windows ini files.

requests是python的一个HTTP库,能够很方便快捷的发送http请求,是编写爬虫常用的库。requests is an HTTP library of python, which can send http requests conveniently and quickly, and is a common library for writing crawlers.

flask是python中一个轻量级的web框架。Flask is a lightweight web framework in python.

本例的使用过程为:The usage process in this example is:

(1)【首次使用】修改config.ini配置文件,将网卡名称修改为自己连接待测设备的网卡名称以及待测设备的lan口IP、mac地址;(1) [First use] Modify the config.ini configuration file, and change the name of the network card to the name of the network card connected to the device under test and the IP and mac address of the device under test;

(2)点击运行发包工具(发包模块)即可选择对应的协议和需要携带的参数进行发包,模拟终端上线。DHCP协议可填充主机名和厂商标识、HTTP协议可填充user-agent(可携带终端类型、厂商等信息)、LLDP协议可填充路由标识、系统描述、系统名称、SSDP协议可填充终端类型和厂商信息、ONVIF协议可填充终端类型和厂商信息、NBNS协议可填充主机名、Browser协议可填充主机名、Windows版本信息、mDNS协议可填充主机名、MAC-OUI只需填充mac地址。通过不同协议携带的特征参数和mac地址可模拟各种类型的终端。(2) Click to run the contract sending tool (packet sending module) to select the corresponding protocol and the parameters that need to be carried to send the contract, and simulate the terminal to go online. The DHCP protocol can fill in the host name and manufacturer identification, the HTTP protocol can fill in the user-agent (portable terminal type, manufacturer and other information), the LLDP protocol can fill in the routing identifier, system description, system name, the SSDP protocol can fill in the terminal type and manufacturer information, The ONVIF protocol can fill in the terminal type and manufacturer information, the NBNS protocol can fill in the host name, the Browser protocol can fill in the host name, Windows version information, the mDNS protocol can fill in the host name, and the MAC-OUI only needs to fill in the mac address. Various types of terminals can be simulated through characteristic parameters and mac addresses carried by different protocols.

(3)点击运行遍历特征库程序,只需输入是否需要将报告覆盖和从特征库开始遍历的行数,程序即可自动发送携带特征库特征信息的协议包、自动检查识别结果、自动将测试结果和报告写入excel表格。(3) Click to run the traversal feature library program, just input whether the report needs to be covered and the number of lines traversed from the feature library, the program can automatically send the protocol package carrying the feature information of the feature library, automatically check the recognition results, and automatically test Results and reports are written to excel sheets.

(4)点击运行多用户同时上线程序,只需输入发包协议、发包数量即可自动发送指定数量的数据包和激活保持在线功能。(4) Click to run the multi-user online program at the same time, just enter the contract sending agreement and the number of sending packets to automatically send the specified number of data packets and activate the keep online function.

要实现本例的工具测试,需要设置以下封装功能模块实现:To realize the tool test of this example, the following packaging function modules need to be set for implementation:

Interface_generation:发包工具的可视化封装模块,用于生成带GUI界面的发包工具。Interface_generation: Visual encapsulation module of contracting tool, used to generate contracting tool with GUI interface.

main:自动化遍历特征库模块,用于自动发送携带特征库特征信息的协议包、自动检查识别结果、自动将测试结果和报告写入excel表格。main: Automatic traversal of the feature library module, used to automatically send the protocol package carrying the feature information of the feature library, automatically check the recognition results, and automatically write the test results and reports into the excel form.

get_dut_info:使用requests编写接口,获取待测设备的终端类型识别结果、对设备的连通性ping检测以及dut异常后的恢复动作。get_dut_info: Use requests to write an interface to obtain the terminal type identification result of the device under test, the ping test for the connectivity of the device, and the recovery action after the dut is abnormal.

get_ssdp_xml:基于ssdp协议的特性,dut收到终端的ssdp报文后会根据报文中的location地址获取携带终端信息的xml文件。使用flask搭建一个轻量级的web服务,为dut提供xml文件。get_ssdp_xml: Based on the characteristics of the ssdp protocol, after receiving the ssdp message from the terminal, the dut will obtain the xml file carrying the terminal information according to the location address in the message. Use flask to build a lightweight web service to provide xml files for dut.

load_dut_config:读取默认配置文件,读取config.ini中的配置信息。load_dut_config: read the default configuration file, and read the configuration information in config.ini.

random_arp_param:用于根据dut的lan口IP和子网掩码计算模拟终端上线的IP地址。random_arp_param: It is used to calculate the IP address of the simulated terminal going online according to the dut's lan port IP and subnet mask.

random_mac:用于生成模拟终端上线使用的mac地址。random_mac: used to generate the mac address used by the simulated terminal to go online.

random_terminal_protocol:用于模拟多用户同时上线的场景。random_terminal_protocol: Used to simulate the scenario where multiple users go online at the same time.

read_lib_info:用于根据特征库HTTP协议的特征,选择对应的http包的user-agent(User-Agent是Http协议中的一部分,属于头域的组成部分)。read_lib_info: It is used to select the user-agent of the corresponding http package according to the characteristics of the HTTP protocol in the feature library (User-Agent is a part of the HTTP protocol and belongs to the header field).

send_arp:用于发送arp协议报文。send_arp: used to send arp protocol packets.

terminal_type_browser:用于发送browser协议报文。terminal_type_browser: Used to send browser protocol packets.

terminal_type_dhcp:用于发送DHCP协议报文。terminal_type_dhcp: Used to send DHCP protocol packets.

terminal_type_http:用于发送HTTP协议报文。terminal_type_http: Used to send HTTP protocol packets.

terminal_type_lldp:用于发送lldp协议报文。terminal_type_lldp: Used to send lldp protocol packets.

terminal_type_mDns:用于发送mdns协议报文。terminal_type_mDns: used to send mdns protocol packets.

terminal_type_nbns:用于监听和抓取dut发送的nbns请求报文,并回复nbns应答报文。terminal_type_nbns: used to monitor and capture the nbns request message sent by dut, and reply the nbns response message.

terminal_type_onvif:用于发送onvif协议报文。terminal_type_onvif: used to send onvif protocol packets.

terminal_type_ssdp:用于发送ssdp协议报文。terminal_type_ssdp: Used to send ssdp protocol packets.

test_log:用于设置测试报告表格的样式、读取测试报告表格以及写入测试报告表格。test_log: Used to set the style of the test report form, read the test report form and write the test report form.

win_ctrl:封装了一系列功能,如ping检测、获取网卡信息等。win_ctrl: encapsulates a series of functions, such as ping detection, obtaining network card information, etc.

本发明的三层逻辑框架如图2所示。以下对各个封装模块进行详细说明。The three-layer logical framework of the present invention is shown in FIG. 2 . Each encapsulation module is described in detail below.

(1)发包模块Interface_generation:发包工具的可视化封装模块,用于生成带GUI界面的发包工具。(1) Contracting module Interface_generation: Visual encapsulation module of contracting tool, used to generate contracting tool with GUI interface.

其处理过程为:开始,读取配置文件,根据配置中的网卡信息获得该网卡的IP信息;根据用户的设置及开始测试指令,启动多通信协议自动化模块、自动化遍历特征库模块和多用户模拟上线模块对被测设备的类型自动识别并自动化测试。The processing process is: start, read the configuration file, obtain the IP information of the network card according to the network card information in the configuration; start the multi-communication protocol automation module, the automatic traversal feature library module and the multi-user simulation according to the user's settings and start test instructions The online module automatically recognizes the type of the device under test and automates the test.

(2)自动化遍历特征库模块main:遍历特征库,根据特征信息选择发送对应的报文,通过get请求获取识别记录。根据识别记录和特征信息判断测试是否通过,将测试结果写入测试报告表格。其具体的处理过程如图4和图5所示,其中,基于mac的识别方法是使用只填充mac,不填充option字段的dhcp协议完成。(2) Automatic traversal feature library module main: Traversing the feature library, selecting and sending corresponding messages according to feature information, and obtaining identification records through get requests. According to the identification record and characteristic information, it is judged whether the test is passed, and the test result is written into the test report form. The specific processing process is shown in Fig. 4 and Fig. 5, wherein, the identification method based on mac is completed by using the dhcp protocol which only fills mac and does not fill the option field.

在测试前,用户需要输入测试信息,所述用户输入的测试信息包括:是否覆盖标识和遍历开始行;所述自动化遍历特征库模块在进行测试前,还包括根据用户输入进行模式设置步骤,其模式设置步骤的处理过程为:Before the test, the user needs to input test information, and the test information input by the user includes: whether to cover the identification and the traversal start line; the automatic traversal feature library module also includes a mode setting step according to the user input before testing. The processing procedure of the mode setting step is:

判断是否存在覆盖标识,如果是,判断开始行是否存在,如果存在,则从开始行开始遍历,测试结果写入为覆盖模式,如果不存在,则从上次测试停止行开始遍历,测试结果写入为覆盖模式;如果否,则判断开始行是否存在,如果存在,则从开始行开始遍历,测试结果写入为追加模式,如果不存在,则从上次测试停止行开始遍历,测试结果写入为追加模式。Determine whether there is a coverage flag, if yes, determine whether the start line exists, if it exists, start traversing from the start line, write the test results in coverage mode, if not, start traversing from the last test stop line, and write the test results If not, judge whether the start line exists, if it exists, start traversing from the start line, and write the test results in append mode, if not, start traversing from the last test stop line, and write the test results Enter append mode.

然后进行测试过程,其具体测试方法为:Then carry out the test process, the specific test method is:

A1:读取配置文件,判断测试报告文件是否存在,如果不存在,则创建包括测试报告文件的报告文件夹;A1: Read the configuration file, judge whether the test report file exists, if not, create a report folder including the test report file;

A2:打开测试报告表格;A2: Open the test report form;

A3:遍历特征库;A3: traverse the feature library;

A4:发送特征对应协议的报文,获取识别结果记录,如果通过测试,则在测试报告中记录为测试通过,如果未通过,则在测试报告中记录为测试失败;A4: Send a message corresponding to the protocol of the feature, and obtain the recognition result record. If the test passes, it will be recorded as the test pass in the test report. If it fails, it will be recorded as the test failure in the test report;

A5:判断特征库是否遍历完毕,如果是,结束循环,结束,如果否,执行步骤A3。A5: Determine whether the feature database has been traversed, if yes, end the loop, and end, if not, go to step A3.

(3)待测设备状态检测处理模块get_dut_info:使用requests编写接口,获取待测设备的终端类型识别结果、对设备的连通性ping检测以及dut异常后的恢复动作。(3) The status detection processing module of the device under test get_dut_info: use requests to write the interface to obtain the terminal type identification result of the device under test, the ping detection of the device's connectivity, and the recovery action after the dut is abnormal.

如图6所示,其主要用于根据mac查找该终端是否被dut识别。还包括获取dut的cookies,将dut恢复出厂设置、过dut的快设置。具体流程如下:As shown in Figure 6, it is mainly used to find out whether the terminal is recognized by the dut according to the mac. It also includes obtaining dut cookies, restoring dut to factory settings, and quick setting of dut. The specific process is as follows:

B1:开始,输入模拟终端的mac地址;B1: Start, input the mac address of the simulated terminal;

B2:发送请求获取被测设备识别记录列表;B2: Send a request to obtain the list of identification records of the device under test;

B3:判断请求是否成功,如果是,执行步骤B4;如果否,执行步骤B5;B3: Determine whether the request is successful, if yes, execute step B4; if not, execute step B5;

B4:判断输入mac是否在识别记录中,如果是返回mac对应的识别记录,结束;如果否,返回失败结果,结束;B4: Determine whether the input mac is in the identification record, if it returns the identification record corresponding to the mac, end; if not, return a failure result, end;

B5:获取待测设备的cookies,cookie是保存在客户端的纯文本文件;B5: Obtain the cookies of the device under test, which are plain text files stored on the client;

B6:将待测设备回复出厂设置,结束。B6: Restore the device under test to factory settings, end.

(4)web服务单元get_ssdp_xml:基于ssdp协议的特性,DUT收到终端的ssdp报文后会根据报文中的location地址获取携带终端信息的xml文件。使用flask搭建一个轻量级的web服务,为DUT提供xml文件。本例通过读取配置文件获取网卡的IP信息,使用该IP开启web服务。(4) web service unit get_ssdp_xml: Based on the characteristics of the ssdp protocol, after receiving the ssdp message from the terminal, the DUT will obtain the xml file carrying the terminal information according to the location address in the message. Use flask to build a lightweight web service to provide xml files for DUT. In this example, the IP information of the network card is obtained by reading the configuration file, and the web service is started using the IP.

(5)load_dut_config:读取默认配置文件,读取config.ini中的配置信息。关键代码如下:(5) load_dut_config: read the default configuration file, and read the configuration information in config.ini. The key code is as follows:

defload_dut_config():defload_dut_config():

""""""

读取配置文件方法,暂时默认写死路径The method of reading the configuration file, the default path is hard-coded for the time being

:return:返回值为一个对象:return: The return value is an object

""""""

config=configparser.ConfigParser()config = configparser. ConfigParser()

config.read(r"config.ini",encoding="gbk")config.read(r"config.ini", encoding="gbk")

returnconfigreturnconfig

(6)random_mac:用于生成模拟终端上线使用的mac地址。关键代码如下:(6) random_mac: used to generate the mac address used by the simulated terminal to go online. The key code is as follows:

1、mac_oui="12:33:44",将mac的前缀固定1. mac_oui="12:33:44", fix the mac prefix

2、mac_be=”.join(random.sample(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e'],6)),随机选取6位作为mac地址的后6位2. mac_be=".join(random.sample(['0','1','2','3','4','5','6','7','8',' 9','a','b','c','d','e'],6)), randomly select 6 bits as the last 6 bits of the mac address

3、mac=mac_oui+':'+mac_be,将mac的前缀和后6位拼接3. mac=mac_oui+':'+mac_be, splicing the prefix of mac and the last 6 digits

(7)random_arp_param:用于根据dut的lan口IP和子网掩码计算模拟终端上线的IP地址。本例先读取配置文件,获取dut的lan口IP和子网掩码。根据dut的lan口IP和子网掩码计算模拟终端上线的IP地址。(7) random_arp_param: used to calculate the IP address of the simulated terminal going online according to the lan port IP and subnet mask of the dut. In this example, first read the configuration file to obtain the lan port IP and subnet mask of the dut. Calculate the IP address of the simulated terminal online according to the lan port IP and subnet mask of the dut.

(8)多用户模拟上线模块random_terminal_protocol:用于模拟多用户同时上线的场景。本例根据测试人员的输入,可以选择发送指定协议或者随机协议发包,也可以指定发送可识别或者不可识别的报文。关键代码如下:(8) Multi-user simulation online module random_terminal_protocol: used to simulate the scene where multiple users go online at the same time. In this example, according to the input of the tester, you can choose to send packets with a specified protocol or a random protocol, or you can specify to send identifiable or unidentifiable packets. The key code is as follows:

count=600,代表发包的次数;count=600, representing the number of times to send packets;

t0=threading.Thread(target=keep_alive,args=("front",)),主动发送arp保持终端的在线状态;t0=threading.Thread(target=keep_alive, args=("front",)), actively send arp to keep the terminal online;

t1=threading.Thread(target=auto_keep_alive),被动发送arp保持终端的在线状态;t1=threading.Thread(target=auto_keep_alive), passively send arp to keep the online status of the terminal;

random_fixed(count=count,protocol="http",is_identify=True),发送指定数量、协议的报文。random_fixed(count=count, protocol="http", is_identify=True), send the specified number and protocol of messages.

(9)read_lib_info:用于根据特征库HTTP协议的特征,选择对应的http包的user-agent(user-agent用户代理,是Http协议中的一部分,属于头域的组成部分)。(9) read_lib_info: used to select the user-agent of the corresponding http package according to the characteristics of the HTTP protocol in the feature library (the user-agent user agent is a part of the Http protocol and belongs to the header field).

(10)send_arp:用于向dut发送arp报文,模拟终端上线。关键代码如下:(10) send_arp: used to send arp message to dut, and simulate terminal to go online. The key code is as follows:

defsend_arp_pack(src_mac,client_ip):defsend_arp_pack(src_mac, client_ip):

arp_reply=Ether(src=src_mac,dst="ff:ff:ff:ff:ff:ff")/ARP(hwtype=1,ptype=0x800,hwlen=6,plen=4,op=2,hwsrc=src_mac,psrc=client_ip,hwdst="ff:ff:ff:ff:ff:ff",pdst=server_ip)/Padding(load=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')arp_reply=Ether(src=src_mac, dst="ff:ff:ff:ff:ff:ff")/ARP(hwtype=1, ptype=0x800, hwlen=6, plen=4, op=2, hwsrc=src_mac ,psrc=client_ip, hwdst="ff:ff:ff:ff:ff:ff", pdst=server_ip)/Padding(load=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00')

sendp(arp_reply,iface=interface)#发送一个ARP报文,需要发送一个ARP报文,在AP上才能识别出来。sendp(arp_reply, iface=interface)# To send an ARP message, you need to send an ARP message, which can be recognized on the AP.

(11)terminal_type_browser:用于发送browser协议报文,具体流程如图7所示。(11) terminal_type_browser: used to send browser protocol messages, the specific process is shown in Figure 7.

(12)terminal_type_dhcp:用于发送DHCP协议报文,具体流程如图8所示,最后一步需要发送arp报文进行设备的上线操作。(12) terminal_type_dhcp: used to send DHCP protocol message, the specific process is shown in Figure 8, the last step needs to send arp message to carry out the online operation of the device.

(13)terminal_type_http:用于发送http协议报文,具体流程如图9所示。(13) terminal_type_http: used to send http protocol messages, the specific process is shown in Figure 9.

(14)terminal_type_lldp:用于发送lldp协议报文,具体流程如图10所示。(14) terminal_type_lldp: used to send lldp protocol messages, the specific process is shown in Figure 10.

(15)terminal_type_mDNS:用于发送mdns协议报文,具体流程如图11所示。(15) terminal_type_mDNS: used to send mdns protocol messages, the specific process is shown in Figure 11.

(16)terminal_type_nbns:用于发送nbns协议报文,具体流程如图12所示。(16) terminal_type_nbns: used to send nbns protocol message, the specific process is shown in Figure 12.

(17)terminal_type_onvif:用于发送onvif协议报文,具体的流程如图13所示。(17) terminal_type_onvif: used to send onvif protocol packets, the specific process is shown in Figure 13.

(18)terminal_type_ssdp:用于发送ssdp协议报文,给dut提供携带设备信息的xml文件,具体流程如图14所示。(18) terminal_type_ssdp: used to send ssdp protocol messages, and provide dut with xml files carrying device information. The specific process is shown in Figure 14.

(19)test_log:用于设置测试报告表格的样式、读取测试报告表格以及写入测试报告表格。(19) test_log: used to set the style of the test report form, read the test report form and write the test report form.

关键代码如下:The key code is as follows:

""""""

以追加的方式写入Excel,Write to Excel in append mode,

:param values:需要写入的值:param values: the values to be written

:param style:预留值,用来渲染字体:param style: Reserved value, used to render fonts

:return::return:

""""""

(20)win_ctrl:封装了一系列功能,如ping检测、获取网卡信息等。(20) win_ctrl: encapsulates a series of functions, such as ping detection, obtaining network card information, etc.

关键代码如下:The key code is as follows:

defping_ip(ip,result=0,saddr="",n=3,network=None):defping_ip(ip, result=0, saddr="", n=3, network=None):

""""""

调用windows的命令去ping目的IP地址Call the windows command to ping the destination IP address

:paramip:IP表示pint的目的IP地址也可以url地址如:百度:paramip:IP indicates the destination IP address of the pint and can also be a url address such as: Baidu

:param result:预期的返回值,0表示成功,1表示失败,默认成功:param result: Expected return value, 0 means success, 1 means failure, default is success

:paramsaddr:表示指定从哪个IP地址出去,PC端存在多个IP地址时使用:paramsaddr: Indicates which IP address to go out from, and it is used when there are multiple IP addresses on the PC side

:param n:每次ping包的次数,默认每次两个包:param n: The number of ping packets each time, the default is two packets each time

:return:预期结果与实际结果一致时,返回True,否则返回False:return: Return True when the expected result is consistent with the actual result, otherwise return False

""""""

如图15所示,本例多通信协议自动化模块主要是开启多线程使web服务和GUI程序并行工作。Web服务为发送ssdp协议报文时提供DUT所需要的xml文件,GUI程序则可以根据测试人员的选择发送指定协议的报文,其处理方法为:As shown in Figure 15, the multi-communication protocol automation module in this example mainly enables multi-threading to make web services and GUI programs work in parallel. The web service provides the xml file required by the DUT when sending ssdp protocol messages, and the GUI program can send messages of the specified protocol according to the tester's choice. The processing method is as follows:

C1:开始,读取配置文件;C1: start, read the configuration file;

C2:开启多线程并行,同时执行步骤C3和步骤C4;C2: Turn on multi-thread parallelism, and execute step C3 and step C4 at the same time;

C3:创建web服务,监听被测设备的请求,收到被测设备的应答报文,返回发送ssdp协议报文时待测设备所需要的xml文件;C3: Create a web service, monitor the request of the device under test, receive the response message of the device under test, and return the xml file required by the device under test when sending the ssdp protocol message;

C4:开启指定协议发包单元程序循环,根据各种协议识别方法,发送对应的协议报文,其中,最后一个发送dhcp协议报文为发送只填充mac的dhcp协议报文,因为基于mac的识别方法使用的是只填充mac,不填充option字段的dhcp协议完成;C4: Turn on the specified protocol sending unit program loop, and send corresponding protocol messages according to various protocol identification methods, among which, the last sent dhcp protocol message is a dhcp protocol message that only fills mac, because the mac-based identification method It is completed by using the dhcp protocol that only fills the mac and does not fill the option field;

C5:判断是否退出程序,如果是,退出循环,结束,如果否,返回执行步骤C2。C5: Determine whether to exit the program, if yes, exit the loop and end, if not, return to step C2.

通过以上过程可知,本发明根据测试人员需求选择对应的协议(9种)发包,模拟终端上线、自动遍历特征库并检查设备识别结果,自动生成excel表格形式的测试报告以及自动发送指定数量的随机协议数据包,并保持模拟终端的在线状态,模拟多用户同时上线的场景。本发明在系统启动后为完全自动化操作,无需人工进行任何操作,因此,本发明具有以下突出的优势:Through the above process, it can be seen that the present invention selects the corresponding protocol (nine types) according to the needs of testers to send contracts, simulates the terminal to go online, automatically traverses the feature library and checks the device identification results, automatically generates a test report in the form of an excel form, and automatically sends a specified number of random Protocol data packets, and keep the online status of the simulated terminal, simulating the scene where multiple users go online at the same time. The present invention is a fully automatic operation after the system is started, without any manual operation. Therefore, the present invention has the following outstanding advantages:

(1)操作简单,只需要配置初始的数据,即可实现自动的操作和按需选择手动的操作;(1) The operation is simple, only the initial data needs to be configured to realize automatic operation and manual operation on demand;

(2)有效解决了测试环境真实终端不足的问题;(2) Effectively solve the problem of insufficient real terminals in the test environment;

(3)节约人工、时间成本、减少购买真实终端的资金投入、提升测试效率;(3) Save labor and time costs, reduce capital investment in purchasing real terminals, and improve test efficiency;

(4)遍历测试项耗时长,运行程序即可自动化操作,无需在电脑前等待;(4) It takes a long time to traverse the test items, and the operation can be automated by running the program, without waiting in front of the computer;

(5)有详细的日志信息记录;(5) There are detailed log information records;

(6)自动生成测试报告,报告中标有测试时间、测试结果、特征库信息和识别的结果;能够很清晰明了的看出此次测试中不通过的特征所在;(6) Automatically generate test reports, which are marked with test time, test results, feature database information and recognition results; it is possible to clearly see the features that failed the test;

(7)该系统具有良好的维护性,后期可根据需要进一步拓展测试;(7) The system has good maintainability, and the test can be further expanded later as needed;

(8)该系统具有较好的可移植性,系统在其它电脑运行只需更改少量配置项。(8) The system has good portability, and only a few configuration items need to be changed when the system runs on other computers.

以上所述之具体实施方式为本发明的较佳实施方式,并非以此限定本发明的具体实施范围,本发明的范围包括并不限于本具体实施方式,凡依照本发明所作的等效变化均在本发明的保护范围内。The specific implementations described above are preferred implementations of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes and is not limited to the specific implementations. All equivalent changes made according to the present invention are Within the protection scope of the present invention.

Claims (10)

5. The automated test system for terminal type identification of any of claims 1-4, wherein: the specified protocol packet sending unit comprises 9 packet sending function modules, wherein 8 packet sending function modules respectively support automatic construction and sending of corresponding protocol messages, the 8 protocol messages comprise an arp protocol message, a browser protocol message, a DHCP protocol message, an HTTP protocol message, an lldp protocol message, an mdns protocol message, an onvif protocol message and an ssdp protocol message, and the specified protocol packet sending unit further comprises an nbns protocol packet sending function module which is used for monitoring and grabbing an nbns protocol request message sent by equipment to be tested and replying an nbns protocol response message.
CN202210232259.3A2022-03-092022-03-09 A terminal type identification automatic test system and computer equipmentExpired - Fee RelatedCN114598629B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210232259.3ACN114598629B (en)2022-03-092022-03-09 A terminal type identification automatic test system and computer equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210232259.3ACN114598629B (en)2022-03-092022-03-09 A terminal type identification automatic test system and computer equipment

Publications (2)

Publication NumberPublication Date
CN114598629A CN114598629A (en)2022-06-07
CN114598629Btrue CN114598629B (en)2023-08-11

Family

ID=81816728

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210232259.3AExpired - Fee RelatedCN114598629B (en)2022-03-092022-03-09 A terminal type identification automatic test system and computer equipment

Country Status (1)

CountryLink
CN (1)CN114598629B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115242675A (en)*2022-07-252022-10-25北京天融信网络安全技术有限公司 A method and system for identifying the type of an Internet of Things terminal

Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR970058086A (en)*1995-12-191997-07-31양승택 Control method of subscriber information processing device simulator for personal communication switch
JP2002300161A (en)*2001-04-032002-10-11Canon Inc Information processing apparatus and control method for the information processing apparatus
WO2004091139A1 (en)*2003-04-082004-10-21Huawei Technologies Co.,Ltd.A method of testing digital subscriber line broadband service
WO2007089786A2 (en)*2006-01-302007-08-09Sudhakar GovindavajhalaIdentifying unauthorized privilege escalations
CN101030980A (en)*2007-04-052007-09-05中兴通讯股份有限公司Wide-band terminal identifier based on Ethernet and its identifying method
CN101996451A (en)*2009-08-142011-03-30中国工商银行股份有限公司Test method of bank self-service device system and server
CN102118320A (en)*2011-04-182011-07-06北京神州数码思特奇信息技术股份有限公司Method for protocol identification and flow control
CN105487978A (en)*2015-12-012016-04-13北京浩瀚深度信息技术股份有限公司Method and system for automatically testing application software based on UFT
CN112487133A (en)*2020-11-252021-03-12国网辽宁省电力有限公司信息通信分公司Equipment discovery and identification method and system for power grid
CN112600793A (en)*2020-11-232021-04-02国网山东省电力公司青岛供电公司Internet of things equipment classification and identification method and system based on machine learning
CN112910735A (en)*2021-01-302021-06-04山东兆物网络技术股份有限公司Comprehensive detection method and system for discovering illegal external connection of intranet equipment
CN113067738A (en)*2021-04-012021-07-02深圳市吉祥腾达科技有限公司Network topology visualization function equipment compatibility testing method and system
CN113518018A (en)*2021-08-162021-10-19深圳市吉祥腾达科技有限公司 A kind of router system stability test system and test method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7010782B2 (en)*2002-04-042006-03-07Sapphire Infotech, Inc.Interactive automatic-test GUI for testing devices and equipment using shell-level, CLI, and SNMP commands
US11095875B2 (en)*2017-12-162021-08-17Caavo IncAutomatic testing of home entertainment automation systems for controlling connected devices

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR970058086A (en)*1995-12-191997-07-31양승택 Control method of subscriber information processing device simulator for personal communication switch
JP2002300161A (en)*2001-04-032002-10-11Canon Inc Information processing apparatus and control method for the information processing apparatus
WO2004091139A1 (en)*2003-04-082004-10-21Huawei Technologies Co.,Ltd.A method of testing digital subscriber line broadband service
WO2007089786A2 (en)*2006-01-302007-08-09Sudhakar GovindavajhalaIdentifying unauthorized privilege escalations
CN101030980A (en)*2007-04-052007-09-05中兴通讯股份有限公司Wide-band terminal identifier based on Ethernet and its identifying method
CN101996451A (en)*2009-08-142011-03-30中国工商银行股份有限公司Test method of bank self-service device system and server
CN102118320A (en)*2011-04-182011-07-06北京神州数码思特奇信息技术股份有限公司Method for protocol identification and flow control
CN105487978A (en)*2015-12-012016-04-13北京浩瀚深度信息技术股份有限公司Method and system for automatically testing application software based on UFT
CN112600793A (en)*2020-11-232021-04-02国网山东省电力公司青岛供电公司Internet of things equipment classification and identification method and system based on machine learning
CN112487133A (en)*2020-11-252021-03-12国网辽宁省电力有限公司信息通信分公司Equipment discovery and identification method and system for power grid
CN112910735A (en)*2021-01-302021-06-04山东兆物网络技术股份有限公司Comprehensive detection method and system for discovering illegal external connection of intranet equipment
CN113067738A (en)*2021-04-012021-07-02深圳市吉祥腾达科技有限公司Network topology visualization function equipment compatibility testing method and system
CN113518018A (en)*2021-08-162021-10-19深圳市吉祥腾达科技有限公司 A kind of router system stability test system and test method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于资产识别技术的无线路由设备非法接入检测;栗红梅 等;《中国安防》;全文*

Also Published As

Publication numberPublication date
CN114598629A (en)2022-06-07

Similar Documents

PublicationPublication DateTitle
CN112714047B (en)Industrial control protocol flow based test method, device, equipment and storage medium
US8578017B2 (en)Automatic correlation of service level agreement and operating level agreement
WO2020155777A1 (en)Ui automated function testing method, testing device, testing apparatus, and storage medium
WO2021164261A1 (en)Method for testing cloud network device, and storage medium and computer device
CN106209515A (en)Automatic test system for access network equipment
CN114363217B (en)RFC2544 throughput performance test method, system, device and medium
CN115150377B (en)Simulation interface calling and processing method and device
CN113067738A (en)Network topology visualization function equipment compatibility testing method and system
CN115542875A (en) A vehicle detection method and related equipment based on SOA service
CN114598629B (en) A terminal type identification automatic test system and computer equipment
CN112583663B (en)Automatic network performance testing method based on domestic operating system
CN110532162A (en)A kind of fuzz testing script and testing engine based on protocol state machine
CN115203008A (en) A test method, device, storage medium and equipment
CN116647490A (en) An Aviation AFDX Network Data Detection System
CN102143414A (en)Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
TW201519598A (en) Processing system and method for constructing network structure deployment diagram and computer program product for deploying analysis program of internal storage network structure
CN117155818A (en) A real vehicle testing method, system and medium based on SOA services
CN100483976C (en)Transmission method for testing computer network protocol
CN116719750A (en)Software testing method and device, server equipment and storage medium
CN112565106A (en)Flow business identification method, device, equipment and computer storage medium
CN114567543A (en)Problem interface positioning method and device, electronic equipment and storage medium
CN100389627C (en)Testing equipment of short message interface
CN114629819B (en)Network detection method and device, electronic equipment and storage medium
JP4411188B2 (en) Online system and communication method
CN115967797B (en)Product testing method and device, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20230811


[8]ページ先頭

©2009-2025 Movatter.jp