CN104469656B - Data transmission method based on NFC and system - Google Patents

Data transmission method based on NFC and system Download PDF

Info

Publication number
CN104469656B
CN104469656B CN201410430731.XA CN201410430731A CN104469656B CN 104469656 B CN104469656 B CN 104469656B CN 201410430731 A CN201410430731 A CN 201410430731A CN 104469656 B CN104469656 B CN 104469656B
Authority
CN
China
Prior art keywords
nfc
mode
local terminal
opposite end
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410430731.XA
Other languages
Chinese (zh)
Other versions
CN104469656A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201410430731.XA priority Critical patent/CN104469656B/en
Publication of CN104469656A publication Critical patent/CN104469656A/en
Application granted granted Critical
Publication of CN104469656B publication Critical patent/CN104469656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for field of communication technology, provides a kind of data transmission method based on NFC, including step has:Local terminal mode decision step sets the operating mode of the local terminal to aggressive mode if the current interface of local terminal is the transmission interfaces NFC;The operating mode of the opposite end is determined as Passive Mode by opposite end mode decision step if the first radiofrequency field of the second radiofrequency field and the local terminal that opposite end is not detected changes;The NFC data of the local terminal is sent to the opposite end by NFC data forwarding step.Correspondingly, the present invention also provides a kind of data transmission systems based on NFC.Whereby, the present invention can be automatically performed the transmission of the Point-to-Point Data of NFC communication terminal, be manually operated without user.

Description

Data transmission method based on NFC and system
Technical field
The present invention relates to field of communication technology more particularly to a kind of data transmission methods and system based on NFC.
Background technology
NFC (Near Field Communication, near-field communication) is a kind of short-range high frequency wireless communication technology, Allow to carry out closely (such as in 10 centimetres) wireless communication between electronic devices, can directly exchange information, in access Hold etc..NFC communication terminal refers to the communication terminals such as the mobile phone with NFC module, and NFC communication terminal mainly applies mould by three kinds Formula, is mode card, P2P (Peer to Peer, point-to-point) pattern, card reader pattern respectively, these three operating modes are suitable for Different application scenarios.When existing user is carried out data transmission using the P2P transfer functions of NFC communication terminal, needed first by two A NFC communication terminal is placed back-to-back, and the screen of NFC communication terminal reduces instruction user and clicks, and user clicks the screen reduced The transmission of data can be completed afterwards, this process usually needs both hands co-operation that could complete, and is even more for large-size screen monitors communication terminal In this way, being not easy to very much user's operation.
In summary, the existing technology has inconveniences and defects in actual use, so it is necessary to be improved.
Invention content
For above-mentioned defect, the purpose of the present invention is to provide a kind of data transmission method and system based on NFC, It can be automatically performed the transmission of the Point-to-Point Data of NFC communication terminal, be manually operated without user.
To achieve the goals above, the present invention provides a kind of data transmission method based on NFC, including step has:
Local terminal mode decision step, if the current interface of local terminal is the transmission interfaces NFC, by the operating mode of the local terminal It is set as aggressive mode;
Opposite end mode decision step, if the first radiofrequency field that the second radiofrequency field of opposite end and the local terminal is not detected occurs When variation, the operating mode of the opposite end is determined as Passive Mode;
The NFC data of the local terminal is sent to the opposite end by NFC data forwarding step.
Data transmission method according to the present invention, the local terminal mode decision step further comprise:
Judge that the current interface of the local terminal whether there is the NFC data to be sent;
If the current interface there are the NFC data, judges that the current interface is that the NFC transmits interface, no Then judge that the current interface is that non-NFC transmits interface;
If the current interface, which is the NFC, transmits interface, it sets the operating mode of the local terminal to the active mould Formula;
If the current interface, which is the non-NFC, transmits interface, the operating mode of the local terminal is set as described passive Pattern.
Data transmission method according to the present invention, the opposite end mode decision step further comprise:
When the local terminal is when being operated under the aggressive mode, second radio frequency there are the opposite end is detected whether ;
If detecting second radiofrequency field, the operating mode of the opposite end is determined as the aggressive mode;
If second radiofrequency field is not detected, judge first radiofrequency field of the local terminal modulated signal whether It changes;
If the modulated signal of first radiofrequency field changes, it is described passive that the operating mode of the opposite end is determined as Pattern.
Data transmission method according to the present invention, the operating mode by the opposite end are determined as the active mould Include after the step of formula:
Execute traditional NFC data transfer process.
Data transmission method according to the present invention, the aggressive mode refer to that communication terminal actively generates radiofrequency field Realize contactless communication;The Passive Mode refers to that communication terminal does not generate radiofrequency field, but carrys out reality by loading modulation system Existing contactless communication.
The present invention also provides a kind of data transmission systems based on NFC, include:
Local terminal mode decision module is used for if the current interface of local terminal is the transmission interfaces NFC by the work of the local terminal Mode setting is aggressive mode;
Opposite end mode decision module, if the first radiofrequency field that the second radiofrequency field of opposite end and the local terminal is not detected occurs When variation, for the operating mode of the opposite end to be determined as Passive Mode;
NFC data sending module, for the NFC data of the local terminal to be sent to the opposite end.
Data transmission system according to the present invention, the local terminal mode decision module further comprise:
Data judging submodule, for judging that the current interface of the local terminal whether there is the NFC to be sent Data;
Interface judging submodule, if the current interface there are when the NFC data, for judging that the current interface is The NFC transmits interface, otherwise judges that the current interface is that non-NFC transmits interface;
First mode determination sub-module is used for if the current interface is the transmission interfaces the NFC by the local terminal Operating mode is set as the aggressive mode;
Second mode determination sub-module is used for if the current interface is the non-NFC transmission interface by the local terminal Operating mode be set as the Passive Mode.
Data transmission system according to the present invention, the opposite end mode decision module further comprise:
First detection sub-module, for when the local terminal is when being operated under the aggressive mode, detecting whether that there are institutes State second radiofrequency field of opposite end;
If the third mode determination sub-module is used for detect second radiofrequency field by the operating mode of the opposite end It is determined as the aggressive mode;
Second detection sub-module, if second radiofrequency field is not detected, described first for detecting the local terminal Whether the modulated signal of radiofrequency field changes;
Fourth mode determination sub-module, if the modulated signal of first radiofrequency field changes, being used for will be described right The operating mode at end is determined as the Passive Mode.
Data transmission system according to the present invention, when second detection sub-module is by the operating mode of the opposite end After being determined as the aggressive mode, traditional NFC data transfer process is executed.
Data transmission system according to the present invention, the aggressive mode refer to that communication terminal actively generates radiofrequency field Realize contactless communication;The Passive Mode refers to that communication terminal does not generate radiofrequency field, but carrys out reality by loading modulation system Existing contactless communication.
The present invention establishes automatic designated terminal operating mode in NFC connection procedures in two NFC communication terminals, if local terminal Current interface be NFC transmit interface, then by local terminal be set as aggressive mode and as send terminal;If opposite end is not detected at this time Radiofrequency field and the radiofrequency field of local terminal change, then opposite end is determined as Passive Mode and as receiving terminal;Send terminal Terminal, which is received, from trend sends NFC data.Whereby, the present invention can be automatically performed the hair of the Point-to-Point Data of NFC communication terminal It send, is manually operated without user, user experience is also increased while user-friendly.
Description of the drawings
Fig. 1 is the structural schematic diagram of the data transmission system the present invention is based on NFC;
Fig. 2 is the structural schematic diagram for the data transmission system that the present invention is preferably based on NFC;
Fig. 3 is the flow chart of the data transmission method the present invention is based on NFC;
Fig. 4 is the flow chart for the data transmission method that the present invention is preferably based on NFC.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the structural schematic diagram of the data transmission system the present invention is based on NFC, and the data transmission system 100 can answer It is whole for the our NFC communication such as mobile phone, PDA (Personal Digital Assistant, personal digital assistant), tablet computer In end (herein be referred to as local terminal), and the data transmission system 100 includes at least local terminal mode decision module 10, opposite end Mode decision module 20 and NFC data sending module 30, wherein:
The local terminal mode decision module 10, the operating mode of local terminal is determined according to the current interface information of local terminal, if When the current interface of local terminal is that NFC transmits interface, it sets the operating mode of local terminal to aggressive mode, work is in the active mode Local terminal can constantly send out radiofrequency field, with send NFC connections establish request.The aggressive mode refers to communication terminal master Movable property gives birth to radiofrequency field to realize contactless communication.Radio frequency is exactly radio-frequency current, it is a kind of letter of high-frequency ac variation electromagnetic wave Claim, electric field is exactly radiofrequency field caused by this high-frequency ac variation electromagnetic wave.NFC transmission interface refers to transmittable NFC numbers According to application interface, such as browser interface, contact person interface etc.;Non- NFC transmission interface refers to the application circle that cannot send NFC data Face, such as desk interface, locking screen interface etc..
The opposite end mode decision module 20, if the of other side's NFC communication terminal (herein be referred to as opposite end) is not detected When first radiofrequency field of two radiofrequency fields and local terminal changes, the operating mode of opposite end is determined as Passive Mode.It is described passive Pattern refers to that communication terminal does not generate radiofrequency field, but realizes contactless communication by loading modulation system.Load is modulated The method to reader transmission data that electronic tag is commonly used.Load modulation is joined by the electricity to electronic tag oscillation circuit Number is adjusted according to the beat of data flow, and the size of electronic tag impedance and phase is made to change correspondingly, to complete modulation Process.The opposite end mode decision module 20 is used to determine the Working mould of opposite end by detecting the Non-contact radio-frequency field of opposite end Formula;When detecting the second radiofrequency field of opposite end, opposite end work is just thought in the active mode;When being not detected the second of opposite end When the modulated signal of first radiofrequency field of radiofrequency field and discovery local terminal changes, then it is assumed that opposite end works in the passive mode. The modulated signal, which changes, to be made by opposite end by loading the response of NFC connection foundation request of the modulation system to local terminal At.
The NFC data sending module 30, for the NFC data of local terminal to be sent to opposite end.Preferably, according to local terminal With the operating mode of the NFC Point-to-Point Data Transmissions residing for opposite end terminal and reception terminal are sent to determine.It would operate in actively The local terminal of pattern is identified as sending terminal, for actively sending NFC data;The opposite end that would operate in Passive Mode is identified as receiving Terminal, for etc. data to be received.When transmission terminal detects that the modulated signal of the first radiofrequency field of oneself changes, i.e., Receive the response that terminal establishes request by loading modulation system to sending terminal connection, send terminal receive after response message from The dynamic transmission for completing NFC data, is manually operated without user.
The present invention first determines the operating mode of local terminal according to the current interface information of communication terminal;Again by obtaining opposite end Operating mode come determine Point-to-Point Data Transmission transmission terminal and receive terminal;It finally sends terminal and receives reception terminal The transmission of data is automatically performed after connection response.Invention increases automatic sending functions, as long as receiving terminal works passive Automatically delivering for NFC Point-to-Point Datas can be completed under pattern, be manually operated without user.
It is noted that the present invention only establishes process to NFC connections specifies the operating mode of NFC communication terminal, and connect It is had been determined after foundation and sends terminal and reception terminal.So NFC communication terminal in NFC Point-to-Point Datas interactive process behind Operating mode be not specifically designated, can according to specific chip and operation require selection relevant work pattern.
Fig. 2 is the structural schematic diagram for the data transmission system that the present invention is preferably based on NFC, the data transmission system 100 Using in local terminal, and the data transmission system 100 includes at least and has local terminal mode decision module 10, opposite end pattern to determine mould Block 20 and NFC data sending module 30, wherein:
The local terminal mode decision module 10 is used for if the current interface of local terminal is the transmission interfaces NFC by the work of local terminal Operation mode is set as aggressive mode.Preferably, local terminal mode decision module 10 further comprises:
Data judging submodule 11, for judging that the current interface of local terminal whether there is NFC data to be sent.Preferably It is first to obtain the interface information of the current interface of local terminal, analyzes and whether there is NFC data to be sent in the interface information.
Interface judging submodule 12, if current interface there are when NFC data, for judging that current interface transmits boundary for NFC Otherwise face judges that current interface is that non-NFC transmits interface.
Whether the judgement that the present invention transmits NFC at interface can have the NFC data to be sent come really according to current application program It is fixed.The NFC data is the data of actual transmissions, such as word, picture and video.Because the application program of NFC function is supported to exist After startup, can the NFC data that will push to be packaged into unified data format (variable) etc. to be transmitted, such as NDEF (NFC Data Exchange Format, NFC data exchange format) message, and number can be pushed according to the information real-time update of current interface According to content.Message content as needed push in current application program is not sky, then judges that current interface transmits interface for NFC, Otherwise judgement current interface is that non-NFC transmits interface.
First mode determination sub-module 13, if current interface is the transmission interfaces NFC, for setting the operating mode of local terminal It is set to aggressive mode, that is, thinks that local terminal will actively send NFC data.The aggressive mode refers to that communication terminal actively generates radio frequency Realize contactless communication.The local terminal of work in the active mode can constantly send out radiofrequency field, to send NFC connections Establish request.
Second mode determination sub-module 14 is used for if current interface is the transmission interfaces non-NFC by the operating mode of local terminal It is set as Passive Mode.The Passive Mode refers to that communication terminal does not generate radiofrequency field, but carrys out reality by loading modulation system Existing contactless communication.
The opposite end mode decision module 20, if the first radiofrequency field hair of the second radiofrequency field of opposite end and local terminal is not detected When changing, for the operating mode of opposite end to be determined as Passive Mode.Preferably, the opposite end mode decision module 20 into One step includes:
First detection sub-module 21, for when the work of local terminal in the active mode when, detect whether that there are the of opposite end Two radiofrequency fields.
The third mode determination sub-module 22, if detect the second radiofrequency field, for the operating mode of opposite end to be determined as Aggressive mode, and execute traditional NFC data transfer process.When local terminal and opposite end are operated in aggressive mode, into tradition Flow waits for user to select to send terminal, i.e. both sides' screen diminution waits for user to click and sends, the NFC communication terminal that user clicks Terminal is exactly sent, otherwise to receive terminal.
Second detection sub-module 23, if the second radiofrequency field is not detected, the tune of the first radiofrequency field for detecting local terminal Whether signal processed changes.It is since opposite end is by loading modulation system to the NFC of local terminal that the modulated signal, which changes, Connection is established caused by the response of request.
Fourth mode determination sub-module 24, if the first radiofrequency field changes, for determining the operating mode of opposite end For Passive Mode.
The NFC data sending module 30, for the NFC data of local terminal to be sent to opposite end.Preferably, according to local terminal With the operating mode of the NFC residing for opposite end terminal and reception terminal are sent to determine.It would operate in the local terminal identification of aggressive mode To send terminal;The opposite end that would operate in Passive Mode is identified as receiving terminal.Detect that oneself first is penetrated when sending terminal When the modulated signal of frequency field changes, the transmission that terminal is automatically performed NFC data is sent, is manually operated without user.
Fig. 3 is the flow chart of the data transmission method the present invention is based on NFC, can by it is as shown in Figure 1 or 2 based on The data transmission system 100 of NFC realizes that the method includes the steps have:
Step S301, local terminal mode decision step, if the current interface of local terminal is the transmission interfaces NFC, by the work of local terminal Operation mode is set as aggressive mode.
The aggressive mode refers to that communication terminal actively generates radiofrequency field to realize contactless communication.Radio frequency is exactly radio frequency electrical Stream, it is a kind of abbreviation of high-frequency ac variation electromagnetic wave, and it is exactly to penetrate that this high-frequency ac, which changes electric field caused by electromagnetic wave, Frequency field.NFC transmission interface refers to the application interface of transmittable NFC data, such as browser interface, contact person interface etc.;Non- NFC Transmission interface refers to the application interface that cannot send NFC data, such as desk interface, locking screen interface etc..It works in the active mode Local terminal can constantly send out radiofrequency field, and request is established to send NFC connections.
Step S302, opposite end mode decision step, if the second radiofrequency field of opposite end and the first radio frequency of local terminal is not detected When field changes, the operating mode of opposite end is determined as Passive Mode.
The Passive Mode refers to that communication terminal does not generate radiofrequency field, but non-contact to realize by loading modulation system Communication.Load modulation is the method to reader transmission data that electronic tag is commonly used.Load modulation is by electronics mark The electrical parameter of label oscillation circuit is adjusted according to the beat of data flow, and the size of electronic tag impedance and phase is made to change therewith Become, to complete the process of modulation.This step determines the operating mode of opposite end by detecting the Non-contact radio-frequency field of opposite end;When When detecting the second radiofrequency field of opposite end, opposite end work is just thought in the active mode;When the second radio frequency that opposite end is not detected When the modulated signal of first radiofrequency field of field and discovery local terminal changes, then it is assumed that opposite end works in the passive mode.It is described It is to be made by opposite end by loading the response of NFC connection foundation request of the modulation system to local terminal that modulated signal, which changes, At.
The NFC data of local terminal is sent to opposite end by step S303, NFC data forwarding step.
This step is preferably, and the operating mode of the NFC residing for local terminal and opposite end sends terminal and reception to determine Terminal.The local terminal that would operate in aggressive mode is identified as sending terminal, for actively sending NFC data;It would operate in by dynamic model The opposite end of formula be identified as receive terminal, for etc. data to be received.When transmission terminal detects the tune of the first radiofrequency field of oneself When signal processed changes, that is, the response that terminal establishes request by loading modulation system to sending terminal connection is received, is sent Terminal receives the transmission that NFC data is automatically performed after response message, is manually operated without user.
The present invention sends terminal and reception terminal by the operating mode that communicating pair is presently in determine, to complete The automatic transmission of NFC Point-to-Point Datas.Whether the operating mode of local terminal is that NFC transmits interface Lai really by the current interface of terminal It is fixed;Whether the radiofrequency field modulated signal for obtaining the mainly radiofrequency field by detection opposite end and detecting local terminal of the operating mode of opposite end It changes to determine;The communication terminal of aggressive mode be would operate in later as terminal is sent, be operated in the logical of Passive Mode Believe that terminal as terminal is received, is automatically performed the transmission of NFC data, is manually operated without user, increase user experience.
Fig. 4 be the present invention be preferably based on NFC data transmission method flow chart, can by it is as shown in Figure 2 based on The data transmission system 100 of NFC realizes that the method includes the steps have:
Step S401 obtains the interface information of the current interface of local terminal.
Step S402 judges whether the current interface of local terminal is NFC transmission interface, if so then execute step S404, otherwise Execute step S403.
This step is preferably, and judges that the current interface of local terminal whether there is NFC data to be sent, if current interface is deposited In NFC data, then judge that current interface transmits interface for NFC;If NFC data is not present in current interface, current interface is judged Interface is transmitted for non-NFC.Whether the present invention can have the NFC to be sent to the NFC judgements for transmitting interface according to current application program Data determine.The NFC data is the data of actual transmissions, such as word, picture and video.Because supporting answering for NFC function Upon actuation with program, can the NFC data that will push to be packaged into unified data format (variable) etc. to be transmitted, as NDEF disappears Breath, and the content of propelling data can be wanted according to the information real-time update of current interface.As needed push in current application program Message content is not sky, then judges that current interface transmits interface for NFC, otherwise judges that current interface is that non-NFC transmits interface.
The operating mode of local terminal is set as passive by step S403 if the current interface of local terminal is the transmission interfaces non-NFC Pattern.
The Passive Mode refers to that communication terminal does not generate radiofrequency field, but non-contact to realize by loading modulation system Communication.
Step S404 sets the operating mode of local terminal to active mould if the current interface of local terminal is the transmission interfaces NFC Formula.
The aggressive mode refers to that communication terminal actively generates radiofrequency field to realize contactless communication.It is operated in aggressive mode Under local terminal can constantly send out radiofrequency field, with send NFC connections establish request.
Step S405, when the work of local terminal in the active mode when, detect whether the second radiofrequency field there are opposite end.It is in The Non-contact radio-frequency field of local terminal meeting cycle detection opposite end under aggressive mode.
The operating mode of opposite end is determined as aggressive mode, and execute biography by step S406 if detecting the second radiofrequency field The NFC data transfer process of system.
When local terminal and opposite end are operated in aggressive mode, wait for user to select to send terminal into traditional process, i.e., it is double Square screen, which reduces, waits for user to click transmission, and the NFC communication terminal that user clicks is exactly to send terminal, otherwise to receive terminal.
Step S407 judges whether the modulated signal of the first radiofrequency field of local terminal is sent out if the second radiofrequency field is not detected Changing, if the modulated signal of first radiofrequency field, which changes, thens follow the steps S408, otherwise return to step S405.
It is to establish request to the NFC connections of local terminal by loading modulation system due to opposite end that the modulated signal, which changes, Response caused by.
The operating mode of opposite end is determined as Passive Mode by step S408 if the first radiofrequency field changes.
The NFC data of local terminal is sent to opposite end by step S409.
Preferably, the operating mode of the NFC residing for local terminal and opposite end sends terminal and reception terminal to determine.It will The local terminal for being operated in aggressive mode is identified as sending terminal;The opposite end that would operate in Passive Mode is identified as receiving terminal, waits for Send the radio frequency connection of terminal.When receiving response of the terminal by load modulation system to transmission terminal connection foundation request, send out It makes arrangements for his funeral to hold and detects that the modulated signal of the first radiofrequency field of oneself changes, then send the hair that terminal is automatically performed NFC data It send, is manually operated without user.
In conclusion the present invention establishes automatic designated terminal Working mould in NFC connection procedures in two NFC communication terminals Formula sets local terminal to aggressive mode and as transmission terminal if the current interface of local terminal, which is NFC, transmits interface;If at this time The radiofrequency field of radiofrequency field and local terminal that opposite end is not detected changes, then by opposite end be determined as Passive Mode and as receive eventually End;It sends terminal and receives terminal transmission NFC data from trend.Whereby, the present invention can be automatically performed the point pair of NFC communication terminal The transmission of point data is manually operated without user, user experience is also increased while user-friendly.
Certainly, the present invention can also have other various embodiments, without deviating from the spirit and substance of the present invention, ripe It knows those skilled in the art and makes various corresponding change and deformations, but these corresponding changes and change in accordance with the present invention Shape should all belong to the protection domain of appended claims of the invention.

