Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for automatic IP address detection

An IP address and automatic detection technology, applied in the field of communication, can solve problems such as poor flexibility, complicated processing methods, and no clear address hierarchy, so as to avoid IP address conflicts and save maintenance costs

Inactive Publication Date: 2008-05-07
HUAWEI TECH CO LTD
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 2) The network layer, sometimes called the Internet layer, deals with the activities of packets in the network. Since the MAC address usually exists in a flat address space, there is no clear address hierarchy; in addition, the MAC address is fixed in the hardware and has poor flexibility.
You can quickly find out that the IP address conflict caused the communication failure, but which host or device conflicts, you still need to manually query the IP addresses of all hosts or devices to find the problem
Similarly, in the process from the occurrence of the problem to the final solution, because multiple hosts or devices use the same IP address at the same time, there will always be conflicting IP addresses in the switching network. All data packets related to the IP address cannot be correctly switched to the specified host. or on the device
Compared with the previous method, although this method can locate the IP address conflict problem in time, it still needs to query the IP addresses of all other hosts or devices to finally eliminate the problem. The processing method is still complicated, and the processing time is very different from the level of processing personnel big relationship
[0017] To sum up, it can be found that at present, it is only resolved after the IP address conflict, which causes high maintenance costs for the network, and affects the normal communication of the network.

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
  • Method and device for automatic IP address detection
  • Method and device for automatic IP address detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Embodiment 1, referring to Fig. 1, concrete steps are:

[0035] Step 101: When the system is running normally, set the IP address of the first terminal as the IP network address;

[0036] It was explained before that the network part of the IP address is located in the consecutive binary "1" bits in front of the IP address mask, and the host part is the consecutive binary "0" bits in the back. When the host part is all zero, the address is regarded as an IP network address, and the IP network address will not be used in the actual network, it represents the entire network specified by the network part; it is also because the IP network address is in It will not be used in the actual network, so it will not conflict with the network addresses of other terminals, and will not affect the normal operation of the network.

[0037] Step 102: the first terminal broadcasts an ARP message to other terminals in the network through a preset IP network address; the ARP message car...

Embodiment 2

[0059] Embodiment 2, the embodiment of the present invention also provides a device for automatically detecting IP address conflicts, see Figure 2, the device includes:

[0060] The sending unit 201 is configured to broadcast an ARP message through a preset IP network address, and the message carries an IP address to be detected;

[0061] The receiving unit 202 is configured to receive ARP response failure information or ARP response success information.

[0062] When the IP address to be detected needs to be configured, the device further includes an IP address replacement unit 203, configured to replace the preset IP network address with the IP address to be detected after receiving the ARP response failure message.

[0063] The sending unit can send ARP messages to other terminals by calling protocol stack functions.

Embodiment 3

[0064] Embodiment 3, the present invention also provides a device for assisting automatic detection of IP address conflicts, see Figure 3, the device includes:

[0065] A first receiving unit 301, configured to receive an ARP message;

[0066] Judging unit 302, used to judge whether its own IP address is the same as the IP address to be detected;

[0067] The processing unit 303 is used to feed back ARP response success information to the first terminal when the judging unit judges that its own IP address is the same as the IP address to be detected; if the judging unit judges that its own IP address is not the same as the IP address to be detected , feeding back ARP response failure information to the first terminal.

[0068] Through the embodiments of the present invention, the occurrence of IP address conflicts can be avoided from the source; that is to say, IP address conflict detection can be performed before setting, and the IP network address is used during the detecti...

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 which can detect IP address conflicts automatically. The method is concretely that a first terminal broadcasts ARP message to other terminals through a prearranged IP network address. The ARP message carries IP addresses to be detected. The ARP message is used in other terminals for judging whether the IP address of the ARP message is the same with the IP address to be detected. The first terminal receives the ARP response information sent by other terminals according to the judged results. The invention also discloses a device, which is used for detecting the IP address conflicts automatically. The invention still discloses a device which is used for helping detecting the IP address conflicts automatically. The invention judges the IP address conflicts through the ARP message and avoids the happening of the IP address conflicts from headstream. The method can be implemented under the condition of not influencing the network communication. Therefore, a trivial problem location process is avoided and a large quantity of maintenance cost is saved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and a device for automatically detecting IP (Internet Protocol, a protocol for interconnecting networks) address conflicts. Background technique [0002] With the continuous development of network technology, network applications have become more and more popular. At present, there are many different manufacturers producing various types of computers, different devices, and different network terminals. Although they run completely different operating systems, the TCP (Transmission Control Protocol, Transmission Control Protocol) / IP protocol suite allows them to communicate with each other. communication. [0003] Network protocols are usually developed in different layers, each layer responsible for different communication functions. The TCP / IP protocol family is a combination of multiple protocols at different levels. It is a four-layer protocol system. Each layer is respons...

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/26H04L12/24H04L29/08H04L29/12
Inventor 王淮健
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products