CN104931847B - It is a kind of judge NFC antenna whether the terminal and method of loose contact - Google Patents
It is a kind of judge NFC antenna whether the terminal and method of loose contact Download PDFInfo
- Publication number
- CN104931847B CN104931847B CN201510404466.2A CN201510404466A CN104931847B CN 104931847 B CN104931847 B CN 104931847B CN 201510404466 A CN201510404466 A CN 201510404466A CN 104931847 B CN104931847 B CN 104931847B
- Authority
- CN
- China
- Prior art keywords
- nfc
- electric signal
- nfc antenna
- judge
- loose contact
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses it is a kind of judge NFC antenna whether the terminal and method of loose contact, including NFC antenna, NFC receiving circuits, NFC chip and processor, NFC antenna is electrically connected with NFC receiving circuits, NFC receiving circuits are electrically connected with NFC chip by being electrically connected with part, NFC chip is electrically connected with processor, the GPIO mouths of processor are electrically connected with NFC chip and the tie point being electrically connected between part, processor can gather the electric signal that NFC chip is transported to by electric connection part by GPIO mouthfuls, and judge whether the electric signal collected is normal NFC signals or interference signal;When electric signal is normal NFC signals, NFC antenna contact is good;When electric signal is interference signal, NFC antenna loose contact.The present invention can effectively judge the problem of whether NFC antenna loose contact occurs, facilitate problem inspection.
Description
Technical field
It is to be related to one kind to judge whether NFC antenna contacts not more specifically the present invention relates to electric terminal technical field
Good terminal and method.
Background technology
The electric terminals such as mobile phone, tablet personal computer have become in the necessity of people's life communication, current mobile phone and carry NFC
Function it is also more and more, with Apple pay promotion, more users will be had later and carry out swiping the card payment using NFC.
On hardware, NFC chips and NFC antenna of the NFC on cell phone mainboard are constituted, and because NFC antenna is than larger, antenna is on mobile phone
The position of placement is relatively fixed, and is substantially and is placed on cell phone rear cover shell, then by welding shell fragment, by NFC antenna and NFC
Chip is connected.When NFC antenna senses the signal in the external world, NFC antenna will produce aerial signal due to electromagnetic induction, the signal
NFC chip can be conveyed to by welding shell fragment.Due to ensureing that antenna and the normal of shell fragment connect simply by the design in structure
Touch, so can there is a situation where that contact is unstable in actual use, can welding shell fragment normally contact with antenna, directly determine
Can NFC swipe the card the functions such as payment.Therefore, need badly at present work out it is a kind of can interpolate that NFC antenna whether loose contact
Equipment.
The content of the invention
It is an object of the invention to overcome drawbacks described above of the prior art there is provided one kind judge whether NFC antenna contacts
Bad terminal and method.
To achieve the above object, the first aspect of the present invention provide it is a kind of judge NFC antenna whether the end of loose contact
End, including NFC antenna, NFC receiving circuits, NFC chip and processor, the NFC antenna are electrically connected with NFC receiving circuits, institute
State the aerial signal that NFC antenna produced due to electromagnetic induction and electric signal is converted into by NFC receiving circuits, the NFC receives electricity
Road is electrically connected with NFC chip by an electric connection part, and the converted electric signal of the NFC receiving circuits is by being electrically connected with
Part is transported to NFC chip, and the NFC chip is electrically connected with processor to carry out data interaction, and the processor is provided with one and NFC
Chip and the GPIO mouths for the tie point electrical connection being electrically connected between part, the processor is by GPIO mouthfuls of collections by being electrically connected with
Part is transported to the electric signal of NFC chip, and the processor judges whether the electric signal collected is normal NFC signals or dry
Disturb signal;When the electric signal for judging to collect is normal NFC signal, the NFC antenna contact is good;When judgement is collected
Electric signal be interference signal when, the NFC antenna loose contact.
As preferred, in the technical scheme of above-mentioned terminal, the processor is further used for by obtaining electric signal
Magnitude of voltage judge whether the electric signal collected is normal NFC signals or interference signal;When the magnitude of voltage of electric signal
During more than or equal to predetermined voltage threshold, then the electric signal collected is judged as normal NFC signals, the NFC antenna contact
Well;When the magnitude of voltage of electric signal is less than predetermined voltage threshold, then the electric signal collected is judged as interference signal, it is described
NFC antenna loose contact.
As preferred, in the technical scheme of above-mentioned terminal, the electric connection part is set to shell fragment.
As preferred, in the technical scheme of above-mentioned terminal, the NFC antenna is arranged on the rear lid case of terminal.
The second aspect of the present invention provide it is a kind of judge NFC antenna whether the method for loose contact, comprise the following steps:
The GPIO mouths of processor are electrically connected with NFC chip and the tie point being electrically connected between part, pass through processor
GPIO mouthfuls gather the electric signal that NFC chip is transported to by electric connection part;
The processor judges whether the electric signal collected is normal NFC signals or interference signal;
When the electric signal for judging to collect is normal NFC signal, the NFC antenna contact is good;
When the electric signal for judging to collect is interference signal, the NFC antenna loose contact.
As preferred, in the above-mentioned methods, the processor judges whether the electric signal collected is normal NFC letters
Number or specifically include the step of interference signal:
Whether it is normal NFC signals or interference that the electric signal collected is judged by obtaining the magnitude of voltage of electric signal
Signal;
When the magnitude of voltage of electric signal is more than or equal to predetermined voltage threshold, then judge the electric signal collected to be normal
NFC signals, the NFC antenna contact is good;
When the magnitude of voltage of electric signal is less than predetermined voltage threshold, then the electric signal collected is judged as interference signal, institute
State NFC antenna loose contact.
As preferred, in the above-mentioned methods, the electric connection part is set to shell fragment.
As preferred, in the above-mentioned methods, the NFC antenna is arranged on the rear lid case of terminal.
As preferred, in the above-mentioned methods, the terminal at least includes mobile phone, tablet personal computer, notebook or PDA.
Compared with prior art, the beneficial effects of the present invention are:
The electric signal extraction that the present invention is electrically connected with part by that will flow through is transferred directly to processor all the way, and passes through processing
Device judges whether the electric signal collected is normal NFC signals or interference signal, and it can effectively judge that NFC antenna is
It is not no the problem of there is loose contact, after the present invention, it can be very good help and solve NFC antenna to contact with being electrically connected with part
It is bad and cause to swipe the card failure the problem of, facilitate problem inspection.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 be it is of the present invention it is a kind of judge NFC antenna whether the structured flowchart of the terminal of loose contact;
Fig. 2 is a kind of workflow diagram of terminal of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Refer to Fig. 1, The embodiment provides it is a kind of judge NFC antenna whether the terminal of loose contact, its wrap
NFC antenna 1, NFC receiving circuits 2, NFC chip 3 and processor 4 are included, the present embodiment is described in detail below in conjunction with the accompanying drawings.
As shown in figure 1, the input/output terminal of NFC antenna 1 is electrically connected with the first input/output terminal of NFC receiving circuits 2,
When NFC antenna 1 detect extraneous POS close to or other card-reading apparatus close to when, due to electromagnetic induction, NFC antenna 1 can be produced
Raw aerial signal, the aerial signal can be converted into electric signal into NFC receiving circuits 2.Wherein, NFC antenna 1 can be arranged on
On the rear lid case of terminal.
Second input/output terminal of NFC receiving circuits 2 receives leads ends with the signal of NFC chip 3 and is electrically connected with by one
Part 5 is electrically connected.As preferably embodiment, the electric connection part 5 could be arranged to shell fragment, naturally it is also possible to for other companies
Fitting, non-the present embodiment is limited.During work, it can be transported to through the converted electric signal of NFC receiving circuits 2 by shell fragment
Handled in NFC chip 3.
The EBI end of processor 4 electrically connects to carry out data interaction with the EBI end of NFC chip 3.In addition, place
Manage device 4 and be provided with a GPIO mouthfuls, described GPIO mouthfuls electrically connects and (draw with NFC chip 3 and the tie point being electrically connected between part 5
One branch road is connected on processor), processor 4 can be gathered by GPIO mouthfuls and be transported to NFC chip 3 by electric connection part 5
Electric signal, and judge whether the electric signal collected is normal NFC signals or interference signal;The telecommunications collected when judgement
Number be normal NFC signals when, then show that NFC antenna 1 is contacted well;When the electric signal for judging to collect is interference signal,
Then show the loose contact of NFC antenna 1.When it is implemented, based on above-mentioned judgement, corresponding NFC application software can be developed to sentencing
Disconnected result is shown or directly judged result is shown by a display module.
As preferred embodiment, in practical operation, the processor 4 can be further used for by obtaining telecommunications
Number magnitude of voltage judge whether the electric signal collected is normal NFC signals or interference signal.Wherein, when electric signal
When magnitude of voltage is more than or equal to predetermined voltage threshold, then the electric signal collected is judged as normal NFC signals, NFC antenna 1 connects
Touch good;When the magnitude of voltage of electric signal is less than predetermined voltage threshold, then the electric signal collected is judged as interference signal, NFC
The loose contact of antenna 1.Wherein, the type of electric signal is judged by the magnitude of voltage of electric signal can effectively improve the accurate of judgement
Degree.
For normally contacting good NFC antenna, aerial signal is relatively good, and the magnitude of voltage of the electric signal passed over also can
Than larger, if contact is bad, or abnormal contact, in this case, the magnitude of voltage of the electric signal passed over can compare
It is small.For example, here by taking a magnitude of voltage 1.2V as an example, when NFC antenna contact is relatively good, the electric signal passed over
Magnitude of voltage be greater than 1.2V, when NFC antenna loose contact, the magnitude of voltage of the electric signal passed over can be less than
1.2V, or even only 0.01V (voltage of this very little just may be considered the interference signal in the case of being not in contact with), due to
The limited precisions of GPIO for voltage signal, these small signals in itself can directly be ignored, and electricity can be set in software
The signal that the electric signal that pressure value is less than 1.2V is produced when being exactly antenna loose contact, needs to check antenna, if electric this when
Pressure value is more than 1.2V, it is believed that be that its linear contact lay is good.
The embodiment provides it is a kind of judge NFC antenna whether the method for loose contact, comprise the following steps:
(1) the GPIO mouths of processor 4 are electrically connected with NFC chip 3 and the tie point being electrically connected between part 5, makes processing
Device 4 gathers the electric signal that NFC chip 3 is transported to by electric connection part 5 by GPIO mouthfuls;
(2) processor 4 judges whether the electric signal collected is normal NFC signals or interference signal;
(3) when the electric signal for judging to collect is normal NFC signal, the NFC antenna 1 is contacted well;
(4) when the electric signal for judging to collect is interference signal, the loose contact of NFC antenna 1.
As preferred embodiment, in step (2), the processor 4 judges whether the electric signal collected is just
The step of normal NFC signals or interference signal, specifically includes:
Whether it is normal NFC signals or interference that the electric signal collected is judged by obtaining the magnitude of voltage of electric signal
Signal;
When the magnitude of voltage of electric signal is more than or equal to predetermined voltage threshold, then judge the electric signal collected to be normal
NFC signals, the NFC antenna 1 is contacted well;
When the magnitude of voltage of electric signal is less than predetermined voltage threshold, then the electric signal collected is judged as interference signal, institute
State NFC antenna loose contact.
As shown in Fig. 2 showing a kind of workflow diagram of terminal in figure, it comprises the following steps:
NFC antenna of the card-reading apparatus such as S1, POS close to terminal;
S2, NFC antenna, which produce aerial signal and it are converted into electric signal by receiving circuit, is transported to NFC chip;
S3, shell fragment convey electric signal to the GPIO mouths of processor;
S4, judge whether GPIO mouthfuls have electric signal;If so, then performing step S5, step S7 is otherwise performed;
S5, judge whether electric signal is interference signal;If so, then performing step S7, step S6 is otherwise performed;
S6, NFC application show that antenna and shell fragment contact are good;
S7, NFC application show antenna and shell fragment loose contact, it is necessary to check connection.
Herein it should be noted that the terminal can include mobile phone, tablet personal computer, notebook, PDA or other there is NFC
The mobile terminal of function.
In summary, the present invention can effectively judge the problem of whether NFC antenna loose contact occurs, with the present invention's
Afterwards, can be very good help solve NFC antenna be electrically connected with part loose contact and cause to swipe the card failure the problem of, facilitate problem
Check.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is
The hardware of correlation is instructed to complete by program, described program can be stored in a computer read/write memory medium
In, described storage medium, such as ROM/RAM, disk, CD.
Above-described embodiment is preferably embodiment, but embodiments of the present invention are not by above-described embodiment of the invention
Limitation, other any Spirit Essences without departing from the present invention and the change made under principle, modification, replacement, combine, simplification,
Equivalent substitute mode is should be, is included within protection scope of the present invention.
Claims (9)
1. it is a kind of judge NFC antenna whether the terminal of loose contact, including NFC antenna, NFC receiving circuits, NFC chip and processing
Device, the NFC antenna is electrically connected with NFC receiving circuits, and the NFC antenna passes through due to the aerial signal that electromagnetic induction is produced
NFC receiving circuits are converted into electric signal, and the NFC receiving circuits are electrically connected with NFC chip by an electric connection part, described
The converted electric signal of NFC receiving circuits is transported to NFC chip, the NFC chip and processor electricity by being electrically connected with part
Connect to carry out data interaction, it is characterised in that the processor is provided with the connection between one and NFC chip and electric connection part
The GPIO mouths of point electrical connection, the processor gathers the electric signal that NFC chip is transported to by electric connection part, institute by GPIO mouthfuls
State processor and judge whether the electric signal collected is normal NFC signals or interference signal;The telecommunications collected when judgement
When number being normal NFC signals, NFC antenna contact is good;It is described when the electric signal for judging to collect is interference signal
NFC antenna loose contact.
2. it is according to claim 1 it is a kind of judge NFC antenna whether the terminal of loose contact, it is characterised in that the place
Reason device be further used for judging by obtaining the magnitude of voltage of electric signal the electric signal collected whether be normal NFC signals also
It is interference signal;When the magnitude of voltage of electric signal is more than or equal to predetermined voltage threshold, then judge the electric signal collected as just
Normal NFC signals, the NFC antenna contact is good;When the magnitude of voltage of electric signal is less than predetermined voltage threshold, then collection is judged
The electric signal arrived is interference signal, the NFC antenna loose contact.
3. it is according to claim 1 it is a kind of judge NFC antenna whether the terminal of loose contact, it is characterised in that the electricity
Property connector is set to shell fragment.
4. it is according to claim 1 it is a kind of judge NFC antenna whether the terminal of loose contact, it is characterised in that the NFC
Antenna is arranged on the rear lid case of terminal.
5. it is a kind of judge NFC antenna whether the method for loose contact, for judging whether NFC antenna connects described in claim 1
Touch bad terminal, it is characterised in that comprise the following steps:
The GPIO mouths of processor are electrically connected with NFC chip and the tie point being electrically connected between part, processor is passed through GPIO
Mouth collection is transported to the electric signal of NFC chip by electric connection part;
The processor judges whether the electric signal collected is normal NFC signals or interference signal;
When the electric signal for judging to collect is normal NFC signal, the NFC antenna contact is good;
When the electric signal for judging to collect is interference signal, the NFC antenna loose contact.
6. it is according to claim 5 it is a kind of judge NFC antenna whether the method for loose contact, it is characterised in that the place
Reason device judges that the step of whether electric signal collected is normal NFC signals or interference signal specifically includes:
Whether it is normal NFC signals or interference letter that the electric signal collected is judged by obtaining the magnitude of voltage of electric signal
Number;
When the magnitude of voltage of electric signal is more than or equal to predetermined voltage threshold, then judge the electric signal collected as normal NFC
Signal, the NFC antenna contact is good;
When the magnitude of voltage of electric signal is less than predetermined voltage threshold, then the electric signal collected is judged as interference signal, the NFC
Antenna loose contact.
7. it is according to claim 5 it is a kind of judge NFC antenna whether the method for loose contact, it is characterised in that the electricity
Property connector is set to shell fragment.
8. it is according to claim 5 it is a kind of judge NFC antenna whether the method for loose contact, it is characterised in that the NFC
Antenna is arranged on the rear lid case of terminal.
9. it is according to claim 8 it is a kind of judge NFC antenna whether the method for loose contact, it is characterised in that the end
End at least includes mobile phone, tablet personal computer, notebook or PDA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510404466.2A CN104931847B (en) | 2015-07-09 | 2015-07-09 | It is a kind of judge NFC antenna whether the terminal and method of loose contact |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510404466.2A CN104931847B (en) | 2015-07-09 | 2015-07-09 | It is a kind of judge NFC antenna whether the terminal and method of loose contact |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104931847A CN104931847A (en) | 2015-09-23 |
CN104931847B true CN104931847B (en) | 2017-08-29 |
Family
ID=54119105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510404466.2A Active CN104931847B (en) | 2015-07-09 | 2015-07-09 | It is a kind of judge NFC antenna whether the terminal and method of loose contact |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104931847B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107478914A (en) * | 2017-08-04 | 2017-12-15 | 歌尔股份有限公司 | antenna detection device, system and method |
CN107942148A (en) * | 2017-11-23 | 2018-04-20 | 北京小米移动软件有限公司 | antenna detection method, device and terminal |
CN109561415B (en) * | 2018-12-21 | 2022-03-01 | 惠州Tcl移动通信有限公司 | NFC function detection method and device, storage medium and mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201273928Y (en) * | 2008-12-30 | 2009-07-15 | 深圳市广和通实业有限公司 | Automatic detection apparatus for wireless terminal antenna |
CN102013927A (en) * | 2010-11-16 | 2011-04-13 | 意法·爱立信半导体(北京)有限公司 | Communication equipment and antenna testing device |
CN102074788A (en) * | 2010-11-23 | 2011-05-25 | 惠州Tcl移动通信有限公司 | NFC (Near Field Communication) antenna and mobile phone using same |
CN102680844A (en) * | 2011-03-18 | 2012-09-19 | 上海晨兴希姆通电子科技有限公司 | Antenna connection status detection device and detection method thereof |
CN202583350U (en) * | 2012-04-12 | 2012-12-05 | 上海纳恩汽车技术有限公司 | Low frequency antenna fault diagnosis device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060197538A1 (en) * | 2005-03-07 | 2006-09-07 | Nokia Corporation | Self-test method for antennas |
JP2008224522A (en) * | 2007-03-14 | 2008-09-25 | Tokai Rika Co Ltd | Antenna connection diagnosis device |
KR101571099B1 (en) * | 2009-11-12 | 2015-11-23 | 현대모비스 주식회사 | Apparatus And Method Diagnosing Connection State Of Radio Antenna Using Car |
-
2015
- 2015-07-09 CN CN201510404466.2A patent/CN104931847B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201273928Y (en) * | 2008-12-30 | 2009-07-15 | 深圳市广和通实业有限公司 | Automatic detection apparatus for wireless terminal antenna |
CN102013927A (en) * | 2010-11-16 | 2011-04-13 | 意法·爱立信半导体(北京)有限公司 | Communication equipment and antenna testing device |
CN102074788A (en) * | 2010-11-23 | 2011-05-25 | 惠州Tcl移动通信有限公司 | NFC (Near Field Communication) antenna and mobile phone using same |
CN102680844A (en) * | 2011-03-18 | 2012-09-19 | 上海晨兴希姆通电子科技有限公司 | Antenna connection status detection device and detection method thereof |
CN202583350U (en) * | 2012-04-12 | 2012-12-05 | 上海纳恩汽车技术有限公司 | Low frequency antenna fault diagnosis device |
Also Published As
Publication number | Publication date |
---|---|
CN104931847A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220043067A1 (en) | Charging method and device, charging system, electronic equipment and storage medium | |
CN202632283U (en) | Mobile equipment | |
CN108845655B (en) | Electronic equipment control method and device, control circuit and electronic equipment | |
CN104931847B (en) | It is a kind of judge NFC antenna whether the terminal and method of loose contact | |
CN106201288A (en) | Storage method, device and the mobile terminal of a kind of finger print information | |
CN102945652A (en) | Method and system for solving abnormal display of display screen | |
CN106796262A (en) | USB data pin impedance detection | |
CN109120029A (en) | charging circuit, electronic equipment, charging management method and storage medium | |
CN104063348A (en) | Device and method for realizing compatible USB (Universal Serial Bus) communication and audio communication | |
TW201340542A (en) | System and method for mobile device charging | |
CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
CN201303424Y (en) | Mobile terminal with protector | |
CN105376758B (en) | A kind of detection SIM card falls the method and system of card | |
CN203242716U (en) | Battery, battery type detection circuit and mobile terminal | |
CN102738618B (en) | Storage card base, mobile terminal and method for protecting storage card | |
EP2619843B1 (en) | Providing power to a component | |
CN104461952A (en) | Interface sharing method and terminal | |
CN106374567A (en) | Terminal equipment, charging method thereof and load capability detection device | |
CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
CN101729662B (en) | Mobile terminal system, external device, mobile terminal and input/output method thereof | |
CN105654003B (en) | A kind of IC card detection method and device in place | |
CN110647342A (en) | Gateway upgrading method and system based on USB | |
US10101864B2 (en) | Touch screen terminal and near field communication method, apparatus and system thereof | |
CN107544019A (en) | Apparatus for testing chip and chip detecting method | |
CN106786994A (en) | A kind of charging method, charger and mobile terminal |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |