Movatterモバイル変換


[0]ホーム

URL:


CN104756457A - Internet sharing device having dynamic port forwarding function - Google Patents

Internet sharing device having dynamic port forwarding function
Download PDF

Info

Publication number
CN104756457A
CN104756457ACN201380056440.2ACN201380056440ACN104756457ACN 104756457 ACN104756457 ACN 104756457ACN 201380056440 ACN201380056440 ACN 201380056440ACN 104756457 ACN104756457 ACN 104756457A
Authority
CN
China
Prior art keywords
shared device
port
port numbers
address
internal computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201380056440.2A
Other languages
Chinese (zh)
Inventor
林钟辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020120095972Aexternal-prioritypatent/KR20140029878A/en
Priority claimed from KR1020120096836Aexternal-prioritypatent/KR20140029999A/en
Priority claimed from KR1020120096834Aexternal-prioritypatent/KR20140029998A/en
Application filed by IndividualfiledCriticalIndividual
Publication of CN104756457ApublicationCriticalpatent/CN104756457A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention is an Internet sharing device which enables information to be transmitted or received between the sharing device and an internal device according to a predetermined method, thus allowing a dynamic port forwarding function to be set in the Internet sharing device. According to the present invention, port forwarding information is automatically set, and therefore the necessity of forcing a user to set port forwarding on the setup screen of the sharing device whenever the IP address of an internal computer changes or another internal computer is added during the use of the DHCP is eliminated.

Description

There is the network shared device of dynamic port forwarding capability
Technical field
The triggering of network, shared device, port repeat, port, DMZ, gateway.
Background technology
Network shared device is the very useful equipment for solving insufficient public ip address, and several computers or equipment are connected with outside by a public IP.
Summary of the invention
The problem that invention will solve
Network shared device can freely carry out connecting from the inner network to outside of shared device, but is difficult to the computer being connected to shared device inside from outside.
When being connected to the certain port number of shared device from outside, be connected to the function of the port repeat of the certain port number of the device of the particular ip address with shared device inside, when utilizing this function, the device of shared device inside can be connected to from shared device outside by shared device, but when using this function, user must arrange at shared device IP address, the port numbers that shared device port numbers and internal unit are preset in interface, but because major part utilizes the DHCP function of shared device and dynamic IP address allocation, thus, default more difficult.
For the scheme of dealing with problems
In order to address this problem, the object of this invention is to provide a kind of network shared device, it can receive according to predetermined method and transmit the information of internal unit, thereby, it is possible to dynamically set port forwarding function.
The effect of invention
The present invention has following effect, because can automatically set port repeat information, therefore in DHCP use procedure, no matter be the IP address modification of internal computer or increase another internal computer, user sets port repeat without the need to each arranging on interface of shared device.
Accompanying drawing explanation
Fig. 1, Fig. 2 are the flow chart showing dynamic port transfer sequence of the present invention.
Fig. 3 is the flow chart of the action of display gateway apparatus.
Fig. 4 is utilization embodiment of the present invention.
Embodiment
In the form of embodiments of the invention, first scheme is the simplest form.
1st step, transfers to shared device by the port numbers that will use when internal computer is connected to self and network data exchange rule (TCP or UDP).
Such as, because most shared device implicit IP address is 192.168.0.1, thus, with http: // 192.168.0.1/dynamicpf.htm? port=110 & protocol=TCP calls out together.
2nd step, after shared device distributes one in unappropriated port numbers, by the IP address of distributed port numbers and internal computer, is increased to port repeat catalogue from the port numbers of internal computer transmission and network data exchange rule.
3rd step, the port numbers of dynamic assignment is back to internal computer by shared device.
When the port numbers that will not use, return mistake.
4th step, internal computer detects the port numbers of the shared device whether port numbers that returns uses for port repeat.
Pattern of the present invention
For the connection between computer, the present invention is specifically described.First term is defined as follows.Shared device: network shared device of the present invention.
Internal computer: the network equipment with the individual IP address being present in shared device inside or the program run thereon.
External computer: be present in the network equipment of shared device outside or the program in upper operation.
External server: the server with the public ip address being present in shared device outside.
Gateway: set the device by being connected to both sides, in the present invention, in order to be connected to internal computer, by the transfer of data of both sides to the device of the other side.
In order to dynamic assignment port numbers, there is the method for several exchange message between shared device and internal computer.
At this, be described for four kinds of methods.
The first, the method for shared device and transceiving data is connected to from internal computer.
Because most shared device can be connected to World Wide Web (WWW) from internal computer, thus, be described for the method for the particular webpage of calling out shared device.
First, only when allow dynamic port forward, be connected to the web page server of shared device, to use port forwarding function, and shared device arrange in interface activate dynamic port forward.
1st step, the port numbers used when internal computer being connected to self and network data exchange rule (TCP or UDP) transfer to shared device.
Such as, because most shared device implicit IP address is 192.168.0.1, therefore, with http: // 192.168.0.1/dynamicpf.htm? port=110 & protocol=TCP calls out together.
2nd step, the IP address of the internal computer be connected with distributed port numbers, the port numbers transmitted by internal computer and network data exchange rule are increased to port repeat catalogue distribute one in unappropriated port numbers after by shared device.
3rd step, the port numbers of dynamic assignment is back to internal computer by shared device.
When there is not the port numbers that will use, return mistake.
4th step, internal computer detects the port numbers that the returns port numbers of shared device whether for using at port repeat.
Use the present invention, be described for the method connected in outside.
1st step, the internal computer of dynamic assignment receiving port number is connected to external server and transmits the id information that can identify self and the port repeat port numbers of distributing, the IP address that external server stores the shared device connected and the port numbers transmitted and id information.
2nd step, external computer is connected to external server and transmits the ID of the computer that will connect, and external server returns IP address and the port numbers of shared device from id information retrieval.
3rd step, when external computer is connected to IP address and the port numbers of returned reception, be connected to the port repeat port of shared device, shared device maps to IP address and the port numbers of the internal computer of respective end slogan in port repeat catalog search, and is connected to the port numbers of the internal computer of specifying.
Close the power supply of internal computer or break wired, or when wireless sharing device, when the cut-outs such as the WiFi scope of internal computer disengaging shared device are connected with the physical property of corresponding computer, remove corresponding port in port repeat catalogue and forward.
When certain internal computer uses the fixed ip address of shared device, even if reconnect because of computer, also use identical IP address, thus, without the need to removing port repeat.
According to other network data exchange rule except HTTP described above, be connected to shared device, order-assigned port as described above.
The second, according to formulae discovery disclosed in the IP address of internal computer and port numbers, and port can be distributed.
Such as, internal computer generally has about 250 addresses from 192.168.0.2, thus, by forward at dynamic port used port numbers be restricted to 100 time, according to formula such as the port numbers=port numbers * 256+IP addresses of dynamic assignment, shared device internal computer, relative to each self port numbers, can have about 25, one in 000 port numbers mouth, the port numbers that internal computer will be able to use from self calculates the port repeat port numbers of shared device.
3rd, the parallel port triggering function using shared device.
Although the port triggering function application target being present in a part of shared device is different, but when internal computer utilizes of being preset in the port numbers of shared device and is connected to shared device, one is dispensed in default port numbers, and the IP address of the internal computer be connected with the port numbers of distributing and port numbers are increased to port repeat catalogue.
This port triggering function following similar shown in, during assignment of port numbers, shared device external computer can be connected to the specific computer of shared device inside.
1st step, the port numbers of internal computer appointment self and network data exchange rule, attempt by shared device to be connected to external server.
2nd step, shared device assignment of port numbers, is connected to external server for the request because of internal computer, and the IP address of the internal computer be connected with distributed port numbers and port numbers, network data exchange rule are increased to port repeat catalogue.
3rd step, when internal computer is connected to external server, the port numbers of internal computer None-identified shared device, but because external server can identify IP address and the port numbers of the shared device being connected to self, be back to shared device internal computer by being connected to the IP address of the shared device of self and port numbers or port numbers.
4th step, the information returned transfers to internal computer by shared device, and internal computer detects the port numbers whether port numbers that returns is the shared device being used in port repeat.
Now, in order to obtain port numbers, when the external server connected is identical server with the external server illustrated in described utilization embodiment, internal computer is after being connected to external server, transmission can identify that self id information, external server store IP address and the port numbers of the id information transmitted and the shared device being connected to self.
Now, because shared device internal computer is without the need to again transferring to external server by the IP address of shared device and port numbers, without the need to IP address and the port numbers of shared device must be known, and, correspondingly also without the need to must receiving port number be returned.
And, in order to wait for the connection from outside, the port of shared device and internal computer is necessary for holding state (answering), because of without the need to being holding state by the port translation in using, after internal computer returns receiving port number, terminate the connection with external server, when internal computer terminates to connect, shared device also terminates to connect at once.
Afterwards, originally internal computer utilization is connected to the port numbers of self of shared device, the port numbers of shared device self distribution, and the connection from outside is converted to the holding state (answering) of wait.
And, external computer also can be connected to internal computer, as online browsing etc., internal computer also can be connected to the various servers being present in shared device outside, but now without the need to setting port repeat, and, when connecting at every turn and set port repeat, also can be inadequate because of port, and restriction is used in the scope of the port numbers of the internal computer of port repeat.
4th, gateway apparatus is located at shared device inside, and obtains the effects such as dynamic port forwarding.
First, utilize port repeat or the DMZ function of shared device, when being connected to the particular port of shared device, set be connected to gateway.
1st step, internal computer is connected to external server and transmits the port repeat port numbers of id information and the shared device that self can identify, the individual IP address of self, the port numbers that will use when being connected to self, further, the external server storage public ip address being connected to the shared device of self and the information transmitted.
2nd step, external computer is connected to external server and transmits the ID of the computer that will connect, external server is returned shared device IP address by id information and port numbers, the IP address of internal computer that be connected and port numbers.
3rd step, when external computer is connected to IP address and the port numbers of the shared device returning reception, by shared device port forwarding function and be connected to gateway.
4th step, after connection, external computer transmits IP address and the port numbers of the internal computer that will connect, and gateway is connected to the port of internal computer according to the information of transmission.
5th step, be connected to after internal computer terminates, gateway plays the intermediation data of transmission being transferred to the other side by both sides.
Now, the ID of internal computer and the IP address of shared device and port numbers can be identified in outside server stores, the ID of internal computer and the individual IP address of internal computer and port numbers can be identified in gateway storage, cross after shared device is connected to gateway outside computer expert, transmission ID, further, gateway also can make to be connected to from ID the internal computer mapped it.
Also this functional module and shared device can be fabricated to one.
Above-mentionedly be illustrated as a specific embodiment of the present invention, various transformation can be carried out to her.
Industrial applicibility
The present invention is because can automatically set port repeat information, and therefore in DHCP use procedure, no matter be the IP address modification of internal computer or increase another internal computer, user sets port repeat without the need to each arranging on interface of shared device.
Further, when increasing the use of the mobile terminal devices such as smart mobile phone, communication speed can be increased by the direct connection between terminal equipment, and the load of server can be reduced, and the overall traffic can be reduced.

