CN104602362A - WIFI based Point to Point Protocol (PPP) dial-up networking method and system - Google Patents
WIFI based Point to Point Protocol (PPP) dial-up networking method and system Download PDFInfo
- Publication number
- CN104602362A CN104602362A CN201410740629.XA CN201410740629A CN104602362A CN 104602362 A CN104602362 A CN 104602362A CN 201410740629 A CN201410740629 A CN 201410740629A CN 104602362 A CN104602362 A CN 104602362A
- Authority
- CN
- China
- Prior art keywords
- ppp
- wifi
- dial
- wifi module
- message
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a WIFI based dial-up networking method and system. The method comprises that a WIFI module receives dial-up requirements sent by a host; the WIFI module responds to the dial-up requirements to establish a PPP channel with the host and establishes a communication channel of serial data and wireless data on a data link layer; the WIFI module receives PPP messages sent by the host through a serial port and transforms the PPP messages into IP messages and transmits the IP messages to a wireless network through the communication channel.
Description
Technical field
The present invention relates to wireless communication technology, especially, relate to a kind of PPP based on WIFI (Point to Point Protocol, point-to-point protocol) dial-up networking method and system.
Background technology
Along with the development of wireless communication technology, main frame wirelessly accesses network is more and more universal, and is more and more subject to the favor of user due to its convenience.
Generally speaking, the wireless Internet access of current main frame mainly contains two kinds of modes, wherein a kind of mode is that main frame connects WLAN (wireless local area network) (Wireless Local AccessNetwork by wireless network card, WLAN), and be linked into the Internet further by WLAN (wireless local area network), but adopt aforesaid way to need current hosts to be in the overlay area of WLAN (wireless local area network), depart from above-mentioned overlay area main frame and just cannot be linked into network.
Another kind of mode is that main frame adopts wireless Internet access data card (being also called USB Modem) and is linked into the wireless wide-area communication network of common carrier by mobile communication technologies such as GPRS, CDMA2000 or WCDMA thus realizes dialling up on the telephone carrying out data service, but adopt the general needs of aforesaid way to pay rate costly according to flow to common carrier, be therefore not inclined to adopt this network access most of user.
Based on the above-mentioned problems in the prior art, the invention provides a kind of PPP dial-up networking method based on WIFI and system.
Summary of the invention
One of them object of the present invention is above-mentioned defect in order to improve prior art and provides a kind of PPP dial-up networking method based on WIFI and system.
PPP dial-up networking method based on WIFI provided by the invention, comprising: the dial request that WIFI module Receiving Host sends; Described WIFI module responds described dial request, sets up PPP passage with described main frame, and sets up the communication channel of serial data and wireless data in data link layer; The PPP message that described WIFI module Receiving Host is sent by serial ports, and utilize described communication channel that described PPP message is converted to IP message and outputs to wireless network.
In a kind of preferred embodiment of the PPP dial-up networking method based on WIFI provided by the invention, also comprise: WIFI module carries out WIFI hot spot scanning, and to be set up with wireless network by WIFI hot spot and be connected, wherein said WIFI module and described WIFI hot spot are respectively as website and access point.
In a kind of preferred embodiment of the PPP dial-up networking method based on WIFI provided by the invention, also comprise: the IP message from wireless network is converted to PPP message by described WIFI module, and exports to described main frame by described serial ports.
In a kind of preferred embodiment of the PPP dial-up networking method based on WIFI provided by the invention, described serial ports is UART interface.
In a kind of preferred embodiment of the PPP dial-up networking method based on WIFI provided by the invention, described dial request comprises Custom tags, and described Custom tags is for indicating the PPP dial request that the content of current transmission is described main frame.
In a kind of preferred embodiment of the PPP dial-up networking method based on WIFI provided by the invention, described Custom tags is " AT*11# "
PPP based on WIFI provided by the invention dials up on the telephone system, comprise main frame and WIFI module, undertaken alternately by PPP passage between wherein said WIFI module and described main frame, and described WIFI module sets up the communication channel having serial data and wireless data in data link layer, wherein, the PPP message that described WIFI module is sent by serial ports for receiving described main frame, and utilize described communication channel that described PPP message is converted to IP message and outputs to wireless network.
Dial up on the telephone in a kind of preferred embodiment of system at the PPP based on WIFI provided by the invention, described WIFI module is also connected for being set up with wireless network by WIFI hot spot, and wherein said WIFI module and described WIFI hot spot are respectively as the website of described connection and access point.
Dial up on the telephone in a kind of preferred embodiment of system at the PPP based on WIFI provided by the invention, described WIFI module also for the IP message from wireless network is converted to PPP message, and exports to described main frame by described serial ports.
Dial up on the telephone in a kind of preferred embodiment of system at the PPP based on WIFI provided by the invention, described serial ports is UART interface.
In the PPP dial-up networking method based on WIFI provided by the invention and system, main frame can and WIFI module between set up PPP passage, and the communication channel of wireless data and serial data is set up in WIFI module, thus realize carrying out PPP by described WIFI module and dialling up on the telephone, compared to prior art, adopt the PPP dial-up networking method based on WIFI provided by the invention and system, the signal cover restriction that can not be subject to WLAN (wireless local area network) of dialling up on the telephone of main frame on the one hand, on the other hand due to the flow rate dialled up on the telephone without the need to paying costliness to common carrier based on WIFI mode, therefore at ease of use and economy, all there is larger advantage.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, wherein:
Fig. 1 is that the PPP based on WIFI provided by the invention dials up on the telephone the structural representation of a kind of embodiment of system.
Fig. 2 is the schematic flow sheet of a kind of embodiment of PPP dial-up networking method based on WIFI provided by the invention.
Embodiment
Be clearly and completely described to the technical scheme in the embodiment of the present invention below, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
PPP based on the WIFI provided by the invention scheme that dials up on the telephone dials up on the telephone using WIFI module as modulator-demodulator (Modem), the data communication that the aft engine of dial-up success can be undertaken based on ppp protocol by serial ports and WIFI module, thus realize realizing access to netwoks by WIFI module.
Refer to Fig. 1, it is that the PPP based on WIFI provided by the invention dials up on the telephone the structural representation of a kind of embodiment of system.The described PPP system 100 that dials up on the telephone comprises main frame 110, WIFI module 120 and WIFI hot spot 130, wherein, can be connected by serial ports between described main frame 110 and described WIFI module 120, connect as by UART (UniversalAsynchronous Receiver/Transmitter UART Universal Asynchronous Receiver Transmitter) interface, and adopt ppp protocol to carry out alternately.On the other hand, described WIFI module 120 can connect with WIFI hot spot 130 further, and be linked into wireless network by described WIFI hot spot 130, wherein, website (the Station that described WIFI module 120 can be connected respectively as WIFI with described WIFI hot spot 130, be called for short STA) and access point (Access Point is called for short AP).
Below in conjunction with the PPP dial-up networking method based on WIFI shown in Fig. 2, introduce above-mentioned PPP and to dial up on the telephone the course of work of system.Refer to Fig. 2, it is the schematic flow sheet of a kind of embodiment of PPP dial-up networking method based on WIFI provided by the invention.Described PPP dial-up networking method comprises:
Step S1, WIFI module carries out WIFI hot spot scanning, and to be set up with wireless network by WIFI hot spot and be connected;
First, described main frame 110 can pass through serial ports (such as UART interface) and send WIFI operational order to described WIFI module 120, described WIFI module 120 corresponding described instruction can carry out WIFI hot spot scanning after receiving described WIFI operational order, and scans WIFI hot spot 130 as shown in Figure 1.And, described WIFI module 120 can be further advanced by described WIFI hot spot 130 and set up with wireless network and be connected, in described connection, described WIFI module 120 and described WIFI hot spot 130 are respectively as website (STA) and access point (AP).
Step S2, main frame is to the request of WIFI module Sending dialled number;
After described WIFI module 120 completes WIFI hot spot scanning, described main frame 110 can further by described serial ports (such as UART interface) to the request of described WIFI module 120 Sending dialled number, in a particular embodiment, the dial request that described main frame 110 sends can be the dial request based on ppp protocol, described dial request can comprise Custom tags, such as " AT*11# ", its content being mainly used in indicating current transmission is the PPP dial request of main frame.
Step S3, described WIFI module responds described dial request and sets up the data channel between main frame and wireless network;
After receiving described dial request by described serial ports, described WIFI module 120 can respond described dial request, and sets up data channel between described main frame 110 and wireless network.Particularly, described data channel comprises PPP passage between described WIFI module 120 and described main frame 110 and the wireless data of described WIFI module 120 inside and the communication channel of serial data.
Specifically, described WIFI module 120 is after receiving described dial request, first can set up the PPP passage between described main frame 110 and described WIFI module 120, namely described PPP passage is the communication port between the serial ports of the two, and it supports the transmission of PPP message.In the process setting up described PPP passage, described main frame 110 and described WIFI module 120 can get the IP address of the other side respectively, and therefore main frame 110 described in subsequent data communications just can adopt the IP address of described WIFI module 120 to send message.Then, after described PPP Path Setup, described WIFI module can set up the communication channel of wireless data and serial data further in data link layer, described communication channel can be used for described WIFI module 120 to carry out data transaction between the serial data of described main frame 120 and the wireless data of described wireless network and transmission.
Should be appreciated that the peak data transfer rate of described data channel can be subject to the restriction of serial ports rate limit, therefore may be not suitable for the massive dataflow communications such as video communication, but for most Information application, as information gathering, financial transaction, the speed such as Based Intelligent Control are enough.
Step S4, the PPP message that WIFI module Receiving Host is sent by serial ports, and be converted into IP message and output to wireless network;
When described main frame 110 needs to send data, data can input on the upper strata of the ICP/IP protocol stack of described main frame 110, and convert PPP message to lower floor's group bag in data link layer, and use the IP address of described WIFI module 120 by described PPP message transmissions to described WIFI module 120; Described PPP message, after receiving described PPP message, is upwards converted to IP message by described WIFI module 120 in ICP/IP protocol stack, and after being packaged into Ethernet message further, exports to wireless network by described WIFI hot spot 130.
Step S5, the IP message from wireless network is converted to PPP message by WIFI module, and exports to main frame by serial ports;
When needing when there being data to be transferred to described main frame 110, first described WIFI module 120 can convert the IP message received from wireless network to PPP message, and then by the PPP passage between itself and described main frame 110 and adopt the IP address of described main frame 110 by described PPP message transmissions give described main frame 110.Described main frame 110 can parse by upper strata the application message that described PPP message carries after receiving described PPP message.
In the PPP dial-up networking method based on WIFI provided by the invention and system, main frame can and WIFI module between set up PPP passage, and the communication channel of wireless data and serial data is set up in WIFI module, thus realize carrying out PPP by described WIFI module and dialling up on the telephone, compared to prior art, adopt the PPP dial-up networking method based on WIFI provided by the invention and system, the signal cover restriction that can not be subject to WLAN (wireless local area network) of dialling up on the telephone of main frame on the one hand, on the other hand due to the flow rate dialled up on the telephone without the need to paying costliness to common carrier based on WIFI mode, therefore at ease of use and economy, all there is larger advantage.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize description of the present invention to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included within scope of patent protection of the present invention.
Claims (10)
1., based on a PPP dial-up networking method of WIFI, it is characterized in that, comprising:
The dial request that WIFI module Receiving Host sends;
Described WIFI module responds described dial request, sets up PPP passage with described main frame, and sets up the communication channel of serial data and wireless data in data link layer;
The PPP message that described WIFI module Receiving Host is sent by serial ports, and utilize described communication channel that described PPP message is converted to IP message and outputs to wireless network.
2. as claimed in claim 1 based on the PPP dial-up networking method of WIFI, it is characterized in that, also comprise: WIFI module carries out WIFI hot spot scanning, and to be set up with wireless network by WIFI hot spot and be connected, wherein said WIFI module and described WIFI hot spot are respectively as website and access point.
3., as claimed in claim 1 based on the PPP dial-up networking method of WIFI, it is characterized in that, also comprise: the IP message from wireless network is converted to PPP message by described WIFI module, and exports to described main frame by described serial ports.
4., as claimed any one in claims 1 to 3 based on the PPP dial-up networking method of WIFI, it is characterized in that, described serial ports is UART interface.
5., as claimed in claim 1 based on the PPP dial-up networking method of WIFI, it is characterized in that, described dial request comprises Custom tags, and described Custom tags is for indicating the PPP dial request that the content of current transmission is described main frame.
6., as claimed in claim 5 based on the PPP dial-up networking method of WIFI, it is characterized in that, described Custom tags is " AT*11# ".
7. the PPP based on WIFI dials up on the telephone system, it is characterized in that, comprise main frame and WIFI module, undertaken alternately by PPP passage between wherein said WIFI module and described main frame, and described WIFI module sets up the communication channel having serial data and wireless data in data link layer, wherein, the PPP message that described WIFI module is sent by serial ports for receiving described main frame, and utilize described communication channel that described PPP message is converted to IP message and outputs to wireless network.
8. to dial up on the telephone system based on the PPP of WIFI as claimed in claim 7, it is characterized in that, described WIFI module is also connected for being set up with wireless network by WIFI hot spot, and wherein said WIFI module and described WIFI hot spot are respectively as the website of described connection and access point.
9. to dial up on the telephone system based on the PPP of WIFI as claimed in claim 7, it is characterized in that, described WIFI module also for the IP message from wireless network is converted to PPP message, and exports to described main frame by described serial ports.
10. the PPP based on WIFI according to any one of claim 7 to 9 dials up on the telephone system, and it is characterized in that, described serial ports is UART interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410740629.XA CN104602362B (en) | 2014-12-08 | 2014-12-08 | PPP dial-up networking methods and system based on WIFI |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410740629.XA CN104602362B (en) | 2014-12-08 | 2014-12-08 | PPP dial-up networking methods and system based on WIFI |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104602362A true CN104602362A (en) | 2015-05-06 |
CN104602362B CN104602362B (en) | 2018-04-10 |
Family
ID=53127753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410740629.XA Active CN104602362B (en) | 2014-12-08 | 2014-12-08 | PPP dial-up networking methods and system based on WIFI |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104602362B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141357A (en) * | 2007-10-23 | 2008-03-12 | 中兴通讯股份有限公司 | Dialing access device and method of wireless Modem |
CN101945381A (en) * | 2009-07-06 | 2011-01-12 | 北京中电华大电子设计有限责任公司 | Wireless fidelity with UART interface |
CN102548022A (en) * | 2011-12-27 | 2012-07-04 | 上海顶竹通讯技术有限公司 | Network access device and network access method |
WO2013174312A2 (en) * | 2013-01-25 | 2013-11-28 | 中兴通讯股份有限公司 | Control method and device, and mobile terminal |
CN104142900A (en) * | 2014-08-04 | 2014-11-12 | 西京学院 | Communication interface converting device |
-
2014
- 2014-12-08 CN CN201410740629.XA patent/CN104602362B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141357A (en) * | 2007-10-23 | 2008-03-12 | 中兴通讯股份有限公司 | Dialing access device and method of wireless Modem |
CN101945381A (en) * | 2009-07-06 | 2011-01-12 | 北京中电华大电子设计有限责任公司 | Wireless fidelity with UART interface |
CN102548022A (en) * | 2011-12-27 | 2012-07-04 | 上海顶竹通讯技术有限公司 | Network access device and network access method |
WO2013174312A2 (en) * | 2013-01-25 | 2013-11-28 | 中兴通讯股份有限公司 | Control method and device, and mobile terminal |
CN104142900A (en) * | 2014-08-04 | 2014-11-12 | 西京学院 | Communication interface converting device |
Also Published As
Publication number | Publication date |
---|---|
CN104602362B (en) | 2018-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977412B (en) | Application processor, modem and communication method therebetween | |
CN105722152A (en) | Heterogeneous network data parallel transmission system and method | |
CN104335534B (en) | Data transmission method for uplink, method of reseptance and equipment | |
CN102833345A (en) | Method, apparatus and system for sharing content between devices | |
CN105722058A (en) | User equipment and information forwarding method | |
CN107124690A (en) | A kind of method carried out data transmission between intelligent watch and mobile phone | |
CN102025727B (en) | Integrated pushing system and method for collecting and accessing multiple application systems | |
WO2013117048A1 (en) | Wifi data transmission method and terminal | |
CN102843434B (en) | A kind of equipment room shares method, the Apparatus and system of content | |
CN1780334B (en) | Remote testing device and method for telephone connection service of mobile communication terminals | |
CN102573109B (en) | Wireless data transmission method, device and system based on code division multiple access (CDMA) or general packet radio service (GPRS) wireless public network | |
CN101815041A (en) | Multiple play gateway | |
CN107277861A (en) | A kind of distributed cut-in method of mobile whole network | |
CN101650872B (en) | System and method for collecting power utilization information | |
CN102970778A (en) | Internet of things converged communication gateway for supporting ubiquitous machine to machine protocol (UMMP) | |
CN104602362A (en) | WIFI based Point to Point Protocol (PPP) dial-up networking method and system | |
CN101753466B (en) | Method and device for transmitting wireless broadband service messages | |
CN101035179B (en) | Device and method for realizing the G3 fax via the CDMA network | |
CN109495158A (en) | A kind of system and method improving satellite communication rate | |
CN102811149B (en) | A kind of for the double card headend equipment in video system and control method, system | |
CN107370665A (en) | A kind of instant text communications method of low-power consumption suitable for LoRa networks | |
CN101778493A (en) | Terminal equipment supporting various network access modes, system and realization method | |
CN102497654A (en) | Hidden node concurrent receiving method based on busy tone for removing ACK (acknowledgement character) frame interference | |
CN101877598A (en) | Reception level acquisition system for FSK wireless transceiver circuit and method thereof | |
CN103812711A (en) | Router reception, transmission, receiving-sending message grabbing package method, and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 518052, A, building two, phase 1057, science and technology building, Nanhai Road, Shenzhen, Guangdong, Nanshan District, China 501A Applicant after: FIBOCOM WIRELESS INC. Address before: 518052, A, building two, phase 1057, science and technology building, Nanhai Road, Shenzhen, Guangdong, Nanshan District, China 501A Applicant before: Shenzhen G&T Industrial Development Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: SHENZHEN G+T INDUSTRIAL DEVELOPMENT CO., LTD. TO: SHENZHEN FIBOCOM WIRELESS INC. |
|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |