WO2010091560A1 - Dual interface intelligent card and its communication method, and corresponding positioning system and method - Google Patents

Dual interface intelligent card and its communication method, and corresponding positioning system and method Download PDF

Info

Publication number
WO2010091560A1
WO2010091560A1 PCT/CN2009/071893 CN2009071893W WO2010091560A1 WO 2010091560 A1 WO2010091560 A1 WO 2010091560A1 CN 2009071893 W CN2009071893 W CN 2009071893W WO 2010091560 A1 WO2010091560 A1 WO 2010091560A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart card
dual interface
unit
wireless network
data
Prior art date
Application number
PCT/CN2009/071893
Other languages
French (fr)
Chinese (zh)
Inventor
杨军良
钟卫
蔡世宾
朱健民
Original Assignee
上海赞润微电子科技有限公司
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 上海赞润微电子科技有限公司 filed Critical 上海赞润微电子科技有限公司
Publication of WO2010091560A1 publication Critical patent/WO2010091560A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0284Relative positioning

Definitions

  • the present invention relates to the field of integrated circuit card technologies, and in particular, to a dual interface smart card and a communication method thereof, and a corresponding positioning system and method.
  • IC integrated circuit
  • An integrated circuit (IC) card is an information tool that uses an integrated circuit packaged therein for data storage and processing. Since its birth, with the development of microelectronics technology, it has been increasingly favored by people for its advantages of small size, large storage capacity and good confidentiality. Today, it has been widely used in finance, transportation, social security, communications and other fields, which greatly facilitates people's lives: for example, bank credit cards, transportation cards used by public transportation systems, social security cards used in medical systems, and users used in mobile phones. Identification (SIM) card and more.
  • SIM Identification
  • IC cards has gone through the process from memory card to smart card, from contact IC card to non-contact IC card to dual interface IC card.
  • the memory card only contains the memory chip, so that it only has the data storage function and no data processing capability; and the smart card integrates the microprocessor (MCU), the memory and the card internal operating system (COS) which is solidified in the read-only memory. It not only has the function of reading, writing and processing data, but also has the advantages of high security and offline operation.
  • MCU microprocessor
  • COS card internal operating system
  • the contact IC card physically communicates with the card reader through the metal contacts on the surface of the card to complete communication and data exchange; the non-contact IC card communicates with the card reader by wireless communication without directly contacting the card reader Physical connection; dual interface IC card is an IC that supports both contact data exchange and contactless data exchange. card. Although the dual interface IC card has achieved a certain degree of development, it has achieved good application in many fields, but it is still far from meeting people's needs.
  • SIM card for mobile phone user identification
  • functions such as financial security mobile payment and indoor positioning.
  • RFID radio frequency identification
  • smart cards such as information release and digital smart home.
  • RFID radio frequency identification
  • the object of the present invention is to realize an ad hoc network between dual-interface smart cards, so as to realize rapid integration of mobile communication fields with smart homes, fire disaster reduction, information release, consumer entertainment or finance, thereby providing convenience for people's lives.
  • the present invention provides a dual interface smart card, which is applied to an electronic device, comprising: a contact smart card unit, and data exchange with an electronic device by means of contact data exchange; a ZigBee wireless network node unit, based on the ZigBee protocol Receiving or transmitting data; a storage unit providing a storage space for the user; a micro processing unit electrically connected to the contact smart card unit, the ZigBee wireless network node unit and the storage unit, respectively, to manage and access the above units, and maintain data Circulation between each of the above units.
  • the contact smart card unit comprises: an electrically coupled encryption algorithm coprocessor and a true random number generator for performing the establishment and encryption processing.
  • the present invention further provides a dual interface smart card communication method, which utilizes a contact data exchange method to implement data exchange between a dual interface smart card and an electronic device, and the method utilizes a ZigBee wireless network to implement data exchange between dual interface smart cards.
  • the method includes an initialization process, where the initialization process includes the following steps: configuring a listening interface of the dual interface smart card; and listening to the communication speed of the interface between the dual interface smart card and the electronic device Rate; When the desired communication rate value is obtained, it enters the wait state.
  • the process of implementing data exchange between dual interface smart cards by using a ZigBee wireless network includes a data receiving process, including the following steps: searching for a ZigBee wireless network; checking a user identity when searching for a ZigBee wireless network; When confirming, join the searched ZigBee wireless network to receive data; store the received data in the storage unit of the dual interface smart card.
  • the dual interface smart card communication method further includes: the storage unit of the dual interface smart card accepts access by the electronic device; and sends the data to the electronic device according to the protocol.
  • the process of implementing data exchange between the dual interface smart card and the electronic device by using the contact data exchange method includes the following steps: receiving a read or write request of the electronic device; interpreting the read or write request; The request acquires corresponding data from the storage unit of the dual interface smart card, and sends the corresponding data to the electronic device; according to the write request, writes the corresponding data to the storage unit of the dual interface smart card.
  • the present invention further provides a positioning system, comprising: a plurality of reference nodes, each comprising a ZigBee wireless network node unit; and an unknown node, comprising a ZigBee wireless network node unit, wherein the unknown node passes through the Zi gBee wireless network node unit and the plurality of The ZigBee wireless network node unit of the reference node constructs a ZigBee network, obtains location information of the plurality of reference nodes, received signal strength, and connection quality information indicating the link, and obtains relative position information thereof; the information center, the signal is connected to And the reference node and the unknown node, and receiving location information of a certain reference node and relative location information of the unknown node, and realizing positioning of the unknown node according to the received information.
  • a positioning system comprising: a plurality of reference nodes, each comprising a ZigBee wireless network node unit; and an unknown node, comprising a ZigBee wireless network node unit, wherein the unknown no
  • the unknown node obtains its own relative position information by demodulating the position information of the plurality of reference nodes, the received signal strength, and the connection quality information indicating the link.
  • the present invention also provides a positioning method for realizing positioning of an unknown node in a system including a plurality of reference nodes and an unknown node, the method comprising: constructing a Zi gBee wireless network between the reference node and the unknown node; Obtaining location information and received signal strength of the multiple reference nodes And indicating the connection quality information of the link and calculating the relative position information of the unknown node; and locating the unknown node according to the location information of the reference node and the relative location information of the unknown node.
  • the method for calculating the relative position information of the unknown node is a solution trigonometric function.
  • the dual interface smart card utilizes the ZigBee wireless network node unit, so that the smart card has the function of self-organizing network, so that it can be applied to different electronic devices, thereby realizing mobile communication field and smart home, fire disaster reduction
  • the device equipped with the smart card has the capability of identity recognition and data security.
  • the existence of the storage unit enables the device on which the smart card is installed to have the ability to store user data.
  • the positioning function can be realized in the fields of fire disaster reduction and the like.
  • FIG. 1 is a structural block diagram of a dual interface smart card according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of an initialization work of a dual interface smart card according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a dual interface smart card received by a ZigBee wireless network node unit and inquired by an electronic device according to an embodiment of the present invention; work flow chart;
  • FIG. 5 is a schematic block diagram of a positioning system according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a positioning method according to an embodiment of the present invention.
  • the dual interface smart card (SC) 10 includes a contact smart card unit (SCU) 101, ZigBee A wireless network node unit (ZWG) 10 2 , a storage unit (SU ) 103 and a micro processing unit (MCU) 10 4 .
  • SCU contact smart card unit
  • ZWG ZigBee A wireless network node unit
  • SU storage unit
  • MCU micro processing unit
  • the contact smart card unit 101 exchanges data with the electronic device 20 in a contact data exchange manner; the ZigBee wireless network node unit 102 receives or transmits data based on the ZigBee protocol; the storage unit 103 provides a storage space for the user; and the micro processing unit 104
  • the signal is connected to the contact smart card unit 101, the ZigBee wireless network node unit 102, and the storage unit 103 to manage and access the contact smart card unit 101, the ZigBee wireless network node unit 102, and the storage unit 103, and maintain data between the units. Circulation.
  • the header lines 1 through 6 in the figure show the flow of data within the dual interface smart card 10.
  • arrow line 1 represents a data exchange path between the electronic device 20 and the dual interface smart card 10; arrow lines 5 and 6 together form a data exchange path between the microprocessor unit 104 and the contact smart card unit 101; The arrow lines 1 and 6 together form a data exchange path between the contact smart card unit 101 and the electronic device 20, wherein the arrow line 1 is often a bus conforming to the IS07816 standard in practical applications.
  • Arrow line 3 represents the data exchange path between the microprocessor unit 104 and the memory unit 103; in practical applications, it is often a data bus to perform read and write operations on the memory unit 103 through the data bus.
  • Arrow line 4 represents the data exchange path between the microprocessing unit 104 and the ZigBee wireless network node unit 102. In practical applications, it is often used by the microprocessing unit 104 to maintain the control bus of the ZigBee wireless network node unit 102 and receive or transmit via ZigBee. User data line of wireless network node unit 102.
  • the microprocessor unit 104 is required to listen to the communication rate of the interface between the electronic device 20 and the dual interface smart card 10, i.e., the communication rate of the communication bus indicated by the arrow line 1, as indicated by the arrow line 2 in the figure.
  • the contact smart card unit 101 has a complete smart card function, which often includes an encryption algorithm coprocessor and a true random number generator, which are electrically connected to perform the establishment and encryption processing to complete the installation of the dual interface smart card 10
  • the electronic device itself is traditionally named and can be used as an identity recognition unit for a mobile phone or other electronic device having the same needs.
  • the ST21 YXX series of single interface smart card chips manufactured by STMicroelectronics can be used.
  • the storage unit 103 is often a large-capacity solid-state storage unit, which can store system parameters of the electronic device on which the dual-interface smart card 10 is installed, and can provide a storage space for the user to save. Save the required files, in part to replace the function of the SD card.
  • Numonyx's NAND family of memory chips can be used.
  • the micro processing unit 104 is a control center for the normal and safe operation of the dual interface smart card 10, which manages and accesses the contact smart card unit 101, the ZigBee wireless network node unit 102 and the storage unit 103, and maintains the circulation of data between these units.
  • the storage unit 103 manages, the ZigBee wireless network node unit 102 manages, accesses the contact smart card unit 101, position coordinate calculation, system maintenance, and the like.
  • the MCU STM32F103xx series manufactured by STMicroelectronics can be used.
  • the Zi gBee wireless network node unit 102 has a complete ZigBee protocol, and mainly performs self-organization and maintenance based on the ZigBee network, and data exchange between nodes (Glid).
  • the electronic device 20 can be a mobile terminal device (such as a mobile phone, a PDA, etc.), a household appliance, and the like.
  • FIG. 2 shows an initialization workflow of the dual interface smart card 10, and the process includes the following steps: After power-on, the initialization process starts; and then the micro processing unit (MCU) 104 configures the listening interface of the dual interface smart card 10 and listens to the communication speed of the interface between the dual interface smart card 10 and the electronic device 20; when the required communication rate value is obtained, the waiting state is entered, otherwise, the listening is continued.
  • This initialization process is important to ensure that the microprocessing unit (MCU) 104, the electronic device 20, and the contact smart card unit (SCU) 101 communicate at a default rate. As shown in FIG.
  • the workflow of the dual interface smart card 10 being received by the ZigBee wireless network node unit 102 and the query by the electronic device 20 is shown.
  • the flow includes the following steps: First, the micro processing unit (MCU) 104 configures Zi gBee. a wireless network node unit (ZWG) 102 and a storage unit (SU) 103; then, the Zi gBee wireless network node unit (ZWG) 102 searches for the Zi gBee wireless network; when the ZigBee wireless network is searched, the user identity is checked; Upon confirmation, the searched ZigBee wireless network is added to receive data; and then the received data is stored in the storage unit (SU) 103 of the dual interface smart card, and it enters a state of waiting for the electronic device 20 to query. If the electronic device 20 needs to read data in the storage unit (SU) 103, the data is sent to the electronic device in accordance with the protocol.
  • a workflow for storing user data into a storage unit (SU) 103 by the electronic device 20 is illustrated.
  • the flow includes the following steps: a contact smart card unit (SCU) 101 receives a read or write request of the electronic device; The micro processing unit (MCU) 104 interprets the read or write request; then, the micro processing unit (MCU) 104 acquires corresponding data from the storage unit (SU) 103 of the dual interface smart card according to the read read request, and sends the corresponding data to the electronic The device 20; and writes the corresponding data to the storage unit (SU) 103 of the dual interface smart card according to the interpreted write request.
  • SCU contact smart card unit
  • MCU micro processing unit
  • Embodiment 1 is implemented in mobile secure payment:
  • the phone can have the functions of paying transportation expenses, retail goods cost, bridge fee, etc., and at the same time, due to Zi
  • the gBee network provides a three-level security model that includes no security settings, the use of access control lists (ACLs) to prevent illegal access to data, and symmetric passwords using the Advanced Encryption Standard (AES 128) for high security.
  • ACLs access control lists
  • AES 128 Advanced Encryption Standard
  • Embodiment 2 Application implementation in a smart digital home:
  • the dual interface smart card provided by the above embodiment is implanted into a household appliance, lighting, door lock, electric In a household facility such as a curtain, it is possible to complete the interconnection with the mobile phone in the first embodiment, thereby constructing a control network, realizing the function of controlling the mobile phone to home appliances such as home appliances, and facilitating people's lives.
  • Embodiment 3 application implementation in information release
  • the user who holds the mobile phone provided in the first embodiment arrives at a new place, such as a subway station, wants to eat, and opens the information receiving function of the mobile phone, so that information released by nearby merchants can be obtained, and the information of the hotel can be searched for, for example. , specialties, prices, specific driving directions, etc.
  • Embodiment 4 application implementation in consumer entertainment:
  • Embodiment 5 Application in medical monitoring:
  • the mobile phone provided in the first embodiment is used as a central control terminal of the personal network [PAN] to realize information monitoring of various medical devices [with Z i gBee network nodes].
  • Embodiment 6 Application in fire disaster reduction:

