CN112600731A - Network testing device and method - Google Patents
Network testing device and method Download PDFInfo
- Publication number
- CN112600731A CN112600731A CN202011432498.0A CN202011432498A CN112600731A CN 112600731 A CN112600731 A CN 112600731A CN 202011432498 A CN202011432498 A CN 202011432498A CN 112600731 A CN112600731 A CN 112600731A
- Authority
- CN
- China
- Prior art keywords
- module
- network
- main control
- control module
- display module
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 56
- 238000000034 method Methods 0.000 title abstract description 6
- 238000004891 communication Methods 0.000 claims abstract description 5
- 238000001514 detection method Methods 0.000 claims description 7
- 238000010998 test method Methods 0.000 claims description 4
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 3
- 229910052744 lithium Inorganic materials 0.000 claims description 3
- 241000700605 Viruses Species 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000013024 troubleshooting Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a network testing device and a method, wherein the device comprises: the intelligent control device comprises a main control module, an Ethernet module, a display module, a key module and a battery module, wherein the main control module is in communication connection with the Ethernet module, the output end of the main control module is electrically connected with the input end of the display module, the input end of the main control module is electrically connected with the output end of the key module, and the output end of the battery module is electrically connected with the power connection end of the main control module. The invention has simple structure principle and convenient operation, and can effectively prevent virus and network attack by combining with the Ethernet module based on the hardware chip.
Description
Technical Field
The present invention relates to the field of computer network technologies, and in particular, to a network testing apparatus and method.
Background
With higher and higher social intelligence and automation degree, network security receives more attention from people. Nowadays, all industries can not leave the network, especially the 5G era comes. Taking an electric power system as an example, with the advance of distribution network automation, the pressure of daily network operation and maintenance is more and more for the base-level teams. At present, the tool for network operation and maintenance of the basic level personnel is a notebook or a professional testing device. The notebook has several disadvantages: 1. when the notebook computer is accessed to the private power network, the notebook computer can become a carrier of hackers and viruses to damage the network; 2. the notebook has high cost, and belongs to resource waste for simple network troubleshooting; 3. for the aged staff, the notebook computer is too complex to operate, high in learning cost and not easy to popularize. Professional test equipment also has the following disadvantages: 1. the price is high; 2. the TCP/IP protocol stack is typically a software protocol stack based on an OS system, so there is also a problem of network security. The notebook computer and the professional testing equipment adopt a software TCP/IP protocol stack, and the risk of network attack and virus spread exists.
In the prior art, the publication number is CN110324201A, and chinese invention patent is a terminal network test method in 2019, 10 month and 11 days, which relates to the field of Web front end performance test, and the method includes: when a weak network test instruction is received, starting a weak network setting function; when a weak network setting instruction input based on the weak network setting function is received, identifying weak network characteristics corresponding to the weak network setting instruction, wherein the weak network characteristics comprise time delay duration and packet loss rate; carrying out weak network adjustment based on the received weak network parameters and the weak network characteristics to obtain a corresponding target weak network state; and carrying out weak network test based on the target weak network state. The scheme has complex test principle and inconvenient operation.
Disclosure of Invention
The invention provides a network testing device and a network testing method for overcoming the defects that computer-aided testing is required for network testing and viruses and network attacks cannot be effectively prevented in the prior art.
The primary objective of the present invention is to solve the above technical problems, and the technical solution of the present invention is as follows:
a first aspect of the present invention provides a network test apparatus, including: the intelligent control device comprises a main control module, an Ethernet module, a display module, a key module and a battery module, wherein the main control module is in communication connection with the Ethernet module, the output end of the main control module is electrically connected with the input end of the display module, the input end of the main control module is electrically connected with the output end of the key module, and the output end of the battery module is electrically connected with the power connection end of the main control module.
Further, the main control module is an STM32 main control module.
Further, the ethernet module is a W5500 ethernet module.
Further, the battery module is a lithium battery module.
Further, the display module is an LCD display module or an LED display module.
The second aspect of the present invention provides a network testing method, including the following steps:
s1: the network testing device is accessed to a network to be tested, a power supply is started through a key module, and the network testing device is initialized;
s2: a user sets a working mode, and the main control module detects user input and enters the corresponding working mode to execute detection work;
s3: after the detection work is finished, the main control module detects whether the power switch key is pressed down, if the power switch key is pressed down, the network testing device enters a shutdown state, and if the power switch key is not pressed down, the main control module continues to detect the user input.
Further, the user operation mode includes: manual mode, automatic mode, ping mode, TCP mode.
Further, the manual mode is that the user directly inputs a local IP, a mask code and a gateway; the automatic mode is that: the control module executes the DHCP subprogram, judges whether DHCP information is acquired or not, displays the acquired DHCP information after the display module clears the screen if the DHCP information is acquired, and displays the reminding information if the DHCP information is not acquired.
Further, the ping mode is: the user inputs a destination IP address, the display module displays the IP address, the mask code, the gateway, the destination IP address and the destination port of the mobile phone after clearing the screen, the ping subprogram is executed to judge whether the destination IP address can be ping communicated, if the destination IP address can be ping communicated, the display module displays success information, and if the ping is not communicated, the display module displays failure information.
Further, the TCP mode is: the user inputs a destination IP address and a destination port, the display module displays the IP address, the mask code, the gateway, the destination IP address and the destination port of the computer after clearing the screen, the TCP subprogram is executed to judge whether the TCP port test is successful or not, if the port test is successful, the display module displays that the port connection is successful, and if the port test is failed, the display module displays that the port connection is failed.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
the network testing device based on the main control module is constructed, has simple structure principle and convenient operation, and can effectively prevent viruses and network attacks by combining with the Ethernet module based on the hardware chip.
Drawings
FIG. 1 is a schematic diagram of a network test apparatus according to the present invention.
FIG. 2 is a flow chart of a network testing method according to the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Example 1
As shown in fig. 1, a first aspect of the present invention provides a network test apparatus, including: the intelligent control device comprises a main control module, an Ethernet module, a display module, a key module and a battery module, wherein the main control module is in communication connection with the Ethernet module, the output end of the main control module is electrically connected with the input end of the display module, the input end of the main control module is electrically connected with the output end of the key module, and the output end of the battery module is electrically connected with the power connection end of the main control module.
In a specific embodiment, the main control module can be an STM32 main control module or a 51-single-chip microcomputer main control module, a user inputs an instruction through a key module and displays the man-machine interaction content through a display module, a TCP/IP protocol stack of the device provided by the invention is in protocol communication with the main control module through a W5500 Ethernet module, the W5500 Ethernet module is interconnected with a test switch through a network cable, and the battery module supplies power to the whole device.
Further, the battery module is a lithium battery module.
Further, the display module is an LCD display module or an LED display module.
In addition, the key module can be a 4x4 matrix keyboard, which comprises 0-9 Arabic numerals, a power switch key, a delete key, a return key, a ping function key, a TCP test function key and a confirm key.
It should be noted that, in general, network detection is that an operation and maintenance person cannot find that a faulty device is not connected to a server, and under the condition of removing a hardware line fault, a notebook or a professional test instrument is used to access a switch interface corresponding to the faulty device to perform network test, which generally includes acquiring a DHCP address, ping a test gateway and a server address, and testing whether a TCP port related to an access server is normally connected. And then fault location is carried out by combining the test result.
As shown in fig. 2, the present invention provides a network testing method based on the network testing apparatus, which includes the following steps:
s1, the network testing device is accessed to the network to be tested, the power supply is started through the key module, and the network testing device is initialized;
s2: a user sets a working mode, and the main control module detects user input and enters the corresponding working mode to execute detection work;
s3: after the detection work is finished, the main control module detects whether the power switch key is pressed down, if the power switch key is pressed down, the network testing device enters a shutdown state, and if the power switch key is not pressed down, the main control module continues to detect the user input.
Further, the user operation mode includes: manual mode, automatic mode, ping mode, TCP mode, in a specific implementation the manual mode may be indicated by the number 1 and the automatic mode by the number 0. After the user selects the manual mode, the local IP, the mask code and the gateway are directly input through the key module, and after the input is finished, the display module can display the input content of the user; after the user selects the automatic mode, the control module executes the DHCP subprogram to judge whether DHCP information is acquired or not, if DHCP is acquired, the display module displays the acquired DHCP information in the original mode after screen clearing, and if DHCP is not acquired, the display module displays reminding information.
In a specific implementation process, if the acquisition fails, the user may be prompted to re-acquire the data according to 0 through a screen of the display module, or manually configure the data according to 1.
Further, the ping mode is: the user selects to enter a ping mode through the key module, then inputs a destination IP address, the display module displays the IP address, the mask code, the gateway, the destination IP address and the destination port of the mobile phone after clearing the screen, the ping subprogram is executed to judge whether the destination IP address can be ping communicated, if the destination IP address can be ping communicated, the display module displays success information, and if the ping is not communicated, the display module displays failure information. It should be noted that, in the ping mode, if the ping is not passed and the destination IP address is not changed, the ping function key corresponding to the key module may be repeatedly pressed to perform the ping test.
Furthermore, a user selects to enter a TCP mode through the key module, then the user inputs a destination IP address and a destination port, the display module displays the IP address, the mask code, the gateway, the destination IP address and the destination port of the computer after clearing the screen, the TCP subprogram is executed to judge whether the TCP port test is successful or not, if the port test is successful, the display module displays that the port connection is successful, and if the port test is failed, the display module displays that the port connection is failed. It should be noted that, in the TCP mode, if the port connection fails and the destination IP address and the destination port are not changed, the TCP function key corresponding to the key module may be repeatedly pressed to perform the port connection test.
The invention is suitable for the use environment such as an operator or the power grid industry and the like which has higher requirements on network safety and is not particularly complex in network troubleshooting. Especially, the network knowledge of operation and maintenance personnel such as a power grid and the like is not very high, and the product has the characteristics of simple operation and low cost and can meet the daily operation and maintenance requirements. Has a large popularization space.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.
Claims (10)
1. A network test apparatus, comprising: the intelligent control device comprises a main control module, an Ethernet module, a display module, a key module and a battery module, wherein the main control module is in communication connection with the Ethernet module, the output end of the main control module is electrically connected with the input end of the display module, the input end of the main control module is electrically connected with the output end of the key module, and the output end of the battery module is electrically connected with the power connection end of the main control module.
2. The network test apparatus of claim 1, wherein the master control module is an STM32 master control module.
3. The network test device of claim 1, wherein the ethernet module is a W5500 ethernet module.
4. The network test device of claim 1, wherein the battery module is a lithium battery module.
5. The network test device of claim 1, wherein the display module is an LCD display module or an LED display module.
6. A network testing method is characterized by comprising the following steps:
s1: the network testing device is accessed to a network to be tested, a power supply is started through a key module, and the network testing device is initialized;
s2: a user sets a working mode, and the main control module detects user input and enters the corresponding working mode to execute detection work;
s3: after the detection work is finished, the main control module detects whether the power switch key is pressed down, if the power switch key is pressed down, the network testing device enters a shutdown state, and if the power switch key is not pressed down, the main control module continues to detect the user input.
7. The network testing method of claim 6, wherein the user operation mode comprises: manual mode, automatic mode, ping mode, TCP mode.
8. The network test method according to claim 7, wherein the manual mode is that the user directly inputs the local IP, the mask code and the gateway; the automatic mode is that: the control module executes the DHCP subprogram, judges whether DHCP information is acquired or not, displays the acquired DHCP information after the display module clears the screen if the DHCP information is acquired, and displays the reminding information if the DHCP information is not acquired.
9. A network test method according to claim 6, characterized in that said ping mode is: the user inputs a destination IP address, the display module displays the IP address, the mask code, the gateway, the destination IP address and the destination port of the mobile phone after clearing the screen, the ping subprogram is executed to judge whether the destination IP address can be ping communicated, if the destination IP address can be ping communicated, the display module displays success information, and if the ping is not communicated, the display module displays failure information.
10. The network test method of claim 6, wherein the TCP mode is: the user inputs a destination IP address and a destination port, the display module displays the IP address, the mask code, the gateway, the destination IP address and the destination port of the computer after clearing the screen, the TCP subprogram is executed to judge whether the TCP port test is successful or not, if the port test is successful, the display module displays that the port connection is successful, and if the port test is failed, the display module displays that the port connection is failed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011432498.0A CN112600731A (en) | 2020-12-09 | 2020-12-09 | Network testing device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011432498.0A CN112600731A (en) | 2020-12-09 | 2020-12-09 | Network testing device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112600731A true CN112600731A (en) | 2021-04-02 |
Family
ID=75191466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011432498.0A Pending CN112600731A (en) | 2020-12-09 | 2020-12-09 | Network testing device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112600731A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301926A (en) * | 2014-10-31 | 2015-01-21 | 大唐移动通信设备有限公司 | Distributed automatic dial testing system and method used for communication network testing |
CN104618198A (en) * | 2015-03-03 | 2015-05-13 | 广西英伦信息技术股份有限公司 | Android system-based integrated intelligent network test system and test method thereof |
CN108199929A (en) * | 2018-02-28 | 2018-06-22 | 上海市信息网络有限公司 | Measuring instrument, network intelligence instrument system and network intelligence test method |
CN108521348A (en) * | 2018-06-04 | 2018-09-11 | 西安太世德航空电器有限公司 | A kind of 1553B bus network test system and method |
CN208862855U (en) * | 2018-02-28 | 2019-05-14 | 上海市信息网络有限公司 | Measuring instrument and network intelligence instrument system |
CN210894607U (en) * | 2019-07-30 | 2020-06-30 | 成都安普利电子有限责任公司 | Microwave amplifier test system |
-
2020
- 2020-12-09 CN CN202011432498.0A patent/CN112600731A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301926A (en) * | 2014-10-31 | 2015-01-21 | 大唐移动通信设备有限公司 | Distributed automatic dial testing system and method used for communication network testing |
CN104618198A (en) * | 2015-03-03 | 2015-05-13 | 广西英伦信息技术股份有限公司 | Android system-based integrated intelligent network test system and test method thereof |
CN108199929A (en) * | 2018-02-28 | 2018-06-22 | 上海市信息网络有限公司 | Measuring instrument, network intelligence instrument system and network intelligence test method |
CN208862855U (en) * | 2018-02-28 | 2019-05-14 | 上海市信息网络有限公司 | Measuring instrument and network intelligence instrument system |
CN108521348A (en) * | 2018-06-04 | 2018-09-11 | 西安太世德航空电器有限公司 | A kind of 1553B bus network test system and method |
CN210894607U (en) * | 2019-07-30 | 2020-06-30 | 成都安普利电子有限责任公司 | Microwave amplifier test system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105788227B (en) | Fault diagnosis equipment for electricity consumption information acquisition system | |
CN100536403C (en) | Method and equipment of intelligent patrol detection for communication network | |
CN105450472A (en) | Method and device for automatically acquiring states of physical components of servers | |
CN105827613A (en) | Test method and system for information security of transformer substation industrial control equipment | |
CN101488890B (en) | Method and system for network attack test | |
CN103490945A (en) | Method for detecting maximum telnet user quantity | |
CN106685075A (en) | Power supply fault monitoring method and device | |
CN100466556C (en) | Network device management method and system | |
KR20040091392A (en) | Method and system for backup management of remote using the web | |
CN111865710A (en) | Remote equipment debugging system based on public network environment | |
CN113392435A (en) | Intelligent substation USB interface safety management and control system and method | |
CN108959037A (en) | A kind of data center's automatic detecting method and device | |
CN102143011B (en) | Device and method for realizing network protection | |
CN102143414A (en) | Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network) | |
CN112600731A (en) | Network testing device and method | |
CN113965355A (en) | SOC-based illegal IP (Internet protocol) provincial network plugging method and device | |
CN106294070A (en) | Method for monitoring utilization rate of CPU (central processing unit) and hard disk in server memory | |
CN115102838B (en) | Emergency processing method and device for server downtime risk and electronic equipment | |
CN109688002B (en) | WEB visualization based virtual machine and container management method and system | |
CN110677264B (en) | Method and device for processing power supply fault | |
CN207573085U (en) | A kind of intelligent substation relay protection checking experiment is driven monitoring system | |
CN106161564B (en) | A kind of agent framework service system and method | |
CN110719268A (en) | Special safety device of station equipment debugging | |
Yoon et al. | An efficient network operation automation scheme using network status information for local 5G networks | |
CN112350891B (en) | One-key sequential control-based transformer substation remote network test system and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210402 |
|
RJ01 | Rejection of invention patent application after publication |