CN105306104A - Data transmission methods and devices - Google Patents

Data transmission methods and devices Download PDF

Info

Publication number
CN105306104A
CN105306104A CN201410325877.8A CN201410325877A CN105306104A CN 105306104 A CN105306104 A CN 105306104A CN 201410325877 A CN201410325877 A CN 201410325877A CN 105306104 A CN105306104 A CN 105306104A
Authority
CN
China
Prior art keywords
frame
nfc
wifi
data
request
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
Application number
CN201410325877.8A
Other languages
Chinese (zh)
Other versions
CN105306104B (en
Inventor
邓小宁
刘玮哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410325877.8A priority Critical patent/CN105306104B/en
Publication of CN105306104A publication Critical patent/CN105306104A/en
Application granted granted Critical
Publication of CN105306104B publication Critical patent/CN105306104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An embodiment of the invention discloses a data transmission method, being applied to a data transmitting end. The method comprises steps of encapsulating near field communication (NFC) data into an NFC frame; and encapsulating the NFC frame into a WIFI frame and then sending the WIFI frame out. An embodiment of the invention also discloses a data transmission method, being applied to a data receiving end. The method comprises steps of receiving the WIFI frame; decapsulating the NFC frame from the WIFI frame; and acquiring the NFC data from the NFC frame. Correspondingly, embodiments of the invention also disclose data transmission devices and a payment system. According to the technical scheme, a mobile terminal user can finish payment without getting close to a cashier desk, so that the payment distance is expanded while the payment security is guaranteed, the payment flexibility is improved, and the user experience is improved.

Description

A kind of data transmission method and device
Technical field
The present invention relates to field of data transmission, particularly relate to a kind of data transmission method and device.
Background technology
Near-field communication (NearFieldCommunication, NFC) is a kind of in-plant (2 ~ 20cm) wireless data transmission technology.In recent years, along with components and parts cost declines, related specifications is in succession ripe, and especially mobile intelligent terminal occurs in a large number, and integrated NFC technique is more and more general in the terminal.
Use the typical scene of NFC technique to be that near field pays at mobile terminal, whole payment system is made up of mobile terminal, POS and payment platform.Wherein, the POS that the mobile terminal with NFC function provides near businessman by buyer, the POS with NFC function sends by the electromagnetic wave of special frequency channel the request of payment, and NFC mobile terminal receives by NFC chip the request of payment, enters payment flow subsequently and completes payment.
Near field pays compares traditional contact card payment, while avoiding making in cash, and many merits such as also having without the need to contact, data transmission bauds is fast, mobile terminal is integrated, be not easy to wear, safe and reliable.But, even if use near field to pay, still client's POS near Cash register when paying is needed, cashier is needed to input toll amount, payment scope is less, and flexibility ratio is lower, thus under the scene that the client such as market, supermarket is more, inevitably there will be crowded situation of queuing up, affect Consumer's Experience.
Summary of the invention
In view of this, for solving the technical problem of existing existence, the embodiment of the present invention provides:
A kind of data transmission method, is applied to data sending terminal, comprises:
Near-field communication NFC data is packaged into NFC frame;
Described NFC frame is packaged into WIFI frame;
Send described WIFI frame.
Preferably, described NFC data is packaged into NFC frame, comprises:
Apply by NFC system service reception NFC the NFC data that sends and described NFC data is given to NFC and drive;
Drive described request data encapsulation to become NFC frame and be given to WIFI to drive by NFC;
Described NFC frame is packaged into WIFI frame, sends described WIFI frame, comprising:
Driven by WIFI and described NFC frame is packaged into WIFI frame and sent by WIFI chip.
Preferably, described WIFI frame is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Preferably, described NFC frame is packaged into WIFI frame, comprises:
After burst being carried out to NFC frame according to the WIFI burst rule preset, be packaged into WIFI Frame.
Preferably, described data sending terminal is mobile terminal and/or POS, and described NFC data is following one or more: pay request msg, payment result data, pay initialization data.
Preferably, when described data sending terminal is the mobile terminal being in P2P pattern, the described WIFI frame of described transmission comprises: the mobile terminal being in P2P pattern sends the request being packaged into WIFI frame directly to POS, and described request sends for ordering described POS the request of payment.
Preferably, when described data sending terminal is the mobile terminal being in non-P2P pattern, the described WIFI frame of described transmission comprises:
The mobile terminal being in non-P2P pattern sends the request being packaged into WIFI frame to POS by server, order described POS to send the request of payment.
A kind of data transmission method, is applied to data receiver, comprises:
Receive WIFI frame;
Decapsulation NFC frame from described WIFI frame;
NFC data is obtained from described NFC frame.
Preferably, described reception WIFI frame, comprising:
Drive reception from the data of radio frequency by WIFI and resolve to WIFI frame;
Described from WIFI frame decapsulation NFC frame, obtain NFC data from described NFC frame, comprising:
Drive decapsulation NFC frame from WIFI frame by WIFI and be given to NFC and drive;
Decapsulation from described NFC frame is driven to obtain NFC data by NFC.
Preferably, described WIFI frame is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Preferably, when the NFC frame of decapsulation from WIFI frame is burst, the method also comprises: assemble the NFC frame burst of decapsulation.
Preferably, described data receiver is mobile terminal and/or POS, and described NFC data is following one or more: pay request msg, payment result data, pay initialization data.
Preferably, when described data receiver is the mobile terminal being in P2P pattern, described reception WIFI frame comprises: the mobile terminal being in P2P pattern directly receives payment request that POS sends, that be packaged into WIFI frame.
Preferably, when described data receiver is the mobile terminal being in non-P2P pattern, described reception WIFI frame comprises:
The described mobile terminal being in non-P2P pattern receives payment request that POS sends, that be packaged into WIFI frame by server.
A kind of data transmission device, is arranged at data sending terminal, comprises:
First processing module, for being packaged into NFC frame by NFC data;
Second processing module, for being packaged into WIFI frame by described NFC frame;
Sending module, for sending described WIFI frame.
Preferably, described first processing module, is driven specifically for being applied the NFC data that sends by NFC system service reception NFC and described NFC data being given to NFC; Drive described request data encapsulation to become NFC frame and be given to WIFI to drive by NFC,
Described second processing module, is packaged into WIFI frame by described NFC frame specifically for being driven by WIFI and is sent by WIFI chip;
Described sending module, specifically for sending described WIFI frame by WIFI chip.
Preferably, the WIFI frame that described second processing module is packaged into is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Preferably, described second processing module, is packaged into WIFI Frame after carrying out burst according to the WIFI burst rule preset to NFC frame
Preferably, described data sending terminal is mobile terminal and/or POS,
The NFC data of described first processing module process is following one or more: pay request msg, payment result data, pay initialization data.
Preferably, when described data sending terminal is the mobile terminal being in P2P pattern,
Described sending module, specifically for sending the request being packaged into WIFI frame directly to POS, described request sends for ordering described POS the request of payment.
Preferably, when described data sending terminal is the mobile terminal being in non-P2P pattern,
Described sending module, specifically for being sent the request being packaged into WIFI frame to POS by server, orders described POS to send the request of payment.
A kind of data transmission device, is arranged at data receiver, comprises:
Receiver module, for receiving WIFI frame;
3rd processing module, for decapsulation NFC frame from described WIFI frame;
4th processing module, for obtaining NFC data from described NFC frame.
Preferably, described receiver module, specifically for driving reception from the data of radio frequency by WIFI and resolving to WIFI frame;
Described 3rd processing module, drives specifically for driving decapsulation NFC frame from WIFI frame by WIFI and being given to NFC;
Described 4th processing module, obtains NFC data specifically for being driven decapsulation from described NFC frame by NFC.
Preferably, the WIFI frame that described receiver module receives is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Preferably, described 3rd processing module, also for when the NFC frame of decapsulation from WIFI frame is burst, assembles the NFC frame burst of decapsulation.
Preferably, described data receiver is mobile terminal and/or POS,
The NFC data that described 4th processing module obtains is following one or more: pay request msg, payment result data, pay initialization data.
Preferably, when described data receiver is the mobile terminal being in P2P pattern,
Described receiver module, specifically for directly receiving payment request that POS sends, that be packaged into WIFI frame.
Preferably, when described data receiver is the mobile terminal being in non-P2P pattern,
Described receiver module, specifically for receiving payment request that POS sends, that be packaged into WIFI frame by server.
Data transmission method described in the embodiment of the present invention and device, in same data sending terminal, as in same mobile terminal, be packaged into NFC frame by NFC data; Described NFC frame is packaged into WIFI frame and sends.By the technical scheme described in the embodiment of the present invention, NFC data directly can be converted to WIFI frame data by data sending terminal, and then send by means of WIFI network, WIFI network coverage is larger, data sending terminal such as mobile phone users does not need can complete payment near cashier, extend payment distance in guarantee fail safe simultaneously, improve the flexibility of payment, and then improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is a kind of data transmission method schematic flow sheet of the embodiment of the present invention;
Fig. 2 is a kind of data transmission method schematic flow sheet of the embodiment of the present invention;
Fig. 3 is a kind of method of payment schematic flow sheet of the embodiment of the present invention;
Fig. 4 is a kind of data transmission device structural representation of the embodiment of the present invention;
Fig. 5 is a kind of data transmission device structural representation of the embodiment of the present invention;
Fig. 6 is a kind of payment system structural representation of the embodiment of the present invention;
Fig. 7 is a kind of payment system structural representation of the embodiment of the present invention;
Fig. 8 is the system configuration schematic diagram of the embodiment of the present invention 1;
Fig. 9 is the method for payment schematic flow sheet described in the embodiment of the present invention 1;
Figure 10 is the method for payment schematic flow sheet described in the embodiment of the present invention 2;
Figure 11 is NFCNDEF message composition schematic diagram 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 encapsulated in the structural representation after WIFI Frame for NFC frame described in the embodiment of the present invention 3;
Figure 15 is WIFI coding realization flow schematic diagram described in the embodiment of the present invention 3;
Figure 16 is WIFI decoding realization flow schematic diagram described in the embodiment of the present invention 3.
Embodiment
The embodiment of the present invention proposes a kind of data transmission method, is applied to data sending terminal, and as shown in Figure 1, the method comprises:
Step 101: near-field communication NFC data is packaged into NFC frame;
Step 102: described NFC frame is packaged into WIFI frame;
Step 103: send described WIFI frame.
Optionally, described NFC data is packaged into NFC frame, comprises:
Apply by NFC system service reception NFC the NFC data that sends and described NFC data is given to NFC and drive;
Drive described request data encapsulation to become NFC frame and be given to WIFI to drive by NFC;
Described NFC frame is packaged into WIFI frame, sends described WIFI frame, comprising:
Driven by WIFI and described NFC frame is packaged into WIFI frame and sent by WIFI chip.
Optionally, described WIFI frame is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Optionally, described NFC frame is packaged into WIFI frame, comprises:
After burst being carried out to NFC frame according to the WIFI burst rule preset, be packaged into WIFI Frame.
Described data sending terminal is mobile terminal and/or POS, and described NFC data is following one or more: pay request msg, payment result data, pay initialization data.
Optionally, when described data sending terminal is the mobile terminal being in P2P pattern, the described WIFI frame of described transmission comprises: the mobile terminal being in P2P pattern sends the request being packaged into WIFI frame directly to POS, and described request sends for ordering described POS the request of payment.
Optionally, when described data sending terminal is the mobile terminal being in non-P2P pattern, the described WIFI frame of described transmission comprises:
The mobile terminal being in non-P2P pattern sends the request being packaged into WIFI frame to POS by server, order described POS to send the request of payment.
The embodiment of the present invention also proposed a kind of data transmission method, is applied to data receiver, and as shown in Figure 2, the method comprises:
Step 201: receive WIFI frame;
Step 202: decapsulation NFC frame from described WIFI frame;
Step 203: obtain NFC data from described NFC frame.
Optionally, described reception WIFI frame, comprising:
Drive reception from the data of radio frequency by WIFI and resolve to WIFI frame;
Described from WIFI frame decapsulation NFC frame, obtain NFC data from described NFC frame, comprising:
Drive decapsulation NFC frame from WIFI frame by WIFI and be given to NFC and drive;
Decapsulation from described NFC frame is driven to obtain NFC data by NFC.
Optionally, described WIFI frame is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Optionally, when the NFC frame of decapsulation from WIFI frame is burst, the method also comprises: assemble the NFC frame burst of decapsulation.
Optionally, described data receiver is mobile terminal and/or POS, and described NFC data is following one or more: pay request msg, payment result data, pay initialization data.
Optionally, when described data receiver is the mobile terminal being in P2P pattern, described reception WIFI frame comprises: the mobile terminal being in P2P pattern directly receives payment request that POS sends, that be packaged into WIFI frame.
Optionally, when described data receiver is the mobile terminal being in non-P2P pattern, described reception WIFI frame comprises:
The described mobile terminal being in non-P2P pattern receives payment request that POS sends, that be packaged into WIFI frame by server.
The embodiment of the present invention also proposed a kind of method of payment, and as shown in Figure 3, the method comprises:
Step 301: point of sales terminal POS sends to mobile terminal the request of payment;
Step 302: described mobile terminal carries out paying and returning payment result according to described payment request,
Wherein, between described mobile terminal and described POS, adopt the above-mentioned method being applied to data sending terminal to carry out data transmission, adopt the above-mentioned method being applied to data receiver to carry out data receiver.
Optionally, the method also comprises:
Described POS and described mobile terminal carry out payment initialization, and after initialization success, described POS sends to described mobile terminal the request of payment.
It should be noted that, in practical application, the NFC chip on mobile terminal has P2P function, then mobile terminal enters P2P pattern, sends by NFC mobile terminal the request of payment.If the NFC chip of mobile terminal only has card analog functuion, then require that mobile terminal accesses commodity information server by WIFI, send by this server command POS the request of payment.
Optionally, before described POS and mobile terminal carry out payment initialization, the method also comprises:
Mobile terminal sends request to POS, orders described POS to send the request of payment.
Optionally, before described POS and mobile terminal carry out payment initialization, the method also comprises:
Mobile terminal sends payment for merchandise request to commodity information server;
Described commodity information server sends request to POS, orders described POS to send the request of payment.
Optionally, the method also comprises:
Described 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 arranged at data sending terminal, and as shown in Figure 4, this device comprises: the first processing module 41, second processing module 42 and sending module 43; Wherein,
First processing module 41, for being packaged into NFC frame by NFC data;
Second processing module 42, for being packaged into WIFI frame by described NFC frame;
Sending module 43, for sending described WIFI frame.
Optionally, the first processing module 41, is driven specifically for being applied the NFC data that sends by NFC system service reception NFC and described NFC data being given to NFC; Drive described request data encapsulation to become NFC frame and be given to WIFI to drive by NFC
Second processing module 42, is packaged into WIFI frame specifically for being driven by WIFI by described NFC frame;
Sending module 43, specifically for sending described WIFI frame by WIFI chip.
Optionally, the WIFI frame that the second processing module 42 is packaged into is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Optionally, the second processing module 42, after carrying out burst according to the WIFI burst rule preset to NFC frame, is packaged into WIFI Frame.
Optionally, described data sending terminal is mobile terminal and/or POS,
The NFC data that described first processing module 41 processes is following one or more: pay request msg, payment result data, pay initialization data.
Optionally, when data sending terminal is the mobile terminal being in P2P pattern,
Sending module 43, specifically for sending the request being packaged into WIFI frame directly to POS, described request sends for ordering described POS the request of payment.
Optionally, when described data sending terminal is the mobile terminal being in non-P2P pattern,
Sending module 43, specifically for being sent the request being packaged into WIFI frame to POS by server, orders described POS to send the request of payment.
The embodiment of the present invention also proposes a kind of data transmission device accordingly, is arranged at data receiver, and as shown in Figure 5, this device comprises: receiver module 51, the 3rd processing module 52 and the 4th processing module 53; Wherein,
Receiver module 51, for receiving WIFI frame;
3rd processing module 52, for decapsulation NFC frame from described WIFI frame;
4th processing module 53, for obtaining NFC data from described NFC frame.
Optionally,
Receiver module 51 is specifically for driving reception from the data of radio frequency by WIFI and resolving to WIFI frame;
3rd processing module 52, drives specifically for driving decapsulation NFC frame from WIFI frame by WIFI and being given to NFC;
4th processing module 53, obtains NFC data specifically for being driven decapsulation from described NFC frame by NFC.
Optionally, the WIFI frame that receiver module 51 receives is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
Optionally, the 3rd processing module 52, also for when the NFC frame of decapsulation from WIFI frame is burst, assembles the NFC frame burst of decapsulation.
Optionally, described data receiver is mobile terminal and/or POS,
The NFC data that 4th processing module 53 obtains is following one or more: pay request msg, payment result data, pay initialization data.
Optionally, when described data receiver is the mobile terminal being in P2P pattern,
Receiver module 51, specifically for directly receiving payment request that POS sends, that be packaged into WIFI frame.
Optionally, when described data receiver is the mobile terminal being in non-P2P pattern,
Receiver module 51, specifically for receiving payment request that POS sends, that be packaged into WIFI frame by server.
The embodiment of the present invention also proposes a kind of payment system accordingly, and as shown in Figure 6, this system comprises: POS 61 and mobile terminal 62, wherein,
POS 61, for sending to mobile terminal the request of payment;
Mobile terminal 62, for carrying out paying and returning payment result according to described payment request,
Wherein, between mobile terminal 62 and POS 61, adopt the above-mentioned data transmission device being arranged at data sending terminal to carry out data transmission, adopt the above-mentioned data transmission device being arranged at data receiver to carry out data receiver.
Optionally, POS 61, also for carrying out payment initialization with mobile terminal 62, after initialization success, sends to mobile terminal 62 request of payment.
Optionally, before POS and 61 mobile terminals 62 carry out payment initialization,
Mobile terminal 62, also for sending request to POS 61, orders described POS to send the request of payment.
Optionally, as shown in Figure 7, this system also comprises commodity information server 63,
Mobile terminal 62, also for sending payment for merchandise request to commodity information server 63;
Commodity information server 63, for after the payment for merchandise request receiving mobile terminal 62, sends request to POS 61, orders described POS to send the request of payment.
See Fig. 7, mobile terminal 62, also for obtaining merchandise news from commodity information server 63.
Below in conjunction with specific embodiment, technical scheme of the present invention is described in further detail.
Embodiment 1
As shown in Figure 8, the present embodiment adds WIFI hot spot and commodity information server to the system configuration of the embodiment of the present invention 1 on payment basis, existing near field, and wherein, WIFI hot spot is used for providing WIFI signal, for mobile terminal and POS provide means of communication.The main store commodity information of commodity information server also provides inquiry service, and commodity in use information server can make payment process more convenient.
In the present embodiment, the NFC chip on mobile terminal has P2P function, then mobile terminal enters P2P pattern, sends by NFC mobile terminal the request of payment.Fig. 9 is the method for payment schematic flow sheet described in the embodiment of the present invention 1, and as shown in Figure 9, the method comprises:
Step 901:NFC mobile terminal specifies merchandise news by WIFI to commodity information server inquiry;
Step 902: commodity information server returns the information of specifying commodity to described NFC mobile terminal.
Step 903: under then NFC chip being placed in P2P mode of operation, sends the request paying these commodity to POS by less radio-frequency, order POS sends the request of payment.
After step 904:POS machine receives request, send payment initialization request.Pay initialization particular content and comprise Parameter transfer, authentication, application choice etc.
Step 905: after initialization success, POS sends the request of payment.
Step 906: mobile terminal performs and pays and finally return payment result.
It should be noted that, above-mentioned request all adopts aforementioned data transmission method or device, is encapsulated in WIFI signal and transmits.
Embodiment 2
The system configuration of the embodiment of the present invention is see Fig. 8, and in the present embodiment, the NFC chip of mobile terminal only has card analog functuion, and mobile terminal needs to access commodity information server by WIFI, sends by commodity information server order POS the request of payment.
Figure 10 is the method for payment schematic flow sheet described in the embodiment of the present invention 2, and as shown in Figure 10, the method comprises:
Step 1001:NFC mobile terminal specifies merchandise news by WIFI to commodity information server inquiry;
Step 1002: commodity information server returns the information of specifying commodity to described NFC mobile terminal.
Step 1003:NFC mobile terminal is operated in snap gauge simulation models, is sent the request paying and specify commodity by WIFI to commodity information server.
Step 1004: commodity information server is by this request forward to POS, and order POS sends the request of payment.
After step 1005:POS machine receives request, send payment initialization request.Pay initialization particular content and comprise Parameter transfer, authentication, application choice etc.
Step 1006: after initialization success, POS sends the request of payment.
Step 1007: mobile terminal performs and pays and finally return payment result.
It should be noted that, the message between above-mentioned NFC mobile terminal and commodity information server, between NFC mobile terminal and NFCPOS machine is all encapsulated in WIFI signal to be transmitted.
Needs illustrate, the present embodiment needs NFC frame to encapsulate and decapsulation in WIFI Frame, therefore needs in NFC mobile terminal and POS, add WIFI encoding function and WIFI decoding function respectively.
Embodiment 3
The present embodiment is described the encapsulation of NFC frame and decapsulation.
NFC data follows NFC data DIF standard (NDEF, NFCDataExchangeFormat).A NDEF message or NFC frame, be made up of several records (Record), as shown in figure 11, as shown in figure 12, wherein, MB indicates this record to be first record in this frame to each record format, ME indicates this record to be last record in this frame, and CF is block identification instruction.SR is short record instruction, if SR=1, payload length field is 1 byte, otherwise is 4 bytes.IL indicates whether there is ID length field, and TNF is Message Payload type.
WIFI has three kinds of frame types: Frame, control frame and management frames.Wherein Frame is divided into the Frame carrying data and the Frame not carrying data.In the present embodiment, NFC frame is encapsulated in and carries in the Frame of data, therefore omits the discussion of other frames.In addition, Frame concrete form is relevant with latticed form, and dissimilar form is different, for simplicity, the Frame carrying data is reduced to general format as shown in fig. 13 that.
Because WIFI maximum load of data frame is 2312 bytes, and a NDEF record length far may exceed its maximum load, now according to WIFI burst rule burst, after transmission success, is responsible for assembling by NFC.
NFC frame is encapsulated in the structure after WIFI Frame as shown in figure 14.
As shown in figure 15, in the present embodiment, WIFI coding realization flow can comprise:
NFC application sends request;
NFC system service reception is applied the request that sends and request is given to NFC and drives;
NFC drives and request msg is packaged into NFC frame, but realizes different from existing NFC technique, and NFC drives and this frame do not mail to radio-frequency module, but is transmitted to WIFI driver module;
NFC frame is packaged into WIFI frame and is sent by WIFI chip by WIFI driver module.
In the present embodiment, accordingly, as shown in figure 16, WIFI decoding realization flow can comprise:
WIFI drives reception from the data of radio frequency and resolves to WIFI frame;
WIFI drives decapsulation NFC frame from WIFI Frame and is given to NFC and drives;
NFC drives decapsulation NFC data from described NFC frame and is given to NFC system service; If NFC data exists burst, NFC drives and is responsible for assembling burst and verifies integrality, if success, is submitted to NFC system service;
Described NFC data is submitted to corresponding NFC and applies by NFC system service.
The embodiment of the present invention uses WIFI signal to expand NFC payment distance, can eliminate and closely pay the inconvenience brought while the existing NFC of guarantee closely payment safety.Contrast traditional method, mainly contain following beneficial effect:
Eliminate NFC and closely pay the restriction can only carried out in 2 ~ 20 centimetres, 2 ~ 200 meters of scopes can be expanded to, thus improve convenience and the flexibility of payment;
Utilize the WIFI network of existing widespread deployment, do not need to redeploy network, save network design cost;
Only need to do software modification to NFC mobile terminal and POS, there is no hardware modification cost.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (28)

1. a data transmission method, is applied to data sending terminal, it is characterized in that, the method comprises:
Near-field communication NFC data is packaged into NFC frame;
Described NFC frame is packaged into WIFI frame;
Send described WIFI frame.
2. method according to claim 1, is characterized in that,
Described NFC data is packaged into NFC frame, comprises:
Apply by NFC system service reception NFC the NFC data that sends and described NFC data is given to NFC and drive;
Drive described request data encapsulation to become NFC frame and be given to WIFI to drive by NFC;
Described NFC frame is packaged into WIFI frame, sends described WIFI frame, comprising:
Driven by WIFI and described NFC frame is packaged into WIFI frame and sent by WIFI chip.
3. method according to claim 1, is characterized in that, described WIFI frame is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
4. method according to claim 1, is characterized in that, described NFC frame is packaged into WIFI frame, comprising:
After burst being carried out to NFC frame according to the WIFI burst rule preset, be packaged into WIFI Frame.
5. the method according to any one of Claims 1-4, is characterized in that, described data sending terminal is mobile terminal and/or POS, and described NFC data is following one or more: pay request msg, payment result data, pay initialization data.
6. method according to claim 5, it is characterized in that, when described data sending terminal is the mobile terminal being in P2P pattern, the described WIFI frame of described transmission comprises: the mobile terminal being in P2P pattern sends the request being packaged into WIFI frame directly to POS, and described request sends for ordering described POS the request of payment.
7. method according to claim 5, is characterized in that, when described data sending terminal is the mobile terminal being in non-P2P pattern, the described WIFI frame of described transmission comprises:
The mobile terminal being in non-P2P pattern sends the request being packaged into WIFI frame to POS by server, order described POS to send the request of payment.
8. a data transmission method, is applied to data receiver, it is characterized in that, the method comprises:
Receive WIFI frame;
Decapsulation NFC frame from described WIFI frame;
NFC data is obtained from described NFC frame.
9. method according to claim 8, is characterized in that,
Described reception WIFI frame, comprising:
Drive reception from the data of radio frequency by WIFI and resolve to WIFI frame;
Described from WIFI frame decapsulation NFC frame, obtain NFC data from described NFC frame, comprising:
Drive decapsulation NFC frame from WIFI frame by WIFI and be given to NFC and drive;
Decapsulation from described NFC frame is driven to obtain NFC data by NFC.
10. method according to claim 8, is characterized in that, described WIFI frame is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
11. methods according to claim 8, is characterized in that, when the NFC frame of decapsulation from WIFI frame is burst, the method also comprises: assemble the NFC frame burst of decapsulation.
Method described in 12. any one of according to Claim 8 to 11, is characterized in that,
Described data receiver is mobile terminal and/or POS, and described NFC data is following one or more: pay request msg, payment result data, pay initialization data.
13. methods according to claim 12, it is characterized in that, when described data receiver is the mobile terminal being in P2P pattern, described reception WIFI frame comprises: the mobile terminal being in P2P pattern directly receives payment request that POS sends, that be packaged into WIFI frame.
14. methods according to claim 12, is characterized in that, when described data receiver is the mobile terminal being in non-P2P pattern, described reception WIFI frame comprises:
The described mobile terminal being in non-P2P pattern receives payment request that POS sends, that be packaged into WIFI frame by server.
15. 1 kinds of data transmission devices, are arranged at data sending terminal, it is characterized in that, this device comprises:
First processing module, for being packaged into NFC frame by NFC data;
Second processing module, for being packaged into WIFI frame by described NFC frame;
Sending module, for sending described WIFI frame.
16. devices according to claim 15, is characterized in that,
Described first processing module, is driven specifically for being applied the NFC data that sends by NFC system service reception NFC and described NFC data being given to NFC; Drive described request data encapsulation to become NFC frame and be given to WIFI to drive by NFC,
Described second processing module, is packaged into WIFI frame specifically for being driven by WIFI by described NFC frame;
Described sending module, specifically for sending described WIFI frame by WIFI chip.
17. devices according to claim 15, is characterized in that,
The WIFI frame that described second processing module is packaged into is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
18. devices according to claim 15, is characterized in that,
Described second processing module, after carrying out burst according to the WIFI burst rule preset to NFC frame, is packaged into WIFI Frame.
19., according to claim 15 to the device described in 18 any one, is characterized in that, described data sending terminal is mobile terminal and/or POS,
The NFC data of described first processing module process is following one or more: pay request msg, payment result data, pay initialization data.
20. devices according to claim 19, is characterized in that, when described data sending terminal is the mobile terminal being in P2P pattern,
Described sending module, specifically for sending the request being packaged into WIFI frame directly to POS, described request sends for ordering described POS the request of payment.
21. devices according to claim 19, is characterized in that, when described data sending terminal is the mobile terminal being in non-P2P pattern,
Described sending module, specifically for being sent the request being packaged into WIFI frame to POS by server, orders described POS to send the request of payment.
22. 1 kinds of data transmission devices, are arranged at data receiver, it is characterized in that, this device comprises:
Receiver module, for receiving WIFI frame;
3rd processing module, for decapsulation NFC frame from described WIFI frame;
4th processing module, for obtaining NFC data from described NFC frame.
23. devices according to claim 22, is characterized in that,
Described receiver module, specifically for driving reception from the data of radio frequency by WIFI and resolving to WIFI frame;
Described 3rd processing module, drives specifically for driving decapsulation NFC frame from WIFI frame by WIFI and being given to NFC;
Described 4th processing module, obtains NFC data specifically for being driven decapsulation from described NFC frame by NFC.
24. devices according to claim 22, is characterized in that,
The WIFI frame that described receiver module receives is WIFI Frame, and described WIFI data frame format comprises WIFI frame head, load and frame check field.
25. devices according to claim 22, is characterized in that,
Described 3rd processing module, also for when the NFC frame of decapsulation from WIFI frame is burst, assembles the NFC frame burst of decapsulation.
26. devices according to any one of claim 22 to 25, it is characterized in that, described data receiver is mobile terminal and/or POS,
The NFC data that described 4th processing module obtains is following one or more: pay request msg, payment result data, pay initialization data.
27. devices according to claim 26, is characterized in that, when described data receiver is the mobile terminal being in P2P pattern,
Described receiver module, specifically for directly receiving payment request that POS sends, that be packaged into WIFI frame.
28. devices according to claim 26, is characterized in that, when described data receiver is the mobile terminal being in non-P2P pattern,
Described receiver module, specifically for receiving payment request that POS sends, that be packaged into WIFI frame by server.
CN201410325877.8A 2014-07-09 2014-07-09 a kind of data transmission method and device Active CN105306104B (en)

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 true CN105306104A (en) 2016-02-03
CN105306104B 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 (7)

* Cited by examiner, † Cited by third party
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
US20110191196A1 (en) * 2010-02-04 2011-08-04 Orr Rick N System for Interfacing a Client Device with a Point of Sale System
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
US20110191196A1 (en) * 2010-02-04 2011-08-04 Orr Rick N System for Interfacing a Client Device with a Point of Sale System
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
CN105306104B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
EP2704517B1 (en) Mobile terminal application parameter configuration method, related device and system
US10970951B2 (en) Data management method, apparatus, device, system and storage medium for smart lock
US9344154B2 (en) Near field communication system in a local network
CN111130957A (en) Network distribution method and device for household electrical appliance equipment
US10708744B2 (en) NFC-based communication method and apparatus
CN108141759A (en) Machine type communication is established using shared SIM parameters
EP3089484A1 (en) Device for alternately broadcasting different low-energy beacons as configured by a remote server
CN105246126A (en) Intelligent equipment access method, device and system
EP3058792B1 (en) Wireless protocol message conversion method and corresponding device
CN101800987B (en) Intelligent card authentication device and method
CN105101153A (en) Data roaming method, device and system
CN103987129A (en) Information push method, apparatus and system
CN204650557U (en) A kind of displaying induction type information service system based on NFC electronic tag
CN101795403A (en) Video transmission method and system
US9252843B2 (en) Method and apparatus for data transmission
Pulipati et al. Comparison of various short range wireless communication technologies with nfc
US20150110119A1 (en) Virtual gateway for machine to machine capillary network
CN105306104A (en) Data transmission methods and devices
CN106295731A (en) A kind of vicarious information transmission system based on intelligent communication terminal and method
KR101803972B1 (en) Apparatus having Universal Integrated Circuit card and File registration Method and Peer-to-Peer Transmission Method using the same
CN103378877B (en) A kind of method and device realizing near-field communication terminal full duplex point-to-point communication
KR101822457B1 (en) System and method for servicing payment using pos gateway identifier
EP2388731A1 (en) Method and system for communicating information originating from a contact-less communicating device and a contact-less communicating device
Xiong Research on nfc and simpass based application
KR20120017655A (en) System and method for local wireless communication service based on smartcard

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