A METHOD FOR AN INTERNET COMMUNICATION

Abstract: The present invention relates to an Internet communication method, which can implement smooth bi-directional communication on the Internet between a user of a virtual Internet protocol address and a user of a real IP address. The present invention involves forming a client address information table by means of mapping as one pair an Internet protocol address (server-acknowledged-IP) extracted through a network socket and Internet protocol addresses (client-transmitted-IP) transmitted directly from respective clients. Then, upon receiving a signal asking for an Internet protocol address of a corresponding client to be connected from a client terminal, the server- acknowledged-IP and the client-transmitted-IP of the corresponding client are read from said client address information table, which are then provided to the client terminal. Accordingly, by means of executing a connection by differentiating the client anodes having real IP addresses from the client nodes having virtual IP addresses, the present invention allows a user of a real IP address to call a user of a virtual IP address. In addition, the present invention results in smooth execution of Internet connections among users of different virtual private communication networks.

Description: A METHOD FOR AN INTERNET COMMUNICATION FIELD OF THE INVENTION The present invention relates to a method for an Internet communication by which communication is smoothly carried out between a user having a virtual IP address and a user having a real IP address. BACKGROUND OF THE INVENTION The field of internet has grown rapidly for years, and now innumerable host computers are connected to the Internet and many subordinate networks consisting of Virtual Private Network (VPN) are providing services via gateway. As shown in Fig. 1, which schematically illustrates connections between clients on the Internet, there can be various connections as follows: Φ: the connection between terminals using a real B? address outside the VPN gateway, (2): the connection from a terminal using a virtual IP. address within the VPN gateway to a terminal using a real IP address outside the gateway, ©: the connection between terminals using a virtual D? address within the same VPN gateway, ® : the connection from a terminal using a real IP address outside the VPN gateway to a terminal using a virtual IP address within the VPN gateway (illustrated as the connection from Rl to virtual IP 4 in Fig. 1), and ©: the connection from a terminal using a virtual IP address in one gateway to a terminal using a virtual IP address in another gateway (illustrated as the connection between virtual IP 2 and virtual IP 3 in Fig. 1). Among the above various connections, the connections 1, 2 and 3 can be accomplished without difficulty. However, in the case of the connections 4 and 5, it is difficult for the user outside the gate to access the user having a virtual private IP address within the gate, because the users of the VPN within the gateway do not use internationally certified real IP address but use a virtual private IP address. DISCLOSURE OF THE INVENTION One object of the present invention is to provide a method for accessing terminals using a virtual D? address. Another object of the present invention is to provide a method for Internet communication between a client terminal using a real D? address and a terminal in an arbitrary VPN using a virtual IP address. Still another object of the present invention is to provide a method for internet communication between terminals in different VPNs using a virtual IP address. In order to accomplish above objects, the method for Internet communication according to the present invention comprises process 1 which generates a client address information table by mapping the IP address recognized through network socket (the server-recognized IP address) and the IP address notified directly by each client (the client-notified D? address) into a pair of addresses, process 2 which receives a signal from the first client terminal requesting the IP address of the second client terminal to be connected, process 3 which loads the server-recognized IP address and the client-notified IP address of the corresponding client from said client address information table, and process 4 which executes the connection by providing the client terminal with the information loaded by process 3, distinguishing the client terminal having a real IP address and the client terminal having a virtual IP address. The method for an internet communication according to the present invention is further characterized in that the connection between the first client terminal having a real IP address and the second client terminal having a virtual IP address in process 4 comprises step 1 wherein the first client provide the IP address of the first client and the D? address of the second client to the service server, step 2 wherein service server transfers the D? address information of the first client to the second client, and step 3 wherein the second client tries TCP/IP connection to the first client. Another aspect of the method for Internet communication according the present invention is that the connection between the first client terminal having a virtual IP address of the first VPN(Virtual Private Network) and the second client terminal having a virtual IP address of the second VPN(Virtual Private Network) in process 4 comprises step 1 wherein the first client provides the IP address of the first client and the IP address of the second client to the service server, step 2 wherein service server generates a connection code which is internally unique in the service server, step 3 wherein the connection code information and the IP address information of a packet-switching server is transferred to the first client and the second client, and step 4 wherein the first client and the second client tries TCP/IP connection to the assigned packet-switching server through the same connection code assigned. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic diagram illustrating the method for Internet connection according to the present invention. Fig. 2 is a flowchart indicating the method for Internet connection according to the present invention.. Fig. 3 is a schematic diagram illustrating the method for Internet connection corresponding the case 4 in Fig. 2. Fig. 4 is a schematic diagram illustrating the method for Internet connection corresponding the case 5 in Fig. 2. Fig. 5 is a modified schematic diagram of Fig. 4. BESTMODE FOR CARRYINGOUT THEINVENTION The description of the method for the Internet communication according to the present invention will be followed, in reference to the attached drawings. Fig. 2 is a flowchart illustrating the overall process of the method for an Internet connection according to the present invention. When the client accesses a service server, the client obtain its local IP address and transfer this address to the service server. The local IP address becomes the real IP address in case its terminal uses a certified real P address, and becomes its own virtual IP address in case its terminal uses a virtual IP address. Here, the term "service server" refers to the server that the client accesses to obtain the desired services, i.e., the server for an Internet visual conference, the sever for cyber education lectures, and so on. The service server, also, obtains the client's D? address through the network socket when it receives a request for a connection from the client. In case a terminal uses a virtual IP address, the IP address that the service server obtained directly through the network socket becomes the Gateway D? address for the VPN to which the terminal belongs. This Gateway IP address is the real IP address for Internet. But, it can be the virtual IP address when the service server exists together with the Gateway server in the same device. The service server generates a client address information table with both the server-recognized IP address obtained through the network socket and the client-notified IP address notified from the client. With the client address information table, it is possible to determine whether the respective clients' virtual IP addresses should be used or not. If the " server-recognized IP address" is different from the "client-notified IP address", it means the terminal uses a virtual IP address. As indicated above, the service server can exist together with a Gateway server in the same device, but in that case, it can be detected with the virtual IP address system whether the virtual IP address is used. Mostly, the service server and the Gateway server don't exist together in the same device, and it is now assumed that both of them don't exist together in the same device (SI). Next, the service server receives the request signals from the clients requesting other client's IP address to which the client attempts to connect (S2). And then, the service server loads the IP address information which includes the server-recognized D? address and the client-notified D? address, from the client's D? address table(S3). The service server provides the above information loaded through the step S3 to the client's terminal, so that initiative for the operation of Internet connections will be handed over to the client's computer. At the moment, the IP address information of the client computer which requested the connection, should also be transmitted with both the " server-recognized D? address" and the "client-notified IP address". Receiving the destination IP address to which the client tries to connect, the client may implement the following connection process(S4 ~ S7). The client which tries to connect will be referred to as a first client, and the other client connected by the first client will be referred to as a second client. First, it should be checked whether a first client uses the real IP address or not, i.e., it has to be checked whether the first client's "server-recognized D? address" and "the client-notified IP address" are identical or not (S4). If the first client uses a real IP address, then it has to be checked whether the second client uses a real IP address. The process will proceed to Case 1 if a second client uses a real IP address, and to Case 4 if it uses a virtual IP address. The TCP/IP and UDP/D? connections are possible in Case 1, but those connections are impossible in Case 4 unless the process employs the method according to the present invention (S5). When the first client doesn't use a real IP address, i.e., it uses a virtual IP address, it should be checked whether the second client uses a real D? address (S6). If the second client uses a real IP address, the process will proceed to Case 2. If the second client is not a user of a real IP address but a user of a virtual IP address, it should be checked again whether a first client's "server-recognized IP address" equals to the second client's "server-recognized D? address" or not. h other words, it is determined whether a second client uses the same VPN (S7). Then, the process will proceed to Case 3 if the second client exists in the same VPN. But the TCP/IP connection will be available with Case 5 if the second client uses VPN which is different from the first client's. Among above-mentioned cases, both the TCP/IP and UDP/TP connections are possible in Cases 1 and 3, but the UDP/B? connection is not available in Cases 2 allowing only the TCP/IP connection. Therefore, the method to solve the problem of Case 4 and 5 will be followed which correspond to the object of the present invention. First, the connection method will be explained with regard to Case 4 (i.e., the first client is a user of a real IP address and the second client is a user of a virtual IP address) referring to the Fig. 3. (1) The first client requests a connection service from the service server, transmitting the IP addresses of its own and the D? addresses of a second client to the service server. (2) The service server notifies the second client of the above request, with the IP address of the requesting first client. Here, there exist channels already formed from the clients, between the service server and the respective clients. (3) The second client attempts to implement the TCP/IP connection toward the requesting first client, so that a new communication channel is established. This, of course, is conversion in the status of the caller and the called, however, all the processes are performed inside the software program and users won't be aware of that. Next, the connection method will be explained with regard to Case 5 (i.e., the method for communication between the virtual D? address client located in different VPNs) referring to the Fig. 4. hi the explanations below, the first client refers to a user's terminal which uses a virtual IP address of a VPN, and the second client refers to a user's terminal, to which the first client requests to access, which uses the other virtual IP address of a VPN which is different from the IP address of the first client. (1) The first client requests a connection service from the service server, transmitting the D? address of the second client to the service server. (2) The service server generates a connection code which is internally unique, for example a Serial Integer Number, and transmits it to the first requesting client and the second client with the IP address of a "packet-switching server" that implements the packet-switching service. Here, the packet-switching server can exist in the server performing the Internet connection service according the present invention, and ,as illustrated in the Fig. 5, any servers for Internet connection services can be utilized. Also, there exist channels already formed from the clients, between the service server and the respective clients. Also, "the packet-switching server" can be organized with different multi-servers as required, the function of which can be included in the service server according to the present invention or any other service server. When the "packet-switching server" is in multi-operational, the service server according to the present invention or any other service server can be notified of their current service count by the respective "packet-switching servers", and it can assign a new packet-switching service for a new connection in order to disperse the load. (3) And then, the first and the second clients will attempt to access the "packet-switching server" with TCP/IP connection utilizing the same connection code assigned to the client. The term "packet" refers to a form of a parcel treated in the post office, which has freights divided into appropriate sizes and has formation tagged for each destinations. The packet in the field of data communication refers to binary numbers, i.e., a group of bits, including data and call signals. When data is transmitted especially in the manner of packet-switching, they are divided into basic transmission unit of packet before transmitting and are reassembled into the original data for processing after transmitting. When files such as e-mails, HTML files, GIF files and kinds of files are intended to transmitted from one place to the other on the Internet, the hierarchy of TCP/IP will divide those files into efficient sizes for transmission. The respective divided packets will be tagged with different numbers, and will include the Internet address for their destinations, and can be transmitted through various different routes. Accordingly, the "packet-switching server" will organize virtual channels according to their respective connection codes and assign them new communication channels by switching their packets. All of this process is accomplished internally in the software program, which the users won't notice. INDUSTRIAL APPLICABILITY According to the present invention as described above, the user of the real IP address can connect to the user of the virtual private network, and the accesses on the Internet between the users of the different virtual private networks can be implemented smoothly.

Claims: CLAIMS WHAT IS CLAIMED IS: 1. A method for an Internet communication comprising: process 1 which generates a client address information table by mapping the IP address recognized through network socket (the server-recognized IP address) and the IP address notified directly by each client (the client-notified D? address) into a pair of addresses; process 2 which receives a signal from the first client terminal requesting the IP address of the second client terminal to be connected,; process 3 which loads the server-recognized IP address and the client-notified B? address of the corresponding client from said client address information table; and process 4 which executes the connection by providing the client terminal with the information loaded by process 3, distinguishing the client terminal having a real IP address and the client terminal having a virtual IP address. 2. The method for an Internet communication according to claim 1, wherein the connection between the first client terminal having a real D? address and the second client terminal having a virtual IP address in process 4 comprises: step 1 wherein the first client provide the IP address of the first client and the D? address of the second client to the service server; step 2 wherein service server transfers the IP address information of the first client to the second client; and step 3 wherein the second client tries TCP/IP connection to the first client. 3. The method for an Internet communication according to claim 1, wherein the connection between the first client teπriinal having a virtual IP address of the first VPN(Virtual Private Network) and the second client terminal having a virtual B? address of the second VPN(Virtual Private Network) in process 4 comprises: step 1 wherein the first client provides the IP address of the first client and the IP address of the second client to the service server; step 2 wherein service server generates a connection code which is internally unique in the service server; step 3 wherein the connection code information and the IP address information of a packet-switching server is transferred to the first client and the second client; and step 4 wherein the first client and the second client tries TCP/IP connection to the assigned packet-switching server through the same connection code assigned. 4. The method for an Internet communication according to claim 3, wherein said connection code is a serial number consisting of integer. 5. The method for an Internet communication according to claim 3, wherein said packet-switching server is a multi-server. 6. The method for an Internet communication according to claim 5, wherein said packet-switching server provides the service server with current service count information, so that said packet-switching server can be directed to provide a packet-switching service for a new connection.

Inventors: CHO JA-YEON, YANG SEUNG-EUI, CHO, JA-YEON, YANG, SEUNG-EUI
Applicants: CHO JA YEON, INTERMEDIA CO LTD, YANG SEUNG EUI, CHO, JA-YEON, INTERMEDIA CO., LTD., YANG, SEUNG-EUI
Application year: 2001
Main classification: H04L12
IPC codes: H04L12, H04L29