2009/03/29

Patent Pending: NAT

SYSTEM AND METHOD FOR COMMUNICATION CONNECTION IN NETWORK ARCHITECTURE

Abstract:

A system and method for a communication connection in network architecture are provided. First, a client terminal is linked to a target terminal via the Internet. Then whether the link mode is a virtual link or a substantial link is determined. If the link mode is the substantial link, the client terminal is communicationally connected to the target terminal via the substantial link. If the link mode is the virtual link, whether a local area network is linked via a STUN server is determined. If yes, a peer-to-peer link is built via the STUN server. If no, the client terminal is communicationally connected to a management server of the local area network, and then the management server is communicationally connected to the target terminal.

Claims:

1. A method for a communication connection in network architecture, wherein the network architecture includes the Internet, a client terminal, and a target terminal, the method for the communication connection comprising the steps of:linking the client terminal to the target terminal via the Internet, wherein the link mode includes a substantial link and a virtual link; anddetermining the link mode, wherein when the link mode is determined to be the substantial link, the client terminal is communicationally connected to the target terminal via the substantial link, and when the link mode is determined to be the virtual link, the target terminal is in a local area network, the client terminal is communicationally connected to a management server of the local area network, and then the management server is communicationally connected to the target terminal.

2. The method for the communication connection according to claim 1, wherein the method for the communication connection comprises the step of storing virtual Internet protocol (IP) address data for the determined link mode to compare the virtual IP address data with a linked IP address.

3. The method for the communication connection according to claim 2, wherein when the linked IP address conforms to the virtual IP address data, the link mode is the virtual link, and when the linked IP address does not conform to the virtual IP address data, the link mode is the substantial link.

4. The method for the communication connection according to claim 1, wherein after the step of determining that the link mode is the virtual link, the method for the communication connection further comprises the step of determining whether the local area network is linked via a simple traversal of user datagram protocol through network address translators (STUN) server.

5. The method for the communication connection according to claim 4, wherein the STUN server utilizes a network address translation (NAT) to designate a virtual IP address of the target terminal, when the local area network is determined to be linked via the STUN server, the client terminal corresponds to the virtual IP address to be communicationally connected to the target terminal, and when the local area network is determined not to be linked via the STUN server, the client terminal is communicationally connected to the management server of the local area network, and then the management server is communicationally connected to the target terminal.

6. The method for the communication connection according to claim 5, wherein the step of determining whether the local area network is linked via the STUN server is interpreting package information responded by the STUN server to the client terminal after the client terminal is linked to the target terminal via the Internet, and when table-header information of the packet information has characteristic information corresponding to the STUN server, the local area network is determined to be linked via the STUN server.

7. The method for the communication connection according to claim 1, wherein the management server makes all target terminals in the local area network correspond to different management accounts, respectively, and the management server is communicationally connected to the target terminal via the management account.

8. The method for the communication connection according to claim 1, wherein the local area network is linked via a firewall.

9. A system for a communication connection in network architecture, wherein the network architecture includes the Internet, a client terminal, and a target terminal, and the system for the communication connection is disposed in the client terminal, the system for the communication connection comprising:a link module, wherein the client terminal utilizes the link module to be linked to the target terminal via the Internet, and the link mode includes a substantial link and a virtual link; anda link determination module for determining whether the link mode is the substantial link or the virtual link;wherein when the link determination module determines that the link mode is the substantial link, the link module is communicationally connected to the target terminal via the substantial link, and when the link determination module determines that the link mode is the virtual link, the target terminal is in a local area network, the link module is communicationally connected to a management server of the local area network, and then the management server is communicationally connected to the target terminal.

10. The system for the communication connection according to claim 9, wherein the system for the communication connection further comprises:a storage device for storing virtual IP address data beforehand;wherein the link determination module determines the link mode by comparing the IP address linked by the link module with the virtual IP address data in the storage device to determine whether they conform to each other, if the IP address linked by the link module conforms to the virtual IP address data in the storage device, the link mode is the virtual link, and if the IP address linked by the link module does not conform to the virtual IP address data in the storage device, the link mode is the substantial link.

11. The system for the communication connection according to claim 9, wherein after the link determination module determines that the link mode is the virtual link, the link determination module further determines whether the local area network is linked via a STUN server.

12. The system for the communication connection according to claim 11, wherein the STUN server utilizes a network address translation (NAT) to designate a virtual IP address of the target terminal, when the link determination module determines that the local area network is linked via the STUN server, the link module corresponds to the virtual IP address to be communicationally connected to the target terminal, and when the link determination module determines that the local area network is not linked via the STUN server, the link module is communicationally connected to the management server of the local area network, and the management server is communicationally connected to the target terminal.

13. The system for the communication connection according to claim 12, wherein the link determination module determines whether the local area network is linked via the STUN server by interpreting package information responded by the STUN server to the link module after the link module is linked to the target terminal via the Internet, and when table-header information of the packet information has characteristic information corresponding to the STUN server, the link determination module determines that the local area network is linked via the STUN server.