Claims (10)

1. a kind of data transmission method based on NFC, which is characterized in that have including step:
Local terminal mode decision step, if the current interface of local terminal is when transmitting interface there are the NFC of NFC data, by the local terminal Operating mode be set as aggressive mode;
Opposite end mode decision step, if the first radiofrequency field of the second radiofrequency field and the local terminal that opposite end is not detected changes When, the operating mode of the opposite end is determined as Passive Mode;
The NFC data of the local terminal is sent to the opposite end by NFC data forwarding step.
2. data transmission method according to claim 1, which is characterized in that the local terminal mode decision step further wraps It includes:
Judge that the current interface of the local terminal whether there is the NFC data to be sent;
If the current interface there are the NFC data, judges that the current interface is that the NFC transmits interface, otherwise sentences The fixed current interface is that non-NFC transmits interface;
If the current interface, which is the NFC, transmits interface, it sets the operating mode of the local terminal to the aggressive mode;
If the current interface, which is the non-NFC, transmits interface, it sets the operating mode of the local terminal to the Passive Mode.
3. data transmission method according to claim 1, which is characterized in that the opposite end mode decision step further wraps It includes:
When the local terminal is when being operated under the aggressive mode, second radiofrequency field there are the opposite end is detected whether;
If detecting second radiofrequency field, the operating mode of the opposite end is determined as the aggressive mode;
If second radiofrequency field is not detected, judge whether the modulated signal of first radiofrequency field of the local terminal occurs Variation;
If the modulated signal of first radiofrequency field changes, the operating mode of the opposite end is determined as described by dynamic model Formula.
4. data transmission method according to claim 3, which is characterized in that the operating mode of the opposite end is determined as institute Include after the step of stating aggressive mode:
Execute traditional NFC data transfer process.
5. according to Claims 1 to 4 any one of them data transmission method, which is characterized in that the aggressive mode refers to leading to Letter terminal actively generates radiofrequency field to realize contactless communication;The Passive Mode refers to that communication terminal does not generate radiofrequency field, and It is to realize contactless communication by loading modulation system.
6. a kind of data transmission system based on NFC, which is characterized in that include:
Local terminal mode decision module, if the current interface of local terminal is when transmitting interface there are the NFC of NFC data, being used for will be described The operating mode of local terminal is set as aggressive mode;
Opposite end mode decision module, if the first radiofrequency field of the second radiofrequency field and the local terminal that opposite end is not detected changes When, for the operating mode of the opposite end to be determined as Passive Mode;
NFC data sending module, for the NFC data of the local terminal to be sent to the opposite end.
7. data transmission system according to claim 6, which is characterized in that the local terminal mode decision module further wraps It includes:
Data judging submodule, for judging that the current interface of the local terminal whether there is the NFC data to be sent;
Interface judging submodule, if the current interface there are when the NFC data, for judging that the current interface is described NFC transmits interface, otherwise judges that the current interface is that non-NFC transmits interface;
First mode determination sub-module is used for if the current interface is the transmission interfaces the NFC by the work of the local terminal Mode setting is the aggressive mode;
Second mode determination sub-module is used for if the current interface is the non-NFC transmission interface by the work of the local terminal Operation mode is set as the Passive Mode.
8. data transmission system according to claim 6, which is characterized in that the opposite end mode decision module further wraps It includes:
First detection sub-module, when the local terminal is when being operated under the aggressive mode, for detecting whether there are described right Second radiofrequency field at end;
The third mode determination sub-module, if detect second radiofrequency field, for determining the operating mode of the opposite end For the aggressive mode;
Second detection sub-module, if second radiofrequency field is not detected, first radio frequency for detecting the local terminal Whether the modulated signal of field changes;
Fourth mode determination sub-module is used for if the modulated signal of first radiofrequency field changes by the opposite end Operating mode is determined as the Passive Mode.
9. data transmission system according to claim 8, which is characterized in that when second detection sub-module will be described right After the operating mode at end is determined as the aggressive mode, traditional NFC data transfer process is executed.
10. according to claim 6~9 any one of them data transmission system, which is characterized in that the aggressive mode refers to leading to Letter terminal actively generates radiofrequency field to realize contactless communication;The Passive Mode refers to that communication terminal does not generate radiofrequency field, and It is to realize contactless communication by loading modulation system.
CN201410430731.XA 2014-08-28 2014-08-28 Data transmission method based on NFC and system Active CN104469656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410430731.XA CN104469656B (en) 2014-08-28 2014-08-28 Data transmission method based on NFC and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410430731.XA CN104469656B (en) 2014-08-28 2014-08-28 Data transmission method based on NFC and system

Publications (2)

Publication Number Publication Date
CN104469656A CN104469656A (en) 2015-03-25
CN104469656B true CN104469656B (en) 2018-10-26

Family

ID=52914882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410430731.XA Active CN104469656B (en) 2014-08-28 2014-08-28 Data transmission method based on NFC and system

Country Status (1)

Country Link
CN (1) CN104469656B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951809B (en) * 2016-04-01 2020-02-07 珠海艾派克微电子有限公司 NFC tag
CN107086884A (en) * 2017-03-01 2017-08-22 东莞宇龙通信科技有限公司 A kind of data transmission method based on NFC, device and mobile terminal
CN112601273A (en) * 2020-12-07 2021-04-02 深圳市福日中诺电子科技有限公司 Method and terminal for dynamically adjusting radio frequency transmission switch according to communication mode

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050077356A1 (en) * 2002-12-17 2005-04-14 Sony Corp. Communication system, communication method, and data processing apparatus
CN102316216A (en) * 2011-09-07 2012-01-11 宇龙计算机通信科技(深圳)有限公司 Terminal adaptive role method and terminal thereof
CN102999284A (en) * 2011-09-13 2013-03-27 联想(北京)有限公司 Transmission method and electronic device
WO2013081762A1 (en) * 2011-11-28 2013-06-06 Qualcomm Incorporated Reducing power consumption for connection establishment in near field communication systems
CN103546200A (en) * 2013-08-26 2014-01-29 深圳Tcl新技术有限公司 Data transmission method and system based on near-field communication
CN103986502A (en) * 2014-04-01 2014-08-13 联想(北京)有限公司 Information processing method, electronic device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050077356A1 (en) * 2002-12-17 2005-04-14 Sony Corp. Communication system, communication method, and data processing apparatus
CN102316216A (en) * 2011-09-07 2012-01-11 宇龙计算机通信科技(深圳)有限公司 Terminal adaptive role method and terminal thereof
CN102999284A (en) * 2011-09-13 2013-03-27 联想(北京)有限公司 Transmission method and electronic device
WO2013081762A1 (en) * 2011-11-28 2013-06-06 Qualcomm Incorporated Reducing power consumption for connection establishment in near field communication systems
CN103546200A (en) * 2013-08-26 2014-01-29 深圳Tcl新技术有限公司 Data transmission method and system based on near-field communication
CN103986502A (en) * 2014-04-01 2014-08-13 联想(北京)有限公司 Information processing method, electronic device and system

Also Published As

Publication number Publication date
CN104469656A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
JP6784306B2 (en) Communication device and communication method
US9769686B2 (en) Communication method and device
US9990055B2 (en) Method of establishing communication link and display devices thereof
US10429985B2 (en) Touch terminal, a near-field communication method and system of the touch terminal
EP3080704B1 (en) Automatic internet sharing
JP2008545312A (en) RFID capability optimization negotiation
US20230262788A1 (en) Network access method and system
CN102832976A (en) NFC (Near Field Communication) communication method and device
CN104683436B (en) control method, communication terminal and control system
CN109413759B (en) Method and equipment for wireless connection
CN112436985A (en) Network distribution method, device, terminal equipment and storage medium
CN104469656B (en) Data transmission method based on NFC and system
KR100900098B1 (en) Information processing apparatus and method, and recording medium
CN108391277B (en) Signal connection method, device, mobile terminal and computer readable storage medium
CN103152839A (en) System and method for quickly pairing industrial wireless communication equipment
CN105556866A (en) Method to set up a wireless communication connection and electronic device utilizing the same
CN107636982B (en) Data frame routing processing method, near field communication controller and terminal
JPWO2003038629A1 (en) Communication system and method, information processing terminal and method, information processing apparatus and method
US11202248B2 (en) Apparatus and method for specifying receiver enable times in UWB communication and ranging systems
US10103783B2 (en) Radio frequency discovery method, chip, and device
KR20190050944A (en) Method for establishing a communication link and display device thereof
CN104168045B (en) Data transmission method and data transmission device
CN107770246B (en) Internet of things control method and device based on Bluetooth and power line carrier
WO2015137105A1 (en) Communication circuit, communication device, communication method, and computer program
CN116938701A (en) Module configuration method, device, computer readable storage medium and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant