Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for testing UPnP function and page rule checking

A technology of functional pages and rules, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of iptables rules that are difficult to master, difficult for testers, and time-consuming to test, so as to shorten the test cycle and simplify the test difficulty. , the effect of improving test efficiency

Active Publication Date: 2017-07-04
王蕴卓
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the difficulty of UPnP function, iptables rules are difficult to grasp. At present, the test for UPnP function is relatively simple, that is, open the software containing UPnP function and check whether the page displays the rules. It does not involve whether the rules in the underlying iptables are correct. This is very difficult for testers, especially new employees, and it takes a lot of testing time to learn how to test, increasing development costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for testing UPnP function and page rule checking
  • Method and device for testing UPnP function and page rule checking
  • Method and device for testing UPnP function and page rule checking

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0046] figure 1 It is a flow chart of steps of a method for testing UPnP functions and page rule checking in the present invention. Such as figure 1 Shown, the present invention a kind of method of testing UPnP function and page rule inspection, comprises the steps:

[0047] Step 101, build a test environment, enable the UPnP function of the DUT (Device Under Test, device under test), and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a method and device for testing UPnP (Universal Plug and Play) function and page rule checking. The method comprises: building a test environment, and starting the UPnP function of a tested device; obtaining the IP address of a test PC, and starting a download application; connecting a tested device, and leading out an iptables rule; checking whether there is a UPnP rule or not; if there is the UPnP rule, checking whether the UPnP rule is correct or not; if the UPnP rule is correct, closing a protocol connecting with the tested device, opening the UPnP function page of the tested device, and checking whether the page displays the UPnP rule or not; if the page displays the UPnP rule, checking whether the UPnP rule is correct or not; if the UPnP rule is correct, closing the download application, connecting with the tested device, and leading out the iptables rule; checking whether the UPnP rule disappears or not; if the UPnP rule disappears, closing the protocol connecting with the tested device, entering the UPnP function page of the tested device, and checking whether the UPnP rule disappears or not, if the UPnP rule disappears, returning back test passing.

Description

technical field [0001] The present invention relates to the field of testing, in particular to a method and device for testing UPnP functions and page rules based on iptables rules. Background technique [0002] UPnP (Universal Plug and Play, Universal Plug and Play) is a collective term for a set of protocols. For an intranet computer, the UPnP function can enable the NAT (Network Address Translation) module of the gateway or router to do automatic port mapping, and map the monitored port from the gateway or router to the intranet computer. Therefore, in order to ensure The normal connection and operation of the network, the test of UPnP function is very important. [0003] Iptables is an IP packet filtering system integrated in the Linux kernel. Iptables is used to set, maintain and check the IP packet filtering rules of the Linux kernel. [0004] Due to the difficulty of UPnP function, iptables rules are difficult to grasp. At present, the test for UPnP function is rel...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26
CPCH04L43/50
Inventor 朱渊
Owner 王蕴卓
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products