Claims (6)

CN201380056440.2A2012-08-302013-08-30Internet sharing device having dynamic port forwarding functionPendingCN104756457A (en)

Applications Claiming Priority (7)

Application NumberPriority DateFiling DateTitle
KR10-2012-00959722012-08-30
KR1020120095972AKR20140029878A (en)2012-08-302012-08-30The internet line sharer with port forwarding dynamically
KR10-2012-00968342012-08-31
KR10-2012-00968362012-08-31
KR1020120096836AKR20140029999A (en)2012-08-312012-08-31The internal server to be able to connect to internal device from outside of internet line sharer
KR1020120096834AKR20140029998A (en)2012-08-312012-08-31The internet line sharer with port forwarding dynamically
PCT/KR2013/007853WO2014035193A1 (en)2012-08-302013-08-30Internet sharing device having dynamic port forwarding function

Publications (1)

Publication NumberPublication Date
CN104756457Atrue CN104756457A (en)2015-07-01

Family

ID=50183922

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201380056440.2APendingCN104756457A (en)2012-08-302013-08-30Internet sharing device having dynamic port forwarding function

Country Status (2)

CountryLink
CN (1)CN104756457A (en)
WO (1)WO2014035193A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1495631A (en)*2002-09-172004-05-12���ǵ�����ʽ���� Internet protocol address allocation device and method
CN101060433A (en)*2006-04-172007-10-24佳能株式会社Management system and control method therefor
US8050192B2 (en)*2005-11-162011-11-01Samsung Electronics Co., Ltd.Port forwarding configuration system and method for wire and wireless networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100360274B1 (en)*2000-12-302002-11-09엘지전자 주식회사Method for supporting general ip telephone system in nat based private network
KR100918733B1 (en)*2003-01-302009-09-24삼성전자주식회사Distributed router and method for dynamically managing forwarding information
KR100884722B1 (en)*2007-04-242009-02-19주식회사 씨앤비텍 Shared setting system of wired and wireless network and its method
KR100975232B1 (en)*2008-07-252010-08-11주식회사 다산네트웍스 Network device with port autoconfiguration function and method therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1495631A (en)*2002-09-172004-05-12���ǵ�����ʽ���� Internet protocol address allocation device and method
US8050192B2 (en)*2005-11-162011-11-01Samsung Electronics Co., Ltd.Port forwarding configuration system and method for wire and wireless networks
CN101060433A (en)*2006-04-172007-10-24佳能株式会社Management system and control method therefor