14. The system for the communication connection according to claim 9, wherein the management server makes all target terminals in the local area network correspond to different management accounts, and the management server is communicationally connected to the target terminal via the management account.

15. The system for the communication connection according to claim 9, wherein the local area network is linked via a firewall

2009/02/28

Patent Pending: File Sharing

FILE SHARING METHOD AND FILE SHARING SYSTEM FOR GETTING AN ACCESSIBLE ADDRESS THROUGH AN ADDRESS MAPPING SERVER

Abstract:

A file sharing method includes: transferring content information related to a to-be-shared file to an address mapping server; and the address mapping server providing an accessible address mapped to the to-be-shared file according to the content information. One advantage of using the above file sharing method is that the user who wants to share files does not need to apply network space and upload the files beforehand.

Claims:

1. A file sharing method, comprising the following steps of:transferring content information related to a to-be-shared file to an address mapping server; andproviding, by the address mapping server, an accessible address mapped to the to-be-shared file according to the content information.

2. The method according to claim 1, further comprising the step of accessing the to-be-shared file directly according to the accessible address.

3. The method according to claim 1, further comprising the step of embedding the accessible address into a web page.

4. The method according to claim 2, wherein the step of accessing the to-be-shared file directly according to the accessible address comprises clicking the accessible address embedded in the web page to access the to-be-shared file directly.

5. The method according to claim 1, wherein the accessible address conforms to the format of Uniform Resource Locator (URL).

6. A file sharing system, comprising:a first user terminal, including:a storage device for storing a to-be-shared file;a controller for outputting a content information related to the to-be-shared file to a address mapping server; andan address mapping server, coupled to the first user terminal, for providing an accessible address mapped to the to-be-shared file according to the content information.

7. The file sharing system according to claim 6, further comprising:a second user terminal accessed the to-be-shared file from the storage device of the first user terminal directly, according to the accessible address.

8. The file sharing system according to claim 6, further comprising:a web server used for providing a web page, wherein the accessible address is embedded in the web page.

9. The file sharing system according to claim 7, wherein the second user terminal selects the accessible address embedded in the web page to access the to-be-shared file directly.

10. The file sharing system according to claim 6, wherein the accessible address conforms to the format of Uniform Resource Locator.

2009/01/23

Patent Pending: DDNS

METHOD AND SYSTEM FOR SETTING DOMAIN NAME AND NETWORK DEVICE THEREOF

Abstract:

A method and a system for setting a domain name and a network device thereof are provided. In the invention, the network device includes built-in identification information, and the identification information is stored in a back-end database. When the network device receives a domain name, it transmits setting information to a server device. Then, the server device queries the identification information in the back-end database according to the setting information to authenticate the network device. After the network device passes the authentication, the server device maps the domain name to an Internet protocol address. Therefore, a step of registering an account and a password is omitted to simplify a procedure of setting the domain name.

Claims:

  1. A method for setting a domain name, which is suitable for a network device having built-in identification information and a back-end database storing the identification information, the method comprising the steps of:receiving a domain name at the network device and enabling the network device to transmit a setting information to a server device, wherein the setting information includes the domain name, the identification information and an Internet protocol (IP) address provided by the network device;querying the identification information in the back-up database according to the setting information to authenticate the network device at the server device; andmapping the domain name to the IP address by the server device after the network device passes the authentication.
  2. The method for setting the domain name according to claim 1, wherein the step of enabling the network device to transmit the setting information to the server device further comprises the steps of:retrieving the identification information from a storage unit of the network device;generating a first authentication code according to the identification information by the network device; andtransmitting a device identification code in the first authentication code, the domain name, the IP address and the identification information to the server device.
  3. The method for setting the domain name according to claim 2, wherein the step of querying the identification information in the back-up database according to the setting information to authenticate the network device by the server device comprises the steps of:retrieving the identification information from the back-end database according to the device identification code by the server device;generating a second authentication code according to the identification information by the server device; anddetermining whether the first authentication code is the same with the second authentication code, wherein when the first authentication code and the second authentication code are the same, the network device is determined to pass the authentication.
  4. The method for setting the domain name according to claim 1, wherein the domain name and the IP address that the domain name is mapped to are recorded in a mapping table in the server device.
  5. The method for setting the domain name according to claim 4, wherein after the network device passes the authentication, the method further comprises the steps of:checking whether the domain name exists in the mapping table by the server device if the setting information includes a name setting request; andrecording the domain name and the IP address into the mapping table when the domain name does not exist in the mapping table.
  6. The method for setting the domain name according to claim 4, wherein after the network device passes the authentication, the method further comprises the steps of:checking whether the domain name exists in the mapping table by the server device if the setting information includes an address updating request; andupdating the mapping table to map the domain name to a IP address carried by the setting information when the domain name exists in the mapping table.
  7. A system for setting a domain name, comprising:a network device having built-in identification information and for receiving a domain name to transmit a setting information including the domain name, the identification information and a IP address provided by the network device;a back-up database for storing the identification information; anda server device coupled to the network device via the Internet and for receiving the setting information and querying the identification information in the back-up database according to the setting information to authenticate the network device, wherein when the network device passes the authentication, the domain name is mapped to the IP address.
  8. The system for setting the domain name according to claim 7, wherein the network device comprises:a storage unit for storing the identification information; anda client application module for retrieving the identification information from the storage unit, generating a first authentication code according to the identification information and transmitting a device identification code in the first authentication code, the domain name, the IP address and the identification information to the server device.
  9. The system for setting the domain name according to claim 8, wherein the client application module further provides a user interface for a user to input the domain name.
  10. The system for setting the domain name according to claim 7, wherein the server device further comprises:an authentication module for querying the identification information in the back-up database according to the setting information to authenticate the network device; anda mapping module for mapping the domain name to the IP address and recording the domain name and the IP address.
  11. The system for setting the domain name according to claim 10, wherein the authentication module further generates a second authentication code according to the identification information, and the authentication module determines that the network device passes the authentication when the second authentication code is the same with a first authentication code in the setting information.
  12. The system for setting the domain name according to claim 10, wherein the mapping module further checks whether the domain name exists in the server device.
  13. The system for setting the domain name according to claim 7, wherein the server device further comprises:a mapping table for recording the domain name and the IP address that the domain name is mapped to.
  14. A network device connected to a server device, the network device comprising:a storage unit for storing identification information; anda client application module for retrieving the identification information from the storage unit and transmitting the identification information, the domain name and a IP address to the server device, wherein after the server device determines that the network device passes the authentication according to the identification information, the server device maps the domain name to the IP address.
  15. The network device according to claim 14, wherein the client application module further provides a user interface for a user to input the domain name.
  16. The network device according to claim 14, wherein the client application module further generates a first authentication code according to the identification information and transmits a device identification code in the first authentication code, the domain name, the IP address and the identification information to the server device to allow the server device to query the identification information in a back-up database according to the device identification code to authenticate the network device.

