Abstract--Near field communications (NFC) is a newly thrived technology in recent years. This technology has been installed on many kinds of mobile phone systems, especially the Android. However, there is no unified...Abstract--Near field communications (NFC) is a newly thrived technology in recent years. This technology has been installed on many kinds of mobile phone systems, especially the Android. However, there is no unified and complete framework to access NFC so far. The current software stack of NFC merely implements data obtaining features, ignoring the post-processing of data and lacking a certain security mechanism for NFC, which results in inefficiency and inconvenience for software development and maintenance. Above all, security problems could be caused due to the absence of the security mechanism. To propose a solution, this paper presents a brand-new framework for NFC utilization by analyzing and constructing a service model. Thus, the proposed framework encapsulates the current NFC stack on Android, formulating a three-layer structure after implementing the encapsulation and parsing of NFC records, which ultimately enables an XML document to describe the configuration of NFC and its related service flow. Simultaneously, a context-awareness model is proposed and built in this paper to equip the framework with the capability of adapting to different'physical environment.展开更多
文摘Abstract--Near field communications (NFC) is a newly thrived technology in recent years. This technology has been installed on many kinds of mobile phone systems, especially the Android. However, there is no unified and complete framework to access NFC so far. The current software stack of NFC merely implements data obtaining features, ignoring the post-processing of data and lacking a certain security mechanism for NFC, which results in inefficiency and inconvenience for software development and maintenance. Above all, security problems could be caused due to the absence of the security mechanism. To propose a solution, this paper presents a brand-new framework for NFC utilization by analyzing and constructing a service model. Thus, the proposed framework encapsulates the current NFC stack on Android, formulating a three-layer structure after implementing the encapsulation and parsing of NFC records, which ultimately enables an XML document to describe the configuration of NFC and its related service flow. Simultaneously, a context-awareness model is proposed and built in this paper to equip the framework with the capability of adapting to different'physical environment.