CN105049435B - Protocol for heterogeneous wireless sensor network cloud conformance testing framework - Google Patents

Protocol for heterogeneous wireless sensor network cloud conformance testing framework Download PDF

Info

Publication number
CN105049435B
CN105049435B CN201510430490.3A CN201510430490A CN105049435B CN 105049435 B CN105049435 B CN 105049435B CN 201510430490 A CN201510430490 A CN 201510430490A CN 105049435 B CN105049435 B CN 105049435B
Authority
CN
China
Prior art keywords
test
cloud
platform
testing
management
Prior art date
Application number
CN201510430490.3A
Other languages
Chinese (zh)
Other versions
CN105049435A (en
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
Application filed by 重庆邮电大学 filed Critical 重庆邮电大学
Priority to CN201510430490.3A priority Critical patent/CN105049435B/en
Publication of CN105049435A publication Critical patent/CN105049435A/en
Application granted granted Critical
Publication of CN105049435B publication Critical patent/CN105049435B/en

Links

Abstract

本发明请求保护种面向异构无线传感器网络的协议致性的云测试框架,包括云测试平台、测试代理及被测系统;其中云测试平台负责测试进行与测试过程的控制管理;所述测试代理是被测系统与云测试平台之间的通信桥梁,相应的测试代理接收到云测试平台的命令后转发给对应的被测系统的网络中的设备,并为测试设备分配角色形成对应的测试网络;其中云测试平台主要包括基础设施服务层IaaS、平台服务层PaaS及应用服务层SaaS,测试用户通过应用服务层SaaS提供的Web界面通过Internet访问云测试平台,提交测试需求及相关测试配置后云测试平台根据测试需求分配测试资源,相关虚拟服务器进行测试,并通过应用服务层SaaS对测试过程进行监控,最后获得完整的测试报告。 Species for the present invention claimed heterogeneous wireless sensor network protocol conformance testing framework cloud, the cloud includes a test platform, and the system under test agent; wherein the test control management platform is responsible for testing cloud and testing process; the test agent is a communication bridge between the test system and the test platform cloud, corresponding test agent receives a command cloud test platform forwards to the corresponding network devices in the system under test, and to form a corresponding network testing apparatus for testing the role assigned ; after which the cloud test platform includes infrastructure services layer IaaS, platform services layer, PaaS and application service layer SaaS, the test provided by the user through the application service layer SaaS Web interface to access the cloud test platform through the internet, submit test requirements and related test configurations cloud test platform distribution according to test requirements test resource, the associated virtual server for testing, and monitor the testing process through the application service layer SaaS, and finally a complete test report.

Description

面向异构无线传感器网络的协议一致性的云测试框架 Protocol for heterogeneous wireless sensor network cloud conformance testing framework

技术领域 FIELD

[0001]本发明涉及一种测试框架,具体设计一种面向异构无线传感器网络的协议一致性的云测试框架。 [0001] The present invention relates to a testing framework, specifically designed protocol conformance testing framework oriented cloud heterogeneous wireless sensor networks.

背景技术 Background technique

[0002]物联网技术的发展,无线传感器网络的应用越来越广泛,例如工业自动化、环境监测、智能家居等。 [0002] development of networking technology, wireless sensor network is widely applied, such as industrial automation, environmental monitoring, smart home and so on. 但是在实际的应用中无线传感器网络各节点往往是不同的,即使是同一型号的节点间也存在微小的差异,这就形成了异构无线传感器网络。 However, in practical applications, each node in wireless sensor networks often different, even if there is a slight difference between nodes of the same type, which formed a heterogeneous wireless sensor networks. 无线传感器网络的异构特性给无线传感器网络的协议一致性测试带来了很多的不便,对不同的协议(例如WIA-PA, IPV6协议等)要设计不同的测试平台来进行测试,多种不同的测试平台难以集成,同时传统的软件测试,大多是基于本地的测试,协议一致性测试需要配置相应的运行环境,测试过程和结果受到环境的影响,对测试环境的配置变得十分复杂。 The heterogeneous nature of wireless sensor network to the wireless sensor network protocol conformance testing brings a lot of inconvenience, different protocols (e.g. WIA-PA, IPV6 protocol, etc.) to a different design of the test platform to test a variety of different the test platform difficult to integrate, while traditional software testing, mostly based on local testing, protocol conformance test need to configure the operating environment, test procedures and results are affected by the environment, the configuration of the test environment becomes very complicated. 测试环境的配置主要包括硬件环境和软件环境,测试硬件环境主要针对物理机器和通信通道的搭建,包括服务器、客户端、存储设备、电源、网络连接设备的配置;测试软件环境主要针对运行在物理机之上的各类软件的安装和设置,包括操作系统、测试软件、测试工具、浏览器、数据库等其他应用软件构成的环境,每一个环境都需要进行复杂的设置,设置选项和内容繁多,给管理带来一定的难度。 Configuring the test environment includes hardware and software environment, test hardware environment is mainly built for the physical machine and communication channels, including the configuration server, client, storage devices, power supplies, network connection device; test software environment primarily for operation in the physical various types of software installation and setup on the machine, including the operating system environment, test software, test tools, browsers, databases, and other application software constituted for each environment requires complex setup, setting options and content variety, management to bring some degree of difficulty. 还需花费时间、人力和资金投入来完成最终的搭建工作;最后,测试知识和用例在使用完成后会被单独的进行保存和管理,没有统一的存储管理技术作为支撑,缺乏知识的积累性。 The need to spend time, manpower and capital investment to complete the final construction work; and finally, test the knowledge and use cases are separate save and manage after use is completed, there is no unified storage management technology as a support, the lack of accumulation of knowledge. 这样的协议一致性测试既消耗资源又效率低下。 This protocol conformance test both the consumption of resources and inefficient.

发明内容 SUMMARY

[0003]针对现有技术的不足,提出了一种节约了测试成本的测试软件或者工具,也不需要构建复杂的测试环境、提高测试效率的面向异构无线传感器网络的协议一致性的云测试框架。 [0003] for the deficiencies of the prior art, it proposes a test cost savings or software test tool, do not need to build complex testing environment, improve efficiency of testing for heterogeneous wireless sensor network protocol conformance testing cloud frame. 本发明的技术方案如下:一种面向异构无线传感器网络的协议一致性的云测试框架, 其包括云测试平台、测试代理及被测系统;其中云测试平台负责测试进行与测试过程的控制管理;所述测试代理是被测系统与云测试平台之间的通信桥梁,相应的测试代理接收到云测试平台的命令后转发给对应的被测系统的网络中的设备,并为测试设备分配角色形成对应的测试网络; Aspect of the present invention is as follows: A protocol for heterogeneous wireless sensor network conformance testing framework of the cloud, which includes a cloud test platform, and the system under test agent; wherein the control manager is responsible for testing cloud test platform and test process ; forwards the test agent is a communication bridge between the test system and the test platform, a cloud, a respective test agent cloud test platform receives a command to a corresponding network device in the system under test, the test device and assign roles to form the corresponding test network;

[0004]其中云测试平台主要包括基础设施服务层IaaS、平台服务层PaaS及应用服务层SaaS,测试用户通过应用服务层SaaS提供的Web界面通过Internet访问云测试平台,提交测试需求及相关测试配置后云测试平台根据测试需求分配测试资源,在测试代理的作用下构成相应异构的测试环境;通过虚拟技术将各测试环境虚拟化后放入云环境中用户通过访问云环境中的相关虚拟服务器进行测试,并通过应用服务层SaaS对测试过程进行监控,最后可获得完整的测试报告。 [0004] where cloud test platform includes infrastructure services layer IaaS, platform services layer, PaaS and application service layer SaaS, the test provided by the user through the application service layer SaaS Web interface to access the cloud test platform through the Internet, submit test requirements and related test configuration after the cloud test platform to test the distribution of resources according to test requirements, constitute the corresponding heterogeneous test environment under the effect of the test agent; virtual technology into cloud environments through user access to the cloud environment-related virtual server after each test environment virtualization test, and monitor the testing process through the application service layer SaaS, the last to get the complete test report.

[0005]进一步的,所述测试代理主要包括与云测试平台通信的API接口、个性化协议标准模块PM、测试代理描述及测试驱动四部分: L0006] ApI接口是云测试平台与测试代理的通信接口,云测试平台通过API接口控制被测系统形成对应的测试网络,测试代理的相关测试信息通过API接口反馈给云测试平台从而得到测试结果; [0005] Further, the test agent and API interface comprises a primary, personalized internet protocol standard communication module PM cloud testing, and testing the test agent described driving four parts: L0006] ApI cloud communication interfaces and test agent test platform interfaces, cloud test platform via the API interface control system under test to form the corresponding network, the relevant test information interface back to the test agent cloud test platform API to obtain test results;

[0007]个性化协议标准模块PM用于针对不同的协议进行设计,个性化协议标准模块PM包含各协议的标准描述; [0007] The personalization module PM Protocol standards for design, personalize module PM comprises a standard protocol standard protocol described for each different protocols;

[0008]测试代理描述主要包括关于测试平台和测试代理的相关定义信息和测试驱动控制信息和部分用户定义的参数信息; [0008] The test agents described include definitions and test information on the test platform and the drive control parameters test agent and the part of the user information is defined;

[0009]测试驱动主要用于负责与被测系统直接通信,它有被测系统相同的物理通信接口和协议栈,用于控制形成的对应协议的不同被测网络。 [0009] The test driver is responsible mainly for direct communication with the system under test, it has the same physical communication interfaces and protocol stacks system under test, measured for different control protocols corresponding to network formation.

[0010]进一步的,所述基础设施服务层laas主要包括传统的硬件和网络设施,其中主要包括软硬件设备和网络基础设施设备、服务器、测试用例数据库,所述测试用例数据库主要包括资源库、案例库、缺陷库、知识库和标准库,其中基础设施服务层IaaS的最上层是虚拟化服务模块,将基础设施服务层中的物理资源虚拟化,放入对应的虚拟资源池中提供给是平台服务层PaaS进行调用,虚拟化服务模块构建采用KVM虚拟化技术。 [0010] Further, the service infrastructure layer laas include conventional hardware and network infrastructure, including hardware and software mainly equipment and network infrastructure equipment, servers, database test, including the test database repository, case base, the defect base, knowledge base and standard library, where the top layer of IaaS infrastructure services are virtualized service modules, physical resources, infrastructure services layer virtualization, into the corresponding virtual pool of resources available to be PaaS platform services layer call, virtualized service modules are built using KVM virtualization technology. 云测试平台通过整合物理资源形成虚拟资源池,实现对资源池中虚拟资源的动态调度。 Cloud test platform to form virtual pool of resources through the integration of physical resources, dynamic resource scheduling virtual resource pool.

