Iot (1)-mobile phone NFC identification solution Platform

Source: Internet
Author: User

Due to NFC's ability to communicate in two-way and NFC's ability to be identified without power supply, coupled with the low cost of NFC, NFC is the first choice to replace RFID in some solutions, of course, there is a large limit on NFC, that is, the communication distance is too short (about 10CM ).

Scheme rehearsal:

1. First, quickly build a mobile platform:

If you are not familiar with this, refer to some of my related blogs.

It mainly uses some high-concurrency solutions to provide services and Web APIs. It mainly uses mature web high-concurrency service solutions to provide restful services and other streamlined Roa protocols, for example, you can use nginx/Apache + Tomcat + cxf + spring + hibernate/mybatis

Because the Java solution is faster to use. From the engineering point of view, there is no restriction on recruitment personnel, and more similar solutions can be adopted. (Of course, you can use the short and concise ice, thrift, Mina/netty protocol, ace ).

2. mobile clients can use cross-platform hybrid solutions such as phonegap. There will be limitations here, because phonegap maps to the interface rendering, animation and other performance issues, so if the application involves these features, you can choose another native solution on the phone, here we will only introduce the android native solution. For the native protocol interface based on JSON, you can use the original NiO of Android, or use Mina and other quick open-source NiO solutions, note the compatibility of log modules when porting open-source software.

So far, the mobile phone platform has been established,

3. The Android platform has supported NFC read/write since 2.3. As long as the mobile phone has NFC hardware, this client can handle it. For NFC Android programming details, we will explain in detail. Just pay more attention to the front-end intent Response Processing.

4. It is too easy to identify NFC tags, because now you can buy an NFC tag for 2 yuan online. Do you want to read and write? No problem. If you add 2 yuan, you can write an NFC ticket for 4 yuan. In this way, we can basically form a mobile phone recognition system based on NFC near-field information capabilities.

5. Extend the solution.

Of course, you have already thought that this solution can not only be used for identification, but also be used to write tags and put tags on a smart device, this smart device and your mobile phone platform form an interactive platform with more complex functions. For example, you can use this solution to pay for mobile phones. Mobile phone access control. Use your imagination :)

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.