CN105306104B - a kind of data transmission method and device - Google Patents
a kind of data transmission method and device Download PDFInfo
- Publication number
- CN105306104B CN105306104B CN201410325877.8A CN201410325877A CN105306104B CN 105306104 B CN105306104 B CN 105306104B CN 201410325877 A CN201410325877 A CN 201410325877A CN 105306104 B CN105306104 B CN 105306104B
- Authority
- CN
- China
- Prior art keywords
- wifi
- frames
- nfc
- data
- packaged
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses a kind of data transmission methods, are applied to data sending terminal, including:NFC data is packaged into NFC frames;It is sent after NFC frames are packaged into WIFI frames.The embodiment of the invention also discloses a kind of data transmission methods, are applied to data receiver, including:Receive WIFI frames;NFC frames are decapsulated from WIFI frames;NFC data is obtained from NFC frames.The embodiment of the present invention also accordingly discloses a kind of data transmission device and payment system.Payment need not can be completed close to cashier in the technical solution through the embodiment of the present invention, mobile terminal user, ensureing safety while extending payment distance, improving the flexibility of payment, and then improve user experience.
Description
Technical field
The present invention relates to field of data transmission more particularly to a kind of data transmission methods and device.
Background technology
Near-field communication (Near Field Communication, NFC) is a kind of short distance (2~20cm) wireless data
Transmission technology.In recent years, as component cost declines, related specifications are in succession ripe, and especially mobile intelligent terminal measures greatly
It is existing, it is more and more common that NFC technique is integrated in the terminal.
Mobile terminal using the typical scene of NFC technique be near field pay, entire payment system is by mobile terminal, POS
Machine and payment platform composition.Wherein, the POS machine that buyer provides the mobile terminal with NFC function close to businessman has NFC
The POS machine of function sends out payment request by the electromagnetic wave of special frequency channel, and NFC mobile terminal receives payment by NFC chip and asks
It asks, subsequently enter payment flow and completes to pay.
Near field payment is paid compared to traditional contact card, while avoiding using cash, also have without contact,
Data transmission bauds is fast, mobile terminal is integrated, many merits such as not easy to wear, safe and reliable.However, even if using near field branch
Pay, it is still desirable to customer payment when close to Cash register POS machine, need cashier input toll amount, payment range compared with
Small, flexibility ratio is relatively low, and crowded feelings are lined up under the more scene of the customers such as market, supermarket, inevitably will appear
Condition influences user experience.
Invention content
In view of this, to solve existing technical problem, the embodiment of the present invention provides:
A kind of data transmission method is applied to data sending terminal, including:
Near-field communication NFC data is packaged into NFC frames;
The NFC frames are packaged into WIFI frames;
Send the WIFI frames.
Preferably, described be packaged into NFC frames by NFC data, including:
It services to receive NFC using the NFC data sent out and the NFC data is given to NFC by NFC system and drive;
The request data is packaged into NFC frames by NFC drivings and is given to WIFI drivings;
It is described that NFC frames are packaged into WIFI frames, the WIFI frames are sent, including:
The NFC frames are packaged into WIFI frames by WIFI drivings and are sent out by WIFI chips.
Preferably, the WIFI frames are WIFI data frames, the WIFI data frame formats include WIFI frame heads, load and frame
Check field.
Preferably, described be packaged into WIFI frames by NFC frames, including:
After carrying out fragment to NFC frames according to preset WIFI fragments rule, it is packaged into WIFI data frames.
Preferably, the data sending terminal is mobile terminal and/or POS machine, the NFC data is with the next item down or more
:Payment request data, payment result data, payment initialization data.
Preferably, when the data sending terminal is the mobile terminal in P2P patterns, it is described to send the WIFI frames packet
It includes:Mobile terminal in P2P patterns directly sends the request for being packaged into WIFI frames to POS machine, and the request is used for order institute
It states POS machine and sends payment request.
Preferably, when the data sending terminal is the mobile terminal in non-P2P patterns, it is described to send the WIFI frames
Including:
Mobile terminal in non-P2P patterns sends the request for being packaged into WIFI frames, order institute by server to POS machine
It states POS machine and sends payment request.
A kind of data transmission method is applied to data receiver, including:
Receive WIFI frames;
NFC frames are decapsulated from the WIFI frames;
NFC data is obtained from the NFC frames.
Preferably, the reception WIFI frames, including:
It is driven by WIFI and receives the data from radio frequency and be parsed into WIFI frames;
NFC frames are decapsulated in the frame from WIFI, and NFC data is obtained from the NFC frames, including:
NFC frames are decapsulated from WIFI frames by WIFI drivings and are given to NFC drivings;
By NFC drivings, decapsulation obtains NFC data from the NFC frames.
Preferably, the WIFI frames are WIFI data frames, the WIFI data frame formats include WIFI frame heads, load and frame
Check field.
Preferably, when the NFC frames decapsulated from WIFI frames are fragment, this method further includes:To the NFC frames of decapsulation
Fragment is assembled.
Preferably, the data receiver is mobile terminal and/or POS machine, the NFC data is with the next item down or more
:Payment request data, payment result data, payment initialization data.
Preferably, when the data receiver is the mobile terminal in P2P patterns, the reception WIFI frames include:
Mobile terminal in P2P patterns directly receives payment request POS machine transmission, being packaged into WIFI frames.
Preferably, when the data receiver is the mobile terminal in non-P2P patterns, the reception WIFI frame packets
It includes:
The mobile terminal in non-P2P patterns receives branch that POS machine is sent, being packaged into WIFI frames by server
Pay request.
A kind of data transmission device is set to data sending terminal, including:
First processing module, for NFC data to be packaged into NFC frames;
Second processing module, for the NFC frames to be packaged into WIFI frames;
Sending module, for sending the WIFI frames.
Preferably, the first processing module, specifically for servicing the NFC numbers for receiving NFC applications and sending out by NFC system
It is given to NFC drivings according to and by the NFC data;The request data is packaged into NFC frames by NFC drivings and is given to WIFI and is driven
It is dynamic,
The Second processing module, specifically for the NFC frames are packaged into WIFI frames by WIFI drivings and are passed through
WIFI chips are sent out;
The sending module sends out the WIFI frames specifically for passing through WIFI chips.
Preferably, the WIFI frames that the Second processing module is packaged into are WIFI data frames, the WIFI data frame formats
Including WIFI frame heads, load and frame check field.
Preferably, the Second processing module, is specifically used for carrying out fragment to NFC frames according to preset WIFI fragments rule
Post package is at WIFI data frames
Preferably, the data sending terminal is mobile terminal and/or POS machine,
The NFC data of the first processing module processing is following one or more:Payment request data, payment result number
According to, payment initialization data.
Preferably, when the data sending terminal is the mobile terminal in P2P patterns,
The sending module is packaged into the request of WIFI frames specifically for directly being sent to POS machine, and the request is for ordering
The POS machine is enabled to send payment request.
Preferably, when the data sending terminal is the mobile terminal in non-P2P patterns,
The sending module is packaged into the requests of WIFI frames, described in order specifically for being sent to POS machine by server
POS machine sends payment request.
A kind of data transmission device is set to data receiver, including:
Receiving module, for receiving WIFI frames;
Third processing module, for decapsulating NFC frames from the WIFI frames;
Fourth processing module, for obtaining NFC data from the NFC frames.
Preferably, the receiving module, specifically for driving data of the reception from radio frequency by WIFI and being parsed into
WIFI frames;
The third processing module is driven specifically for decapsulating NFC frames from WIFI frames by WIFI drivings and being given to NFC
It is dynamic;
The fourth processing module, specifically for decapsulation obtains NFC data from the NFC frames by NFC drivings.
Preferably, the WIFI frames that the receiving module receives are WIFI data frames, the WIFI data frame formats include
WIFI frame heads, load and frame check field.
Preferably, the third processing module, is additionally operable to when the NFC frames decapsulated from WIFI frames are fragment, to solution
The NFC frame fragments of encapsulation are assembled.
Preferably, the data receiver is mobile terminal and/or POS machine,
The NFC data that the fourth processing module obtains is following one or more:Payment request data, payment result number
According to, payment initialization data.
Preferably, when the data receiver is the mobile terminal in P2P patterns,
The receiving module, specifically for directly receiving payment request that POS machine is sent, being packaged into WIFI frames.
Preferably, when the data receiver is the mobile terminal in non-P2P patterns,
The receiving module is asked specifically for receiving payment that POS machine is sent, being packaged into WIFI frames by server
It asks.
Data transmission method described in the embodiment of the present invention and device, in the same data sending terminal, such as same shifting
In dynamic terminal, NFC data is packaged into NFC frames;The NFC frames are packaged into WIFI frames and are sent.Through the embodiment of the present invention
NFC data directly can be converted to WIFI frame data by the technical solution, data sending terminal, and then by means of WIFI network
Sent, WIFI network effective distance is larger, data sending terminal such as mobile terminal user need not close to cashier can be complete
At payment, is ensureing safety while extending payment distance, improving the flexibility of payment, and then improve user experience.
Description of the drawings
Fig. 1 is a kind of data transmission method flow diagram of the embodiment of the present invention;
Fig. 2 is a kind of data transmission method flow diagram of the embodiment of the present invention;
Fig. 3 is a kind of method of payment flow diagram of the embodiment of the present invention;
Fig. 4 is a kind of data transmission device structural schematic diagram of the embodiment of the present invention;
Fig. 5 is a kind of data transmission device structural schematic diagram of the embodiment of the present invention;
Fig. 6 is a kind of payment system structural schematic diagram of the embodiment of the present invention;
Fig. 7 is a kind of payment system structural schematic diagram of the embodiment of the present invention;
Fig. 8 is the system structure diagram of the embodiment of the present invention 1;
Fig. 9 is the method for payment flow diagram described in the embodiment of the present invention 1;
Figure 10 is the method for payment flow diagram described in the embodiment of the present invention 2;
Figure 11 is NFC NDEF message composition schematic diagrams described in the embodiment of the present invention 3;
Figure 12 is record format schematic diagram described in the embodiment of the present invention 3;
Figure 13 is data frame format schematic diagram described in the embodiment of the present invention 3;
Figure 14 is that NFC frames described in the embodiment of the present invention 3 are encapsulated in the structural schematic diagram after WIFI data frames;
Figure 15 is that WIFI described in the embodiment of the present invention 3 encodes implementation process schematic diagram;
Figure 16 is that WIFI described in the embodiment of the present invention 3 decodes implementation process schematic diagram.
Specific implementation mode
The embodiment of the present invention proposes a kind of data transmission method, is applied to data sending terminal, as shown in Figure 1, this method
Including:
Step 101:Near-field communication NFC data is packaged into NFC frames;
Step 102:The NFC frames are packaged into WIFI frames;
Step 103:Send the WIFI frames.
Optionally, described that NFC data is packaged into NFC frames, including:
It services to receive NFC using the NFC data sent out and the NFC data is given to NFC by NFC system and drive;
The request data is packaged into NFC frames by NFC drivings and is given to WIFI drivings;
It is described that NFC frames are packaged into WIFI frames, the WIFI frames are sent, including:
The NFC frames are packaged into WIFI frames by WIFI drivings and are sent out by WIFI chips.
Optionally, the WIFI frames are WIFI data frames, and the WIFI data frame formats include WIFI frame heads, load and frame
Check field.
Optionally, described that NFC frames are packaged into WIFI frames, including:
After carrying out fragment to NFC frames according to preset WIFI fragments rule, it is packaged into WIFI data frames.
The data sending terminal is mobile terminal and/or POS machine, and the NFC data is following one or more:Payment is asked
Ask data, payment result data, payment initialization data.
Optionally, described to send the WIFI frames packet when the data sending terminal is the mobile terminal in P2P patterns
It includes:Mobile terminal in P2P patterns directly sends the request for being packaged into WIFI frames to POS machine, and the request is used for order institute
It states POS machine and sends payment request.
Optionally, described to send the WIFI frames when the data sending terminal is the mobile terminal in non-P2P patterns
Including:
Mobile terminal in non-P2P patterns sends the request for being packaged into WIFI frames, order institute by server to POS machine
It states POS machine and sends payment request.
The embodiment of the present invention also proposed a kind of data transmission method, be applied to data receiver, as shown in Fig. 2, the party
Method includes:
Step 201:Receive WIFI frames;
Step 202:NFC frames are decapsulated from the WIFI frames;
Step 203:NFC data is obtained from the NFC frames.
Optionally, the reception WIFI frames, including:
It is driven by WIFI and receives the data from radio frequency and be parsed into WIFI frames;
NFC frames are decapsulated in the frame from WIFI, and NFC data is obtained from the NFC frames, including:
NFC frames are decapsulated from WIFI frames by WIFI drivings and are given to NFC drivings;
By NFC drivings, decapsulation obtains NFC data from the NFC frames.
Optionally, the WIFI frames are WIFI data frames, and the WIFI data frame formats include WIFI frame heads, load and frame
Check field.
Optionally, when the NFC frames decapsulated from WIFI frames are fragment, this method further includes:To the NFC frames of decapsulation
Fragment is assembled.
Optionally, the data receiver is mobile terminal and/or POS machine, and the NFC data is with the next item down or more
:Payment request data, payment result data, payment initialization data.
Optionally, when the data receiver is the mobile terminal in P2P patterns, the reception WIFI frames include:
Mobile terminal in P2P patterns directly receives payment request POS machine transmission, being packaged into WIFI frames.
Optionally, when the data receiver is the mobile terminal in non-P2P patterns, the reception WIFI frame packets
It includes:
The mobile terminal in non-P2P patterns receives branch that POS machine is sent, being packaged into WIFI frames by server
Pay request.
The embodiment of the present invention also proposed a kind of method of payment, as shown in figure 3, this method includes:
Step 301:Point of sales terminal POS machine sends payment request to mobile terminal;
Step 302:The mobile terminal is paid according to the payment request and is returned payment result,
Wherein, between the mobile terminal and the POS machine using above application in data sending terminal method into line number
According to transmission, the method using above application in data receiver carries out data receiver.
Optionally, this method further includes:
The POS machine and the mobile terminal carry out payment initialization, and after initializing successfully, the POS machine is to the shifting
Dynamic terminal sends payment request.
It should be noted that in practical application, the NFC chip on mobile terminal has the function of P2P, then mobile terminal enters
P2P patterns send out payment request by NFC mobile terminal.If the NFC chip of mobile terminal only has card analog functuion,
It asks mobile terminal to access commodity information server by WIFI, payment request is sent out by the server command POS machine.
Optionally, before the POS machine carries out payment initialization with mobile terminal, this method further includes:
Mobile terminal sends to POS machine and asks, and the POS machine is ordered to send payment request.
Optionally, before the POS machine carries out payment initialization with mobile terminal, this method further includes:
Mobile terminal sends payment for merchandise request to commodity information server;
The commodity information server sends to POS machine and asks, and the POS machine is ordered to send payment request.
Optionally, this method further includes:
The mobile terminal obtains merchandise news from commodity information server.
The embodiment of the present invention also proposes a kind of data transmission device accordingly, is set to data sending terminal, such as Fig. 4 institutes
Show, which includes:First processing module 41, Second processing module 42 and sending module 43;Wherein,
First processing module 41, for NFC data to be packaged into NFC frames;
Second processing module 42, for the NFC frames to be packaged into WIFI frames;
Sending module 43, for sending the WIFI frames.
Optionally, first processing module 41, specifically for servicing the NFC data for receiving NFC applications and sending out by NFC system
And the NFC data is given to NFC drivings;The request data is packaged into NFC frames by NFC drivings and is given to WIFI drivings
The NFC frames are packaged into WIFI frames by Second processing module 42 specifically for being driven by WIFI;
Sending module 43 sends out the WIFI frames specifically for passing through WIFI chips.
Optionally, the WIFI frames that Second processing module 42 is packaged into are WIFI data frames, the WIFI data frame formats packet
Include WIFI frame heads, load and frame check field.
Optionally, Second processing module 42 are specifically used for carrying out fragment to NFC frames according to preset WIFI fragments rule
Afterwards, WIFI data frames are packaged into.
Optionally, the data sending terminal be mobile terminal and/or POS machine,
The NFC data of the processing of the first processing module 41 is following one or more:Payment request data, payment result
Data, payment initialization data.
Optionally, when data sending terminal is the mobile terminal in P2P patterns,
Sending module 43 is packaged into the request of WIFI frames specifically for directly being sent to POS machine, and the request is for ordering
The POS machine sends payment request.
Optionally, when the data sending terminal is the mobile terminal in non-P2P patterns,
Sending module 43 is packaged into the requests of WIFI frames, described in order specifically for being sent to POS machine by server
POS machine sends payment request.
The embodiment of the present invention also proposes a kind of data transmission device accordingly, is set to data receiver, such as Fig. 5 institutes
Show, which includes:Receiving module 51, third processing module 52 and fourth processing module 53;Wherein,
Receiving module 51, for receiving WIFI frames;
Third processing module 52, for decapsulating NFC frames from the WIFI frames;
Fourth processing module 53, for obtaining NFC data from the NFC frames.
Optionally,
Receiving module 51, which is specifically used for driving by WIFI, to be received the data from radio frequency and is parsed into WIFI frames;
Third processing module 52 is driven specifically for decapsulating NFC frames from WIFI frames by WIFI drivings and being given to NFC
It is dynamic;
Fourth processing module 53, specifically for decapsulation obtains NFC data from the NFC frames by NFC drivings.
Optionally, the WIFI frames that receiving module 51 receives are WIFI data frames, and the WIFI data frame formats include WIFI
Frame head, load and frame check field.
Optionally, third processing module 52 is additionally operable to when the NFC frames decapsulated from WIFI frames are fragment, to deblocking
The NFC frame fragments of dress are assembled.
Optionally, the data receiver be mobile terminal and/or POS machine,
The NFC data that fourth processing module 53 obtains is following one or more:Payment request data, payment result number
According to, payment initialization data.
Optionally, when the data receiver is the mobile terminal in P2P patterns,
Receiving module 51, specifically for directly receiving payment request that POS machine is sent, being packaged into WIFI frames.
Optionally, when the data receiver is the mobile terminal in non-P2P patterns,
Receiving module 51, specifically for receiving payment request that POS machine is sent, being packaged into WIFI frames by server.
The embodiment of the present invention also proposes a kind of payment system accordingly, as shown in fig. 6, the system includes:POS machine 61
With mobile terminal 62, wherein
POS machine 61, for sending payment request to mobile terminal;
Mobile terminal 62, for payment result to be paid and returned according to the payment request,
Wherein, between mobile terminal 62 and POS machine 61 using the above-mentioned data transmission device for being set to data sending terminal into
Row data are sent, and data receiver is carried out using the above-mentioned data transmission device for being set to data receiver.
Optionally, POS machine 61 are additionally operable to carry out payment initialization with mobile terminal 62, after initializing successfully, eventually to movement
End 62 sends payment request.
Optionally, before POS machine carries out payment initialization with 61 mobile terminals 62,
Mobile terminal 62 is additionally operable to send to POS machine 61 and ask, the POS machine is ordered to send payment request.
Optionally, as shown in fig. 7, the system further includes commodity information server 63,
Mobile terminal 62 is additionally operable to send payment for merchandise request to commodity information server 63;
Commodity information server 63, for after the payment for merchandise request for receiving mobile terminal 62, being asked to the transmission of POS machine 61
It asks, the POS machine is ordered to send payment request.
Referring to Fig. 7, mobile terminal 62 is additionally operable to obtain merchandise news from commodity information server 63.
Technical scheme of the present invention is described in further detail with reference to specific embodiment.
Embodiment 1
The system structure of the embodiment of the present invention 1 is as shown in figure 8, the present embodiment adds WIFI on the basis of existing near field is paid
Hot spot and commodity information server, wherein WIFI hot spot provides communication for providing WIFI signal for mobile terminal and POS machine
Means.The main store commodity information of commodity information server simultaneously provides inquiry service, and commodity in use information server can make
Payment process is more convenient.
In the present embodiment, the NFC chip on mobile terminal has the function of P2P, then mobile terminal enters P2P patterns, by NFC
Mobile terminal sends out payment request.Fig. 9 is the method for payment flow diagram described in the embodiment of the present invention 1, as shown in figure 9, should
Method includes:
Step 901:NFC mobile terminal is inquired to commodity information server by WIFI and specifies merchandise news;
Step 902:Commodity information server returns to the information for specifying commodity to the NFC mobile terminal.
Step 903:Then NFC chip is placed under P2P operating modes, sending out payment to POS machine by less radio-frequency should
The request of commodity, order POS machine send out payment request.
Step 904:After POS machine receives request, payment initialization requests are sent out.Payment initialization particular content includes ginseng
Count transmission, authentication, using selection etc..
Step 905:After initializing successfully, POS machine sends out payment request.
Step 906:Mobile terminal execution pays and finally returns that payment result.
It should be noted that above-mentioned request is all made of aforementioned data transmission method or device, it is encapsulated in WIFI signal and passes
It is defeated.
Embodiment 2
The system structure of the embodiment of the present invention is referring to Fig. 8, and in the present embodiment, the NFC chip of mobile terminal only has snap gauge
Quasi- function, mobile terminal need to access commodity information server by WIFI, and branch is sent out by commodity information server order POS machine
Pay request.
Figure 10 is the method for payment flow diagram described in the embodiment of the present invention 2, and as shown in Figure 10, this method includes:
Step 1001:NFC mobile terminal is inquired to commodity information server by WIFI and specifies merchandise news;
Step 1002:Commodity information server returns to the information for specifying commodity to the NFC mobile terminal.
Step 1003:NFC mobile terminal is operated in snap gauge simulation models, and payment is sent out to commodity information server by WIFI
The request of specified commodity.
Step 1004:Commodity information server forwards this request to POS machine, and order POS machine sends out payment request.
Step 1005:After POS machine receives request, payment initialization requests are sent out.Payment initializes particular content
Parameter transmission, authentication, using selection etc..
Step 1006:After initializing successfully, POS machine sends out payment request.
Step 1007:Mobile terminal execution pays and finally returns that payment result.
It should be noted that between above-mentioned NFC mobile terminal and commodity information server, NFC mobile terminal and NFC POS
Message between machine, which is encapsulated in WIFI signal, to be transmitted.
It should be noted that current embodiment require that encapsulating and decapsulating NFC frames in WIFI data frames, it is therefore desirable to
WIFI encoding functions and WIFI decoding functions are added in NFC mobile terminal and POS machine respectively.
Embodiment 3
The encapsulation and decapsulation of NFC frames is described in the present embodiment.
NFC data follows NFC data exchange format standard (NDEF, NFC Data Exchange Format).One
NDEF message or NFC frames are made of several records (Record), and as shown in figure 11, each record format is as shown in figure 12,
Wherein, MB indicates that the record is first record in the frame, and ME indicates that the record is that the last one in the frame records, and CF is block
Mark instruction.SR indicates that payload length field is 1 byte if SR=1, is otherwise 4 bytes for short record.IL is indicated
It is Message Payload type whether to have ID length fields, TNF.
There are three types of frame types altogether by WIFI:Data frame, control frame and management frame.Wherein data frame is divided into the data for carrying data
Frame and the data frame for not carrying data.In the present embodiment, NFC frames are encapsulated in the data frame for carrying data, therefore omit other
The discussion of frame.In addition, data frame concrete form is related with latticed form, different type format is different, for simplicity, will carry
The data frame of data is reduced to general format as shown in fig. 13 that.
Since WIFI maximum load of data frame is 2312 bytes, and a NDEF record length may be far more than its maximum
Load, is responsible for assembling after transmission success according to WIFI fragment rule fragments by NFC at this time.
It is as shown in figure 14 that NFC frames are encapsulated in the structure after WIFI data frames.
As shown in figure 15, in the present embodiment, WIFI coding implementation processes may include:
NFC applications send out request;
NFC system service receives the request that application is sent out and forwards the request to NFC drivings;
Request data is packaged into NFC frames by NFC drivings, but different from the realization of existing NFC technique, and NFC drivings should not
Frame is sent to radio-frequency module, but is transmitted to WIFI drive modules;
NFC frames are packaged into WIFI frames and are sent out by WIFI chips by WIFI drive modules.
In the present embodiment, correspondingly, as shown in figure 16, WIFI decodings implementation process may include:
WIFI drivings receive the data from radio frequency and are parsed into WIFI frames;
WIFI drivings decapsulate NFC frames from WIFI data frames and are given to NFC drivings;
NFC drivings decapsulate NFC data from the NFC frames and are given to NFC system service;Divide if NFC data exists
Piece, NFC drivings are responsible for assembling fragment and verify integrality, if it is successful, being submitted to NFC system service;
The NFC data is submitted to corresponding NFC and applied by NFC system service.
The embodiment of the present invention is extended NFC payment distance using WIFI signal, can ensure existing NFC closely
It is eliminated while payment safety and closely pays the inconvenience brought.Traditional method is compared, mainly there is following advantageous effect:
It eliminates NFC and closely pays the limitation that can only be carried out in 2~20 centimetres, 2~200 meters of models can be expanded to
It encloses, to improve convenience and the flexibility of payment;
Using the WIFI network of existing widespread deployment, it is not required to redeploy network, saves network lower deployment cost;
It only needs to do software modification to NFC mobile terminal and POS machine, there is no hardware modification cost.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (28)
1. a kind of data transmission method, it is applied to data sending terminal, which is characterized in that this method includes:
It services to receive NFC using the NFC data sent out and the NFC data is transmitted to NFC by near-field communication NFC system and drive
It is dynamic;
NFC data is packaged into NFC frames by NFC drivings and is transmitted to WIFI drivings;
It is driven by WIFI and the NFC frames is packaged into WIFI frames;
Send the WIFI frames.
2. according to the method described in claim 1, it is characterized in that,
The transmission WIFI frames, including:
The WIFI frames are sent out by WIFI chips.
3. according to the method described in claim 1, it is characterized in that, the WIFI frames be WIFI data frames, the WIFI data
Frame format includes WIFI frame heads, load and frame check field.
4. according to the method described in claim 1, it is characterized in that, described be packaged into WIFI frames by NFC frames, including:
After carrying out fragment to NFC frames according to preset WIFI fragments rule, it is packaged into WIFI data frames.
5. method according to any one of claims 1 to 4, which is characterized in that the data sending terminal be mobile terminal and/
Or POS machine, the NFC data are following one or more:Payment request data, payment result data, payment initialization data.
6. according to the method described in claim 5, it is characterized in that, when the data sending terminal is the movement in P2P patterns
When terminal, the transmission WIFI frames include:Mobile terminal in P2P patterns is directly packaged into WIFI to POS machine transmission
The request of frame, the request is for ordering the POS machine to send payment request.
7. according to the method described in claim 5, it is characterized in that, when the data sending terminal is the shifting in non-P2P patterns
When dynamic terminal, the transmission WIFI frames include:
Mobile terminal in non-P2P patterns is sent to POS machine by server and is packaged into the requests of WIFI frames, described in order
POS machine sends payment request.
8. a kind of data transmission method, it is applied to data receiver, which is characterized in that this method includes:
Receive WIFI frames;
NFC frames are decapsulated from the WIFI frames by WIFI drivings and are given to NFC drivings;
It is decapsulated from the NFC frames by NFC drivings and obtains NFC data and the NFC data is passed through into NFC system service delivery
It is applied to NFC.
9. according to the method described in claim 8, it is characterized in that,
The reception WIFI frames, including:
It is driven by WIFI and receives the data from radio frequency and be parsed into WIFI frames.
10. according to the method described in claim 8, it is characterized in that, the WIFI frames be WIFI data frames, the WIFI data
Frame format includes WIFI frame heads, load and frame check field.
11. according to the method described in claim 8, it is characterized in that, when the NFC frames decapsulated from WIFI frames be fragment when,
This method further includes:The NFC frame fragments of decapsulation are assembled.
12. according to claim 8 to 11 any one of them method, which is characterized in that
The data receiver is mobile terminal and/or POS machine, and the NFC data is following one or more:Payment request number
According to, payment result data, payment initialization data.
13. according to the method for claim 12, which is characterized in that when the data receiver is the shifting in P2P patterns
When dynamic terminal, the reception WIFI frames include:Mobile terminal in P2P patterns directly receive POS machine transmission, be packaged into
The payment request of WIFI frames.
14. according to the method for claim 12, which is characterized in that when the data receiver is in non-P2P patterns
When mobile terminal, the reception WIFI frames include:
The mobile terminal in non-P2P patterns receives payment that POS machine is sent, being packaged into WIFI frames by server and asks
It asks.
15. a kind of data transmission device, is set to data sending terminal, which is characterized in that the device includes:
First processing module receives the NFC NFC datas that send out of application and will be described for being serviced by near-field communication NFC system
NFC data is packaged into NFC frames and is given to NFC drivings;
Second processing module, for the NFC frames to be packaged into WIFI frames by NFC drivings and are transmitted to WIFI drivings;
Sending module, for sending the WIFI frames.
16. device according to claim 15, which is characterized in that
The sending module sends out the WIFI frames specifically for passing through WIFI chips.
17. device according to claim 15, which is characterized in that
The WIFI frames that the Second processing module is packaged into are WIFI data frames, and the WIFI data frame formats include WIFI frames
Head, load and frame check field.
18. device according to claim 15, which is characterized in that
The Second processing module is specifically used for after carrying out fragment to NFC frames according to preset WIFI fragments rule, is packaged into
WIFI data frames.
19. according to claim 15 to 18 any one of them device, which is characterized in that the data sending terminal is mobile terminal
And/or POS machine,
The NFC data of the first processing module processing is following one or more:Payment request data, payment result data,
Pay initialization data.
20. device according to claim 19, which is characterized in that the data sending terminal is the movement in P2P patterns
When terminal,
The sending module, the request of WIFI frames is packaged into specifically for directly being sent to POS machine, and the request is used for order institute
It states POS machine and sends payment request.
21. device according to claim 19, which is characterized in that the data sending terminal is the shifting in non-P2P patterns
When dynamic terminal,
The sending module is packaged into the request of WIFI frames specifically for being sent to POS machine by server, orders the POS
Machine sends payment request.
22. a kind of data transmission device, is set to data receiver, which is characterized in that the device includes:
Receiving module, for receiving WIFI frames;
Third processing module, for decapsulating NFC frames from the WIFI frames by WIFI drivings and being given to NFC drivings;
Fourth processing module, for decapsulating acquisition NFC data from the NFC frames by NFC drivings and leading to the NFC data
NFC system service delivery is crossed to apply to NFC.
23. device according to claim 22, which is characterized in that
The receiving module, specifically for driving data of the reception from radio frequency by WIFI and being parsed into WIFI frames.
24. device according to claim 22, which is characterized in that
The WIFI frames that the receiving module receives are WIFI data frames, and the WIFI data frame formats include WIFI frame heads, load
With frame check field.
25. device according to claim 22, which is characterized in that
The third processing module is additionally operable to when the NFC frames decapsulated from WIFI frames are fragment, to the NFC frames of decapsulation
Fragment is assembled.
26. according to claim 22 to 25 any one of them device, which is characterized in that the data receiver is mobile terminal
And/or POS machine,
The NFC data that the fourth processing module obtains is following one or more:Payment request data, payment result data,
Pay initialization data.
27. device according to claim 26, which is characterized in that when the data receiver is the shifting in P2P patterns
When dynamic terminal,
The receiving module, specifically for directly receiving payment request that POS machine is sent, being packaged into WIFI frames.
28. device according to claim 26, which is characterized in that when the data receiver is in non-P2P patterns
When mobile terminal,
The receiving module, specifically for receiving payment request that POS machine is sent, being packaged into WIFI frames by server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410325877.8A CN105306104B (en) | 2014-07-09 | 2014-07-09 | a kind of data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410325877.8A CN105306104B (en) | 2014-07-09 | 2014-07-09 | a kind of data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105306104A CN105306104A (en) | 2016-02-03 |
CN105306104B true CN105306104B (en) | 2018-10-02 |
Family
ID=55202934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410325877.8A Active CN105306104B (en) | 2014-07-09 | 2014-07-09 | a kind of data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306104B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080027541A (en) * | 2006-09-25 | 2008-03-28 | 에스케이 텔레콤주식회사 | Payment servising system and controlling method using the mobile communication terminal, and mobile communication terminal and operational method for the same |
CN201348806Y (en) * | 2008-10-24 | 2009-11-18 | 宇龙计算机通信科技(深圳)有限公司 | Electronic device and multimedia player capable of being used for consumption and payment |
CN102496222A (en) * | 2011-11-29 | 2012-06-13 | 上海盛付通电子商务有限公司 | Payment command-based paying method, paying terminal and system |
CN102609840A (en) * | 2011-12-28 | 2012-07-25 | 潘铁军 | Multi-application mobile payment system |
CN102882751A (en) * | 2012-09-21 | 2013-01-16 | 鸿富锦精密工业(深圳)有限公司 | Intelligent home network system and signal conversion device thereof |
CN103687060A (en) * | 2013-11-26 | 2014-03-26 | 小米科技有限责任公司 | Terminal communication method, terminal communication device and terminals |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9195982B2 (en) * | 2010-02-04 | 2015-11-24 | Rick N. Orr | System and method for interfacing a client device with a point of sale system |
-
2014
- 2014-07-09 CN CN201410325877.8A patent/CN105306104B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080027541A (en) * | 2006-09-25 | 2008-03-28 | 에스케이 텔레콤주식회사 | Payment servising system and controlling method using the mobile communication terminal, and mobile communication terminal and operational method for the same |
CN201348806Y (en) * | 2008-10-24 | 2009-11-18 | 宇龙计算机通信科技(深圳)有限公司 | Electronic device and multimedia player capable of being used for consumption and payment |
CN102496222A (en) * | 2011-11-29 | 2012-06-13 | 上海盛付通电子商务有限公司 | Payment command-based paying method, paying terminal and system |
CN102609840A (en) * | 2011-12-28 | 2012-07-25 | 潘铁军 | Multi-application mobile payment system |
CN102882751A (en) * | 2012-09-21 | 2013-01-16 | 鸿富锦精密工业(深圳)有限公司 | Intelligent home network system and signal conversion device thereof |
CN103687060A (en) * | 2013-11-26 | 2014-03-26 | 小米科技有限责任公司 | Terminal communication method, terminal communication device and terminals |
Also Published As
Publication number | Publication date |
---|---|
CN105306104A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210174325A1 (en) | Nfc mobile payments using tokenization | |
US20200320506A1 (en) | Methods and arrangements to complete online transactions | |
EP2608577B1 (en) | Near field communication data conversion with an event-field | |
US8509741B1 (en) | System and method for mobile phone activation | |
RU2406145C2 (en) | Smart card | |
CN105472546B (en) | Near field communication method and mobile terminal | |
US20130052952A1 (en) | Near field communication transactions with short messaging service receipts | |
US20110250866A1 (en) | Conducting a mobile financial transcation using a secure element and sms | |
KR20100117639A (en) | One step near field communication transactions | |
CA2927069A1 (en) | System and method providing improved user experience in a fuel dispensing environment | |
JP2016507104A (en) | System and method for baseband near field magnetic stripe data transmitter | |
CN104217323B (en) | A kind of electric paying method at the depopulated zone scenic spot based on RDSS and NFC | |
WO2014037923A1 (en) | Vending system by means of automatic vending machines with payment by portable communication devices | |
KR20150138869A (en) | Method for processing order information, mobile terminal and server thereof | |
CN105869314A (en) | Dual-display electronic payment system and method | |
EP2620897A1 (en) | Method, device and system for displaying radio frequency identification application information | |
CN105306104B (en) | a kind of data transmission method and device | |
Huang et al. | Future personal" e-payment": IRFM | |
CN106296323A (en) | From putting forward method of calibration, system and verification terminal thereof under a kind of on-line payment line | |
CN106651366A (en) | Mobile terminal and transaction confirmation method and device thereof, and smart card | |
EP1410295A1 (en) | System and procedure for mobile electronic commerce | |
TW201207748A (en) | Point-of-sale system, wireless transmission device and data transmission method of point-of-sale system | |
US8731472B2 (en) | Portable mobile apparatus providing supplementary service for user and method thereof | |
CN205722220U (en) | Dual display electronic fare payment system | |
KR20150138868A (en) | Method for proving transaction information, server and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |