CN101635735A - Method for accessing wireless communication modules from external network - Google Patents
Method for accessing wireless communication modules from external network Download PDFInfo
- Publication number
- CN101635735A CN101635735A CN200810133778A CN200810133778A CN101635735A CN 101635735 A CN101635735 A CN 101635735A CN 200810133778 A CN200810133778 A CN 200810133778A CN 200810133778 A CN200810133778 A CN 200810133778A CN 101635735 A CN101635735 A CN 101635735A
- Authority
- CN
- China
- Prior art keywords
- wireless communication
- communication modules
- communication module
- server
- data
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The core of the invention is that a P2P technique is applied to wireless communication modules so that the wireless communication modules in two internal networks and an application client can access each other directly through Internet. Thus, the usage modes of the wireless communication modules are changed and an M2M (Machine To Machine) application environment becomes simple. In the conventional M2M application, the wireless communication modules serve as clients to connect distant ends servicers and then transmit data, and the mode needs that the wireless communication modules are connected with the distant ends or center software at any time, has large data traffic, and is not advantageous for control. Besides, each type of application needs the development of single background server software, and requires the erection of a server system during operation and allocation. By adopting the method of the invention, the communication data flow is transmitted directly between the wireless communication modules and the application client, and the background server is not needed any more.
Description
1. technical field
The present invention discloses a kind of implementation method of accessing wireless communication modules from external network.
2. background technology
Along with the maturation and the GPRS of wireless technology, the setting up of CDMA public wireless data network, wireless communication module more and more is widely used in system and products such as monitoring, scheduling, vehicle-mounted, remote control, remote measurement, intelligent radio fixed station, location and navigation.Wireless communication module these systems and should in undertake the function of voice, SMS and transfer of data.In addition, TCP/IP has obtained using completely at Internet and wireless network, becomes the agreement of network service main flow.The data-transformation facility of wireless communication module has also adopted ICP/IP protocol.
Yet because the network of most of wireless carriers is to be independent of Internet, the communication module in the wireless network must could be visited Internet by NAT server and PROXY gateway.And the application on the Internet can't directly be visited wireless inner IP network especially.Therefore, the communication pattern of present wireless communication module is: be connected on the Internet or the background server in the Wireless IP by wireless communication module initiation TCP or UDP, realize data forwarding, work such as storage by background server then.Applications client is carried out information interaction by background server and wireless communication module.This communication pattern necessarily require wireless communication module want initiatively to keep constantly with safeguard with the communicating by letter of center.Work such as configuration, transfer of data just can be done after must waiting for the connection of wireless communication module in the center.
Accompanying drawing 1 is depicted as the application mode and the environment of traditional wireless communication module.After wireless communication module was set up the data communication connection, actual was to obtain the IP address in the inner IP network of radio communication operator.Be equivalent to the radio communication module in the local area network (LAN) of cellular carrier inside, background server generally is implemented in Internet or proprietary IP network.Applications client generally runs in family or the corporate lan.This moment, background server was the bridge of wireless communication module and applications client.
At this a kind of implementation method of accessing wireless communication modules from external network is proposed.Whenever, the applications client that runs in Internet or the Wireless IP can directly connect wireless communication module, need not by background server, and the active communication mode of wireless communication module is changed into passive communication mode, saves the background server system.Make the applied environment of whole wireless communication module change fully.
This new method adopts P2P (Peer to Peer) technology, makes the machine of two in-house networks to intercom mutually by Internet, and does not need transit server.At this, be specially the wireless communication module in operator's in-house network and the applications client of company intranet (or home network).
3. summary of the invention
Core of the present invention is that the P2P technology is applied on the wireless communication module, makes that wireless communication module and the applications client in two in-house networks can be by Internet directly visit mutually.Thereby changed the use pattern of wireless communication module, made M2M (Machine ToMachine, machine to machine) application and development become simple.Accompanying drawing 1 is the use pattern of wireless communication module during traditional M2M uses, wireless communication module connects far-end server as client, transmits data then, and this pattern needs wireless communication module to connect far-end or center software at any time, data traffic is big, also is unfavorable for control.And every kind of application all will be developed independent background server software, when running is disposed, also will set up server system.Accompanying drawing 2 is after adopting method of the present invention, the use pattern of wireless communication module.From accompanying drawing 2 as can be seen, adopted method of the present invention after, communication data stream is directly to transmit between wireless communication module and applications client.Background server no longer needs.
The present invention adopts the method for UDP penetrating NAT server, needs a P2P server, yet is different from background server, and just P2P connects the manager who sets up in the process, and it does not participate in transfer of data.Compare with common professional background server, the P2P server is a very system of lightweight, and can serve the business of any classification, because pass through the P2P server without any business datum.
Technology of the present invention is implemented in the 5th part embodiment and describes.
4. description of drawings
Referring to Figure of description
The wireless communication module application system that accompanying drawing 1 is traditional
Accompanying drawing 2 is directly visited the application system of wireless communication module
Accompanying drawing 3 is directly visited the realization of wireless communication module
5. embodiment
The present invention uses the P2P technology, uses UDP or TCP technology to penetrate the NAT service of cellular carrier and company's network in the realization.The concrete implementation step of following UDP P2P:
A) set up the P2P server
This P2P server rack is located on the Internet.Use Internet public network IP or domain name.
B) wireless communication module is obtained the internal network IP of operator
At the inner ppp protocol that uses of wireless communication module, connect the data network of mobile operator.CMNET or CMWAP as China Mobile.After the successful connection, wireless communication module obtains the IP address.
C) wireless communication module connects the P2P server
The NAT server of cellular carrier can be set up the udp port mapping inside and outside at this moment.IP and port all are external IP and the ports of NAT in the udp protocol that the P2P server receives, as in the accompanying drawing 3 external IP 1 and port one.
When wireless communication module connected the P2P server, the P2P server can be remembered corresponding external IP and port.
D) applications client connects the P2P server
Connect the P2P server with wireless communication module
E) wireless communication module and applications client direct communication
The NAT server is that each Session distributes the port numbers of a NAT server oneself, judges that according to this port numbers TCP/IP packet that the public network IP main frame that will receive returns is transmitted to the computer of that Intranet IP address.Here Session is virtual, and the UDP communication does not need to connect, but for the NAT server, will have the notion of a Session to exist really.
External nat port has separately been arranged, and applications client just can be connected corresponding outside port with wireless communication module, and the imitation external network connects internal network, makes NAT separately upward set up Session for directly connecting, thereby sets up direct the connection.This process becomes P2P and " burrows ".According to the type difference of NAT server, the outside port that sends to different external IP correspondences may become, and externally the situation of port variation is used method of determining and calculating, obtains to connect the outside port that uses.As long as TCP/UDP bag enters internal network by external IP and port by the NAT server, two machines just can direct communication.
(1)Full?Cone?NAT:
NAT can distribute a public network (PublicIP:PublicPort) to it when intranet host was set up a UDP socket (LocalIP:LocalPort) and used for the first time this socket to send data to external host, all will use this to (PublicIP:PublicPort) with any to the outside main frame transmission of this socket data later on.In addition, as long as any external host knows that this (PublicIP:PublicPort) just can send data to (PublicIP:PublicPort), the main frame of Intranet just can be received this packet.
(2)Restricted?Cone?NAT:
NAT can distribute a public network (PublicIP:PublicPort) to it when intranet host was set up a UDP socket (LocalIP:LocalPort) and used for the first time this socket to send data to external host, all will use this to (PublicIP:PublicPort) with any to the outside main frame transmission of this socket data later on.In addition, if any external host wants to send data to this intranet host, as long as once sent data with this socket before knowing this (PublicIP:PublicPort) and intranet host to this external host IP.As long as satisfy this two conditions, this external host just can send data to (PublicIP:PublicPort) with (IP, any port) of oneself, and the main frame of Intranet just can be received this packet.
(3)Port?Restricted?Cone?NAT:
NAT can distribute a public network (PublicIP:PublicPort) to it when intranet host was set up a UDP socket (LocalIP:LocalPort) and used for the first time this socket to send data to external host, all will use this to (PublicIP:PublicPort) with any to the outside main frame transmission of this socket data later on.In addition, if any external host wants to send data to this intranet host, as long as know that once (IP Port) sent data to this external host with this socket before this (PublicIP:PublicPort) and the intranet host.As long as satisfy this two conditions, this external host just can with oneself (IP Port) sends data to (PublicIP:PublicPort), and the main frame of Intranet just can be received this packet.
(4)Symmetric?NAT:
Intranet host is set up a UDP socket (LocalIP, LocalPort), when sending out data for the first time with this socket to external host 1, NAT is (PublicIP-1 of its mapping, Port-1), all data that later intranet host sends to external host 1 all are with this (PublicIP-1, Port-1), if intranet host sends data for external host 2 with this socket simultaneously, when sending for the first time, NAT can distribute (a PublicIP-2 for it, Port-2), all data that later intranet host sends to external host 2 all are with this (PublicIP-2, Port-2) if. NAT has more than a public network IP, and then PublicIP-1 and PublicIP-2 may be different, if NAT has only a public network IP, then Port-1 is different certainly with Port-2, that is to say it necessarily can not is that PublicIP-1 equals PublicIP-2 and Port-1 equals Port-2.In addition, if any external host wants to send data to this intranet host, it should receive that at first intranet host issues his data so, could back send then, even otherwise he knows (a PublicIP of intranet host, Port) can not send data to intranet host, this NAT can't be the outside udp port realization P2P communication that predicted method is surveyed subsequent allocations.
Claims (3)
1. the data transmission method of a wireless communication module is characterized in that wireless network external IP equipment directly communicates by letter with wireless communication module and transmit data, and does not need transit server.
2. method that disposes wireless communication module, its characteristic are by transit server, and configuration directly realizes in client.
3. the method for M2M system operation, its feature does not have service server, and business all realizes in client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810133778A CN101635735A (en) | 2008-07-27 | 2008-07-27 | Method for accessing wireless communication modules from external network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810133778A CN101635735A (en) | 2008-07-27 | 2008-07-27 | Method for accessing wireless communication modules from external network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101635735A true CN101635735A (en) | 2010-01-27 |
Family
ID=41594793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810133778A Pending CN101635735A (en) | 2008-07-27 | 2008-07-27 | Method for accessing wireless communication modules from external network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101635735A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101980508A (en) * | 2010-11-01 | 2011-02-23 | 深圳市鼎盛威电子有限公司 | Network adaptive operation mode on network monitoring system |
CN102281334A (en) * | 2010-06-11 | 2011-12-14 | 中兴通讯股份有限公司 | Management control method and system thereof for wired terminal and access server |
CN103299601A (en) * | 2010-11-19 | 2013-09-11 | 交互数字专利控股公司 | Machine-to-machine (M2M) interface procedures for announce and de-announce of resources |
CN109039915A (en) * | 2018-08-24 | 2018-12-18 | 珠海迈越信息技术有限公司 | A kind of method and system for establishing data connection channel |
-
2008
- 2008-07-27 CN CN200810133778A patent/CN101635735A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102281334A (en) * | 2010-06-11 | 2011-12-14 | 中兴通讯股份有限公司 | Management control method and system thereof for wired terminal and access server |
WO2011153731A1 (en) * | 2010-06-11 | 2011-12-15 | 中兴通讯股份有限公司 | Method and system for managing and controlling wired terminal, and access server |
CN102281334B (en) * | 2010-06-11 | 2015-08-12 | 中兴通讯股份有限公司 | A kind of management control method of catv terminal and system and access server |
CN101980508A (en) * | 2010-11-01 | 2011-02-23 | 深圳市鼎盛威电子有限公司 | Network adaptive operation mode on network monitoring system |
CN103299601A (en) * | 2010-11-19 | 2013-09-11 | 交互数字专利控股公司 | Machine-to-machine (M2M) interface procedures for announce and de-announce of resources |
CN103299601B (en) * | 2010-11-19 | 2016-04-20 | 交互数字专利控股公司 | Notice for resource and remove Machine To Machine (M2M) interface procedure of notice |
US11234213B2 (en) | 2010-11-19 | 2022-01-25 | Iot Holdings, Inc. | Machine-to-machine (M2M) interface procedures for announce and de-announce of resources |
CN109039915A (en) * | 2018-08-24 | 2018-12-18 | 珠海迈越信息技术有限公司 | A kind of method and system for establishing data connection channel |
CN109039915B (en) * | 2018-08-24 | 2021-07-23 | 珠海迈越信息技术有限公司 | Method and system for establishing data connection channel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109756450B (en) | Method, device and system for communication of Internet of things and storage medium | |
US9730272B2 (en) | Portable computing device for wireless communications and method of operation | |
CN108075987B (en) | Multi-path data transmission method and device | |
JP4927939B2 (en) | Automatic home agent selection | |
US8272046B2 (en) | Network mobility over a multi-path virtual private network | |
CN103905463B (en) | Connecting management and control method suitable for multi-path transmitting | |
US11233856B2 (en) | Selecting an address of a device | |
CN101836420B (en) | Methods, apparatuses, system, and related computer program product for user equipment access | |
US8233474B2 (en) | Communication of location information for an IP telephony communication device | |
US20070183408A1 (en) | Mobile network, station, server and method for assigning to a mobile station a fixed and public ip address | |
WO2008097457A1 (en) | Method and system for packet transit through ipv4 networks connecting ipv6 nodes and lans in a utility grid | |
KR101995546B1 (en) | Method and apparatus for discovering wireless devices | |
US8340292B1 (en) | Lawful intercept management by an authorization system | |
US8611358B2 (en) | Mobile network traffic management | |
US11337084B2 (en) | Control apparatus for gateway in mobile communication system | |
CN104521210B (en) | The adjacent service session management of network assistance | |
CN100479443C (en) | Blue Tooth ZigBee gateway | |
JP2017528074A5 (en) | ||
CN105635335B (en) | Social resources cut-in method, apparatus and system | |
CN101635735A (en) | Method for accessing wireless communication modules from external network | |
CN100442736C (en) | Method of simultaneous support connection of multiple blue tooth network by one blue tooth system | |
EP3414969A1 (en) | Method for converging iot data with mobile core | |
CN107810647A (en) | Interactive sessions are established between service client and RAN | |
CN101069404B (en) | Method, device, system and networking connection equipment for opening a network link | |
WO2018101452A1 (en) | Communication method and relay apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: Chen Tong Document name: Notification of Patent Invention Entering into Substantive Examination Stage |
|
DD01 | Delivery of document by public notice |
Addressee: Chen Tong Document name: the First Notification of an Office Action |
|
DD01 | Delivery of document by public notice |
Addressee: Chen Tong Document name: Notification that Application Deemed to be Withdrawn |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20100127 |