Routing equipment for terminal equipment to access network equipment and network connection method

By introducing a processing module into the routing device, the Internet protocol address of the routing device is automatically modified to be in the same network segment as the network device, the problem of users needing to manually configure the network address is solved, and convenient connection between the terminal device and the network device is achieved.

CN120077612APending Publication Date: 2025-05-30SIEMENS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280099238.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

In the prior art, users need to manually configure the Internet protocol addresses of network devices and wireless routing devices to ensure that the terminal device can access the web server of the network device through WI-FI, which is inconvenient for ordinary users.

Method used

A routing device is designed, including a processing module that can automatically modify the Internet protocol address of the routing device so that it is in the same network segment as the Internet protocol address of the network device, so that the user does not need to manually configure it.

Benefits of technology

By automatically configuring network parameters, users can easily establish connections between terminal devices and network devices, improving user experience and operational convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120077612A_ABST
    Figure CN120077612A_ABST
Patent Text Reader

Abstract

The invention provides routing equipment for terminal equipment to access network equipment. The routing equipment comprises a first communication module (10), a processing module (20) and a second communication module (30). And the processing module sends the first detection message. The first communication module sends the received first detection message to the network equipment, and sends a received first response message generated by the network equipment to the processing module; and the processing module modifies the internet protocol address of the routing equipment according to the first response message to enable the internet protocol address of the routing equipment and the internet protocol address of the network equipment to be in the same network segment. The second communication module is in signal connection with the processing module and terminal equipment. And the processing module allocates the internet protocol address which is in the same network segment with the internet protocol address of the routing equipment to the terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a routing device, in particular to a routing device for a terminal device to access a network device, and a network connection method using the above routing device. Background Art

[0002] The network device has an internal web server, which can be accessed through a browser of a terminal device such as a laptop, a mobile phone, or a tablet computer. To access the web server of the network device with a fixed Internet Protocol address (i.e., IP address) through a wireless network, a wireless routing device must be used to connect to the network device with an RJ45 interface through a network cable. Before this, according to the Transmission Control Protocol / Internet Protocol (i.e., TCP / IP protocol), the user must manually configure the network device or the wireless routing device data transmission to ensure that the terminal device can access the web server of the network through WI-FI. When manually configuring, the user must first obtain parameters such as the Internet Protocol address of the network device through some specified tools that some users may not be able to use or are difficult for users to operate, and adjust the Internet Protocol address of the wireless routing device so that it is in the same network segment as the Internet Protocol address of the network device. Otherwise, due to the limitations of the Transmission Control Protocol / Internet Protocol data transmission, the terminal device will not be able to access the network device. This brings inconvenience to ordinary users to access the network device through the terminal device. Summary of the Invention

[0003] An object of the present invention is to provide a routing device for a terminal device to access a network device, which can automatically configure network parameters and facilitate the user to establish a connection between the terminal device and the network device.

[0004] Another object of the present invention is to provide a network connection method using the above routing device.

[0005] The present invention provides a routing device for a terminal device to access a network device, including a first communication module, a processing module, and a second communication module. The first communication module is used for signal connection with the network device. The processing module is signal-connected to the first communication module. The processing module sends a first probe message and transmits it to the first communication module. The first communication module can send the first probe message to the network device to obtain the Internet Protocol address of the network device. The network device can generate a first response message according to the first probe message and send the first response message to the first communication module. The first communication module can send the first response message to the processing module. The processing module can modify the Internet Protocol address of the routing device according to the first response message so that the Internet Protocol address of the routing device is in the same network segment as the Internet Protocol address of the network device. The first response message includes the Internet Protocol address of the network device. The second communication module is signal-connected to the processing module and is used for signal connection with the terminal device. The processing module can allocate the Internet Protocol address in the same network segment as the Internet Protocol address of the routing device to the terminal device through the second communication module.

[0006] For the routing device provided by the present invention for a terminal device to access a network device, its processing module can automatically modify the Internet Protocol address of the routing device according to the first response message so that the Internet Protocol address of the routing device is in the same network segment as the Internet Protocol address of the network device, which is convenient for users to establish a connection between the terminal device and the network device.

[0007] In another schematic embodiment of the routing device, the network device includes a first web server. The processing module respectively defines the domain names of the network device and the routing device, and respectively sends out the correspondence between the Internet Protocol address of the network device and the domain name of the network device and the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device. The terminal device can resolve the domain name data of the web server to be accessed according to the received correspondence between the Internet Protocol address and the domain name to generate a web access request message including the Internet Protocol address of the web server to be accessed, and send the web access request message to the processing module through the second communication module. The processing module can judge whether the Internet Protocol address of the web server to be accessed in the web access request message is the Internet Protocol address of the network device or the Internet Protocol address of the routing device. If the judgment result is the Internet Protocol address of the network device, the processing module forwards the web access request message to the first web server through the first communication module. The first web server can generate a second response message after parsing the web access request message and send it to the processing module through the first communication module. The processing module can send the second response message to the terminal device through the second communication module.

[0008] In another illustrative embodiment of the routing device, the routing device further includes a second web server. The second web server is used to manage the routing device. The processing module respectively defines the domain names of the network device and the routing device, and respectively sends out the correspondence between the Internet protocol address of the network device and the domain name of the network device and the correspondence between the Internet protocol address of the routing device and the domain name of the routing device. The terminal device can resolve the domain name data of the web server to be accessed into a web access request packet including the Internet protocol address of the web server to be accessed according to the received correspondence between the Internet protocol address and the domain name, and send the web access request packet to the processing module through the second communication module. The processing module can determine that the Internet protocol address of the web server to be accessed in the web access request packet is the Internet protocol address of the routing device or the Internet protocol address of the network device. If the determination result is the Internet protocol address of the routing device, the processing module forwards the web access request packet to the second web server, and the second web server can generate a third response packet after parsing the web access request packet and send it to the terminal device through the second communication module.

[0009] In another illustrative embodiment of the routing device, the first probe packet and the first response packet are Discovery Configuration Protocol (DCP) discovery configuration protocol packets.

[0010] In another illustrative embodiment of the routing device, the processing module can allocate an Internet protocol address in the same network segment as the Internet protocol address of the routing device to the terminal device through the Dynamic Host Configuration Protocol (DHCP). The first communication module can send the first response packet to the processing module through the data link layer. The web access request packet and the second response packet are transmitted through the data link layer.

[0011] In another illustrative embodiment of the routing device, the third response packet is transmitted through the data transport layer.

[0012] In another illustrative embodiment of the routing device, the first communication module can connect to the network device in a wired communication manner. The second communication module can connect to the terminal device in a wireless communication manner.

[0013] The present invention also provides a network connection method, which is used to connect a network device and a terminal device. The network connection method includes:

[0014] Setting up a routing device, and sending a first probe packet to the network device through the routing device to obtain the Internet protocol address of the network device;

[0015] Receiving, by a routing device, a first response message generated by a network device based on a first detection message, where the first response message includes the Internet Protocol (IP) address of the network device;

[0016] Modifying, by the routing device, the IP address of the routing device based on the first response message so that the IP address of the routing device and the IP address of the network device are in the same network segment; and

[0017] Allocating, by the routing device, an IP address in the same network segment as the IP address of the routing device to a terminal device.

[0018] In another exemplary embodiment of the network connection method, the network device includes a first web server. The network connection method further includes:

[0019] Defining, by the routing device, the domain names of the network device and the routing device respectively, and sending the corresponding relationships between the IP address of the network device and the domain name of the network device and between the IP address of the routing device and the domain name of the routing device respectively. The terminal device generates a web access request message including the IP address of the web server to be accessed based on the received corresponding relationships between the IP address and the domain name and sends it to the routing device;

[0020] Determining, by the routing device, whether the IP address of the web server to be accessed is the IP address of the network device or the IP address of the routing device;

[0021] If the determination result is the IP address of the network device, forwarding, by the routing device, the web access request message to the first web server; and

[0022] Sending, by the routing device, a second response message generated after the first web server parses the web access request message to the terminal device.

[0023] In yet another exemplary embodiment of the network connection method, the routing device includes a second web server. The network connection method further includes:

[0024] Defining, by the routing device, the domain names of the network device and the routing device respectively, and sending the corresponding relationships between the IP address of the network device and the domain name of the network device and between the IP address of the routing device and the domain name of the routing device respectively. The terminal device generates a web access request message including the IP address of the web server to be accessed based on the received corresponding relationships between the IP address and the domain name and sends it to the routing device;

[0025] The routing device determines that the Internet Protocol address of the web server to be accessed is the Internet Protocol address of the network device or the Internet Protocol address of the routing device;

[0026] If the determination result is the Internet Protocol address of the routing device, the second web server of the routing device generates a third response message after parsing the web access request message and sends it to the terminal device.

[0027] In another illustrative embodiment of the network connection method, the first detection message and the first response message are discovery configuration protocol messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The following drawings only illustrate and explain the present invention and do not limit the scope of the present invention.

[0029] Figure 1 It is a structural block diagram for illustrating an illustrative embodiment of a routing device.

[0030] Figure 2 For illustrating the use of Figure 1 It is a schematic flowchart of an illustrative embodiment of a network connection method using the routing device shown.

[0031] LABEL DESCRIPTION

[0032] 100 Routing device

[0033] 10 First communication module

[0034] 20 Processing module

[0035] 30 Second communication module

[0036] 40 Second web server

[0037] 80 Network device

[0038] 81 First web server

[0039] 90 Terminal device DETAILED DESCRIPTION OF THE EMBODIMENTS

[0040] In order to have a clearer understanding of the technical features, objectives, and effects of the invention, the specific embodiments of the invention are now described with reference to the accompanying drawings. In the figures, the same reference numerals denote components having the same or similar structures but the same functions.

[0041] In this document, "illustrative" means "serving as an example, instance, or illustration", and any illustration or embodiment described as "illustrative" in this document should not be construed as a more preferred or advantageous technical solution.

[0042] A routing device is a hardware device that connects two or more networks. It acts as a gateway between networks and is a dedicated intelligent network device that reads the address in each data packet and then decides how to transmit. The role of a routing device is to connect different networks and select the line for information transmission. Selecting a smooth and fast short route can improve communication speed and network system throughput, reduce the communication load of the network system, save network system resources, and thus enable the network system to exert greater benefits.

[0043] Figure 1 It is a schematic structural diagram for illustrating a schematic implementation manner of a routing device. As Figure 1 shown, the routing device 100 includes a first communication module 10, a processing module 20, and a second communication module 30.

[0044] The first communication module 10 is used for signal connection with the network device 80. The processing module 20 can send a first probe message and send it to the network device 80 through the first communication module 10 to obtain the Internet Protocol address of the network device 80. The network device 80 can generate a first response message according to the first probe message and send the first response message to the first communication module 10. The first probe message and the first response message are discovery configuration protocol messages. The first response message includes the Internet Protocol address of the network device 80, the subnet mask of the network device 80, and the gateway of the network device 80.

[0045] The processing module 20 is signal-connected to the first communication module 10. The first communication module 10 can send the first response message from the network device to the processing module 20. The processing module 20 can modify the Internet Protocol address of the routing device according to the first response message so that the Internet Protocol address of the routing device is in the same network segment as the Internet Protocol address of the network device 80.

[0046] The second communication module 30 is signal-connected to the processing module 20 and is used for signal connection with the terminal device 90. The processing module 20 can allocate the Internet Protocol address in the same network segment as the Internet Protocol address of the routing device to the terminal device 90 through the second communication module 30.

[0047] For the routing device 100 provided by the present invention, its processing module 20 can automatically modify the Internet Protocol address of the routing device 100 according to the first response message so that the Internet Protocol address of the routing device 100 is in the same network segment as the Internet Protocol address of the network device 80, which is convenient for users to establish a connection between the terminal device 90 and the network device 80.

[0048] The network device 80 includes a first web server 81. The processing module 20 respectively defines the domain names of the network device 80 and the routing device 90, and respectively sends out the correspondence between the Internet protocol address of the network device 80 and the domain name of the network device 80, and the correspondence between the Internet protocol address of the routing device 100 and the domain name of the routing device 100. The terminal device 90 can generate a web access request message including the Internet protocol address of the web server to be accessed by parsing the domain name data of the web server to be accessed according to the received correspondence between the Internet protocol address and the domain name, and send the web access request message to the processing module 20 through the second communication module 30. The processing module 20 can determine that the Internet protocol address of the web server to be accessed is the Internet protocol address of the network device 80 or the Internet protocol address of the routing device 100 according to the Internet protocol address of the web server to be accessed in the web access request message. If the judgment result is the Internet protocol address of the network device 80, the processing module 20 forwards the web access request message to the first web server 81 through the first communication module 10. The first web server 81 can generate a second response message after parsing the web access request message and send it to the processing module 20 through the first communication module. The processing module 20 can send the second response message to the terminal device 90 through the second communication module 30.

[0049] In a schematic embodiment, the routing device 100 further includes a second web server 40. The second web server 40 is used to manage the routing device 100, such as configuring the WI-FI name, WI-FI password, communication status and selecting and switching channels of the routing device 100, and viewing the Internet protocol address and communication status of the connected network devices. If the judgment result of the processing module 20 is the Internet protocol address of the routing device 100, the processing module 20 forwards the web access request message to the second web server 40, and the second web server 40 can generate a third response message after parsing the web access request message and send it to the terminal device 90 through the second communication module 30. Thereby, the user can set the parameters of the routing device 100.

[0050] In a schematic embodiment, the processing module 20 can allocate an Internet protocol address in the same network segment as the Internet protocol address of the routing device to the terminal device 90 through the Dynamic Host Configuration Protocol. The first communication module 10 can send the first response message to the processing module 20 through the data link layer. The web access request message and the second response message are transmitted through the data link layer. The third response message is transmitted through the data transport layer.

[0051] In a schematic embodiment, the first communication module 10 is an Ethernet card, which can be connected to the network device 80 by means of wired communication. The second communication module 30 is a wireless network card, which can be connected to the terminal device 90 by means of wireless communication.

[0052] Figure 2 For illustrating Figure 1 A schematic flow diagram of an embodiment for the network connection method of the routing device shown. As Figure 2 shown, a network connection method provided by the present invention includes the following steps:

[0053] S1: Set up a routing device, and send a first probe message to the network device through the routing device to obtain the Internet Protocol address of the network device. Specifically:

[0054] In use, connect the first communication module of the routing device, such as an Ethernet card, to the network device with an RJ45 interface through a network cable. After power-on, the processing module of the routing device sends a first probe message, such as a discovery configuration protocol message, to the network device through the first communication module.

[0055] S2: Receive, through the routing device, a first response message generated by the network device according to the first probe message, where the first response message includes the Internet Protocol address of the network device. Specifically:

[0056] After receiving the first probe message, the network device generates a first response message through data processing. The first response message includes the Internet Protocol address, subnet mask, and gateway of the network device. The network device sends the first response message to the first communication module. The first communication module sends the first response message to the processing module through the data link layer, and the processing module defines the domain name of the network device, and sends the correspondence between the Internet Protocol address of the network device and the domain name of the network device through the second communication module in the form of, for example, a WI-FI signal.

[0057] S3: Modify, through the routing device, the Internet Protocol address of the routing device according to the first response message so that the Internet Protocol address of the routing device is in the same network segment as the Internet Protocol address of the network device. Specifically:

[0058] After processing, the processing module automatically modifies the Internet Protocol address of the routing device so that the Internet Protocol address of the routing device is in the same network segment as the Internet Protocol address of the network device. The processing module defines the domain name of the routing device, resolves the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device, and sends the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device through the second communication module in the form of, for example, a WI-FI signal.

[0059] S4: Assign an Internet Protocol (IP) address in the same network segment as the IP address of the routing device to the terminal device. Specifically:

[0060] The user searches for the Wi-Fi name of the routing device through the communication module of the terminal device, such as a Wi-Fi network card, and after entering the password and confirmation, a communication channel is established. Through the Dynamic Host Configuration Protocol, the processing module assigns an IP address in the same network segment as the IP address of the routing device to the terminal device.

[0061] Automatically modify the IP address of the routing device through the routing device so that the IP address of the routing device is in the same network segment as the IP address of the network device, and assign an IP address in the same network segment as the IP address of the routing device to the terminal device. The terminal device establishes a connection with the network device for the user to perform subsequent access through the terminal device.

[0062] In a schematic embodiment, the network device includes a first web server. The network connection method further includes:

[0063] S5: The terminal device parses the domain name data of the web server to be accessed according to the received correspondence between the IP address and the domain name, generates a web access request message including the IP address of the web server to be accessed, and sends it to the routing device. Specifically:

[0064] The user enters the domain name to be accessed in the browser of the terminal device. The terminal device parses the domain name data of the web server to be accessed according to the received correspondence between the IP address of the network device and the domain name of the network device, and the correspondence between the IP address of the routing device and the domain name of the routing device, generates a web access request message including the IP address of the web server to be accessed, and sends the web access request message to the second communication module. The second communication module sends the web access request message to the processing module.

[0065] S6: The routing device determines whether the IP address of the web server to be accessed is the IP address of the network device or the IP address of the routing device.

[0066] S7: If the determination result is the IP address of the network device, the routing device forwards the web access request message to the first web server. Specifically:

[0067] If the determination result is the IP address of the network device, the processing module transparently transmits the received web access request message to the first communication module through the data link layer and sends it to the first web server of the network device through the first communication module.

[0068] S8: Send the second response message generated by the first web server after parsing the web access request message to the terminal device through the routing device. Specifically:

[0069] The first web server of the network device parses the web access request message to generate a second response message and sends the second response message to the first communication module. The first communication module sends it to the processing module through the data link layer. The processing module determines that the Internet protocol address of the destination is the terminal device and transmits it to the second communication module through the data link layer. The second communication module transmits the second response message to the terminal device, and the browser of the terminal device displays the access result.

[0070] If, during the process of accessing the network device, it is necessary to adjust the parameters of the routing device, the network connection method further includes the following steps:

[0071] S9: If the result of the judgment in step S6 is the Internet protocol address of the routing device, send the web access request message to the second web server.

[0072] S10: The second web server parses the web access request message to generate a third response message and sends it to the terminal device through the second communication module. Specifically:

[0073] The second web server parses the web access request message to generate a third response message, and sends the third response message to the second communication module through the data transmission layer, and then the second communication module sends it to the terminal device. The browser of the terminal device displays the access result. The second web server is used to configure the WI-FI name, WI-FI password, communication status, and channel selection and switching of the routing device, and is used to view the Internet protocol address and communication status of the connected network device. Thus, the user can set the parameters of the routing device.

[0074] After the user sets the parameters of the routing device on the terminal device, the user can enter the domain name of the network device to be accessed again and execute steps S5, S6, S7, and S8 for access.

[0075] In another illustrative embodiment of the network connection method, the first probe message and the first response message are discovery configuration protocol messages.

[0076] It should be understood that although this specification is described according to each embodiment, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

[0077] The series of detailed descriptions listed above are only specific descriptions of the feasible embodiments of the present invention, and they are not intended to limit the protection scope of the present invention. Any equivalent implementation schemes or changes made without departing from the technical spirit of the present invention, such as the combination, division or repetition of features, shall be included within the protection scope of the present invention.

Claims

1. A routing device for a terminal device to access a network device, characterized in that, it includes: a first communication module (10) for signal connection to the network device (80); a processing module (20) signal-connected to the first communication module (10), the processing module (20) sends a first probe message and transmits it to the first communication module (10), the first communication module (10) can send the first probe message to the network device (80) to obtain the Internet protocol address of the network device (80), the network device (80) can generate a first response message according to the first probe message and send the first response message to the first communication module (10), the first communication module (10) can send the first response message to the processing module (20), and the processing module (20) can modify the Internet protocol address of the routing device according to the first response message so that the Internet protocol address of the routing device is in the same network segment as the Internet protocol address of the network device (80), and the first response message includes the Internet protocol address of the network device (80); and a second communication module (30) signal-connected to the processing module (20) and used for signal connection to the terminal device (90), and the processing module (20) can allocate an Internet protocol address in the same network segment as the Internet protocol address of the routing device to the terminal device (90) through the second communication module (30).

2. The routing device according to claim 1, wherein the network device (80) includes a first web server (81), characterized in that, The processing module (20) respectively defines the domain names of the network device and the routing device, and respectively sends out the correspondence between the Internet protocol address of the network device and the domain name of the network device, and the correspondence between the Internet protocol address of the routing device and the domain name of the routing device. The terminal device (90) can generate a web access request message including the Internet protocol address of the web server to be accessed according to the received correspondence between the Internet protocol address and the domain name, and send the web access request message to the processing module (20) through the second communication module (30). The processing module (20) can determine that the Internet protocol address of the web server to be accessed is the Internet protocol address of the network device (80) or the Internet protocol address of the routing device according to the Internet protocol address of the web server to be accessed in the web access request message. If the judgment result is the Internet protocol address of the network device (80), the processing module (20) forwards the web access request message to the first web server (81) through the first communication module (10). The first web server (81) can generate a second response message after parsing the web access request message and send it to the processing module (20) through the first communication module (10). The processing module (20) can send the second response message to the terminal device (90) through the second communication module (30).

3. The routing device according to claim 1, characterized in that The routing device further includes a second web server (40) for managing the routing device. The processing module (20) respectively defines the domain names of the network device and the routing device, and respectively sends out the correspondence between the Internet protocol address of the network device and the domain name of the network device and the correspondence between the Internet protocol address of the routing device and the domain name of the routing device. The terminal device (90) can generate a web access request message including the Internet protocol address of the web server to be accessed by parsing the domain name data of the web server to be accessed according to the received correspondence between the Internet protocol address and the domain name, and send the web access request message to the processing module (20) through the second communication module (30). The processing module (20) can determine that the Internet protocol address of the web server to be accessed in the web access request message is the Internet protocol address of the routing device or the Internet protocol address of the network device (80). If the judgment result is the Internet protocol address of the routing device, the processing module (20) forwards the web access request message to the second web server (40), and the second web server (40) can generate a third response message after parsing the web access request message and send it to the terminal device (90) through the second communication module (30).

4. The routing device according to claim 1, wherein, the first detection message and the first response message are discovery configuration protocol messages.

5. The routing device according to claim 2, wherein, the processing module (20) can allocate an Internet protocol address in the same network segment as the Internet protocol address of the routing device to the terminal device (90) through the Dynamic Host Configuration Protocol. The first communication module (10) can send the first response message to the processing module (20) through the data link layer. The web access request message and the second response message are transmitted through the data link layer.

6. The routing device according to claim 3, wherein, the third response message is transmitted through the data transport layer.

7. The routing device according to claim 1, wherein, the first communication module (10) can connect to the network device (80) in a wired communication manner, and the second communication module (30) can connect to the terminal device (90) in a wireless communication manner.

8. A network connection method for connecting a network device and a terminal device, wherein, the network connection method includes: setting up a routing device, and sending a first detection message to the network device through the routing device to obtain the Internet protocol address of the network device; receiving, through the routing device, a first response message generated by the network device according to the first detection message, where the first response message includes the Internet protocol address of the network device; The routing device modifies the Internet Protocol address of the routing device according to the first response message so that the Internet Protocol address of the routing device is in the same network segment as the Internet Protocol address of the network device; and The routing device assigns an Internet Protocol address in the same network segment as the Internet Protocol address of the routing device to the terminal device.

9. The network connection method according to claim 8, wherein the network device includes a first web server, characterized in that the network connection method further includes: The routing device respectively defines the domain names of the network device and the routing device, and respectively sends out the correspondence between the Internet Protocol address of the network device and the domain name of the network device and the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device. The terminal device generates a web access request message including the Internet Protocol address of the web server to be accessed according to the received correspondence between the Internet Protocol address of the network device and the domain name of the network device and the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device, and sends it to the routing device; The routing device determines whether the Internet Protocol address of the web server to be accessed is the Internet Protocol address of the network device or the Internet Protocol address of the routing device; If the judgment result is the Internet Protocol address of the network device, the routing device forwards the web access request message to the first web server; and The routing device sends the second response message generated after the first web server parses the web access request message to the terminal device.

10. The network connection method according to claim 8, wherein the routing device includes a second web server, characterized in that the network connection method further includes: The routing device respectively defines the domain names of the network device and the routing device, and respectively sends out the correspondence between the Internet Protocol address of the network device and the domain name of the network device and the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device. The terminal device generates a web access request message including the Internet Protocol address of the web server to be accessed according to the received correspondence between the Internet Protocol address of the network device and the domain name of the network device and the correspondence between the Internet Protocol address of the routing device and the domain name of the routing device, and sends it to the routing device; The routing device determines whether the Internet Protocol address of the web server to be accessed is the Internet Protocol address of the network device or the Internet Protocol address of the routing device; If the judgment result is the Internet Protocol address of the routing device, the second web server of the routing device parses the web access request message and generates a third response message to send to the terminal device.

11. The network connection method according to claim 8, characterized in that the first detection message and the first response message are discovery configuration protocol messages.