CN108768783A - A kind of method and system of loop test network connectivty - Google Patents

A kind of method and system of loop test network connectivty Download PDF

Info

Publication number
CN108768783A
CN108768783A CN201810589332.6A CN201810589332A CN108768783A CN 108768783 A CN108768783 A CN 108768783A CN 201810589332 A CN201810589332 A CN 201810589332A CN 108768783 A CN108768783 A CN 108768783A
Authority
CN
China
Prior art keywords
host
module
measured
auxiliary
sharing 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.)
Granted
Application number
CN201810589332.6A
Other languages
Chinese (zh)
Other versions
CN108768783B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810589332.6A priority Critical patent/CN108768783B/en
Publication of CN108768783A publication Critical patent/CN108768783A/en
Application granted granted Critical
Publication of CN108768783B publication Critical patent/CN108768783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention provides a kind of method and system of loop test network connectivty, method:1. respectively in host to be measured and auxiliary host installation operation system;2. setting host to be measured and auxiliary host are in the same network segment;3. sharing module is arranged in auxiliary host, thermal starting module is set in sharing module;4. the former reboot operation of host to be measured is modified so that reboot operation accesses the sharing module of auxiliary host, and executes thermal starting module;5. modified reboot operation is put into the startup of host to be measured;6. host to be measured starts to test, restarted.System includes host to be measured, auxiliary host, operating system installation module, network settings module, thermal starting module, shared setting module, restarts modified module, starts setup module, test module.The present invention tests the connectivity of network, improves testing efficiency while test server stability.

Description

A kind of method and system of loop test network connectivty
Technical field
The invention belongs to server testing fields, and in particular to a kind of method and system of loop test network connectivty.
Background technology
Network connectivty is the important test content of server, and the connectivity quality of network directly affects the property of server Energy;And the stability of server is also the important indicator of server, server performance is unstable, even if configuring high again, technology It is advanced again, it cannot guarantee that network can work normally;This two tests of usual server all individually carry out, and efficiency compares It is low.
This is the deficiencies in the prior art, therefore, in view of the above-mentioned drawbacks in the prior art, provides a kind of loop test network The method and system of connectivity, are necessary.
Invention content
It is an object of the present invention to individually be tested for above-mentioned server stability and network connectivty, imitate The low defect of rate provides a kind of method and system of loop test network connectivty, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of method of loop test network connectivty, includes the following steps:
Step S1. distinguishes installation operation system in host to be measured and auxiliary host;
Host to be measured and auxiliary host is arranged in the same network segment in step S2.;
Sharing module is arranged in auxiliary host in step S3., and thermal starting module is arranged in sharing module;
Step S4. modifies the former reboot operation of host to be measured so that and reboot operation accesses the sharing module of auxiliary host, And execute thermal starting module;
Modified reboot operation is put into the startup of host to be measured by step S5.;
Step S6. hosts to be measured start to test, and are restarted.
Further, the thermal starting module, as cycle power order.
Further, operating system is Windows operating system in step S1.Server operates Windows at present The test method of system is less, and the present invention can carry out under an operating system.
Further, host to be measured and auxiliary host are set in step S2 in the same network segment, and make host to be measured and auxiliary Help the mutual ping of host logical.The only network of test main frame and auxiliary host is interconnected, and just can guarantee that test main frame can obtain Assist the thermal starting module in the sharing module of host.
It further,, will while the reboot operation of host to be measured accesses the sharing module of auxiliary host in step S4 Sharing module is mapped as host local disk to be measured.Sharing module is mapped as to the local disk of host to be measured, to master to be measured When machine accesses sharing module every time, the IP address of auxiliary host need not be inputted, it is only necessary to the local disk of motor host to be measured, Connection can be established, access speed is improved.
Further, before step 6, include the following steps:
Step S4 is carried out batch operation by step S6A. to step S5, every time automatically changes former reboot operation, accesses auxiliary The sharing module of host executes thermal starting.Edit batch operation after, after so that test machine is restarted every time can with automatic mapping and after Test is restarted in continuous execution.
The present invention gives following technical solution:
A kind of system of loop test network connectivty, including host to be measured and auxiliary host;
Operating system installs module, for distinguishing installation operation system in host to be measured and auxiliary host;
Network settings module, for host to be measured and auxiliary host to be arranged in the same network segment;
Thermal starting module, for executing thermal starting operation, i.e. cycle power operates;
Thermal starting module is arranged for sharing module to be arranged in auxiliary host in shared setting module in sharing module;
Modified module is restarted, for the former reboot operation of host to be measured to be modified so that reboot operation accesses auxiliary host Sharing module, and execute thermal starting module;
Start setup module, for modified reboot operation to be put into the startup of host to be measured;
Test module starts to test, be restarted for host to be measured.
Further, network settings module is arranged host to be measured and auxiliary host in the same network segment, and makes host to be measured It is logical with the auxiliary mutual ping of host.The only network of test main frame and auxiliary host is interconnected, and just can guarantee test main frame energy Obtain the thermal starting module in the sharing module of auxiliary host.
Further, the operating system is Windows operating system.Server is for Windows operating system at present Test method it is less, the present invention can carry out under an operating system.
Further, restart modified module, the same of the sharing module of auxiliary host is accessed in the reboot operation of host to be measured When, sharing module is mapped as host local disk to be measured.Sharing module is mapped as to the local disk of host to be measured, to wait for When survey host accesses sharing module every time, the IP address of auxiliary host need not be inputted, it is only necessary to the local of motor host to be measured Disk, you can establish connection, improve access speed.
Further, further include batch processing setting module, for will every time automatically change former reboot operation, access auxiliary The sharing module of host executes thermal starting and is set as batch operation.After editing batch operation, after so that test machine is restarted every time With automatic mapping and it can continue to execute and restart test.
The beneficial effects of the present invention are:
The present invention tests the connectivity of network, improves testing efficiency while test server stability;In addition, mesh Preceding server is less for the test method of window systems, and invention increases the network surveys under a kind of system based on window Examination.
In addition, design principle of the present invention is reliable, and it is simple in structure, there is very extensive application prospect.
It can be seen that compared with prior art, the present invention with substantive distinguishing features outstanding and significant progress, implement Advantageous effect be also obvious.
Description of the drawings
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is the system schematic of the present invention;
Wherein, 1- operating systems install module;2- network settings modules;3- thermal starting modules;4- shares setting module;5- is restarted Modified module;6- starts setup module;7- test modules;8- batch processing setting modules.
Specific implementation mode:
To enable the purpose of the present invention, feature, advantage more apparent and understandable, it is embodied below in conjunction with the present invention Attached drawing in example, is clearly and completely described the technical solution in the present invention.
Embodiment 1:
As shown in Figure 1, the present invention provides a kind of method of loop test network connectivty, include the following steps:
Step S1. distinguishes installation operation system in host to be measured and auxiliary host;Operating system is Windows operating system;Mesh Preceding server is less for the test method of Windows operating system, and the present invention can carry out under an operating system;
Host to be measured and auxiliary host is arranged in the same network segment in step S2.;And make host to be measured and the mutual ping of auxiliary host It is logical;The only network of test main frame and auxiliary host is interconnected, and just can guarantee that test main frame can obtain the shared of auxiliary host Mould thermal starting module in the block;
Sharing module is arranged in auxiliary host in step S3., and thermal starting module is arranged in sharing module;Thermal starting module, as Cycle power order;
Step S4. modifies the former reboot operation of host to be measured so that reboot operation accesses the shared mould of auxiliary host Block, and execute thermal starting module;Meanwhile sharing module being mapped as to the local disk of host to be measured;Sharing module is mapped as The local disk of host to be measured when accessing sharing module every time to host to be measured, need not input the IP address of auxiliary host, Only need the local disk of motor host to be measured, you can establish connection, improve access speed;
Modified reboot operation is put into the startup of host to be measured by step S5.;
Step S4 is carried out batch operation by step S6A. to step S5, every time automatically changes former reboot operation, accesses auxiliary The sharing module of host executes thermal starting;Edit batch operation after, after so that test machine is restarted every time can with automatic mapping and after Test is restarted in continuous execution;
Step S6. hosts to be measured start to test, and are restarted.
Embodiment 2:
As shown in Fig. 2, a kind of system of loop test network connectivty, which is characterized in that including host to be measured and auxiliary host;
Operating system installs module 1, for distinguishing installation operation system in host to be measured and auxiliary host;Operating system is Windows operating system;Server is less for the test method of Windows operating system at present, and the present invention can operate It is carried out under system;
Network settings module 2 for host to be measured and auxiliary host to be arranged in the same network segment, and makes host to be measured and auxiliary lead The mutual ping of machine is logical;The only network of test main frame and auxiliary host is interconnected, and just can guarantee that test main frame can obtain auxiliary Thermal starting module in the sharing module of host;
Thermal starting module 3, for executing thermal starting operation, i.e. cycle power operates;
Thermal starting module is arranged for sharing module to be arranged in auxiliary host in shared setting module 4 in sharing module;
Modified module 5 is restarted, for the former reboot operation of host to be measured to be modified so that reboot operation accesses auxiliary host Sharing module, sharing module is mapped as host local disk to be measured, and execute thermal starting module;Sharing module is mapped as The local disk of host to be measured when accessing sharing module every time to host to be measured, need not input the IP address of auxiliary host, Only need the local disk of motor host to be measured, you can establish connection, improve access speed;
Start setup module 6, for modified reboot operation to be put into the startup of host to be measured;
Test module 7 starts to test, be restarted for host to be measured;
Batch processing setting module 8 accesses the sharing module of auxiliary host, holds for will every time automatically change former reboot operation Row thermal starting is set as batch operation;Edit batch operation after, after so that test machine is restarted every time can with automatic mapping and after Test is restarted in continuous execution.
Embodiment 3:A kind of method of the loop test network connectivty of Application Example 1, includes the following steps:
Step a, preparation machine 2, one is test main frame, and one is auxiliary host, and installs windows systems, ensures to survey Trying can be logical with ping between host and auxiliary host;
Step b, Shared Folders is set on auxiliary host, and by shutdown(Shutdown)Order is put into this file, wherein Shutdown-r are cycle power;
Step c, Shared Folders is accessed on host to be measured, and is mapped as local disk such as Z disks;
Step d, autoexec reboot.bat is edited, with automatic mapping and weight can be continued to execute after so that it is restarted every time Open test.
The embodiment of the present invention is illustrative and not restrictive, and above-described embodiment is only to aid in the understanding present invention, because The present invention is not limited to the embodiments described in specific implementation mode for this, every by those skilled in the art's technique according to the invention Other specific implementation modes that scheme obtains, also belong to the scope of protection of the invention.