Abstract

The invention discloses a dual interface intelligent card and its communication method, and corresponding positioning system and method. The invention adopts ZigBee wireless network node unit to make the intelligent card have the ability to organize network by self, and applying the card to different electronic devices enables fast combining mobile communications field with intelligent family field. The dual interface intelligent card comprises: a contact intelligent card unit for exchanging data with the electronic device by the mode of contact exchanging data; a ZigBee wireless network node unit for receiving or sending data based on ZigBee protocol; a storage unit; a micro processing unit for respectively electrically connecting with the contact intelligent card unit, the ZigBee wireless network node unit and the storage unit to manage and access these units, and maintain the data transfer among these units.

Description

汉界面智能卡及其通信方法, 以及相应的定位系统与方法 本申请要求于 2009 年 2 月 11 日提交中国专利局、 申请号为 200910046070. X, 发明名称为 "双界面智能卡及其通信方法, 以及相应的定 位系统与方法" 的中国专利申请的优先权, 其全部内容通过引用结合在本申 请中。  Han interface smart card and its communication method, and corresponding positioning system and method. The application is submitted to the Chinese Patent Office on February 11, 2009, and the application number is 200910046070. X, the invention name is "dual interface smart card and its communication method, and The priority of the Chinese Patent Application for the corresponding locating system and method is incorporated herein by reference.
技术领域 本发明涉及集成电路卡技术领域, 特别是涉及一种双界面智能卡及其通 信方法, 以及相应的定位系统与方法。 背景技术 集成电路(IC ) 卡是利用其内封装的集成电路进行数据存储与处理 的信息工具。 其自诞生以来, 随着微电子技术的发展, 以小巧玲珑、 存储量 大、 保密性好等优点日益受到人们的青睐。 如今, 它已广泛应用于金融、 交 通、 社保、 通信等各个领域, 大大方便了人们的生活: 例如, 银行的信用卡, 公交系统使用的交通卡, 医疗系统使用的社保卡以及手机中使用的用户身份 识别 ( SIM )卡等等。 TECHNICAL FIELD The present invention relates to the field of integrated circuit card technologies, and in particular, to a dual interface smart card and a communication method thereof, and a corresponding positioning system and method. BACKGROUND OF THE INVENTION An integrated circuit (IC) card is an information tool that uses an integrated circuit packaged therein for data storage and processing. Since its birth, with the development of microelectronics technology, it has been increasingly favored by people for its advantages of small size, large storage capacity and good confidentiality. Today, it has been widely used in finance, transportation, social security, communications and other fields, which greatly facilitates people's lives: for example, bank credit cards, transportation cards used by public transportation systems, social security cards used in medical systems, and users used in mobile phones. Identification (SIM) card and more.
IC卡的发展经历了从存储卡到智能卡, 从接触式 IC卡到非接触式 IC卡 直至双界面 IC卡的过程。 其中存储卡仅包含存储芯片, 从而仅具有数据存储 功能, 没有数据处理能力; 而智能卡内集成有微处理器(MCU ), 存储器和固 化在只读存储器中的卡内操作系统(COS ), 如此, 其不仅具有数据读写与处 理功能, 更具有安全性高、 可以离线操作等突出优点。 接触式 IC卡通过卡片 表面的金属触点与读卡器进行物理连接来完成通信和数据交换; 而非接触式 IC卡通过无线通信的方式与读卡器进行通信, 而无需与读卡器直接进行物理 连接;双界面 IC卡就是既支持接触式数据交换又支持非接触式数据交换的 IC 卡。 虽然双界面 ic卡已经取得了一定程度的发展, 在许多领域也取得了较好 的应用, 但还远远未能满足人们的需求。 The development of IC cards has gone through the process from memory card to smart card, from contact IC card to non-contact IC card to dual interface IC card. The memory card only contains the memory chip, so that it only has the data storage function and no data processing capability; and the smart card integrates the microprocessor (MCU), the memory and the card internal operating system (COS) which is solidified in the read-only memory. It not only has the function of reading, writing and processing data, but also has the advantages of high security and offline operation. The contact IC card physically communicates with the card reader through the metal contacts on the surface of the card to complete communication and data exchange; the non-contact IC card communicates with the card reader by wireless communication without directly contacting the card reader Physical connection; dual interface IC card is an IC that supports both contact data exchange and contactless data exchange. card. Although the dual interface IC card has achieved a certain degree of development, it has achieved good application in many fields, but it is still far from meeting people's needs.
例如, 作为手机用户身份识别的 SIM卡, 往往难以实现金融安全移动支 付、 室内定位等功能; 而作为以射频识别 (RFID )技术为基础的双界面智能 卡则难以实现信息发布、 数字智能家庭等智能卡在手机中的身份识别等功能。  For example, as a SIM card for mobile phone user identification, it is often difficult to implement functions such as financial security mobile payment and indoor positioning. As a dual-interface smart card based on radio frequency identification (RFID) technology, it is difficult to implement smart cards such as information release and digital smart home. Features such as identification in the phone.
故, 如何提供一种双界面智能卡, 以实现移动通信领域与智能家庭、 消 防减灾、 信息发布、 消费娱乐或金融等领域的快速结合, 而实现安全移动支 付、 信息发布、 医疗监控、 消费娱乐、 小型对等数据库以及定位等服务, 来 极大的方便人们的生活, 实为当务之急。 发明内容  Therefore, how to provide a dual-interface smart card to realize the rapid integration of the mobile communication field with smart home, fire disaster reduction, information release, consumer entertainment or finance, and realize secure mobile payment, information release, medical monitoring, consumer entertainment, Small peer-to-peer databases and services such as positioning are extremely convenient for people's lives. Summary of the invention
本发明的目的在于实现双界面智能卡之间的自组网, 以实现移动通信领 域与智能家庭、 消防减灾、 信息发布、 消费娱乐或金融等领域的快速结合, 从而为人们的生活提供方便。  The object of the present invention is to realize an ad hoc network between dual-interface smart cards, so as to realize rapid integration of mobile communication fields with smart homes, fire disaster reduction, information release, consumer entertainment or finance, thereby providing convenience for people's lives.
为实现上述目的, 本发明提供一种双界面智能卡, 应用于一个电子设备 中, 包括: 接触式智能卡单元, 以接触式数据交换方式与电子设备进行数据 交换; ZigBee无线网络节点单元, 基于 ZigBee协议接收或发送数据; 存储单 元, 为用户提供存储空间; 微处理单元, 分别电性连接于所述接触式智能卡 单元、 Z igBee无线网络节点单元和存储单元, 以管理和访问以上各个单元, 维护数据在各个以上各个单元之间的流通。  To achieve the above object, the present invention provides a dual interface smart card, which is applied to an electronic device, comprising: a contact smart card unit, and data exchange with an electronic device by means of contact data exchange; a ZigBee wireless network node unit, based on the ZigBee protocol Receiving or transmitting data; a storage unit providing a storage space for the user; a micro processing unit electrically connected to the contact smart card unit, the ZigBee wireless network node unit and the storage unit, respectively, to manage and access the above units, and maintain data Circulation between each of the above units.
进一步的, 所述接触式智能卡单元包括: 电性连接的加密算法协处理器 和真随机数发生器, 以进行建权和加密处理。  Further, the contact smart card unit comprises: an electrically coupled encryption algorithm coprocessor and a true random number generator for performing the establishment and encryption processing.
本发明另提供一种双界面智能卡通信方法, 其利用接触式数据交换方式 实现一双界面智能卡与一电子设备之间的数据交换, 且该方法利用 ZigBee无 线网络实现双界面智能卡之间的数据交换。  The present invention further provides a dual interface smart card communication method, which utilizes a contact data exchange method to implement data exchange between a dual interface smart card and an electronic device, and the method utilizes a ZigBee wireless network to implement data exchange between dual interface smart cards.
进一步的, 该方法包括初始化过程, 该初始化过程包括如下步骤: 配置 双界面智能卡的侦听接口; 侦听双界面智能卡与电子设备接触界面的通信速 率; 当得到所需的通信速率值时, 进入等待状态。 Further, the method includes an initialization process, where the initialization process includes the following steps: configuring a listening interface of the dual interface smart card; and listening to the communication speed of the interface between the dual interface smart card and the electronic device Rate; When the desired communication rate value is obtained, it enters the wait state.
进一步的, 所述利用 ZigBee无线网络实现双界面智能卡之间的数据交换 的过程包括数据接收过程, 包括如下步骤: 搜索 ZigBee无线网络; 当搜索到 ZigBee无线网络时, 核对用户身份; 当用户身份得以确认时, 加入所搜索到 的 ZigBee无线网络, 接收数据; 将所接收的数据存入双界面智能卡的存储单 元。  Further, the process of implementing data exchange between dual interface smart cards by using a ZigBee wireless network includes a data receiving process, including the following steps: searching for a ZigBee wireless network; checking a user identity when searching for a ZigBee wireless network; When confirming, join the searched ZigBee wireless network to receive data; store the received data in the storage unit of the dual interface smart card.
进一步的, 所述双界面智能卡通信方法还包括: 所述双界面智能卡的存 储单元接受电子设备的访问; 按协议送出数据至电子设备。  Further, the dual interface smart card communication method further includes: the storage unit of the dual interface smart card accepts access by the electronic device; and sends the data to the electronic device according to the protocol.
进一步的, 所述利用接触式数据交换方式实现双界面智能卡与电子设备 之间的数据交换的过程包括如下步骤: 接收电子设备的读或写请求; 解读所 述读或写请求; 根据所述读请求, 从双界面智能卡的存储单元获取对应的数 据, 发送至电子设备; 根据所述写请求, 将对应的数据写入双界面智能卡的 存储单元。  Further, the process of implementing data exchange between the dual interface smart card and the electronic device by using the contact data exchange method includes the following steps: receiving a read or write request of the electronic device; interpreting the read or write request; The request acquires corresponding data from the storage unit of the dual interface smart card, and sends the corresponding data to the electronic device; according to the write request, writes the corresponding data to the storage unit of the dual interface smart card.
本发明还提供一种定位系统, 包括: 多个参考节点, 均包括 ZigBee无线 网络节点单元; 未知节点, 包括 ZigBee无线网络节点单元, 其中该未知节点 通过其 Zi gBee无线网络节点单元与所述多个参考节点的 ZigBee无线网络节 点单元构建 ZigBee网络, 获取所述多个参考节点的位置信息、 接收信号强度 以及指示链路的连接质量信息, 从中得到自身的相对位置信息; 信息中心, 信号连接于所述参考节点与未知节点, 并接收某一所述参考节点的位置信息 以及未知节点的相对位置信息, 并根据所接收到的信息实现对未知节点的定 位。  The present invention further provides a positioning system, comprising: a plurality of reference nodes, each comprising a ZigBee wireless network node unit; and an unknown node, comprising a ZigBee wireless network node unit, wherein the unknown node passes through the Zi gBee wireless network node unit and the plurality of The ZigBee wireless network node unit of the reference node constructs a ZigBee network, obtains location information of the plurality of reference nodes, received signal strength, and connection quality information indicating the link, and obtains relative position information thereof; the information center, the signal is connected to And the reference node and the unknown node, and receiving location information of a certain reference node and relative location information of the unknown node, and realizing positioning of the unknown node according to the received information.
进一步的, 所述未知节点是对所述多个参考节点的位置信息、 接收信号 强度以及指示链路的连接质量信息进行解三角函数得到自身的相对位置信 息。  Further, the unknown node obtains its own relative position information by demodulating the position information of the plurality of reference nodes, the received signal strength, and the connection quality information indicating the link.
本发明还提供一种定位方法, 在包括多个参考节点以及一未知节点的系 统中, 实现对未知节点的定位, 该方法包括: 在所述参考节点与未知节点之 间构建 Zi gBee无线网络; 获取所述多个参考节点的位置信息、 接收信号强度 以及指示链路的连接质量信息并计算出所述未知节点的自身相对位置信息; 根据某一所述参考节点的位置信息以及未知节点的相对位置信息, 定位未知 节点。 其中, 所述计算未知节点的自身相对位置信息的方法为解三角函数。 The present invention also provides a positioning method for realizing positioning of an unknown node in a system including a plurality of reference nodes and an unknown node, the method comprising: constructing a Zi gBee wireless network between the reference node and the unknown node; Obtaining location information and received signal strength of the multiple reference nodes And indicating the connection quality information of the link and calculating the relative position information of the unknown node; and locating the unknown node according to the location information of the reference node and the relative location information of the unknown node. The method for calculating the relative position information of the unknown node is a solution trigonometric function.
可见, 以上所提供的双界面智能卡, 利用 ZigBee无线网络节点单元, 使 得该智能卡具备了自组网的功能, 从而将其应用于不同电子设备中, 便可以 实现移动通信领域与智能家庭、 消防减灾、 信息发布、 消费娱乐或金融等领 域的快速结合, 从而为人们的生活提供方便。 另外, 由于接触式智能卡单元 的存在 , 使得安装了该智能卡的设备具备了身份识别和数据安全保障能力。 而存储单元的存在使得安装了该智能卡的设备具备了存储用户数据的能力。 且进一步利用以上自组网功能, 便可以在消防减灾等领域实现定位功能。 附图说明 通过以下对本发明实施方式结合其附图的描述, 可以进一步理解其发明 的目的、 具体结构特征和优点。 其中,  It can be seen that the dual interface smart card provided above utilizes the ZigBee wireless network node unit, so that the smart card has the function of self-organizing network, so that it can be applied to different electronic devices, thereby realizing mobile communication field and smart home, fire disaster reduction The rapid integration of information publishing, consumer entertainment or finance, thus providing convenience for people's lives. In addition, due to the presence of the contact smart card unit, the device equipped with the smart card has the capability of identity recognition and data security. The existence of the storage unit enables the device on which the smart card is installed to have the ability to store user data. Moreover, by further utilizing the above self-organizing network function, the positioning function can be realized in the fields of fire disaster reduction and the like. BRIEF DESCRIPTION OF THE DRAWINGS The objects, specific structural features and advantages of the invention will be further understood from the following description of the embodiments of the invention. among them,
图 1为本发明一实施例所提供的双界面智能卡的结构框图;  1 is a structural block diagram of a dual interface smart card according to an embodiment of the present invention;
图 2为本发明一实施例所提供的双界面智能卡的一个初始化工作流程图; 图 3为本发明一实施例所提供的双界面智能卡由 ZigBee无线网络节点单 元接收到信息以及待电子设备查询的工作流程图;  2 is a flowchart of an initialization work of a dual interface smart card according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a dual interface smart card received by a ZigBee wireless network node unit and inquired by an electronic device according to an embodiment of the present invention; work flow chart;
图 4 为本发明一实施例所提供的由电子设备存入用户数据到存储单元的 工作流程图;  FIG. 4 is a flow chart showing the operation of storing user data into a storage unit by an electronic device according to an embodiment of the present invention;
图 5为本发明一实施例所提供的定位系统的原理框图;  FIG. 5 is a schematic block diagram of a positioning system according to an embodiment of the present invention; FIG.
图 6为本发明一实施例所提供的定位方法的流程图。 具体实施方式 下面结合附图与具体实施方式对本发明作进一步详细描述: 请参考图 1 , 其为本发明一实施例所提供的双界面智能卡的结构框图。 如 图所示, 该双界面智能卡(SC ) 10包括接触式智能卡单元(SCU ) 101 , ZigBee 无线网络节点单元(ZWG ) 102 , 存储单元(SU ) 103和微处理单元(MCU ) 104。 其中, 接触式智能卡单元 101以接触式数据交换方式与电子设备 20进行数据 交换; ZigBee无线网络节点单元 102基于 ZigBee协议接收或发送数据; 存储 单元 103为用户提供存储空间; 而微处理单元 104则信号连接于接触式智能 卡单元 101、 Zi gBee无线网络节点单元 102和存储单元 103 , 以管理和访问接 触式智能卡单元 101、 Z igBee无线网络节点单元 102和存储单元 103 , 维护数 据在这些单元之间的流通。 图中的剪头线①到⑥便示出了该双界面智能卡 10 内的数据流通情况。 如图所示, 箭头线①表示电子设备 20与该双界面智能卡 10之间的数据交换通路; 箭头线⑤与⑥共同构成微处理单元 104与接触式智 能卡单元 101 之间的数据交换通路; 而箭头线①与⑥共同构成接触式智能卡 单元 101与电子设备 20之间的数据交换通路, 其中箭头线①在实际应用中往 往为符合 IS07816标准的总线。箭头线③表示微处理单元 104与存储单元 103 之间的数据交换通路; 在实际应用中, 其往往为数据总线, 以通过该数据总 线完成对存储单元 103的读写操作。 箭头线④表示微处理单元 104与 ZigBee 无线网络节点单元 102之间的数据交换通路, 在实际应用中, 其往往为微处 理单元 104维护 ZigBee无线网络节点单元 102的控制总线和接收或发送经由 ZigBee无线网络节点单元 102的用户数据线。 FIG. 6 is a flowchart of a positioning method according to an embodiment of the present invention. The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Referring to FIG. 1 , it is a structural block diagram of a dual interface smart card according to an embodiment of the present invention. As shown, the dual interface smart card (SC) 10 includes a contact smart card unit (SCU) 101, ZigBee A wireless network node unit (ZWG) 10 2 , a storage unit (SU ) 103 and a micro processing unit (MCU) 10 4 . The contact smart card unit 101 exchanges data with the electronic device 20 in a contact data exchange manner; the ZigBee wireless network node unit 102 receives or transmits data based on the ZigBee protocol; the storage unit 103 provides a storage space for the user; and the micro processing unit 104 The signal is connected to the contact smart card unit 101, the ZigBee wireless network node unit 102, and the storage unit 103 to manage and access the contact smart card unit 101, the ZigBee wireless network node unit 102, and the storage unit 103, and maintain data between the units. Circulation. The header lines 1 through 6 in the figure show the flow of data within the dual interface smart card 10. As shown, arrow line 1 represents a data exchange path between the electronic device 20 and the dual interface smart card 10; arrow lines 5 and 6 together form a data exchange path between the microprocessor unit 104 and the contact smart card unit 101; The arrow lines 1 and 6 together form a data exchange path between the contact smart card unit 101 and the electronic device 20, wherein the arrow line 1 is often a bus conforming to the IS07816 standard in practical applications. Arrow line 3 represents the data exchange path between the microprocessor unit 104 and the memory unit 103; in practical applications, it is often a data bus to perform read and write operations on the memory unit 103 through the data bus. Arrow line 4 represents the data exchange path between the microprocessing unit 104 and the ZigBee wireless network node unit 102. In practical applications, it is often used by the microprocessing unit 104 to maintain the control bus of the ZigBee wireless network node unit 102 and receive or transmit via ZigBee. User data line of wireless network node unit 102.
通常, 微处理单元 104需侦听电子设备 20与双界面智能卡 10接触界面 的通信速率, 即侦听箭头线①所表示的通信总线的通信速率, 其如图中箭头 线②所示。  In general, the microprocessor unit 104 is required to listen to the communication rate of the interface between the electronic device 20 and the dual interface smart card 10, i.e., the communication rate of the communication bus indicated by the arrow line 1, as indicated by the arrow line 2 in the figure.
另外, 接触式智能卡单元 101 具备完整的智能卡功能, 其往往包括加密 算法协处理器和真随机数发生器, 它们电性连接, 以进行建权和加密处理, 来完成安装有此双界面智能卡 10的电子设备的自身传统命名, 且可作为移动 电话或者其它有相同需要的电子设备的身份识别单元。 在一实施例中, 可采 用意法半导体公司生产的单界面智能卡芯片 ST21 YXX 系列来实现。 而存储单 元 103往往为大容量的固态存储单元, 其内可以存储安装有此双界面智能卡 10的电子设备的系统参数, 而且可以为用户提供一个存储空间, 以供用户存 储所需的文件, 来部分的代替 SD 卡的功能。 在一实施例中, 可采用恒忆 ( Numonyx )公司的 NAND系列存储芯片。 微处理单元 104是本双界面智能卡 10正常安全运行的控制中心, 其管理和访问接触式智能卡单元 101、 ZigBee 无线网络节点单元 102和存储单元 103 , 维护数据在这些单元之间的流通。 具 体包括: 存储单元 103管理, Z igBee无线网络节点单元 102管理, 访问接触 式智能卡单元 101 , 位置坐标计算以及系统维护等。 在一实施例中, 可采用意 法半导体公司生产的 MCU STM32F103xx系列。 Zi gBee无线网络节点单元 102 具备完整的 ZigBee协议, 主要完成基于 ZigBee网络的自组织以及维护, 节 点( Gr id )之间的数据交换。 而电子设备 20可以是移动终端设备(例如手机、 PDA等), 家用电器等生活常用设备。 In addition, the contact smart card unit 101 has a complete smart card function, which often includes an encryption algorithm coprocessor and a true random number generator, which are electrically connected to perform the establishment and encryption processing to complete the installation of the dual interface smart card 10 The electronic device itself is traditionally named and can be used as an identity recognition unit for a mobile phone or other electronic device having the same needs. In an embodiment, the ST21 YXX series of single interface smart card chips manufactured by STMicroelectronics can be used. The storage unit 103 is often a large-capacity solid-state storage unit, which can store system parameters of the electronic device on which the dual-interface smart card 10 is installed, and can provide a storage space for the user to save. Save the required files, in part to replace the function of the SD card. In one embodiment, Numonyx's NAND family of memory chips can be used. The micro processing unit 104 is a control center for the normal and safe operation of the dual interface smart card 10, which manages and accesses the contact smart card unit 101, the ZigBee wireless network node unit 102 and the storage unit 103, and maintains the circulation of data between these units. Specifically, the storage unit 103 manages, the ZigBee wireless network node unit 102 manages, accesses the contact smart card unit 101, position coordinate calculation, system maintenance, and the like. In an embodiment, the MCU STM32F103xx series manufactured by STMicroelectronics can be used. The Zi gBee wireless network node unit 102 has a complete ZigBee protocol, and mainly performs self-organization and maintenance based on the ZigBee network, and data exchange between nodes (Glid). The electronic device 20 can be a mobile terminal device (such as a mobile phone, a PDA, etc.), a household appliance, and the like.
另, 本发明一实施例还提供一种双界面智能卡通信方法, 其利用接触式 数据交换方式实现双界面智能卡与电子设备之间的数据交换, 且利用 Z igBee 无线网络实现双界面智能卡之间的数据交换。 由于每个 Z igBee网络节点不仅 本身可以作为监控对象 (例如其所连接的传感器直接进行数据采集和监控), 还可以自动中转别的网络节点传过来的数据资料。 除此之外, 每一个 Z igBee 网络节点还可在自己信号覆盖的范围内, 和多个不承担网络信息中转任务的 孤立的子节点无线连接。 而且 ZigBee具有大规模的组网能力, 例如每个网络 60000个节点。 因此, 充分利用 Z igBee网络的自组网与大规模组网能力, 可 以实现移动通信领域与智能家庭、 消防减灾、 信息发布、 消费娱乐或金融等 领域的快速结合, 极大的方便人们的生活。  In addition, an embodiment of the present invention further provides a dual interface smart card communication method, which uses a contact data exchange method to implement data exchange between a dual interface smart card and an electronic device, and implements a dual interface smart card by using a Z igBee wireless network. Data exchange. Since each Z igBee network node can not only be used as a monitoring object (for example, the sensor connected to it directly collects and monitors data), it can also automatically transfer data data transmitted by other network nodes. In addition, each Z igBee network node can also wirelessly connect with multiple isolated sub-nodes that do not undertake network information relay tasks within the scope of its own signal coverage. And ZigBee has large-scale networking capabilities, such as 60,000 nodes per network. Therefore, making full use of the self-organizing network and large-scale networking capabilities of the Z igBee network can realize the rapid integration of the mobile communication field with smart home, fire disaster reduction, information release, consumer entertainment or finance, which is extremely convenient for people's lives. .
具体请合并参考图 1与图 2至图 4: 其中图 2示出了该双界面智能卡 10 的一个初始化工作流程, 该流程包括以下步骤: 上电后, 开始初始化流程; 而后微处理单元(MCU ) 104配置双界面智能卡 10的侦听接口并侦听双界面智 能卡 10与电子设备 20接触界面的通信速率; 当得到所需的通信速率值时, 进入等待状态, 否则, 继续侦听。 这个初始化流程对于保证微处理单元(MCU ) 104、 电子设备 20和接触式智能卡单元(SCU ) 101之间以默认速率进行通信 具有重要意义。 如图 3 ,其示出了该双界面智能卡 10由 ZigBee无线网络节点单元 102接 收到信息以及待电子设备 20查询的工作流程, 该流程包括以下步骤: 首先微 处理单元(MCU ) 104配置 Zi gBee无线网络节点单元( ZWG ) 102和存储单元 ( SU ) 103; 而后, Zi gBee无线网络节点单元( ZWG ) 102搜索 Zi gBee无线网 络; 当搜索到 ZigBee无线网络时, 核对用户身份; 当用户身份得以确认时, 加入所搜索到的 Z igBee无线网络, 接收数据; 而后, 将所接收的数据存入双 界面智能卡的存储单元(SU ) 103 , 其便进入等待电子设备 20 查询的状态。 如果电子设备 20需读取存储单元(SU ) 103内的数据, 则按协议送出数据至 电子设备。 Specifically, please refer to FIG. 1 and FIG. 2 to FIG. 4: FIG. 2 shows an initialization workflow of the dual interface smart card 10, and the process includes the following steps: After power-on, the initialization process starts; and then the micro processing unit (MCU) 104 configures the listening interface of the dual interface smart card 10 and listens to the communication speed of the interface between the dual interface smart card 10 and the electronic device 20; when the required communication rate value is obtained, the waiting state is entered, otherwise, the listening is continued. This initialization process is important to ensure that the microprocessing unit (MCU) 104, the electronic device 20, and the contact smart card unit (SCU) 101 communicate at a default rate. As shown in FIG. 3, the workflow of the dual interface smart card 10 being received by the ZigBee wireless network node unit 102 and the query by the electronic device 20 is shown. The flow includes the following steps: First, the micro processing unit (MCU) 104 configures Zi gBee. a wireless network node unit (ZWG) 102 and a storage unit (SU) 103; then, the Zi gBee wireless network node unit (ZWG) 102 searches for the Zi gBee wireless network; when the ZigBee wireless network is searched, the user identity is checked; Upon confirmation, the searched ZigBee wireless network is added to receive data; and then the received data is stored in the storage unit (SU) 103 of the dual interface smart card, and it enters a state of waiting for the electronic device 20 to query. If the electronic device 20 needs to read data in the storage unit (SU) 103, the data is sent to the electronic device in accordance with the protocol.
如图 4 , 其示出了由电子设备 20存入用户数据到存储单元(SU ) 103的 工作流程, 该流程包括以下步骤: 接触式智能卡单元(SCU ) 101接收电子设 备的读或写请求; 微处理单元(MCU ) 104解读所述读或写请求; 而后, 微处 理单元(MCU ) 104根据所解读的读请求, 从双界面智能卡的存储单元(SU ) 103 获取对应的数据, 发送至电子设备 20; 并根据所解读的写请求, 将对应 的数据写入双界面智能卡的存储单元(SU ) 103。  As shown in FIG. 4, a workflow for storing user data into a storage unit (SU) 103 by the electronic device 20 is illustrated. The flow includes the following steps: a contact smart card unit (SCU) 101 receives a read or write request of the electronic device; The micro processing unit (MCU) 104 interprets the read or write request; then, the micro processing unit (MCU) 104 acquires corresponding data from the storage unit (SU) 103 of the dual interface smart card according to the read read request, and sends the corresponding data to the electronic The device 20; and writes the corresponding data to the storage unit (SU) 103 of the dual interface smart card according to the interpreted write request.
将以上实施例所提供的双界面智能卡或通信方法应用于生活中的各个领 域, 例如通信、 智能家庭、 消防减灾、 信息发布、 消费娱乐或金融等领域, 便可以实现安全移动支付、 信息发布、 医疗监控、 消费娱乐、 小型对等数据 库及定位等服务。 举例如下:  Applying the dual interface smart card or communication method provided by the above embodiments to various fields of life, such as communication, smart home, fire disaster reduction, information release, consumer entertainment or finance, can realize secure mobile payment, information release, Medical monitoring, consumer entertainment, small peer-to-peer databases and location services. Examples are as follows:
实施例一, 在移动安全支付中的应用实现:  Embodiment 1 is implemented in mobile secure payment:
将以上实施例所提供的双界面智能卡应用于手机中(如, 置于手机的 S IM 卡座中),该电话便能够具备支付交通费用、零售商品费用、过桥费用等功能, 同时由于 Zi gBee网络提供了三级安全模式, 包括无安全设定、 使用接入控制 清单(ACL) 防止非法获取数据以及采用高级加密标准(AES 128) 的对称密码, 其具有高安全性。  Applying the dual interface smart card provided in the above embodiment to the mobile phone (for example, in the SIM card holder of the mobile phone), the phone can have the functions of paying transportation expenses, retail goods cost, bridge fee, etc., and at the same time, due to Zi The gBee network provides a three-level security model that includes no security settings, the use of access control lists (ACLs) to prevent illegal access to data, and symmetric passwords using the Advanced Encryption Standard (AES 128) for high security.
实施例二, 在智能数字家庭中的应用实现:  Embodiment 2: Application implementation in a smart digital home:
将以上实施例所提供的双界面智能卡植入家用电器、 照明、 门锁、 电动 窗帘等家用设施中, 便能够完成其与实施例一中的手机互联, 从而构建了一 个控制网络, 实现手机对家电等家用设施进行控制的功能, 方便了人们的生 活。 The dual interface smart card provided by the above embodiment is implanted into a household appliance, lighting, door lock, electric In a household facility such as a curtain, it is possible to complete the interconnection with the mobile phone in the first embodiment, thereby constructing a control network, realizing the function of controlling the mobile phone to home appliances such as home appliances, and facilitating people's lives.
实施例三, 在信息发布中的应用实现  Embodiment 3, application implementation in information release
持有实施例一所提供的手机的用户, 到达一个新的地方, 比如出了地铁 站, 想吃饭, 打开手机的信息接收功能, 就可以得到附近商户发布的信息, 从中搜索饭店的信息, 例如, 特色菜、 价格、 具体的行车路线图等。  The user who holds the mobile phone provided in the first embodiment arrives at a new place, such as a subway station, wants to eat, and opens the information receiving function of the mobile phone, so that information released by nearby merchants can be obtained, and the information of the hotel can be searched for, for example. , specialties, prices, specific driving directions, etc.
实施例四, 在消费娱乐中的应用实现:  Embodiment 4, application implementation in consumer entertainment:
多名持有实施例一所提供的手机的用户,利用 Zi gBee的自组织网络技术, 在任何地点、 任何时间进行互动游戏, 如, 打麻将, 朴克牌等联机游戏。  Many users who hold the mobile phone provided in the first embodiment use ZigBee's self-organizing network technology to conduct interactive games at any place and at any time, such as online games such as playing mahjong and park.
实施例五, 在医疗监护中的应用实现:  Embodiment 5: Application in medical monitoring:
利用实施例一所提供的手机作为个人网络 [PAN]的中心控制终端, 实现对 自身各种医疗设备 [具备 Z i gBee网络节点 ]的信息监视。  The mobile phone provided in the first embodiment is used as a central control terminal of the personal network [PAN] to realize information monitoring of various medical devices [with Z i gBee network nodes].
实施例六, 在消防减灾中的应用实现:  Embodiment 6: Application in fire disaster reduction:
实现在这个领域的应用, 需要有两个条件: 第一个条件是需具有安装了 具备 ZigBee功能的各种火灾传感器(例如, 烟感、 红外、 温度等传感器) ] , 并且这些传感器自身的位置固定; 第二个条件是植入了以上实施例所提供的 双界面智能卡的对讲机, 其往往由消防人员持有, 例如, 实施例一所提供的 手机。 这样, 在一个高层建筑物内安装了上述的消防传感器, 就可以在火灾 发生时, 消防指挥中心及时得到持有对讲机的消防人员、 持有实施例一所提 供的手机的受困人员的位置信息, 以便及时提供给消防人员提供救火和救助 受困人员的正确位置信息。  To achieve the application in this field, there are two conditions: The first condition is to have various fire sensors (such as smoke, infrared, temperature, etc.) with ZigBee function installed, and the position of these sensors themselves. The second condition is a walkie-talkie with a dual-interface smart card provided by the above embodiment, which is often held by a firefighter, for example, the mobile phone provided in the first embodiment. In this way, when the above-mentioned fire-fighting sensor is installed in a high-rise building, the fire command center can obtain the position information of the firefighter holding the walkie-talkie and the trapped person holding the mobile phone provided in the first embodiment in time when the fire occurs. In order to provide firefighters with timely information on the correct location of firefighting and rescue of trapped people.
当然, 这只是定位服务的一种十分有效的应用, 本发明并不限制于在消 防减灾中的定位应用, 也可以用于其他定位领域。  Of course, this is only a very effective application of the location service. The invention is not limited to the positioning application in the disaster prevention and mitigation, and can also be used in other positioning fields.
下面详述利用本发明实质所得到的定位系统与定位方法。请参考图 5 , 其 为本发明一实施例所提供的定位系统的原理框图。 如图所示该系统包括多个 参考节点 (在此以 9个为例, 分别用标号 1到 9表示), 这些参考节点均包括 ZigBee无线网络节点单元; 还包括至少一个未知节点 U, 此未知节点 U往往 包括以上所述的双界面智能卡 10 , 即包括 ZigBee无线网络节点单元( ZWG ) 102 , 从而该未知节点 U通过其 Zi gBee无线网络节点单元( ZWG ) 102与多个 参考节点 1_9的 Z igBee无线网络节点单元构建 ZigBee无线网络, 获取所述 多个参考节点 1—9的位置信息(X1,Y1 ) _ ( X9,Y9 )、 接收信号强度 RSSI以及 指示链路的连接质量 LSI 信息, 从中得到自身的相对位置信息 (x,y ); 信息 中心 C, 信号连接于所述参考节点 1—9与未知节点 U, 并接收某一所述参考节 点(例如参考节点 5 )的位置信息以及未知节点 U的相对位置信息( x, y ), 并 根据所接收到的信息实现对未知节点的定位, 即获取未知节点 U 的位置信息 ( X,Y )。 通常, 未知节点 U是利用微处理单元(MCU ) 104对所述多个参考节 点的位置信息( XI, Y1 ) _ ( Χ9, Υ9 )、 接收信号强度 RSS I以及指示链路的连接 质量 LSI信息进行解三角函数得到自身的相对位置信息 ( x, y )。 The positioning system and positioning method obtained by using the essence of the present invention are detailed below. Please refer to FIG. 5 , which is a schematic block diagram of a positioning system according to an embodiment of the present invention. As shown in the figure, the system includes a plurality of reference nodes (here, nine are exemplified by reference numerals 1 to 9, respectively), and these reference nodes include The ZigBee wireless network node unit further includes at least one unknown node U, which often includes the dual interface smart card 10 described above, that is, includes a ZigBee wireless network node unit (ZWG) 102, such that the unknown node U passes its Zi gBee The wireless network node unit (ZWG) 102 and the Z igBee wireless network node unit of the plurality of reference nodes 1_9 construct a ZigBee wireless network, and acquire location information (X1, Y1) _ (X9, Y9) of the plurality of reference nodes 1-9. And receiving the signal strength RSSI and the connection quality LSI information indicating the link, and obtaining its own relative position information (x, y); the information center C, the signal is connected to the reference node 1-9 and the unknown node U, and receiving a certain Position information of the reference node (for example, reference node 5) and relative position information (x, y) of the unknown node U, and realizing positioning of the unknown node according to the received information, that is, acquiring location information of the unknown node U (X,Y). In general, the unknown node U is the location information (XI, Y1)_(Χ9, Υ9) of the plurality of reference nodes by the micro processing unit (MCU) 104, the received signal strength RSS I, and the connection quality LSI information indicating the link. Perform a trigonometric function to obtain its own relative position information (x, y).
相应的, 本发明还提供一种定位方法, 应用于以上系统中, 实现对未知 节点 U的定位, 如图 6所示, 包括如下步骤:  Correspondingly, the present invention further provides a positioning method, which is applied to the above system, and implements positioning of the unknown node U. As shown in FIG. 6, the method includes the following steps:
S1 : 在参考节点与未知节点之间构建 ZigBee无线网络;  S1: constructing a ZigBee wireless network between the reference node and the unknown node;
S2 : 获取多个参考节点的位置信息、 接收信号强度以及指示链路的连接 质量信息并计算出未知节点的自身相对位置信息;  S2: acquiring location information of multiple reference nodes, receiving signal strength, and connection quality information indicating the link, and calculating relative location information of the unknown node;
S3: 根据某一所述参考节点的位置信息以及未知节点的相对位置信息, 定位未知节点。  S3: Locating an unknown node according to location information of a certain reference node and relative location information of the unknown node.
通常, 所述计算未知节点的自身相对位置信息的方法为解三角函数。 综上所述, 以上实施例所提供的双界面智能卡, 利用 Zi gBee无线网络节 点单元, 使得该智能卡具备了自组网的功能, 从而将其应用于不同电子设备 中, 便可以实现移动通信领域与智能家庭、 消防减灾、 信息发布、 消费娱乐 或金融等领域的快速结合, 从而为人们的生活提供方便。 另外, 由于接触式 智能卡单元的存在, 使得安装了该智能卡的设备具备了身份识别和数据安全 保障能力。 而存储单元的存在使得安装了该智能卡的设备具备了存储用户数 据的能力。 且进一步利用以上自组网功能, 便可以在消防减灾等领域实现定 位功能。 Generally, the method of calculating the relative position information of the unknown node is a trigonometric function. In summary, the dual interface smart card provided by the above embodiment utilizes the Zi gBee wireless network node unit, so that the smart card has the function of an ad hoc network, so that it can be applied to different electronic devices, thereby realizing the field of mobile communication. Quickly integrate with smart homes, fire disaster mitigation, information release, consumer entertainment or finance to make life easier for people. In addition, due to the presence of the contact smart card unit, the device in which the smart card is installed has the capability of identity recognition and data security. The existence of the storage unit enables the device on which the smart card is installed to have the ability to store user data. And by further utilizing the above self-organizing network functions, it can be implemented in the fields of fire disaster reduction and other fields. Bit function.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变 化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 以所述权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权利 要求 书 Claim
1. 一种双界面智能卡, 应用于一个电子设备中, 其特征是, 包括: 接触式智能卡单元, 以接触式数据交换方式与所述电子设备进行数据交换;A dual-interface smart card, which is applied to an electronic device, and includes: a contact smart card unit that exchanges data with the electronic device in a contact data exchange manner;
Zi gBee无线网络节点单元, 基于 Zi gBee协议接收或发送数据; a Zi gBee wireless network node unit that receives or transmits data based on the Zi gBee protocol;
存储单元, 为用户提供存储空间;  a storage unit that provides storage space for the user;
微处理单元, 分别电性连接于所述接触式智能卡单元、 ZigBee无线网络节 点单元和存储单元, 以管理和访问以上各个单元, 维护数据在各个以上各个单 元之间的 通。  The micro processing unit is electrically connected to the contact smart card unit, the ZigBee wireless network node unit and the storage unit, respectively, to manage and access the above units, and maintain data communication between each of the above units.
2. 根据权利要求 1所述的双界面智能卡, 其特征是, 所述接触式智能卡单 元包括电性连接的加密算法协处理器和真随机数发生器, 以进行建权和加密处 理。  2. The dual interface smart card of claim 1, wherein the contact smart card unit comprises an electrically coupled encryption algorithm coprocessor and a true random number generator for performing security and encryption processing.
3. 一种双界面智能卡通信方法, 其利用接触式数据交换方式实现一双界面 智能卡与一电子设备之间的数据交换, 其特征是, 该方法利用 Zi gBee无线网络 实现双界面智能卡之间的数据交换。  A dual interface smart card communication method, which utilizes a contact data exchange method to implement data exchange between a dual interface smart card and an electronic device, wherein the method uses a Zi gBee wireless network to implement data between dual interface smart cards. exchange.
4. 根据权利要求 3所述的双界面智能卡通信方法, 其特征是, 该方法包括 初始化过程, 该过程包括如下步骤:  4. The dual interface smart card communication method according to claim 3, wherein the method comprises an initialization process, the process comprising the following steps:
配置双界面智能卡的侦听接口;  Configure the listening interface of the dual interface smart card.
侦听双界面智能卡与电子设备接触界面的通信速率;  Listening to the communication speed of the interface between the dual interface smart card and the electronic device;
当得到所需的通信速率值时, 进入等待状态。  When the desired communication rate value is obtained, it enters a wait state.
5. 根据权利要求 3所述的双界面智能卡通信方法, 其特征是, 其中所述利 用 ZigBee 无线网络实现双界面智能卡之间的数据交换的过程包括数据接收过 程, 其包括如下步骤:  The dual interface smart card communication method according to claim 3, wherein the process of implementing data exchange between the dual interface smart cards by using the ZigBee wireless network comprises a data receiving process, which comprises the following steps:
搜索 ZigBee无线网络;  Search ZigBee wireless network;
当搜索到 ZigBee无线网络时, 核对用户身份;  When the ZigBee wireless network is searched, the user identity is checked;
当用户身份得以确认时, 加入所搜索到的 ZigBee无线网络, 接收数据; 将所接收的数据存入双界面智能卡的存储单元。  When the user identity is confirmed, the searched ZigBee wireless network is added to receive data; the received data is stored in the storage unit of the dual interface smart card.
6. 根据权利要求 5所述的双界面智能卡通信方法, 其特征是, 还包括: 所述双界面智能卡的存储单元接受电子设备的访问; The dual interface smart card communication method according to claim 5, further comprising: The storage unit of the dual interface smart card accepts access by the electronic device;
按协议送出数据至电子设备。  Send data to the electronic device according to the agreement.
7. 根据权利要求 3所述的双界面智能卡通信方法, 其特征是, 其中所述利 用接触式数据交换方式实现双界面智能卡与电子设备之间的数据交换的过程包 括如下步骤:  The dual interface smart card communication method according to claim 3, wherein the process of data exchange between the dual interface smart card and the electronic device by using the contact data exchange method comprises the following steps:
接收电子设备的读或写请求;  Receiving a read or write request from an electronic device;
解读所述读或写请求;  Interpreting the read or write request;
根据所述读请求, 从双界面智能卡的存储单元获取对应的数据, 发送至电 子设备;  Obtaining corresponding data from the storage unit of the dual interface smart card according to the read request, and sending the data to the electronic device;
根据所述写请求, 将对应的数据写入双界面智能卡的存储单元。  According to the write request, the corresponding data is written into the storage unit of the dual interface smart card.
8. 一种定位系统, 其特征是, 包括:  8. A positioning system, comprising:
多个参考节点, 均包括 Zi gBee无线网络节点单元;  a plurality of reference nodes, each including a Zi gBee wireless network node unit;
未知节点, 包括 ZigBee无线网络节点单元, 其中该未知节点通过其 ZigBee 无线网络节点单元与所述多个参考节点的 Zi gBee无线网络节点单元构建 ZigBee 网络, 获取所述多个参考节点的位置信息、 接收信号强度以及指示链路的连接 质量信息, 从中得到自身的相对位置信息;  An unknown node, including a ZigBee wireless network node unit, wherein the unknown node constructs a ZigBee network through the ZigBee wireless network node unit and the Zi gBee wireless network node unit of the multiple reference nodes, and acquires location information of the multiple reference nodes, Receiving signal strength and indicating connection quality information of the link, and obtaining relative position information of itself;
信息中心, 信号连接于所述参考节点与未知节点, 并接收某一所述参考节 点的位置信息以及未知节点的相对位置信息, 并根据所接收到的信息实现对未 知节点的定位。  The information center is connected to the reference node and the unknown node, and receives location information of a certain reference node and relative location information of the unknown node, and implements positioning of the unknown node according to the received information.
9. 根据权利要求 8所述的定位系统, 其特征是, 所述未知节点是对所述多 个参考节点的位置信息、 接收信号强度以及指示链路的连接质量信息进行解三 角函数得到自身的相对位置信息。  The positioning system according to claim 8, wherein the unknown node obtains a trigonometric function for obtaining position information, received signal strength, and connection quality information of the plurality of reference nodes. Relative location information.
10. 一种定位方法, 在包括多个参考节点以及一未知节点的系统中, 实现 对未知节点的定位, 其特征是, 包括:  A positioning method for realizing positioning of an unknown node in a system including a plurality of reference nodes and an unknown node, the feature comprising:
在所述参考节点与未知节点之间构建 Z i gBe e无线网络;  Constructing a Z i gBe e wireless network between the reference node and the unknown node;
获取所述多个参考节点的位置信息、 接收信号强度以及指示链路的连接质 量信息并计算出所述未知节点的自身相对位置信息; 根据某一所述参考节点的位置信息以及未知节点的相对位置信息, 定位未 知节点; Obtaining location information of the multiple reference nodes, receiving signal strength, and connection quality information indicating the link, and calculating relative location information of the unknown node; Locating an unknown node according to location information of a certain reference node and relative location information of the unknown node;
其中所述计算未知节点的自身相对位置信息的方法为解三角函数。  The method for calculating the relative position information of the unknown node is a solution trigonometric function.
PCT/CN2009/071893 2009-02-11 2009-05-21 Dual interface intelligent card and its communication method, and corresponding positioning system and method WO2010091560A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910046070.X 2009-02-11
CNA200910046070XA CN101483937A (en) 2009-02-11 2009-02-11 Dual interface smart card and communication method thereof, corresponding positioning system and method