[0011]进一步的,所述平台服务层分成基础云开发平台和测试开发平台,基础云开发平台主要是通过使用基础设施服务层IaaS提供的资源,搭建基础的云计算平台,包括分布式数据库、分布式文件系统、统一存储管理平台,测试开发平台通过基础云平台提供的服务, 构造必要的测试服务,主要包括测试执行、测试资源调度、测试结果生成及测试分析报告。 [0011] Further, the platform services layer into the cloud base platform development platform and test development, cloud development platform is based resources by using IaaS layer infrastructure services, cloud computing platform based structures, including a distributed database, distributed file system, unified storage management platform, service test development platform provided by the cloud platform basis, construction services necessary tests, including test execution, test resource scheduling, test results and test analysis report generated. [0012] 进一步的,所述云测试平台的应用服务层SaaS主要包括基础测试管理服务管理层和用户服务层,基础测试管理服务层用于与平台服务层中的测试开发平台进行通信,对云测试框架中的测试部分进行管理,包括测试任务管理、测试资源管理、测试数据库管理及测试用户信息管理;所述用户服务层是云测试平台中用户可访问的层,用于用户测试项目新建、测试过程监控及测试结果审核查看。 [0012] Further, the application service layer SaaS cloud test platform include basic service management and test management user service layer, the base layer of the test management service for communicating with the internet service layer test development platform, cloud testing portion of the test frame management, including the test task management, resource management test, test databases and test management user information management; a user layer is a layer service cloud test platform accessible to the user, for the user to create a new test item, testing process monitoring and review test results view.

[0013] 进一步的,所述基础测试管理服务层的测试任务管理主要用于创建测试任务与调度,根据用户测试任务来创建任务,并进行调度,负责把任务分给对应测试服务模块;测试资源管理管理测试相关的物理资源和虚拟资源,根据测试任务的要求,分配测试资源;测试数据库管理主要是对测试过程中的数据库进行管理,测试过程中的测试数据,测试结果都存储在数据库中,测试数据库管理部分可以查询数据库来收集结果,并通过报表工具把它展现出来;测试用户信息管理部分是对测试用户的信息已经各自的测试项目数据进行管理。 [0013] Further, the test management task based test management service layer is mainly used to create and test task scheduling, the task is created based on the user test task, and to schedule the task responsible for test points to a corresponding service module; Test Resources management-related tests of physical and virtual resources, according to the requirements of test tasks, allocating test resources; test database management is mainly to test the process of database management, test data during the test, the test results are stored in the database, test database management component can query the database to collect the results, and reporting tools through it to show up; the test is user information management section has information on the test user's own test data management project.

[0014] 进一步的,所述应用服务层SaaS的用户服务层是云测试框架与用户交互的接口, 用户服务层有统一的、用户Web界面,通过图表、统计信息和资源查找和和访问方式提供给测试用户,用户通过网页登录就可以操作云测试框架提供的各项测试服务,用户在Web界面新建测试项目,提出测试需求,配置测试相关信息,测试过程监控,测试结果查看审核,测试应用的分配,将软硬件安装、环境配置、环境维护的代价转移给云测试平台。 [0014] Further, the application service layer SaaS customer service is a cloud layer test framework interact with the user interface, users have a unified service layer, Web user interface, provided by charts, statistics and information, and resources to find and access methods to the test user, the user can operate through a web log on the cloud testing framework provides testing services, the new user interface testing in Web project, proposed testing requirements, test configuration information, process monitoring test, view audit test results, test applications distribution, the hardware and software installation, configuration environment, environmental maintenance costs transferred to the cloud test platform.

[0015]本发明的优点及有益效果如下: [0015] The advantages of the present invention and the advantageous effects as follows:

[0016] 1,本发明解决无线传感器网络的异构性造成的测试平台种类繁多,测试用例需要单独保存的问题。 [0016] 1, solve the heterogeneous wireless sensor network test platform of the present invention causes a wide range of test problems need to be saved separately. 使用云测试技术之后,用户不需要购买大量的计算机、测试设备和各类昂贵的测试软件或者工具,也不需要构建复杂的测试环境,节约了测试成本的测试软件或者工具,也不需要构建复杂的测试环境,节约了测试成本。 After testing the use of cloud technology, users do not need to buy a lot of computers, test equipment and test all kinds of expensive tools or software, you do not need to build complex test environment, test cost savings of test software or tools that do not need to build complex test environment, test cost savings.

[0017] 2.提高测试效率,通过虚拟化技术,云测试平台能够在最短的时间和最少的操作完成测试任务分配,资源的分配、设备配置等一系列操作,可以根据用户的需求在最短的时间内搭建起测试环境,可以节省很多的时间,用户只需按需访问测试平台即可。 [0017] 2. improve test efficiency, virtualization technology, cloud test platform and minimal test operation is completed in the shortest time assigned tasks, resource allocation, and a series of device configuration operations, according to the needs of users in the shortest a time to build up a test environment, you can save a lot of time, users only need to demand access to the test platform. 在云端存储有大量的测试案例和测试缺陷库,方便用户的查阅和参考,对于测试过程中产生的软硬件故障问题,都可以获得相关专业支持。 In the cloud storage a large number of test cases and test defect database access and user-friendly reference for hardware and software failure generated during the test, can obtain the relevant professional support.

