This non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No(s). 098114458 filed in Taiwan, R.O.C. on Apr. 30, 2009, the entire contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a dynamic domain name service (DDNS) system and an automatic registration method, and more particularly to a DDNS system and an automatic registration method, which are applicable to the Internet.
2. Related Art
The Internet Protocol (IP) refers to a communication protocol used when digital signals are circulated on the Internet. The IP address refers to an address of a computer host on the Internet. Taking an IP version 4 (IPv4) as an example, an IPv4 address is represented by four groups of numbers. Each of the four groups of numbers is between 0 and 255. Basically, each computer host connected to the Internet needs a unique IP address, which is provided for identity recognition.
Therefore, when a computer host is connected to the Internet through an Internet service provider (ISP), the ISP allocates an IP address to the computer host each time when connection and registration are performed. If the IP address allocated each time when connection and registration are performed keeps unchanged, the IP address allocation mode is called a stationary IP mode, in which the IP address is exclusive for the computer host, thereby resulting in a high connection cost. In other words, in such a mode, when the computer host is not connected and registered, the IP address becomes idle, and causes the waste of resources. Accordingly, an IP address allocation mode called a floating IP mode becomes available. That is, an IP address allocated each time when connection and registration are performed is not stationary, and the IP address may be allocated to other people when the current computer host is not connected and registered.
However, the floating IP causes troubles when a website is built on a computer host or an IP camera is installed. In detail, the IP address acquired each time after connection and registration is performed is different, so that a corresponding relation between the domain name and the IP address cannot keep unchanged.
Accordingly, the present invention is an automatic registration method, which is applicable to a dynamic domain name server (DNS) and a network device. The method comprises the following steps. Account information is input through a user interface provided by the network device. The network device is connected to a corresponding dynamic DNS through Internet according to the account information and is registered. The registered network device continuously updates the IP address automatically for the registered domain name to the dynamic DNS.
The present invention is further a DDNS system, which is applicable to a computer and Internet. The system comprises a network device and a dynamic DNS. The network device is signal-connected to the Internet. The network device comprises a user interface. The computer is used to input account information through the user interface. The network device automatically sends a registration signal according to the account information. The dynamic DNS is signal-connected to the Internet and used for receiving the registration signal to accomplish registration.
According to the above solutions, the network device where the present invention is applied may be an IP camera, a video server, a video receiver, a digital video recorder (DVR), a network DVR (NVR), or a hybrid DVR.
According to the above solutions, the user interface provided by the network device in the present invention generates a web page frame in a browser program executed on a computer, so as to enable a user to type in the account information.
According to the above solutions, the account information in the present invention comprises a hostname, a user name (for example, an E-mail address account of the user), a password, and network notification contact information after successful registration, for example, an account and a password for a real-time network communication software applied beforehand, or an account and a password for a server having a recording function, for example, a file transfer protocol (FTP) server.
According to the above solutions, the web page frame in the present invention comprises a result window for displaying whether a registration result is a success or a failure.
According to the above solutions, the dynamic DNS in the present invention sends an E-mail about successful registration according to the E-mail address account in the account information after the registration is successful. The content of the E-mail comprises the account information and an IP address for being saved by the user. Alternatively, the dynamic DNS sends a successful registration message to notify the user according to other network notification contact information, for example, an account for a real-time communication software such as Live Messenger, Skype, Google Talk, Twitter, Yahoo!Messenger, or ICQ, so that the user keeps or records the account information and the IP address, or stores the record in a designated FTP server.
According to the above solutions, in the present invention, once the user inputs the account information and enables a registration procedure, a DDNS client in the network device uses the account information to register to the dynamic DNS.
According to the above solutions, in the present invention, the registered network device checks whether the current IP address is changed at intervals of a certain constant time period. If the IP address is changed, an IP address update packet is sent to the dynamic DNS, so as to request the dynamic DNS to update the IP address automatically.
According to the above solutions, in the present invention, the IP address of the network device may have two formats IP address, IPv4 and IPv6, at the same time, and the IP address update packet comprises the two formats IP address, IPv4 and IPv6, at the same time.
The present invention will become more fully understood from the detailed description given herein below for illustration only, and thus are not limitative of the present invention, and wherein:
a) and 1(b) are respectively a schematic block diagram of a function of a preferred embodiment and a flow chart of a method of a preferred embodiment according to the present invention that are developed to eliminate defects of the prior art;
a) is a schematic block diagram of an internal function of a dynamic DNS according to the present invention;
b) is a schematic block diagram of an internal function of a network device according to the present invention;
a) and 1(b) are respectively a schematic block diagram of a function of a preferred embodiment and a flow chart of a method of a preferred embodiment according to the present invention that are developed to eliminate defects of the prior art. Referring to
Therefore, the network device 21 accomplished through the technical solution of the present invention enables the user to easily finish DDNS setting and start normal operation after inputting the account information only once. Similarly, if the user intends to modify the account information comprising the user name, the password, and the hostname, through accessing the network device 21, the user can achieve the modification via the user interface 211 of the network device 21, so that the defects in the prior art can be effectively eliminated, thereby achieving the main objectives of the present invention. Details of the present invention are further illustrated below.
Besides a common IP camera, the network device 21 where the technical solution of the present invention is applied may also be a video server, a video receiver, a DVR, a NVR, a hybrid DVR, and the like. The processes of account information registration and data modification can be effectively simplified as long as the DDNS client 210 according to the present invention is installed.
a) is a schematic block diagram of a function of the dynamic DNS 22 according to the present invention. Referring to
b) is a schematic block diagram of an internal function of the network device 21 according to the present invention. Referring to
In addition, the currently used IP address is 32-bit IPv4. However, in the near future, the IP address is bound to evolve to 128-bit IPv6 (Internet Protocol version 6). Therefore, nowadays, some DDNS providers have already provided IPv4 and IPv6 update services. In order to ensure the usage convenience and decrease the traffic of network packets at the same time, the IP address stored in the DDNS database 223 and the DDNS settings 2102 according to the present invention can support both IPv4 and IPv6, and the device according to the present invention can update both IPv4 and IPv6 at the same time by using the same update packet.
After the registration is successful, the user only needs to select the option 47 “Enable DDNS” and click the “Save” button 48, so that all the account information is stored in the memory. Subsequently, the timer 2103 starts to count the time. At intervals of a constant time period, the timer 2103 notifies the DDNS update client 2101 to perform an update operation. The DDNS update client 2101 first checks whether the public IP address of the network device 21 is changed. If the public IP address is changed, the DDNS update client 2101 sends an IP address update packet to the dynamic DNS 22 to initiate an IP address update request. If the network device 21 has IP addresses in two formats IPv4 and IPv6, the two IP addresses are both placed in the update request packet. The dynamic DNS 22 that receives the packet updates the IP addresses in IPv4 and IPv6 formats corresponding to the hostname at the same time.
When the user changes an E-mail address or intends to change the registered hostname or password, similarly, the user only needs to access the web page frame (as shown in
The present invention is directed to the network device 21, so that the MAC address restriction exists. That is, only one hostname can be registered for each network device 21, so as to prevent the DDNS hostname from being abused. However, one situation needs to be considered, that is, for example, when a failure occurs to the original network device 21, the user needs to use another new network device 21, so that the MAC address has to be changed. However, the user intends to continue to use the original hostname. In this case, the user only needs to fill all the correct account information (the hostname, the user name, and the password) in a web page frame of the new network device 21 and performs registration. The dynamic DNS 22 deletes the data of the previous network device 21 from the database and saves the data of the new network device 21 in the database.
In addition, if the user intends to use the original registration information, but forgot the password, the user may fill the hostname and the user name in the web page frame and click the “Forget Password” button 49. Then, the DDNS register client 2100 sends a password query request to the dynamic DNS 22. Similarly, the result is displayed in the result window 46. However, considering the security, once the request is successful, the dynamic DNS 22 turns to send an E-mail comprising the password to the E-mail box of the user, without displaying the password in the result window 46. Alternatively, according to the network notification contact information, for example, an account for a real-time communication software such as Live Messenger, Skype, Google Talk, Twitter, Yahoo!Messenger, or ICQ, the dynamic DNS 22 sends a message carrying the password to notify the user, so that the user keeps or records the password, or stores the record in the designated FTP server.
To sum up, through the DDNS system and the automatic registration method according to the present invention, the user can easily accomplish login and modification operations by inputting the data only once, so as to effectively eliminate the troubles caused by defects in the prior art, thereby achieving the main objectives of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
098114458 | Apr 2009 | TW | national |