Also Published As

Publication numberPublication date
WO2014035193A1 (en)2014-03-06

Similar Documents

PublicationPublication DateTitle
CN103491172B (en)Cloud sharing files method and system
US20150289191A1 (en)Device-to-device communication method, module and terminal device
CN104144080B (en)The system and method being managed using remote equipment to terminal device
CN101262478A (en)Method and device for penetrating NAT
CN103297306B (en)A kind of agriculture Internet of things system
CN102866402A (en)Wireless fidelity (WIFI)-based wireless hydrological regime detection device, system and method
CN102984237B (en)A kind of data transmission system and method connecting based on socket
CN103236967A (en)Message-based real-time cooperative office system
CN101951665A (en)Routing method of double-card mobile terminal and double-card mobile terminal
CN106664515A (en)Method for transmitting content between terminals through service control device link
CN104811357A (en)Internet-of-things system
CN105791610A (en)Enterprise instant voice communication method, device and applied electronic equipment
CN102664808B (en)Router and Web site system thereof
US20120210008A1 (en)Method and Mobile Communication System Capable of Establishing Peer-to-Peer Transmission
CN102932495B (en)The controller and intelligent terminal of MAC Address management-control method, intelligent terminal
CN104394602A (en)Cross-system call setup method, terminal and core network element
JP2004260274A (en)Mobile terminal data memory sharing system, and program for realizing mobile terminal data memory sharing function
EP2790441A3 (en)Methods and devices for improving session continuity
CN102369764A (en)System and method operable to enable shortest connection route
CN103796191A (en)Method, device and terminal for sending data to user terminal
CN104702565B (en)Media resource shared method, shared server and shared system
CN103607333A (en)Local area network port proxy method for port proxy server
CN105430665B (en)Realize the method and system of more net mixing scale networkings
CN109168185B (en)Network scanning method and device based on network name space
CN104756457A (en)Internet sharing device having dynamic port forwarding function

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication

Application publication date:20150701

WD01Invention patent application deemed withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp