Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of smart detection and recovery, being implemented in a terminal to detect a status of a host, wherein the terminal retrieves from the host in advance an IP address currently used and an MAC address currently used by the host, and the terminal comprising: a transmission interface, being configured to connect with an external host and transmit data; a device circuit, being configured to perform various operations and functions of the terminal; a registration module, being configured to send a connection establishment request to the host via the transmission interface, and retrieve an IP address currently used by the host and an MAC address currently used by the host; a memory, being configured to store at least the IP address currently used and the MAC address currently used; a data processing module, being configured to receive at least one datagram from the outside via the transmission interface and interpret data included in the datagram; and an analysis module, being configured to analyze data of the datagram, which has been interpreted by the data processing module, against the IP address currently used and the MAC address currently used, and decide whether the registration module shall send the connection establishment request again to the host according to the analysis result; wherein, the method comprising the analysis module analyzes data of the datagram by the following steps: (A) receiving a datagram; (B) determining whether a size of the datagram is consistent with a predetermined size, and if yes, then executing step (C), and otherwise, executing step (G); (C) determining whether an MAC header included in the datagram complies with a predetermined format, and if yes, then executing step (D), and otherwise, executing step (G); (D) determining whether an IP address included in the datagram is identical to the IP address currently used, and if no, then executing step (E), and otherwise, executing step (F); (E) executing an address altering procedure in which the IP address included in the datagram is used as a new address and reconnection or redirection to the new address is made; (F) processing the received datagram through a normal procedure and returning to the step (A); and (G) omitting the datagram and returning to the step (A).
2. The method of claim 1 , wherein the step (C) further comprises the following steps of: (C1) determining whether a Type field included in the MAC header complies with a predetermined type format, and if yes, then executing the next step, and otherwise, executing the step (G); and (C2) determining whether an MAC address included in the MAC header is identical to the MAC address currently used, and if yes, then executing the step (D), and otherwise, executing the step (G).
3. The method of claim 2 , wherein the method further comprises the following steps between the step (C1) and the step (C2): (C1a) determining whether an Opcode field included in an ARP header of the datagram complies with a predetermined opcode format, and if yes, then executing the step (C2), and otherwise, executing the step (G).
4. The method of claim 2 , wherein the method further comprises the following steps between the step (C1) and the step (C2): (C1b) determining whether a Next Header field included in an IP header of the datagram complies with a predetermined header format, and if yes, then executing step (C1c), and otherwise, executing the step (G); and (C1c) determining whether a Type field included in an ICMPv6 header of the datagram complies with a predetermined ICMPv6 format, and yes, then executing the step (C2), and otherwise, executing the step (G).
5. The method of claim 1 , wherein the terminal is a VoIP phone, a VoIP gateway, a network IP router, an IP sharing switch, a wireless network base station, a computer or a handheld network device.
6. The method of claim 1 , wherein the host is a VoIP base unit, a web server or a computer.
7. The method of claim 1 , wherein the IP address currently used and the MAC address currently used that are retrieved in advance by the terminal are stored into a memory in form of a look-up table (LUT).
8. A system of smart detection and recovery, being implemented in a terminal, comprising: a transmission interface, being configured to connect with an external host and transmit data; a device circuit, being configured to perform various operations and functions of the terminal; a registration module, being configured to send a connection establishment request to the host via the transmission interface, and retrieve an IP address currently used by the host and an MAC address currently used by the host; a memory, being configured to store at least the IP address currently used and the MAC address currently used; a data processing module, being configured to receive at least one datagram from the outside via the transmission interface and interpret data included in the datagram; and an analysis module, being configured to analyze data of the datagram, which has been interpreted by the data processing module, against the IP address currently used and the MAC address currently used, and decide whether the registration module shall send the connection establishment request again to the host according to the analysis result; wherein, the analysis module analyzes data of the datagram by the following steps: (A) receiving the datagram; (B) determining whether a size of the datagram is consistent with a predetermined size, and if yes, then executing step (C), and otherwise, executing step (G); (C) determining whether a MAC header included in the datagram complies with a predetermined format, and if yes, then executing step (D), and otherwise, executing step (G); (D) determining whether an IP address included in the datagram is identical to the IP address currently used, and if no, then executing step (E), and otherwise, executing step (F); (E) executing an address altering procedure in which the IP address included in the datagram is used as a new address and reconnection or redirection to the new address is made; (F) processing the received datagram through a normal procedure and returning to the step (A); and (G) omitting the datagram and returning to the step (A).
9. The system of claim 8 , wherein: the terminal is a VoIP phone, a VoIP gateway, a network IP router, an IP sharing switch, a wireless network base station, a computer or a handheld network device; the host is a VoIP base unit, a web server or a computer; and, the IP address currently used and the MAC address currently used that are retrieved in advance by the terminal are stored into a memory in form of a look-up table (LUT).
10. The system of claim 8 , wherein the step (C) further comprises the following steps of: (C1) determining whether a Type field included in the MAC header complies with a predetermined type format, and if yes, then executing the next step, and otherwise, executing the step (G); and (C2) determining whether an MAC address included in the MAC header is identical to the MAC address currently used, and if yes, then executing the step (D), and otherwise, executing the step (G).
11. The system of claim 10 , wherein the step (C) further comprises the following steps between the step (C1) and the step (C2): (C1a) determining whether an Opcode field included in an ARP header of the datagram complies with a predetermined opcode format, and if yes, then executing the step (C2), and otherwise, executing the step (G).
12. The method of claim 10 , wherein the step (C) further comprises the following steps between the step (C1) and the step (C2): (C1b) determining whether a Next Header field included in an IP header of the datagram complies with a predetermined header format, and if yes, then executing step (C1c), and otherwise, executing the step (G); and (C1c) determining whether a Type field included in an ICMPv6 header of the datagram complies with a predetermined ICMPv6 format, and yes, then executing the step (C2), and otherwise, executing the step (G).
13. A method of smart detection and recovery, being implemented in a terminal to detect a status of a host, wherein the terminal retrieves from the host in advance an IP address currently used and an MAC address currently used by the host, and the terminal comprising: a transmission interface, being configured to connect with an external host and transmit data; a device circuit, being configured to perform various operations and functions of the terminal; a registration module, being configured to send a connection establishment request to the host via the transmission interface, and retrieve an IP address currently used by the host and an MAC address currently used by the host; a memory, being configured to store at least the IP address currently used and the MAC address currently used; a data processing module, being configured to receive at least one datagram from the outside via the transmission interface and interpret data included in the datagram; and an analysis module, being configured to analyze data of the datagram, which has been interpreted by the data processing module, against the IP address currently used and the MAC address currently used, and decide whether the registration module shall send the connection establishment request again to the host according to the analysis result; wherein, the method comprising the analysis module analyzes data of the datagram by the following steps: (a) receiving a datagram which at least contains the following information: datagram format information, MAC address information and IP address information; (b) determining whether the datagram format information complies with a predetermined datagram format, and if yes, then executing step (c), and otherwise, executing step (g); (c) determining whether the MAC address information included in the datagram is identical to the MAC address currently used, and if yes, then executing step (d), and otherwise, executing step (g); (d) determining whether the IP address included in the datagram is identical to the IP address currently used, and if yes, then executing step (e), and otherwise, executing step (f); (e) executing an address altering procedure in which the IP address included in the datagram is used as a new address and reconnection or redirection to the new address is made; (f) processing the received datagram through a normal procedure and returning to the step (a); and (g) omitting the datagram and returning to the step (a).
14. The method of claim 13 , wherein the datagram format information at least includes a size of the datagram and an MAC header, and the step (b) further comprises the following steps of: (b1) determining whether the size of the datagram is consistent with a predetermined size, and if yes, then executing step (b2), and otherwise, executing the step (g); and (b2) determining whether the MAC header of the datagram complies with a predetermined format, and if yes, then executing the next step, and otherwise, executing the step (g).
15. The method of claim 14 , wherein the MAC header at least further includes a Type field, and the method further comprises the following steps after the step (b2): (b3) determining whether the Type field included in the MAC header complies with a predetermined Type format, and if yes, then executing the step (c), and otherwise, executing the step (g).
16. The method of claim 15 , wherein the datagram format information further comprises an ARP header, and the step (b3) further comprises the following determination operation: determining whether an Opcode field included in the ARP header of the datagram complies with a predetermined Opcode format, and if yes, then executing the step (c), and otherwise, executing the step (g).
17. The method of claim 14 , wherein the method further comprises the following steps after the step (b2): (b2a) determining whether a Next Header field included in an IP header of the datagram complies with a predetermined header format, and if yes, then executing step (b2b), and otherwise, executing the step (g); and (b2b) determining whether a Type field included in an ICMPv6 header of the datagram complies with a predetermined ICMPv6 format, and yes, then executing the step (c), and otherwise, executing the step (g).
18. The method of claim 13 , wherein the terminal is a VoIP phone, a VoIP gateway, a network IP router, an IP sharing switch, a wireless network base station, a computer or a handheld network device.
19. The method of claim 13 , wherein the host is a VoIP base unit, a web server or a computer.
20. The method of claim 13 , wherein the IP address currently used and the MAC address currently used that are retrieved in advance by the terminal are stored into a memory in form of a look-up table (LUT).
Unknown
August 21, 2012
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.