Claims (10)

1. a kind of method of loop test network connectivty, which is characterized in that include the following steps:
Step S1. distinguishes installation operation system in host to be measured and auxiliary host;
Host to be measured and auxiliary host is arranged in the same network segment in step S2.;
Sharing module is arranged in auxiliary host in step S3., and thermal starting module is arranged in sharing module;
Step S4. modifies the former reboot operation of host to be measured so that and reboot operation accesses the sharing module of auxiliary host, And execute thermal starting module;
Modified reboot operation is put into the startup of host to be measured by step S5.;
Step S6. hosts to be measured start to test, and are restarted.
2. a kind of method of loop test network connectivty as described in claim 1, which is characterized in that operated in step S1 System is Windows operating system.
3. a kind of method of loop test network connectivty as described in claim 1, which is characterized in that setting waits in step S2 Host and auxiliary host are surveyed in the same network segment, and makes host to be measured and the mutual ping of auxiliary host logical.
4. a kind of method of loop test network connectivty as described in claim 1, which is characterized in that in step S4, waiting for While surveying the sharing module of reboot operation access auxiliary host of host, sharing module is mapped as this earth magnetism of host to be measured Disk.
5. a kind of method of loop test network connectivty as described in claim 1, which is characterized in that before step 6, including Following steps:
Step S4 is carried out batch operation by step S6A. to step S5, every time automatically changes former reboot operation, accesses auxiliary The sharing module of host executes thermal starting.
6. a kind of system of loop test network connectivty, which is characterized in that including host to be measured(9)With auxiliary host(10);
Operating system installs module(1), for distinguishing installation operation system in host to be measured and auxiliary host;
Network settings module(2), for host to be measured and auxiliary host to be arranged in the same network segment;
Thermal starting module(3), for executing thermal starting operation;
Shared setting module(4), for sharing module to be arranged in auxiliary host, thermal starting module is set in sharing module;
Restart modified module(5), for the former reboot operation of host to be measured to be modified so that reboot operation accesses auxiliary master The sharing module of machine, and execute thermal starting module;
Start setup module(6), for modified reboot operation to be put into the startup of host to be measured;
Test module(7), start to test for host to be measured, be restarted.
7. a kind of system of loop test network connectivty as claimed in claim 6, which is characterized in that network settings module (2), host to be measured and auxiliary host are set in the same network segment, and make host to be measured and the mutual ping of auxiliary host logical.
8. a kind of system of loop test network connectivty as claimed in claim 6, which is characterized in that the operating system is Windows operating system.
9. a kind of system of loop test network connectivty as claimed in claim 6, which is characterized in that restart modified module (5), while the reboot operation of host to be measured accesses the sharing module of auxiliary host, sharing module is mapped as host to be measured Local disk.
10. a kind of system of loop test network connectivty as claimed in claim 6, which is characterized in that further include batch processing Setting module(8), for will every time automatically change former reboot operation, the sharing module of auxiliary host is accessed, thermal starting is executed It is set as batch operation.
CN201810589332.6A 2018-06-08 2018-06-08 Method and system for circularly testing network connectivity Active CN108768783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810589332.6A CN108768783B (en) 2018-06-08 2018-06-08 Method and system for circularly testing network connectivity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810589332.6A CN108768783B (en) 2018-06-08 2018-06-08 Method and system for circularly testing network connectivity

Publications (2)

Publication Number Publication Date
CN108768783A true CN108768783A (en) 2018-11-06
CN108768783B CN108768783B (en) 2021-10-22

Family

ID=63999627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810589332.6A Active CN108768783B (en) 2018-06-08 2018-06-08 Method and system for circularly testing network connectivity

Country Status (1)

Country Link
CN (1) CN108768783B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020133534A1 (en) * 2001-01-08 2002-09-19 Jan Forslow Extranet workgroup formation across multiple mobile virtual private networks
CN101567805A (en) * 2009-05-22 2009-10-28 清华大学 Method for recovering failed parallel file system
CN101615071A (en) * 2009-05-18 2009-12-30 姚锋 One-computer multi-user system
CN101996111A (en) * 2010-11-30 2011-03-30 华为技术有限公司 Switching method, device and distributed blade server system
US20110264903A1 (en) * 2010-04-27 2011-10-27 Hon Hai Precision Industry Co., Ltd. Electronic device and method for loading configuration files using the same
CN102289374A (en) * 2011-08-31 2011-12-21 中兴通讯股份有限公司 Method and device for constructing cross-platform software running environment
CN102299961A (en) * 2011-08-25 2011-12-28 邦讯技术股份有限公司 Method for Femto equipment to realize sharing network resources and Femto equipment
CN102413185A (en) * 2011-11-25 2012-04-11 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN103441925A (en) * 2013-08-19 2013-12-11 上海斐讯数据通信技术有限公司 Home gateway device and method for mounting storage device on home gateway device
CN104125297A (en) * 2014-08-06 2014-10-29 华为技术有限公司 Virtual resource sharing method, device and system
US9038108B2 (en) * 2000-06-28 2015-05-19 Verizon Patent And Licensing Inc. Method and system for providing end user community functionality for publication and delivery of digital media content
CN105391652A (en) * 2015-12-03 2016-03-09 武汉噢易云计算有限公司 USB equipment network sharing system and method based on USB redirection
CN105955850A (en) * 2016-05-18 2016-09-21 安徽江淮汽车股份有限公司 Abnormal reset processing method and system for vehicle control unit
CN107645427A (en) * 2017-09-25 2018-01-30 郑州云海信息技术有限公司 A kind of system and method for automatic test network connectivty and stability
US20180089435A1 (en) * 2016-09-23 2018-03-29 Lntel Corporation Methods And Apparatus To Use A Security Coprocessor For Firmware Protection
CN108089961A (en) * 2017-11-28 2018-05-29 郑州云海信息技术有限公司 One kind is based on MOC boards hardware reboot test methods and system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9038108B2 (en) * 2000-06-28 2015-05-19 Verizon Patent And Licensing Inc. Method and system for providing end user community functionality for publication and delivery of digital media content
US20020133534A1 (en) * 2001-01-08 2002-09-19 Jan Forslow Extranet workgroup formation across multiple mobile virtual private networks
CN101615071A (en) * 2009-05-18 2009-12-30 姚锋 One-computer multi-user system
CN101567805A (en) * 2009-05-22 2009-10-28 清华大学 Method for recovering failed parallel file system
US20110264903A1 (en) * 2010-04-27 2011-10-27 Hon Hai Precision Industry Co., Ltd. Electronic device and method for loading configuration files using the same
CN101996111A (en) * 2010-11-30 2011-03-30 华为技术有限公司 Switching method, device and distributed blade server system
CN102299961A (en) * 2011-08-25 2011-12-28 邦讯技术股份有限公司 Method for Femto equipment to realize sharing network resources and Femto equipment
CN102289374A (en) * 2011-08-31 2011-12-21 中兴通讯股份有限公司 Method and device for constructing cross-platform software running environment
CN102413185A (en) * 2011-11-25 2012-04-11 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN103441925A (en) * 2013-08-19 2013-12-11 上海斐讯数据通信技术有限公司 Home gateway device and method for mounting storage device on home gateway device
CN104125297A (en) * 2014-08-06 2014-10-29 华为技术有限公司 Virtual resource sharing method, device and system
CN105391652A (en) * 2015-12-03 2016-03-09 武汉噢易云计算有限公司 USB equipment network sharing system and method based on USB redirection
CN105955850A (en) * 2016-05-18 2016-09-21 安徽江淮汽车股份有限公司 Abnormal reset processing method and system for vehicle control unit
US20180089435A1 (en) * 2016-09-23 2018-03-29 Lntel Corporation Methods And Apparatus To Use A Security Coprocessor For Firmware Protection
CN107645427A (en) * 2017-09-25 2018-01-30 郑州云海信息技术有限公司 A kind of system and method for automatic test network connectivty and stability
CN108089961A (en) * 2017-11-28 2018-05-29 郑州云海信息技术有限公司 One kind is based on MOC boards hardware reboot test methods and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BEHZAD MIRKHANZADEH: "A two-layer network Orchestrator offering trustworthy connectivity to a ROS-industrial application", 《2017 19TH INTERNATIONAL CONFERENCE ON TRANSPARENT OPTICAL NETWORKS (ICTON)》 *
李良宇: "科学仪器远程操控技术研究与应用", 《CNKI博士学位论文数据》 *
李长江: "共享服务通用平台的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN108768783B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN104182288A (en) Method for automatically testing power consumption of server cluster system
CN109639803B (en) Method and system for remotely and automatically deploying server OS (operating system) through BMC (baseboard management controller)
CN105260226A (en) Method for automatically migrating virtual machine on the basis of cloud platform
CN103167034B (en) Based on the construction method of the monitoring Agent of CloudStack dummy node
CN106908738A (en) A kind of automatic testing method of SmartRack reserce cells
CN104317714A (en) Method for automatically testing stability of rack based on expect
CN107277193B (en) Method, device and system for managing address of baseboard management controller
CN108953203B (en) Server fan availability test method and system
CN108920369A (en) A kind of server stress test method, device, equipment and storage medium
CN104049702A (en) Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device
CN105260274A (en) Method for detecting random hot plug stability of hard disk based on linux
CN111143128A (en) Openstack cloud host data protection method and system
CN105302681A (en) Automatic test method for disk performance of rack whole cabinet
CN107645427A (en) A kind of system and method for automatic test network connectivty and stability
CN105607606A (en) Data acquisition device and data acquisition method based on double-mainboard framework
CN108768783A (en) A kind of method and system of loop test network connectivty
CN102902526A (en) Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay
CN111552540A (en) Resource synchronization method based on VMware cloud platform and super-fusion cloud platform
CN110011842B (en) Initialization configuration method for virtualization cluster
CN109783026A (en) A kind of method and device of automatic configuration server RAID
CN108234172A (en) A kind of physical resource automatic deployment system for cloud computing
CN103412776A (en) Method for debugging blade server in parallel
CN109257186A (en) A kind of method and system making server automatically from PXE network startup
CN114510323A (en) Network optimization implementation method for operating virtual machine in container
CN110098960B (en) Secret-free automatic configuration method and device for distributed block storage system

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
GR01 Patent grant
GR01 Patent grant