CN114726757B - Equipment networking test method, device, computer equipment and storage medium - Google Patents

Equipment networking test method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114726757B
CN114726757B CN202210293731.4A CN202210293731A CN114726757B CN 114726757 B CN114726757 B CN 114726757B CN 202210293731 A CN202210293731 A CN 202210293731A CN 114726757 B CN114726757 B CN 114726757B
Authority
CN
China
Prior art keywords
network
virtual machine
information
routing
networking
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.)
Active
Application number
CN202210293731.4A
Other languages
Chinese (zh)
Other versions
CN114726757A (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.)
Shenzhen Lingchuang Xingtong Technology Co ltd
Original Assignee
Shenzhen Lingchuang Xingtong 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 Shenzhen Lingchuang Xingtong Technology Co ltd filed Critical Shenzhen Lingchuang Xingtong Technology Co ltd
Priority to CN202210293731.4A priority Critical patent/CN114726757B/en
Publication of CN114726757A publication Critical patent/CN114726757A/en
Application granted granted Critical
Publication of CN114726757B publication Critical patent/CN114726757B/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/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a device networking test method, a device networking test apparatus, a computer device, a storage medium and a computer program product. The method comprises the following steps: responding to the installation instruction, installing a virtual machine in the current operating system, and installing and starting a routing operating system in the virtual machine; responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system; establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode; responding to the verification information input instruction, wherein the verification information input instruction carries network authority information, and storing the network authority information into a routing operation system; when the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained. By adopting the method, the detection efficiency of equipment networking can be improved.

Description

Equipment networking test method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for device networking testing.
Background
With the development of communication technology, PPPOE (Point-to-Point Protocol Over Ethernet ) technology appears, PPPOE enables terminal devices to connect to ISP (INTERNET SERVICE Provider) to realize broadband access.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a device networking test method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the detection efficiency of networking devices.
In a first aspect, the present application provides a device networking test method. The method comprises the following steps:
Responding to an installation instruction, wherein the installation instruction carries the installation information and the routing operation system information of the virtual machine, installing the virtual machine in the current operation system based on the installation information and the routing operation system information of the virtual machine, and installing and starting the routing operation system in the virtual machine;
responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system;
Establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode;
Responding to the verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored into a routing operation system by using communication connection;
When the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
In one embodiment, establishing a communication connection of a virtual machine with a routing operating system using an internet protocol address in a target network mode includes:
And acquiring a target network port corresponding to the virtual machine, associating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and a routing operation system based on the Internet protocol address associated with the target network port through the routing communication connection.
In one embodiment, storing network rights information into a routing operating system, including;
And searching the management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address, and storing the network authority information in the management storage space.
In one embodiment, the current network includes an internal network and an external network; the method further comprises the steps of:
Acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine;
responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network permission information, the external network permission information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network permission information associated with the external network communication network port;
Establishing internal communication connection between equipment to be networked and an internal network through an internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection;
and establishing communication connection between the device to be networked and an external network based on the external network networking request.
In one embodiment, performing a network connection test on a current network in response to request verification information in a networking request instruction and network authority information in a routing operating system to obtain a test result, including:
When the request verification information is consistent with the network authority information and the network connection operation is detected, the test result is that the test is normal;
When the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
In one embodiment, the networking request instructs at least two; when the networking request instruction is detected, performing network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, and further comprising:
When at least two networking request instructions are detected, network connection testing is conducted on the current network based on request verification information in the at least two networking request instructions and network authority information in the routing operation system respectively, and at least two testing results are obtained.
In a second aspect, the application further provides a device networking testing device. The device comprises:
The installation module is used for responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the information of the routing operating system; installing a virtual machine in a current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting a routing operating system in the virtual machine;
The mode setting module is used for entering a target network mode according to a network mode setting instruction corresponding to the virtual machine and acquiring an internet protocol address corresponding to the routing operating system;
the connection module is used for establishing communication connection between the virtual machine and the routing operation system by using the Internet protocol address in the target network mode;
the storage module is used for responding to an authentication information input instruction, wherein the authentication information input instruction carries network authority information, and the network authority information is stored into the routing operation system by using communication connection;
And the test module is used for carrying out network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system when the networking request instruction is detected, so as to obtain a test result.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
Responding to an installation instruction, wherein the installation instruction carries the installation information and the routing operation system information of the virtual machine, installing the virtual machine in the current operation system based on the installation information and the routing operation system information of the virtual machine, and installing and starting the routing operation system in the virtual machine;
responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system;
Establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode;
Responding to the verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored into a routing operation system by using communication connection;
When the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Responding to an installation instruction, wherein the installation instruction carries the installation information and the routing operation system information of the virtual machine, installing the virtual machine in the current operation system based on the installation information and the routing operation system information of the virtual machine, and installing and starting the routing operation system in the virtual machine;
responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system;
Establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode;
Responding to the verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored into a routing operation system by using communication connection;
When the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
Responding to an installation instruction, wherein the installation instruction carries the installation information and the routing operation system information of the virtual machine, installing the virtual machine in the current operation system based on the installation information and the routing operation system information of the virtual machine, and installing and starting the routing operation system in the virtual machine;
responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system;
Establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode;
Responding to the verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored into a routing operation system by using communication connection;
When the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
The device networking test method, the device networking test device, the computer device, the storage medium and the computer program product are used for installing a virtual machine in a current operating system and then installing a routing operating system on the virtual machine. After the routing operating system is started, the virtual machine is established with the current network by setting the virtual machine to a target network mode and by an internet protocol address. After the virtual machine is in communication connection with the current network, the routing operation system can quickly perform networking test on the to-be-networked equipment for storing network authority information and sending request verification information, so that networking efficiency of the to-be-tested equipment is improved.
Drawings
FIG. 1 is an application environment diagram of a device networking test method in one embodiment;
FIG. 2 is a flow diagram of a device networking test method in one embodiment;
FIG. 3 is a schematic diagram of a virtual network editor in one embodiment;
FIG. 4 is a flow diagram of connecting an external network in one embodiment;
FIG. 5 is a schematic diagram of a multi-network networking setup interface in one embodiment;
FIG. 6 is a schematic diagram of a device to be networked in one embodiment;
FIG. 7 is a block diagram of a device networking test apparatus in one embodiment;
FIG. 8 is an internal block diagram of a computer device in one embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The device networking test method provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The terminal 102 responds to an installation instruction, wherein the installation instruction carries the installation information and the routing operating system information of the virtual machine; the terminal 102 may also respond to the installation instruction, obtain the installation information and the route operating system information of the virtual machine through the server 104, install the virtual machine in the current operating system based on the installation information and the route operating system information of the virtual machine, and install and start the route operating system in the virtual machine; the terminal 102 responds to a network mode setting instruction corresponding to the virtual machine, enters a target network mode and acquires an Internet protocol address corresponding to a routing operation system; the terminal 102 establishes a communication connection between the virtual machine and the routing operating system using the internet protocol address in the target network mode; the terminal 102 responds to the verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored into a routing operation system by using a communication connection; when detecting the networking request instruction, the terminal 102 performs network connection testing on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and obtains a test result. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a device networking test method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps
Step 202, responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the routing operating system information; and installing the virtual machine in the current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting the routing operating system in the virtual machine.
The virtual machine is a complete computer system simulated by software and is used for building a networking environment by using the system. The routing operating system refers to routing software for building a networking environment using the software. The installation information of the virtual machine refers to data information required when the virtual machine is installed. The routing operating system information refers to data information required when the routing operating system is installed. The current operating system refers to an operating system of the current terminal, through which the current device can install a virtual machine and a routing operating system for building a networking environment through the virtual machine and the routing operating system.
Specifically, the terminal receives an installation instruction sent by a user and responds to the installation instruction. The terminal obtains the installation information and the route operating system information of the virtual machine carried by the installation instruction, and the terminal can also respond to the installation instruction to obtain the installation information and the route operating system information of the virtual machine from the server storage system. And then the terminal installs the virtual machine in the current operating system according to the installation information of the virtual machine, installs the routing operating system on the virtual machine according to the routing operating system information, and then starts the routing operating system in the virtual machine.
And 204, responding to the network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to the routing operating system.
The target network mode refers to a mode in which the virtual machine can perform communication connection. An internet protocol address refers to a logical address assigned to a virtual machine for the virtual machine to communicate with a routing operating system.
Specifically, the terminal responds to a network mode setting instruction of a user in the virtual machine, and enables the virtual machine to enter a target network mode according to a target network mode identifier in the network mode setting instruction. And then obtaining the Internet protocol address corresponding to the routing operation system.
At step 206, a communication connection between the virtual machine and the routing operating system is established using the internet protocol address in the target network mode.
Specifically, after the virtual machine enters the target network mode, the terminal receives an internet protocol address instruction input by a user, and indicates that a network communication address identical to that of the routing operating system is allocated to the virtual machine, and at the moment, the virtual machine and the routing operating system can be in network communication connection, and a networking environment is built.
Step 208, responding to the verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored in the routing operation system by using the communication connection.
The verification information input instruction refers to an instruction that a user inputs according to verification information provided by a network service provider. The network authority information refers to verification information of the terminal opening the networking authority to the equipment to be networked.
Specifically, the terminal receives an authentication information input instruction input by a user, stores network authority information in the authentication information input instruction into the routing operation system through communication connection, and is used for carrying out networking authentication by the routing operation system by using the network authority information after receiving a networking request.
And 210, when the networking request instruction is detected, performing network connection testing on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operating system to obtain a testing result.
The networking request instruction refers to a request instruction sent by equipment to be networked in networking. The request authentication information is information for the routing operating system to perform networking authentication on the device to be networked. The network connection test refers to a test for detecting whether a device to be networked is normally connected to the internet. The current network refers to an internal network, which may be a local area network.
Specifically, when the terminal detects a networking request instruction sent by the equipment to be networked to the routing operation system, network authority information is called from the routing operation system, the terminal verifies the request verification information in the networking request instruction according to the network authority information, and after verification, whether the equipment to be networked is accessed to the internal network is tested, so that a test result is obtained.
In the device networking test method, the virtual machine is installed in the current operating system, and then the routing operating system is installed on the virtual machine. After the routing operating system is started, the virtual machine is established with the current network by setting the virtual machine to a target network mode and by an internet protocol address. After the virtual machine is in communication connection with the current network, the routing operation system can quickly perform networking test on the to-be-networked equipment for storing network authority information and sending request verification information, so that networking efficiency of the to-be-tested equipment is improved.
In one embodiment, step 206, establishing a communication connection of the virtual machine with the routing operating system using the internet protocol address in the target network mode includes:
And acquiring a target network port corresponding to the virtual machine, associating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and a routing operation system based on the Internet protocol address associated with the target network port through the routing communication connection.
The target network port refers to a network port for communication connection of the virtual machine. The target network mode refers to a bridge mode, and the bridge mode is used for the virtual machine to directly connect to an external network.
Specifically, the terminal displays a virtual network editor interface to the user in response to a network editing instruction of the user to the virtual machine, as shown in fig. 3, provides a schematic diagram of a virtual network editor, and the user can select among various modes of the virtual network editor interface, such as a bridge mode, an address conversion mode, and a host-only mode. Clicking the bridge mode named virtual machine 1, and clicking a determination button in the interface to realize that the virtual machine enters the bridge mode, wherein the bridge mode enables the virtual machine to be connected to an external network. And then receiving a selection instruction of a user for the bridge mode in the virtual machine network editing interface, enabling the virtual machine to enter the bridge mode by the terminal in response to the selection instruction, enabling the virtual machine to perform configuration setting under the bridge mode, and performing communication connection with the routing operation. And then, the terminal responds to clicking operation of the virtual machine portal setting tool by a user, an internet protocol address input interface corresponding to the target portal is displayed to the user on a display interface, and an internet protocol address corresponding to a routing operation system input by the user is received, for example, the internet protocol address can be/IP ADDRESS ADD ADDRESS =192.168.1.254/24 interface=ethernet 1. And then the terminal correlates the received Internet protocol address corresponding to the routing operation system with the target network port, which means that the network segments of the virtual machine and the routing operation system are the same at the moment, for example, the network segments of the virtual machine and the routing operation system are 192.168.1. When the virtual machine is the same as the network segment of the routing operating system, the virtual machine is indicated to be in network communication connection with the routing operating system.
In the embodiment, the virtual machine is set to enter the bridging mode, so that the virtual machine can be in network communication connection with the routing operation system, a networking environment can be built, the equipment to be networked can be subjected to network connection test and networking, the networking step of the detection equipment is simplified, and the networking efficiency and the detection accuracy of the equipment are improved.
In one embodiment, step 206, storing network rights information into a routing operating system, including;
And searching a management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address, and storing the network authority information into the management storage space.
The management storage space is used for storing network authority information input by a user, and the network authority information can be obtained after the user inputs the network authority information through the management interface.
Specifically, after the virtual machine and the routing operating system establish communication connection, the terminal detects that the user inputs an input operation of an internet protocol address corresponding to the routing operating system in the browser, and displays a network management interface corresponding to the routing operating system to the user. After detecting the input operation of the network authority information input by the user in the network management interface corresponding to the routing operation system, the network authority information is kept to the management storage space corresponding to the routing operation system. The network permission information can be a PPPOE account number and a password, the PPPOE account number and the password are distributed through a routing operation system and are used for setting the PPPOE account number and the password at a management interface of the routing operation system by a user, and network connection and testing can be carried out in a networking environment built through a virtual machine and the routing operation system after the equipment to be networked inputs the same account number and password.
In this embodiment, after the network permission information is maintained in the management storage space corresponding to the routing operating system, when the terminal detects the networking request, the networking requirement of the device to be networked can be met only by verifying the request verification information in the networking request by using the network permission information, so that the networking efficiency of the device is improved.
In one embodiment, as shown in fig. 4, a flow diagram for connecting to an external network is provided; the current network includes an internal network and an external network; the method further comprises the steps of:
Step 402, obtaining an internal network communication network port and an external network communication network port corresponding to a virtual machine;
Step 404, responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network authority information, the external network authority information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network authority information associated with the external network communication network port;
Step 406, establishing an internal communication connection between the equipment to be networked and an internal network through an internal network communication port, and obtaining an external network networking request corresponding to the networking equipment through the internal communication connection;
step 408, establishing a communication connection between the device to be networked and the external network based on the external network networking request.
Wherein the internal network may be a local area network. The external network may be a network other than a local area network, may be an external network provided by an ISP, and may be the internet, for example. The internal network communication network port refers to a network port connected with the internal network by the routing operation system. The external network communication network port refers to a network port connected with an external network by a routing operation system. The external network verification information refers to verification information that the routing operation system performs dial-up networking, and may be an account number password that the routing operation system connects to an external network, where the account number password may be provided by a network service provider. The external communication connection refers to a communication connection of the routing operating system with an external network. Internal network communication refers to routing the communication connection of the operating system to the internal network.
Specifically, the terminal acquires an internal network communication network port and an external network communication network port corresponding to the routing operation system, and receives external network verification information, wherein the external network verification information is obtained by inputting an account password through a network configuration interface corresponding to the external network communication network port by a user. And the terminal correlates the external network authority information with an external network communication network port. The terminal uses the external network authority information to carry out networking verification with the ISP through an external network communication network port, and establishes external communication connection between the routing operation system and the external network after the verification is passed. And then the terminal establishes internal communication connection between the equipment to be networked and the internal network through the internal network communication network port, so that the equipment to be networked can send an external network networking request to the routing operation system through the internal communication connection. At this time, the routing operating system performs network communication with the devices to be networked through the internal communication connection, the routing operating system performs network communication with the external network through the external communication connection, and the devices to be networked may be one or more. When the terminal receives an external network networking request of the equipment to be networked, the internal communication connection is used as an intermediate communication connection to access the equipment to be networked to the external network. The device to be networked may be a router, which may connect to the network by way of dialing.
In the embodiment, the device to be networked can be connected with an internal network or an external network, so that the user requirements are met, and the user experience is improved.
In one embodiment, performing a network connection test on a current network in response to request verification information in a networking request instruction and network authority information in a routing operating system to obtain a test result, including:
When the request verification information is consistent with the network authority information and the network connection operation is detected, the test result is that the test is normal;
When the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
The network connection operation refers to an operation that the device to be networked successfully accesses to the current network.
Specifically, the terminal performs network connection testing on the networking function of the equipment to be networked. After the user starts the equipment to be networked, the equipment to be networked automatically acquires an Internet protocol address for communication connection, so that the equipment to be networked is consistent with the network segment of the virtual machine. After the user inputs the account number and the password in the networking interface of the equipment to be networked, the equipment to be networked initiates a networking request. When the terminal detects a networking request of the equipment to be networked, acquiring request verification information in the networking request, wherein the request verification information comprises an account number password input by a user at the equipment to be networked. The terminal identifies request verification information in the networking request, opens networking permission to the equipment to be networked when the request verification information is consistent with the network permission information, and then indicates that the networking function of the equipment to be networked is normal when the equipment to be networked is detected to be successfully accessed to the current network; and when the request verification information is consistent with the network authority information, opening the networking authority to the equipment to be networked, and when the equipment to be networked is not detected to be successfully accessed to the current network, indicating that the networking function of the equipment to be networked is abnormal.
In the embodiment, after the user inputs the account number and the password at the equipment to be networked, the network connection test is performed on the networking request sent by the equipment to be networked by the routing operation system, so that the networking steps of the equipment to be networked are simplified, and the networking test efficiency of the equipment to be networked is improved.
In one embodiment, the networking request instructs at least two; when the networking request instruction is detected, performing network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, and further comprising:
When at least two networking request instructions are detected, testing of a connection network is performed based on request verification information in the at least two networking request instructions and network authority information in a routing operation system respectively, and at least two testing results are obtained.
Specifically, a user inputs an account number and a password in each device to be networked, and then each device to be networked sends a corresponding networking request. And after the terminal detects networking requests sent by the equipment to be networked, respectively carrying out networking verification on request verification information corresponding to the equipment to be networked by using network authority information, and opening networking authorities for the equipment to be networked according to verification results. And then obtaining the network connection test result of each device to be networked according to the networking result of each device to be networked.
In one embodiment, as shown in FIG. 5, a schematic diagram of a multi-network networking setup interface is provided; the equipment to be networked can be connected with a plurality of networks, each network is provided with a corresponding account number and password, the equipment to be networked dials and surfs the internet through the account number and password and an interface, and the interface comprises an internal network communication interface and an external network communication interface. By clicking a new button in the figure, the account number and password of the new network to be connected can be set and added, and the service name in the figure can be set as the name of the new network. And the user can realize the dial-up networking function of the equipment to be networked on the new network through the newly added account number password. In the embodiment, the networking requirements of a plurality of devices to be networked can be met, and the user experience is improved.
In one embodiment, as shown in fig. 6, a schematic diagram of a device to be networked is provided; comprising the following steps: the virtual machine is installed in the current operating system, and then the routing operating system is installed and started on the virtual machine. The terminal enters the virtual machine into a bridge mode. And the network port corresponding to the terminal virtual machine is associated with the Internet protocol address corresponding to the routing operation system, and the network port corresponding to the terminal virtual machine is the same as the network segment of the routing operation system. And in the bridge mode of the virtual machine, the terminal establishes communication connection between the virtual machine and the routing operating system. At this time, the networking environment is built through the communication connection between the virtual machine and the routing operating system, so that the equipment to be networked can be connected with the network through the networking environment. When the device to be networked is the same as the network segment of the routing operation system, as shown in 192.168.88, the terminal can establish internal communication connection between the device to be networked and the internal network through the internal network communication port of the routing operation system. The terminal communicates with the Internet through an external network of the routing operation system, and enables the routing operation system to dial and access the Internet according to the account passwords set by the user. When the account passwords set by the user are consistent with the account passwords set by the network service provider, the external communication connection between the routing operation system and the external network is established. When the terminal receives the networking request of the external network sent by the equipment to be networked, the equipment to be networked is accessed to the external network through the communication connection between the routing operation system and the internal network. The network function of the equipment to be networked can be judged whether to be correct or not by the state that the equipment to be networked is accessed to an external network or an internal network. The device to be networked can be a router, and a plurality of devices, such as a computer, a mobile phone and the like, can be accessed into the network through the router after the router dials and is successfully connected to the network.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a device networking test device for realizing the above related device networking test method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the device networking test device or devices provided below may refer to the limitation of the device networking test method hereinabove, and will not be repeated herein.
In one embodiment, as shown in FIG. 7, there is provided a device networking test apparatus 700 comprising: an installation module 702, a mode setting module 704, a connection module 706, a storage module 708, and a test module 710, wherein:
The installation module is used for responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the information of the routing operating system; installing a virtual machine in a current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting a routing operating system in the virtual machine;
The mode setting module is used for entering a target network mode according to a network mode setting instruction corresponding to the virtual machine and acquiring an internet protocol address corresponding to the routing operating system;
the connection module is used for establishing communication connection between the virtual machine and the routing operation system by using the Internet protocol address in the target network mode;
the storage module is used for responding to an authentication information input instruction, wherein the authentication information input instruction carries network authority information, and the network authority information is stored into the routing operation system by using the communication connection;
And the test module is used for carrying out network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system when the networking request instruction is detected, so as to obtain a test result.
In one embodiment, the connection module 706 includes:
The network port communication unit is used for acquiring a target network port corresponding to the virtual machine, correlating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and the routing operation system based on the routing communication connection through the Internet protocol address correlated with the target network port.
In one embodiment, the storage module 708 includes:
And the management unit is used for searching the management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address and storing the network authority information in the management storage space.
In one embodiment, the device networking test apparatus 700 further comprises:
the external network communication unit is used for acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine;
responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network permission information, the external network permission information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network permission information associated with the external network communication network port;
Establishing internal communication connection between equipment to be networked and an internal network through an internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection;
and establishing communication connection between the device to be networked and an external network based on the external network networking request.
In one embodiment, the test module 710 includes:
the verification unit is used for detecting that the test result is normal when the request verification information is consistent with the network authority information and the network connection operation is detected;
When the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
In one embodiment, the device networking test apparatus 700 further comprises:
And the detection unit is used for carrying out network connection test on the current network based on the request verification information in the at least two networking request instructions and the network authority information in the routing operation system respectively when the at least two networking request instructions are detected, so as to obtain at least two test results.
The various modules in the above-described device networking test apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 8. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing virtual machine installation information and routing operating system information data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a device networking test method.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a device networking test method. The display unit of the computer equipment is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device, wherein the display screen can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on a shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the structures shown in FIGS. 8-9 are block diagrams of only portions of structures associated with aspects of the application and are not intended to limit the computer device to which aspects of the application may be applied, and that a particular computer device may include more or less elements than those shown, or may be combined with certain elements, or may have different arrangements of elements.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
Responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the routing operating system information; installing a virtual machine in a current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting a routing operating system in the virtual machine; responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system; establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode; responding to a verification information input instruction, wherein the verification information input instruction carries network authority information, and storing the network authority information into a routing operation system by using the communication connection; when the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
In one embodiment, the processor when executing the computer program further performs the steps of:
Establishing a communication connection between the virtual machine and the routing operating system using the internet protocol address in the target network mode, comprising: and acquiring a target network port corresponding to the virtual machine, associating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and a routing operation system based on the Internet protocol address associated with the target network port through the routing communication connection.
In one embodiment, the processor when executing the computer program further performs the steps of:
Storing network rights information into a routing operating system, including; and searching the management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address, and storing the network authority information in the management storage space.
In one embodiment, the processor when executing the computer program further performs the steps of:
The current network includes an internal network and an external network; the method further comprises the steps of: acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine; responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network permission information, the external network permission information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network permission information associated with the external network communication network port; establishing internal communication connection between equipment to be networked and an internal network through an internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection; and establishing communication connection between the device to be networked and an external network based on the external network networking request.
In one embodiment, the processor when executing the computer program further performs the steps of:
Responding to the request verification information in the networking request instruction and the network authority information in the routing operation system to perform network connection test on the current network to obtain a test result, wherein the method comprises the following steps: when the request verification information is consistent with the network authority information and the network connection operation is detected, the test result is that the test is normal; when the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
In one embodiment, the processor when executing the computer program further performs the steps of:
at least two networking request instructions; when the networking request instruction is detected, performing network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, and further comprising: when at least two networking request instructions are detected, network connection testing is conducted on the current network based on request verification information in the at least two networking request instructions and network authority information in the routing operation system respectively, and at least two testing results are obtained.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the routing operating system information; installing a virtual machine in a current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting a routing operating system in the virtual machine; responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system; establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode; responding to a verification information input instruction, wherein the verification information input instruction carries network authority information, and storing the network authority information into a routing operation system by using the communication connection; when the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Establishing a communication connection between the virtual machine and the routing operating system using the internet protocol address in the target network mode, comprising: and acquiring a target network port corresponding to the virtual machine, associating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and a routing operation system based on the Internet protocol address associated with the target network port through the routing communication connection.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Storing network rights information into a routing operating system, including; and searching the management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address, and storing the network authority information in the management storage space.
In one embodiment, the computer program when executed by the processor further performs the steps of:
The current network includes an internal network and an external network; the method further comprises the steps of: acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine; responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network permission information, the external network permission information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network permission information associated with the external network communication network port; establishing internal communication connection between equipment to be networked and an internal network through an internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection; and establishing communication connection between the device to be networked and an external network based on the external network networking request.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Responding to the request verification information in the networking request instruction and the network authority information in the routing operation system to perform network connection test on the current network to obtain a test result, wherein the method comprises the following steps: when the request verification information is consistent with the network authority information and the network connection operation is detected, the test result is that the test is normal; when the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
at least two networking request instructions; when the networking request instruction is detected, performing network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, and further comprising: when at least two networking request instructions are detected, network connection testing is conducted on the current network based on request verification information in the at least two networking request instructions and network authority information in the routing operation system respectively, and at least two testing results are obtained.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
Responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the routing operating system information; installing a virtual machine in a current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting a routing operating system in the virtual machine; responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to a routing operation system; establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in a target network mode; responding to a verification information input instruction, wherein the verification information input instruction carries network authority information, and storing the network authority information into a routing operation system by using the communication connection; when the networking request instruction is detected, network connection testing of the current network is conducted based on the request verification information in the networking request instruction and the network authority information in the routing operation system, and a testing result is obtained.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Establishing a communication connection between the virtual machine and the routing operating system using the internet protocol address in the target network mode, comprising: and acquiring a target network port corresponding to the virtual machine, associating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and a routing operation system based on the Internet protocol address associated with the target network port through the routing communication connection.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Storing network rights information into a routing operating system, including; and searching the management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address, and storing the network authority information in the management storage space.
In one embodiment, the computer program when executed by the processor further performs the steps of:
The current network includes an internal network and an external network; the method further comprises the steps of: acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine; responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network permission information, the external network permission information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network permission information associated with the external network communication network port; establishing internal communication connection between equipment to be networked and an internal network through an internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection; and establishing communication connection between the device to be networked and an external network based on the external network networking request.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Responding to the request verification information in the networking request instruction and the network authority information in the routing operation system to perform network connection test on the current network to obtain a test result, wherein the method comprises the following steps: when the request verification information is consistent with the network authority information and the network connection operation is detected, the test result is that the test is normal; when the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
at least two networking request instructions; when the networking request instruction is detected, performing network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, and further comprising: when at least two networking request instructions are detected, network connection testing is conducted on the current network based on request verification information in the at least two networking request instructions and network authority information in the routing operation system respectively, and at least two testing results are obtained.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method for testing networking of devices, the method comprising:
Responding to an installation instruction, wherein the installation instruction carries installation information of a virtual machine and route operating system information, the virtual machine is installed in a current operating system based on the installation information of the virtual machine and the route operating system information, the route operating system is installed and started in the virtual machine, and the route operating system is used for building a networking environment;
Responding to a network mode setting instruction corresponding to the virtual machine, entering a target network mode, and acquiring an Internet protocol address corresponding to the routing operating system;
Establishing communication connection between the virtual machine and the routing operating system by using the Internet protocol address in the target network mode so that the virtual machine and the routing operating system complete networking environment establishment;
Responding to a verification information input instruction, wherein the verification information input instruction carries network authority information, and the network authority information is stored into the routing operating system by using the communication connection;
When a networking request instruction is detected, performing network connection test on a current network based on request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, wherein the test result comprises: invoking network authority information from a routing operation system, verifying request verification information in a networking request instruction according to the network authority information, and testing whether the equipment to be networked is accessed to the current network after verification is passed to obtain a test result;
the current network includes an internal network and an external network, the method further comprising:
Acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine;
Responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network authority information, the external network authority information is associated with an external network communication network port, and external communication connection between the routing operation system and the external network is established through the external network authority information associated with the external network communication network port;
establishing internal communication connection between equipment to be networked and the internal network through the internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection;
and establishing communication connection between the equipment to be networked and the external network based on the external network networking request.
2. The method of claim 1, wherein the establishing a communication connection of the virtual machine with the routing operating system using the internet protocol address in the target network mode comprises:
and acquiring a target network port corresponding to the virtual machine, associating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and the routing operation system through the Internet protocol address associated with the target network port.
3. The method of claim 1, wherein said storing said network rights information into said routing operating system comprises;
and searching a management storage space corresponding to the routing operation system by using the communication connection according to the Internet protocol address, and storing the network authority information into the management storage space.
4. The method according to claim 1, wherein the performing a network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operating system to obtain a test result includes:
when the request verification information is consistent with the network authority information and network connection operation is detected, the test result is that the test is normal;
And when the request verification information is consistent with the network authority information and the network connection operation is not detected, the test result is abnormal.
5. The method of claim 1, wherein the networking request instructs at least two; when the networking request instruction is detected, performing network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system to obtain a test result, and further comprising:
When at least two networking request instructions are detected, network connection testing on the current network is conducted based on request verification information in the at least two networking request instructions and the network authority information in the routing operation system respectively, and at least two testing results are obtained.
6. A device networking test apparatus, the apparatus comprising:
The installation module is used for responding to an installation instruction, wherein the installation instruction carries the installation information of the virtual machine and the information of the routing operating system; installing the virtual machine in a current operating system based on the installation information of the virtual machine and the routing operating system information, and installing and starting the routing operating system in the virtual machine, wherein the routing operating system is used for building a networking environment;
the mode setting module is used for entering a target network mode according to a network mode setting instruction corresponding to the virtual machine and acquiring an internet protocol address corresponding to the routing operating system;
the connection module is used for establishing communication connection between the virtual machine and the routing operation system by using the Internet protocol address in the target network mode so as to enable the virtual machine and the routing operation system to complete networking environment establishment;
the storage module is used for responding to an authentication information input instruction, wherein the authentication information input instruction carries network authority information, and the network authority information is stored into the routing operation system by using the communication connection;
the test module is used for carrying out network connection test on the current network based on the request verification information in the networking request instruction and the network authority information in the routing operation system when the networking request instruction is detected, and obtaining a test result, and comprises the following steps: invoking network authority information from a routing operation system, verifying request verification information in a networking request instruction according to the network authority information, and testing whether the equipment to be networked is accessed to the current network after verification is passed to obtain a test result;
The external network communication unit is used for acquiring an internal network communication network port and an external network communication network port corresponding to the virtual machine; responding to an external network verification information input instruction, wherein the external network verification information input instruction carries external network permission information, the external network permission information is associated with an external network communication network port, and external communication connection between a routing operation system and an external network is established through the external network permission information associated with the external network communication network port; establishing internal communication connection between equipment to be networked and an internal network through an internal network communication network port, and acquiring an external network networking request corresponding to the networking equipment through the internal communication connection; and establishing communication connection between the device to be networked and an external network based on the external network networking request.
7. The apparatus of claim 6, wherein the connection module comprises:
The network port communication unit is used for acquiring a target network port corresponding to the virtual machine, correlating the Internet protocol address with the target network port, and establishing communication connection between the virtual machine and the routing operation system based on the routing communication connection through the Internet protocol address correlated with the target network port.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 5.
CN202210293731.4A 2022-03-24 2022-03-24 Equipment networking test method, device, computer equipment and storage medium Active CN114726757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210293731.4A CN114726757B (en) 2022-03-24 2022-03-24 Equipment networking test method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210293731.4A CN114726757B (en) 2022-03-24 2022-03-24 Equipment networking test method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114726757A CN114726757A (en) 2022-07-08
CN114726757B true CN114726757B (en) 2024-05-03

Family

ID=82240699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210293731.4A Active CN114726757B (en) 2022-03-24 2022-03-24 Equipment networking test method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114726757B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7228337B1 (en) * 2001-09-11 2007-06-05 Cisco Technology, Inc. Methods and apparatus for providing a network service to a virtual machine
CN101626383A (en) * 2008-07-10 2010-01-13 北京邮电大学 Route test method of aeronautical telecommunication network and router virtual machine
CN107171854A (en) * 2017-06-19 2017-09-15 深圳市共进电子股份有限公司 A kind of method that independent wide area network server is simulated in automatic test
CN110351271A (en) * 2019-07-09 2019-10-18 广东工业大学 Network-combination yarn experimental system building method, system, device and storage medium
CN110784879A (en) * 2019-10-31 2020-02-11 上海移远通信技术股份有限公司 Network mode switching test method, system, equipment and medium of communication module
CN113419812A (en) * 2021-05-20 2021-09-21 济南浪潮数据技术有限公司 Port forwarding test method, device, equipment and medium in virtualization environment
CN113612658A (en) * 2021-08-02 2021-11-05 四川九州电子科技股份有限公司 Broadband network equipment test system and test method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120066681A1 (en) * 2010-09-12 2012-03-15 Levy Tomer System and method for management of a virtual machine environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7228337B1 (en) * 2001-09-11 2007-06-05 Cisco Technology, Inc. Methods and apparatus for providing a network service to a virtual machine
CN101626383A (en) * 2008-07-10 2010-01-13 北京邮电大学 Route test method of aeronautical telecommunication network and router virtual machine
CN107171854A (en) * 2017-06-19 2017-09-15 深圳市共进电子股份有限公司 A kind of method that independent wide area network server is simulated in automatic test
CN110351271A (en) * 2019-07-09 2019-10-18 广东工业大学 Network-combination yarn experimental system building method, system, device and storage medium
CN110784879A (en) * 2019-10-31 2020-02-11 上海移远通信技术股份有限公司 Network mode switching test method, system, equipment and medium of communication module
CN113419812A (en) * 2021-05-20 2021-09-21 济南浪潮数据技术有限公司 Port forwarding test method, device, equipment and medium in virtualization environment
CN113612658A (en) * 2021-08-02 2021-11-05 四川九州电子科技股份有限公司 Broadband network equipment test system and test method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Chen Qi ; Keyou Wang ; Guojie Li ; Xiuchen Jiang ; Qing-Chang Zhong.Application and Validation of Virtual Synchronous Machines in Power System Operation.IECON 2018 - 44th Annual Conference of the IEEE Industrial Electronics Society.2018,全文. *
VMware虚拟机技术在Windows软路由实验中的应用;任映雪;;实验科学与技术(第06期);56-58+114 *

Also Published As

Publication number Publication date
CN114726757A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
US11910192B2 (en) Device identifier access method and apparatus
US10425242B2 (en) IoT provisioning service
WO2017020654A1 (en) Wireless network access method and device
CN104516783B (en) Authority control method and device
CN107623698B (en) Method and device for remotely debugging network equipment
US20180124150A1 (en) Remote access of cellular communication devices for software development and testing
JP2020509622A (en) Wireless network type detection method and apparatus and electronic device
US20120143943A1 (en) Cloud service system and method, and recording medium
US11770458B1 (en) Systems for exchanging data using intermediate devices
US10284614B2 (en) Method for downloading contents of electronic device and electronic device thereof
US9510182B2 (en) User onboarding for newly enrolled devices
CN112685719B (en) Single sign-on method, device, system, computer equipment and storage medium
CN114726757B (en) Equipment networking test method, device, computer equipment and storage medium
CN111935698A (en) Network access method, device, terminal and storage medium
EP4187420A1 (en) Resource management method, computing device, computing equipment, and readable storage medium
CN109560954B (en) Equipment configuration method and device
CN114531279B (en) Private network access method, server and storage medium
CN110445858A (en) Server-side connects client approach and device, equipment, medium simultaneously
CN114491555A (en) Equipment safety detection method and device, computer equipment and storage medium
CN113852596A (en) Application authentication agent method and system based on Kubernetes
CN112579236A (en) Function button display method and device, computer equipment and storage medium
CN112104513A (en) Visual software load method, device, equipment and storage medium
CN108306892A (en) A kind of request responding method and system based on TrustZone
CN112261051B (en) User registration method, device and system
CN114189553B (en) Flow playback method, system and computing device

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