[0018] 3.搭建测试环境,该测试框架,可以方便、快捷的按需搭建各种不同的系统平台环境,用户只需提交环境申请,就会搭建好不同的测试环境。 [0018] 3. set up a test environment, the test framework, you can easily and quickly set up a variety of on-demand systems platform environment, users only need to submit the application environment, will build a good different test environments.

[0019] 4•立即使用,云测试可以根据用户的不同需求自动搭建起满足不同需要的测试环境,测试用户只需要通过网络登录到云测试环境,就可以方便地立即进行测试,不需要复杂的准备过程,节约了大量环境部署所耗费的时间。 [0019] 4 • immediate use, cloud test can automatically build up a test environment to meet the different needs of the different needs of users, test user only needs to log on to the network cloud testing environment, can easily be tested immediately, no need for complex preparation process, saving a lot of time-consuming deployment environment. 通过虚拟化技术,利用标准化的云测试环境来进行测试,大大减少了测试的准备时间。 , Use of standardized cloud test environment for testing virtualization technology, greatly reducing the preparation time of the test.

附图说明 BRIEF DESCRIPTION

[0020] 图1是本发明提供实施例的面向异构无线传感器网络协议一致性云测试框架中云测试平台的整体架构示意图; [0020] FIG. 1 is an overall architecture diagram heterogeneous wireless sensor network protocol conformance testing framework cloud cloud test platform of the present invention provides for an embodiment;

[0021] 图2是本发明提供的面向异构无线传感器网络协议一致性云测试框架中测试代理结构示意图; [0021] FIG. 2 is a schematic view of a test agent heterogeneous wireless sensor network protocol conformance testing framework of the present invention provides a cloud upwardly facing;

[0022]图3是本发明提供的面向异构无线传感器网络协议一致性云测试框架中云测试平台搭建中虚拟化技术示意图; [0022] FIG. 3 is the present invention provides for the virtualization technology schematic heterogeneous wireless sensor network protocol conformance testing framework cloud cloud test platform structures;

[0023]图4是本发明提供的面向异构无线传感器网络协议一致性云测试框架测试执行时序图; [0023] FIG. 4 of the present invention is provided for heterogeneous wireless sensor network protocol conformance testing framework cloud test execution timing diagram;

[0024]图5是本发明提供的面向异构无线传感器网络协议一致性云测试框架的测试系统的结构示意图。 [0024] FIG. 5 is a schematic diagram of a heterogeneous wireless sensor testing system protocol conformance testing framework cloud the present invention provides a network-oriented.

具体实施方式 Detailed ways

[0025]以下结合附图,对本发明作进一步说明: [0025] conjunction with the drawings, the present invention is further described:

[0026]如图1所示,面向异构无线传感器网络协议一致性云测试框架中的云测试平台主要包括基础设施服务层(IaaS),平台服务层(PaaS)以及应用服务层(SaaS)。 [0026] As shown, for heterogeneous wireless sensor network protocol conformance testing framework cloud cloud test platform includes service infrastructure layer (IaaS), platform services layer (PaaS) and an application services layer (SaaS) 1. 基础设施服务层(IaaS)主要包含大量的服务器、数据库和网络连接设备,并通过虚拟技术生成的虚拟资源池。 Infrastructure services layer (IaaS) primarily contains a large number of servers, databases and network-connected devices, and the resulting virtual resource pool through virtualization technology. 平台服务层(PaaS)主要是分成基础云平台和测试平台,是无线传感器网络协议一致性测试的测试执行部分。 Platform services layer (PaaS) mainly into the cloud base platform and the platform test, the test is part of a wireless sensor network performs protocol conformance testing. 应用服务层(SaaS)是云测试框架的管理部分和用户交互接口,负责整个测试框架的管理和各功能模块的调度。 Application service layer (SaaS) is part of the management and user interaction interfaces cloud testing framework, scheduling responsible for the entire test management framework and functional modules.