Publications (1)

Publication Number Publication Date
WO2010091560A1 true WO2010091560A1 (en) 2010-08-19

Family

ID=40880817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071893 WO2010091560A1 (en) 2009-02-11 2009-05-21 Dual interface intelligent card and its communication method, and corresponding positioning system and method

Country Status (2)

Country Link
CN (1) CN101483937A (en)
WO (1) WO2010091560A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080051A (en) * 2014-07-07 2014-10-01 上海交通大学 Locating system and locating method thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102309827B (en) * 2011-09-09 2012-12-19 东北大学 Auxiliary rescue device for fire-trapped people in huge building and control method
CN107294822B (en) * 2016-04-12 2023-04-07 北京握奇智能科技有限公司 Intelligent household control system and method
CN107316074B (en) * 2017-07-04 2018-08-21 冯贵良 A kind of multi-protocols smart card and implementation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101091189A (en) * 2004-11-25 2007-12-19 意大利电信股份公司 Joint IC card and wireless transceiver module for mobile communication equipment
CN101315673A (en) * 2007-05-28 2008-12-03 因卡特有限公司 IC card comprising a main device and an additonal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101091189A (en) * 2004-11-25 2007-12-19 意大利电信股份公司 Joint IC card and wireless transceiver module for mobile communication equipment
CN101315673A (en) * 2007-05-28 2008-12-03 因卡特有限公司 IC card comprising a main device and an additonal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080051A (en) * 2014-07-07 2014-10-01 上海交通大学 Locating system and locating method thereof