2007/11/01

Business trip to North East China

The main train station of Harbin, the tenth largest city in China. The temperature was around zero degree Celsius that day (2007/11/01).
The hotel we stayed was right in front of the train station.
Our main purpose was to visit the Harbin Industry University (哈爾濱工業大學).
As a must-have, we visited the Central Street (中央大街), the most exotic place in Harbin.
Here you can see why Harbin is also known as the "Eastern Moscow".




We walked down the central street and moved towards the St. Sophia church.
This is the largest Eastern Orthodox (東正教) church in Far East.
It was first built by Russians in 1907, and serve as Harbin Art Gallery since 1997.
The other day (2007/11/02) after work, we visited the same places again.
The buildings were even more beautiful at night.





Then we arrived at Dalian on 2007/11/03. This is the lobby of the hotel in Dalian University of Technology (大連理工大學).
Nice clean room with a view.
The main entrance of the University.
A multi-purpose stadium.
Lovely pine tree walk.
Night view of convention center and the hotel.
During our stay in Dalian, we visited Xinghai square (星海廣場), which is said to be the largest square in Asia.

This is a seashell museum in a European-style castle.

2007/07/23

Visit India again in 2007

The company we visited arranged an opening ceremony for us. The beautiful floor painting made with colored sand or powder was a symbol of welcoming guests.
The hotel we stayed in Pune, it's the eighth largest city in India.

On the second day (2007/07/24) we were invited to a very good restaurant with amazing ambiance.




And for our last night in Pune (2007/07/27) we visited Chokhi Dhani Village, a tourist place demonstrating ethnic village life of Rajasthani (a northern state in India).

Welcome dance upon arrival.
They serve very traditional food.
Dining place.

That was an interesting place to visit, but too bad we had only very limited time in the night so there were not much to show. For more pictures please refer to this post.

The followings are just some random shoots.
Sambhaji (1657~1689), a scholar, poet and ruler of Maratha Empire (northern India, 1674~1818).

2006/07/31

First visit to India 2006

Arrived in Fisherman's Cove late at night 2006/07/30. It's a 4 stars resort by the Covelong Beach in Chennai, the fourth most populous metropolitan area in India formerly known as Madras.
2006/07/31, waked up early in the morning to enjoy the beautiful scene.

Some guy's shell collection for sale.

Our cottages were right on the seashore.





Chennai local airport, were leaving for Bangalore.

Hotel Pai Viceroy at Bangalore, 2006/08/01~08/03.




A standard business suite.

We took the same minivan for 3 days in Bangalore.


Some science park in Gandhi Bazaar of Bangalore, 2006/08/02.


Big IT companies everywhere in Bangalore.


One can often see cows wandering the streets, 2006/08/03.

The company we visited at 2006/08/03.


Then we flew to Mumbai 2006/08/03 at night.
Sweet hotel room.
A bar across the street.
Hotel interior, 2006/08/04.

The outside of the hotel.
Boys and girls on their way to school.
Sidewalk barber shop.

follow me