[0027] 如图2所示,面向异构无线传感器网络协议一致性云测试框架中的测试代理(TA) 用于连接云测试平台和被测系统。 [0027] As shown in FIG. 2, for heterogeneous wireless sensor network protocol conformance testing framework cloud test agent (TA) for connecting internet cloud test system and the DUT. 它内嵌与被测系统相同的个性化协议模块PM,能与被测系统进行专用的协议一致性测试;同时能把现场的协议一致性测试的管理服务和数据转换成统一的IP数据与云测试平台进行交互。 It is the same as the embedded system under test personalized protocol module PM, can be a dedicated protocol conformance test system under test; and it can be the scene of the protocol conformance testing management services and data into a unified IP data with the cloud test platform to interact. 不同协议的被测系统需要有不同的TA。 System under different protocols require different TA. 测试代理负责与测试平台通信后,控制被测系统形成对应的网络,消除了无线传感器网络异构性对协议一致性测试的影响。 After the test agent is responsible for communication with a test platform, the control system is formed corresponding to the test network, the influence of the heterogeneous wireless sensor network protocol conformance testing. 测试代理与云测试平台中的测试管理模块直接通信,测试管理模块控制TA进行测试,TA与SUT通信控制SUT完成测试,TA需要配备与SUT相同的物理通信接口和协议栈,TA与相应的被测系统一一对应。 Test agent cloud test platform test management module to communicate directly, the test management module controls TA test, TA and SUT communication control SUT complete the test, TA need to be equipped with the SUT same physical communication interfaces and protocol stacks, TA corresponding to the measurement system one by one. 测试驱动主要是负责测试代理与被测系统通信, 测试驱动配备与SUT相同的物理通信接口和协议栈,使测试代理可以与被测系统直接通信。 Test drive test agent is responsible communication system under test, the test drive the SUT with the same physical communication interfaces and protocol stacks, so that the test agent can directly communicate with the system under test. 测试平台在进行相应的测试之前,测试代理必须与平台服务层中的测试任务管理部分建立通信接收对应的操作命令,测试代理把接收到命令根据不同协议要求进行解析后并转发给被测系统中的相关设备控制各设备形成不同的角色,组成对应的测试网络用于测试。 Before performing the test platform corresponding test, the test agent communication must be established corresponding to the received operation command and the test task management platform services layer, the test agent receiving the command and forwarded to the system under test according to the different requirements protocols parsed related equipment controls each apparatus formed of different roles, test network corresponding to the composition used for testing. 在测试代理中有相关的测试描述部分,存储测试驱动所需的配置参数,这些参数是根据无线传感器网络中各种不同的协议规范定义的。 Describe related test section for storing configuration parameters required to drive the test in the test agent, these parameters are defined according to various wireless sensor network protocol specification. TA的加入既实现协议测试跨平台集成,也保证了不同协议测试系统的独立性。 TA protocol test added both to achieve cross-platform integration, but also to ensure the independence of the different protocol test system.

[0028] 测试代理主要由与测试平台管理部分通信接口(API),个性化协议模块(PM),测试代理描述(TA Description),测试驱动(Test Driver)四部分: [0028] The test agent consists essentially of a portion of the test platform management communication interface (API), protocols personalization module (PM), the test agents described (TA Description), a drive test (Test Driver) four parts:

[0029] API是测试管理部分与测试代理的通信接口,两者之间的所有消息都通过这个接口交互,测试管理部分通过API控制测试代理控制被测系统形成对应的测试网络,TA的相关测试信息通过API反馈给测试平台从而得到测试结果。 [0029] API is a communication interface with the test management portion of the test agent, all messages between the two through the interactive interface, test management control section controls the system under test agent to form the corresponding test network through the API, TA related test feedback to the test platform to obtain the test results via the API.

[0030] PM是个性化协议模块针对不同的协议设计的,不同的协议对应不同的TA,不同的TA中包含个性化的PM,PM中包含各协议的标准描述。 [0030] PM personalized protocol module designed for different protocols, different protocols corresponding to different TA, the TA comprises different personalized PM, PM contained in each of the standard protocols described below.

[0031] TA Description是与测试相关的一些有用的信息,主要包括关于测试平台和测试代理(TA)的相关定义信息和测试驱动(Test Driver)控制信息和部分用户定义的参数信息。 [0031] TA Description some useful information is associated with the test, including the definition of the relevant information and the driving test on the test platform and test agent (TA) to (Test Driver) control parameter information and the user-defined section.

[0032] Test Driver主要负责与被测系统(SUT)直接通信,它有SUT相同的物理通信接口和协议栈,可以控制形成对应协议的不同被测网络。 [0032] Test Driver is responsible for direct communication with the system under test (SUT), which has the same physical SUT communication interface and protocol stack, the network may be controlled corresponding to the formation of different test protocol.

[0033]如图3所示,面向异构无线传感器网络协议一致性云测试框架中用到的虚拟化技术,云测试平台主要是基于云计算的理论提出了,虚拟化技术是云计算中的关键技术。 [0033] 3, virtualization cloud conformance testing framework used for heterogeneous wireless sensor network protocols, cloud test platform is based on the theory proposed cloud, virtualization technology is the Cloud key technologies. 为了节约资源,充分发挥云存储的优势,将无线传感网络协议一致性测试的相关服务器和数据库资源经过虚拟化技术形成虚拟资源放置于云端供用户直接访问。 To conserve resources, and take full advantage of cloud storage, server and database resources related wireless sensor network protocol conformance testing through virtualization technology to form virtual resources placed in the cloud for users to directly access. 用户通过Internet直接访问云端的资源,无需每次都要访问测试方的物理资源。 Internet users through direct access to resources in the cloud, without having to test every time access to physical resources side. 测试平台构建采用KVM虚拟化技术。 Test platform is built using KVM virtualization technology. 在基础设施服务层中的基础设施基础上布置了多个KVM虚拟化软件对物理资源进行虚拟化,并有虚拟软件控制管理部分控制虚拟机的工作,虚拟后的资源有统一的管理模块,整个虚拟过程受监控模块的监控管理。 In the infrastructure services layer infrastructure based on the arrangement of multiple KVM virtualization software for virtualizing physical resources and virtual software control management section controls the work of the virtual machine, the virtual resources have a unified management module, the entire virtual monitored process management and monitoring module. 云测试平台通过整合物理资源形成虚拟资源池,实现对资源池中虚拟资源的动态调度。 Cloud test platform to form virtual pool of resources through the integration of physical resources, dynamic resource scheduling virtual resource pool. 对资源进行虚拟化后,利用率与存储能力与可扩展能力得到了提高,有利于测试平台的扩展以及实现测试用户可直接访问虚拟资源而节省访问物理资源的时间。 After the virtualization of resources, utilization and storage capacity and scalability has been improved, in favor of extended testing platform and the achievement test users can directly access virtual resources while saving time access to physical resources.