Also Published As

Publication number Publication date
CN101483937A (en) 2009-07-15

Similar Documents

Publication Publication Date Title
CN101904117B (en) Switching between multiple CGCMs
US9197313B2 (en) Remote control with near field communications capability
US9843889B2 (en) Method and system for managing multiple applications in near field communication
EP2779779B1 (en) Near field communication system in a local network
EP2770782B1 (en) Wireless data communication
CN102832976A (en) NFC (Near Field Communication) communication method and device
CN103209007A (en) Bluetooth device quick pairing method and Bluetooth device
FI121948B (en) Arrangement for Delaying the Transfer of a Friend Connect for an NFC-Compatible Mobile Device and Related Method
CN105144201A (en) Wireless signal generating cards and methods and system of using such cards
JP2014155224A (en) Limited control method of radio network area based on nfc technique, and system
Jain et al. Nfc?: Advantages, limits and future scope
CN104967887A (en) NFC-based information interaction method and virtual reality glasses
CN106981892A (en) Power supply device and power receiving device in wireless charging system and charging controller thereof
WO2011120241A1 (en) Collision detection method of radio frequency sim card with electromagnetic communication at low frequency
WO2010091560A1 (en) Dual interface intelligent card and its communication method, and corresponding positioning system and method
CN101009555B (en) An intelligent secret key device and the method for information interaction with the host
CN106790283A (en) A kind of Internet of things system framework and data communications method
CN103975351B (en) Operation system
CN203930985U (en) A kind of logistics distribution system
CN201638248U (en) Intelligent card with dual interfaces
CN206422925U (en) A kind of low-power consumption based on human body communication wakes up communicator
CN105847156A (en) Default data packet routing in a NFC device
WO2019104989A1 (en) Terminal and communication method
CN103731509B (en) A kind of data storage transmission control method, respective storage devices and server
CN207410378U (en) A kind of mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09839883

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 191211

122 Ep: pct application non-entry in european phase

Ref document number: 09839883

Country of ref document: EP

Kind code of ref document: A1