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

Network interface mode switching method and device

A mode switching and network port technology, applied in the field of network port mode switching methods and devices, can solve the problems that cannot be used as a WAN port, cannot be used for switching, and cannot be used for mutual switching between LAN ports and WAN ports, so as to save the need for manual switching. , the effect of saving resources

Inactive Publication Date: 2009-03-18
HUAWEI DEVICE (SHENZHEN) CO LTD
View PDF0 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once the LAN port and WAN port are fixed, they cannot be switched. The LAN port can only be used for data transmission in the LAN, and cannot be used as a WAN port. Similarly, the WAN port can only be used for data transmission in the WAN, and cannot be used as a LAN port.
[0003] In the process of realizing the present invention, the inventor finds that there are at least the following disadvantages in the prior art: the LAN port and the WAN port cannot be switched to each other for use
In the production process, once the LAN port and WAN port are fixed, they cannot be switched. The LAN port can only be used for data transmission in the local area network, and cannot be used as a WAN port. Similarly, the WAN port can only be used for data transmission in the WAN port, and cannot be used as a LAN port. Oral use, causing inconvenience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network interface mode switching method and device
  • Network interface mode switching method and device
  • Network interface mode switching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0013] figure 1 It is a schematic flow diagram of an embodiment of the network port mode switching method of the present invention, as shown in the figure, the flow includes:

[0014] Step S01, detecting the type of network connected to the port;

[0015] Step S02, judging whether the current mode of the port matches the type of the network;

[0016] Step S03, if the current mode of the port does not match the type of the network, switch the mode of the port to a mode matching the type of the network.

[0017] In this embodiment, first detect what type of network is connected to the port of the network device, such as a local area network (LAN) or a wide area network (WAN), and then determine the current mode of the port of the network device and the above-mentioned network connected to the port. Whether the type matches, for example, if it is detec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for switching the mode of network ports, which comprises the following steps: detecting the type of a network which is connected with the port, judging whether the current mode of the port is matched with the type of the network, and if the mode is not matched with the type, switching the mode of the port to the mode which is matched with the type of the network. The invention simultaneously discloses a device for switching the mode of the network port, which comprises a detecting module for detecting the type of the network which is connected with the port, a first judging module for judging whether the current mode of the port is matched with the type of the network which is detected by the detecting module, and a switching module for switching the mode of the port to the mode which is matched with the type of the network when the result of the first judging module is that the mode is not matched with the type. The invention has the beneficial effects that a physical port of the network device can automatically switch the mode according to the type of the connected networks, thereby the network device can be accessed into wide area networks and local area networks only through one of the physical port, and the resources and troubles of manual switching are saved.

Description

technical field [0001] The invention relates to the communication field, in particular to a network port mode switching method and device. Background technique [0002] The data exchange between the network device and the network is mainly through a LAN (Local Area Network, local area network) port and a WAN (Wild Area Network, wide area network) port. Among them, the LAN port is mainly responsible for data transmission between the network device and the local area network, the WAN port is mainly responsible for the data transmission between the network device and the wide area network, and the LAN port and the WAN port are used to send and receive different data packets respectively. In traditional routers, the LAN port and the WAN port are implemented using different physical interfaces. The LAN port can only be used for LAN data transmission, and the WAN port can only be used for WAN data transmission, and cannot be switched between them. The LAN port and WAN port are fi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/28H04L12/56H04L29/10
Inventor 许天亮
Owner HUAWEI DEVICE (SHENZHEN) CO LTD