[0034]如图4所示,面向异构无线传感器网络协议一致性云测试框架进行测试时,用户信息经过确认之后,用户只需要根据自己的测试需求并通过测试框架提供的用户服务接口新建自己的测试项目,测试系统会根据测试请求结合测试框架中服务器中存储的相关测试规范制定对应的测试计划,生成对应的测试案例,并控制测试代理调度底层设备组成被测网络,完成测试。 [0034] As shown, when testing for heterogeneous wireless sensor network protocol conformance testing framework cloud, after the user confirmation information, the user needs only four new user service interface according to their own needs and provide test by testing framework the test items, test system binding test frame stored in the server according to the test request corresponding to the relevant test specification developed test plan, the corresponding test cases generated, and controls the test agent composition of the underlying device scheduling the network under test, the test is completed. 测试管理部分测试数据库中存储的测试数据进行收集整理分析形成测试结果,对结果生成各种直观的统计图表呈现给用户,用户根据测试结果分析改正不足之处并完善测试,最后生成完整的测试报告。 Test test management section stored in the database test data collected form the test results of the analysis, the results generate a variety of statistical charts and intuitive to the user, the user analysis to correct deficiencies and improve the test according to the test results, and finally generate a complete test report .

[0035]如图5所示,面向异构无线传感器网络协议一致性云测试框架,包括测试平台、测试代理、被测系统三部分。 As shown in [0035] FIG. 5, for heterogeneous wireless sensor network protocol conformance testing cloud frame, the test platform comprising three parts, the test agent, the system under test. 所述的测试平台即云测试平台,其中云测试平台负责测试进行与测试过程的控制管理;所述测试代理是被测系统与云测试平台之间的通信桥梁,将对应的测试命令转发给被测系统中对应的设备;被测系统即无线传感器网络中运行不同网络协议的设备组成的网络系统;其中云测试平台主要包括基础设施服务层IaaS、平台服务层PaaS 及应用服务层SaaS,测试用户通过应用服务层SaaS提供的Web界面通过Internet访问云测试平台,提交测试需求及相关测试配置后云测试平台根据测试需求分配测试资源,相关虚拟服务器进行测试,并通过应用服务层SaaS对测试过程进行监控,最后获得完整的测试报告。 I.e., the test platform cloud test platform, wherein the platform is responsible for control and management cloud test Test with test procedures; the test agent is a communication bridge between the test system and the test platform cloud, forwards the command to the corresponding test measuring devices in the system corresponding; devices running different network protocols SUT i.e. wireless sensor network consisting of a network system; wherein the test platform includes cloud infrastructure services layer IaaS, PaaS platform services layer and application layer services SaaS, user test provided by the application service layer SaaS Web interface to access the cloud test platform through the internet, submit the cloud test platform allocation of test resources according to test requirements after the test requirements and related test configuration, the associated virtual server for testing, and the test process through the application service layer SaaS monitoring, and finally a complete test report.

[0036]以上这些实施例应理解为仅用于说明本发明而不用于限制本发明的保护范围。 [0036] These embodiments be construed as merely illustrative of the invention and are not intended to limit the scope of the present invention. 在阅读了本发明的记载的内容之后,技术人员可以对本发明作各种改动或修改,这些等效变化和修饰同样落入本发明权利要求所限定的范围。 After having read the description of the present invention, the art can make various changes or modifications of the present invention, such equivalent variations and modifications are also within the claims of the invention defined in the scope.

Claims (6)

1.一种面向异构无线传感器网络的协议一致性的云测试系统,其特征在于:包括云测试平台、测试代理及被测系统;其中云测试平台负责测试进行与测试过程的控制管理;所述测试代理是被测系统与云测试平台之间的通信桥梁,相应的测试代理接收到云测试平台的命令后转发给对应的被测系统的网络中的设备,并为测试设备分配角色形成对应的测试网络; 其中云测试平台主要包括基础设施服务层IaaS、平台服务层PaaS及应用服务层SaaS, 测试用户通过应用服务层SaaS提供的Web界面通过Internet访问云测试平台,提交测试需求及相关测试配置后云测试平台根据测试需求分配测试资源,在测试代理的作用下构成相应异构的测试环境;通过虚拟技术将各测试环境虚拟化后放入云环境中,用户通过访问云环境中的相关虚拟服务器进行测试,并通过应用服务层SaaS对测试过 Cloud protocol conformance testing 1. A system for heterogeneous wireless sensor network, characterized by: a cloud test platform, and the system under test agent; wherein the control management platform is responsible for testing cloud test with the testing process; the said test agent is a communication bridge between the test system and the test platform cloud forwards the corresponding test agent receiving the command cloud test platform to test the network system corresponding to the device and assign roles to form a corresponding apparatus for testing the test network; which cloud test platform includes infrastructure services layer IaaS, platform services layer, PaaS and application service layer SaaS, the test provided by the user through the application service layer SaaS Web interface to access the cloud test platform through the internet, submit test requirements and related test cloud test platform configuration according to the test after distribution test resource requirements, constituting corresponding heterogeneous test environment under the action of the test agent; the cloud through virtualization technology into each test environment after the virtual user by accessing the cloud environment related virtual server for testing, and through the application of SaaS services layer tested 进行监控,最后可获得完整的测试报告; 所述测试代理主要包括与云测试平台通信的API接口、个性化协议标准模块PM、测试代理描述及测试驱动四部分: API接口是云测试平台与测试代理的通信接口,云测试平台通过API接口控制被测系统形成对应的测试网络,测试代理的相关测试信息通过API接口反馈给云测试平台从而得到测试结果; 个性化协议标准模块PM用于针对不同的协议进行设计,个性化协议标准模块PM包含各协议的标准描述; 测试代理描述主要包括关于测试平台和测试代理的相关定义信息和测试驱动控制信息和部分用户定义的参数信息; 测试驱动主要用于负责与被测系统直接通信,它有被测系统相同的物理通信接口和协议栈,用于控制形成的对应协议的不同被测网络。 Monitoring, can be finally obtained complete test report; test agents including the API interface and personalized communications protocol standard internet cloud testing module PM, and the test agent test described driving four parts: a cloud test platform API interface and test agent communication interface, through the cloud test platform API interface control system under test to form the corresponding network, the information related to the test by the test agent is fed back to the API interface to obtain internet cloud test results; personalization module PM standard protocol used for different the protocol design, personalize protocol standard module PM comprises a standard for each protocol description; test agents described include definitions information and test drive on the test platform and test agent control parameter information and the user-defined section; test-driven mainly by responsible for communication directly to the system under test, it has the same physical communication interfaces and protocol stacks test system for controlling the formation of the corresponding protocol different network under test.
2.根据权利要求1所述的面向异构无线传感器网络的协议一致性的云测试系统,其特征在于:所述基础设施服务层IaaS主要包括传统的硬件和网络设施,包括网络基础设施设备、测试用例数据库,所述测试用例数据库主要包括资源库、案例库、缺陷库、知识库和标准库,其中基础设施服务层IaaS的最上层是虚拟化服务模块,将基础设施服务层中的物理资源虚拟化,放入对应的虚拟资源池中提供给平台服务层PaaS进行调用,虚拟化服务模块构建采用KVM虚拟化技术,云测试平台通过整合物理资源形成虚拟资源池,实现对资源池中虚拟资源的动态调度。 The facing according to a heterogeneous wireless sensor network protocol conformance testing system as claimed in claim cloud, wherein: said IaaS infrastructure services layer includes conventional hardware and network infrastructure, including network infrastructure equipment, test database, test the database includes resource library, case base, the defect base, knowledge base and standard library, where the top layer of IaaS infrastructure services are virtualized service modules, physical resources infrastructure services layer virtualization, into a corresponding virtual resource pool to provide call PaaS platform services layer, service virtualization module constructed using KVM virtualization, cloud test platform formed by the integration of the virtual resource pool of physical resources, virtual resources of the resource pool dynamic scheduling.
3. 根据权利要求1所述的面向异构无线传感器网络的协议一致性的云测试系统,其特征在于:所述平台服务层分成基础云开发平台和测试开发平台,基础云开发平台主要是通过使用基础设施服务层IaaS提供的资源,搭建基础的云计算平台,包括分布式数据库、分布式文件系统、统一存储管理平台,测试开发平台通过基础云开发平台提供的服务,构造必要的测试服务,主要包括测试执行、测试资源调度、测试结果生成及测试分析报告。 The facing according to a heterogeneous wireless sensor network protocol conformance testing system as claimed in claim cloud, wherein: said base layer into internet service internet cloud development and test development platform, cloud development platform base by the use of infrastructure services provided by IaaS layer resources, build the foundation of cloud computing platforms, including distributed databases, distributed file systems, unified storage management platform, service test development platform provided by the foundation for cloud development platform, construct the necessary testing services, including test execution, test resource scheduling, test results and test analysis report generated.
4. 根据权利要求1所述的面向异构无线传感器网络的协议一致性的云测试系统,其特征在于:所述云测试平台的应用服务层SaaS主要包括基础测试管理服务层和用户服务层, 基础测试管理服务层用于与平台服务层中的测试开发平台进行通信,对云测试框架中的测试部分进行管理,包括测试任务管理、测试资源管理、测试数据库管理及测试用户信息管理;所述用户服务层是云测试平台中用户可访问的层,用于用户测试项目新建、测试过程监控及测试结果审核查看。 The facing according to a heterogeneous wireless sensor network protocol conformance testing system as claimed in claim cloud, wherein: the application service layer SaaS cloud test platform include basic services, and user test management service layer, base test management service layer for communicating with the internet service layer test development platform, cloud test portion of the test management framework, including test task management, resource management test, test databases and test management user information management; the user service layer is a layer test platform in the cloud user accessible, user testing for new projects, monitor the testing process and test results of an examination to see.
5. 根据权利要求4所述的面向异构无线传感器网络的协议一致性的云测试系统,其特征在于:所述基础测试管理服务层的测试任务管理主要用于创建测试任务与调度,根据用户测试任务来创建任务,并进行调度,负责把任务分给对应测试服务模块;测试资源管理管理测试相关的物理资源和虚拟资源,根据测试任务的要求,分配测试资源;测试数据库管理主要是对测试过程中的数据库进行管理,测试过程中的测试数据,测试结果都存储在数据库中,测试数据库管理部分可以查询数据库来收集结果,并通过报表工具把测试结果展现出来;测试用户信息管理部分是对测试用户的测试项目数据进行管理。 The faces 4 of the heterogeneous wireless sensor network protocol conformance testing system as claimed in claim cloud, wherein: the base test task management test management service layer is mainly used to create and test task scheduling, according to user test tasks to create tasks and scheduling, is responsible for the task given to the corresponding test service module; test resources management tests related to physical and virtual resources, according to the requirements of test tasks, allocating test resources; test database management mainly for test the process of database management, test data during the test, the test results are stored in a database, test the database management section can query the database to collect the results, and the test results reporting tools to show up; test user information management part is test users test project data management.
6. 根据权利要求4所述的面向异构无线传感器网络的协议一致性的云测试系统,其特征在于:所述应用服务层SaaS的用户服务层是云测试框架与用户交互的接口,用户服务层有统一的用户Web界面,通过图表、统计信息和资源查找和访问方式提供给测试用户,用户通过网页登录就可以操作云测试框架提供的各项测试服务,用户在Web界面新建测试项目, 提出测试需求,配置测试相关信息,测试过程监控,测试结果查看审核,测试应用的分配,将软硬件安装、环境配置、环境维护的代价转移给云测试平台。 The protocol for heterogeneous wireless sensor network cloud 4 of the consistency test system as claimed in claim, wherein: said user application service layer SaaS cloud test service layer frame is interacting with the user interface, the user service Web layer unified user interface available to the user through the test charts, statistics, and resources to find and access, the user can operate through a web log in the cloud testing framework provides testing services and test new user interface in a Web project proposed test requirements, test configuration information, process monitoring test, the test results to see the audit assignment, test applications, the hardware and software installation, configuration environment, environmental maintenance costs transferred to the cloud test platform.
CN201510430490.3A 2015-07-21 2015-07-21 Protocol for heterogeneous wireless sensor network cloud conformance testing framework CN105049435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510430490.3A CN105049435B (en) 2015-07-21 2015-07-21 Protocol for heterogeneous wireless sensor network cloud conformance testing framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510430490.3A CN105049435B (en) 2015-07-21 2015-07-21 Protocol for heterogeneous wireless sensor network cloud conformance testing framework

