1. Technical Field
Embodiments of the present disclosure relate to network communications, and particularly to a multimedia terminal adapter and a remote connection method.
2. Description of Related Art
Remote control is a network development subject. Home networking is based on remote controls. In the operation of remote controls, a controlling device needs to know an Internet protocol (IP) address of a controlled device, to establish a connection. However, current networks often utilize dynamic IP addresses, so it is difficult for the controlling device to inquire the IP address of the controlled device.
Presently, the controlled device utilizes a static IP address, or connects to a dynamic domain name server (DDNS), in order to overcome the above problem. However, the static IP address may have potential security problems, and connecting to the DDNS takes a long time to complete the operation. It is therefore desirable to find a new device and method can overcome the above mentioned problems.
Referring to
The first communication device 21 and the second communication devices 11 may be computers, personal digital assistants (PDA), or mobile Internet devices (MIDs). The multimedia terminal adapter 10 may be a voice over Internet protocol (VoIP) gateway or a modem.
Referring to
The aforementioned modules 101-108 may include one or more computerized instructions executed by the processor 109.
The plurality of user ports 101, shown one as an example in
The VoIP module 102 receives a VoIP calling request from the first communication device 21.
The determining module 103 determines whether the VoIP calling request is a remote control request. In one embodiment, the determining module 103 predefines a group of numbers, and regards the VoIP calling request as a remote control request, if the VoIP calling request contains the predefined group of numbers.
The inquiring module 104 inquires the IP addresses of the multimedia terminal adapter 10 and the second communication devices 11, and the relationships between the IP addresses of the second communication devices 11 and the user ports 101. In one embodiment, the inquiring module 104 inquires if the VoIP calling request is a remote control request.
The storage module 105 saves the IP addresses of the multimedia terminal adapter 10 and the second communication devices 11 such as an IP address list 105a, and saves the relationships between the IP addresses of the second communication devices 11 and the user ports 101 as a relationship list 105b.
The sending module 106 sends the IP address list 105a to the first communication device 21 from which the first communication device 21 can select the IP address of one of the second communication devices 11. In one embodiment, the sending module 106 sends the IP address list 105a to the first communication device 21 by uploading the IP address list 105a to a predefined website. In other embodiments, the sending module 106 may send the IP address list 105a to the first communication device 21 by VoIP calling.
In one embodiment, the multimedia terminal adapter 10 provides the IP address list 105a of the plurality of second communication devices 11 to the first communication device 21, when the second communication devices 11 utilize dynamic IP addresses, to meet the requirements of remote control between the first communication device 21 and the second communication devices 11.
The receiving module 107 receives the selected IP address of the selected second communication device 11 from the first communication device 21.
The control module 108 searches for one user port 101 corresponding to the selected IP address of the selected second communication device 11 in the relationship list 105b, and opens the searched user port 101, to establish the remote connection between the first communication device 21 and the selected second communication device 11. In one embodiment, opening the selected user port 101 is operable to transmit controlling instructions from the first communication device 21 to the second communication device 11.
Referring to
In block S201, the multimedia terminal adapter 10 provides a plurality of user ports 101, connected to the plurality of second communication devices 11, and corresponding to the IP addresses of the plurality of second communication devices 11, respectively.
In block S202, the VoIP module 102 receives a VoIP calling request from the first communication device 21.
In block S203, the determining module 103 determines whether the VoIP calling request is a remote control request. The flow ends, if the VoIP calling request is not a remote control request. The flow goes to block S204, if the VoIP calling request is a remote control request.
In block S204, the inquiring module 104 inquires the IP addresses of the multimedia terminal adapter 10 and the second communication devices 11, and the relationships between the IP addresses of the second communication devices 11 and the user ports 101. The storage module 105 saves the IP addresses of the multimedia terminal adapter 10 and the second communication devices 11 as an IP address list 105a, and saves the relationships between the IP addresses of the second communication devices 11 and the user ports 101 as a relationship list 105b, respectively.
In block S205, the sending module 106 sends the IP address list 105a to the first communication device 21. The sending module 106 sends the IP address list 105a to the first communication device 21 by uploading the IP address list 105a to a predefined website. In other embodiments, the sending module 106 may send the IP address list 105a to the first communication device 21 by VoIP calling. The multimedia terminal adapter 10 provides the IP address list 105a of the plurality of second communication devices 11, especially when the second communication device 11 utilizes adapting dynamic IP addresses, to meet the requirements of remote control between the first communication device 21 and the second communication device 11.
In one embodiment, the first communication device 21 selects the one IP address of a selected second communication device 11, according to the IP address list 102a. The first communication device 21 sends the selected IP address of the selected second communication device 11 from the first communication device 21.
In block S206, the receiving module 107 receives the selected IP address of the selected second communication from the first communication device 21.
In block S207, the control module 108 searches for one user port 101 corresponding to the selected IP address of the selected second communication device 11 in the relationship list 105b, and opens the searched user port 101, to establish the remote connection between the first communication device 21 and the selected second communication device 11.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. Various embodiments were chosen and described in order to best explain the principles of the disclosure, the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.
Number | Date | Country | Kind |
---|---|---|---|
200910311818.4 | Dec 2009 | CN | national |