Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and system for testing whether the automatic detection function of the Internet access mode is normal

A technology of automatic detection and network mode, which is applied in the field of network communication, can solve problems such as inability to apply identification, high complexity, and high requirements for testers, so as to reduce work difficulty, reduce product cost, and improve test efficiency.

Active Publication Date: 2021-06-04
GOLDEN TIMES CULTURE COMM
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method can only test the network mode based on the DHCP server, and cannot be applied to the identification of various network modes
[0008] Existing technologies are often unable to provide an efficient and comprehensive testing method, which requires manual configuration by testers. The complexity of the test is high, and the requirements for testers are high. Testers need to master the method of building servers and be familiar with DHCP , PPPOE and other Internet access modes message interaction process and understand message details

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
  • A method and system for testing whether the automatic detection function of the Internet access mode is normal
  • A method and system for testing whether the automatic detection function of the Internet access mode is normal
  • A method and system for testing whether the automatic detection function of the Internet access mode is normal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] This embodiment provides a method for testing whether the automatic detection function of the Internet access mode is normal. The flow chart of the method is as follows figure 1 shown.

[0052] This embodiment includes steps:

[0053] In step S101, the automatic detection function of the Internet access mode of the device under test is started;

[0054] Specifically, after the connection with the device under test is established, the corresponding function module is called to start the automatic detection function of the Internet access mode of the device under test.

[0055] In step S102, capture the request message sent by the device under test to the switch;

[0056] Specifically, after the automatic detection function of the device under test is enabled, if the function is normal, a DHCP message request of DHCPdiscover and a message request of PPPoE of PADI should be sent.

[0057] In step S103, it is judged whether the request message includes a message request ...

Embodiment 2

[0062] This embodiment provides a method for testing whether the automatic detection function of the Internet access mode is normal. The flow chart of the method is as follows figure 2 shown. The details are as follows:

[0063] In step S201, the automatic detection function of the Internet access mode of the device under test is started;

[0064] Call the function to start the automatic detection function of the Internet access mode of the device under test.

[0065] In step S202, obtain the MAC address of the port of the device under test connected to the switch;

[0066] Obtain the MAC address of the port of the device under test connected to the switch by calling the corresponding function module.

[0067] In step S203, capture the request message sent by the device under test to the switch according to the MAC address and the PPPoE message or BOOTP message.

[0068] According to the MAC address of the device under test and the PPPOE message or BOOTP message, capture th...

Embodiment 3

[0107] This embodiment provides a system for testing whether the automatic detection function of the Internet access mode is normal, and the structural flow chart of the system is as follows image 3 shown.

[0108] The system includes:

[0109] The first automatic detection opening unit 310 is used to start the automatic detection function of the Internet access mode of the device under test;

[0110] A request message capture unit 320, configured to capture the request message sent to the switch by the device under test;

[0111] The first judging unit 330 judges whether the request packet includes a packet request for the Internet access mode; if not, the automatic detection function is abnormal.

[0112] Further, the system also includes:

[0113] A network mode configuration unit 340, configured to configure the network mode of the switch port connected to the device under test;

[0114] The second automatic detection opening unit 350 is used to start the automatic de...

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 invention discloses a method and system for testing whether the automatic detection function of the Internet access mode is normal. The method includes: starting the automatic detection function of the Internet access mode of the equipment to be tested; grabbing the request message sent by the equipment to be tested to the switch; judging the request Whether the message contains the message request of Internet access mode; if not, the automatic detection function is abnormal. The invention can simplify test difficulty, improve test efficiency, reduce work difficulty of test personnel, shorten test cycle and reduce product cost.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and system for testing whether the automatic detection function of an Internet access mode is normal. Background technique [0002] With the development of society and the improvement of product functions, it is becoming more and more friendly to users; many non-professional users can also use professional functions well. Such as the management of SOHO products developed now, these new usage methods and products have higher requirements for products. [0003] This is especially true for products that need to be connected to the network; the router can automatically select the network mode. [0004] The function of the product is powerful, and the test method also needs to be followed up in time. How to test whether the automatic detection function of the Internet access mode of the device is normal is a problem to be solved by the present invention. [00...

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 Patents(China)
IPC IPC(8): H04L12/24H04L12/26H04L12/935H04L12/939H04L29/12H04L49/111
CPCH04L41/0886H04L43/0823H04L43/10H04L49/30H04L49/555H04L61/5014
Inventor 朱渊
Owner GOLDEN TIMES CULTURE COMM