Publications (2)

Publication Number Publication Date
CN105049435A CN105049435A (en) 2015-11-11
CN105049435B true CN105049435B (en) 2018-06-15

Family

ID=54455646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510430490.3A CN105049435B (en) 2015-07-21 2015-07-21 Protocol for heterogeneous wireless sensor network cloud conformance testing framework

Country Status (1)

Country Link
CN (1) CN105049435B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512038A (en) * 2015-12-12 2016-04-20 天津南大通用数据技术股份有限公司 Database based automation parallel test platform execution method
CN105681443A (en) * 2016-01-28 2016-06-15 安徽四创电子股份有限公司 Cloud computing framework method and system based on big data
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system
CN106528406A (en) * 2016-10-11 2017-03-22 广西电网有限责任公司电力科学研究院 Cloud service-based intelligent electric meter software test system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255933A (en) * 2010-05-20 2011-11-23 中兴通讯股份有限公司 Cloud service medium, cloud computing method and cloud system
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014062405A1 (en) * 2012-10-16 2014-04-24 Citrix Systems, Inc. Systems and methods for bridging between public and private clouds through multi-level api integration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255933A (en) * 2010-05-20 2011-11-23 中兴通讯股份有限公司 Cloud service medium, cloud computing method and cloud system
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud

Also Published As

Publication number Publication date
CN105049435A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
US7356590B2 (en) Distributed capture and aggregation of dynamic application usage information
US9430264B2 (en) System and method for managing resources in virtualized environment based on resource state information and policy information
US9473374B2 (en) Integrated metering of service usage for hybrid clouds
Peng et al. Comparison of several cloud computing platforms
RU2636848C2 (en) Method of estimating power consumption
US8176501B2 (en) Enabling efficient input/output (I/O) virtualization
US8751844B2 (en) Systems and methods for attributing an amount of power consumption to a workload
US9009697B2 (en) Hybrid cloud integrator
US20060074946A1 (en) Point of view distributed agent methodology for network management
US8903996B2 (en) Operating cloud computing services and cloud computing information system
US20120203908A1 (en) Hybrid cloud integrator plug-in components
US8988998B2 (en) Data processing environment integration control
US20090106571A1 (en) Systems and Methods to Adaptively Load Balance User Sessions to Reduce Energy Consumption
CN102521044B (en) Distributed task scheduling method and system based on messaging middleware
Casazza et al. Redefining server performance characterization for virtualization benchmarking.
JP2016507100A (en) Master Automation Service
KR20070062607A (en) Configuring, monitoring and/or managing resource groups including a virtual machine
WO2014015697A1 (en) Autonomic management system and method of virtual network
JP2013171582A (en) Method for increasing number of configuration of virtual machine for server
CN102681899A (en) Virtual computing resource dynamic management system of cloud computing service platform
CN102377796B (en) Heterogeneous service integrating system and method based on OSGi (open service gateway initiative)
CN101099132A (en) Verifying resource functionality before use by a grid job submitted to a grid environment
CN101986272A (en) Task scheduling method under cloud computing environment
CN102655532B (en) Distributed heterogeneous virtual resource management method and system integration
US20150261517A1 (en) Environment-driven application deployment in a virtual infrastructure

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination