CN106845599A - NFC label - Google Patents

NFC label Download PDF

Info

Publication number
CN106845599A
CN106845599A CN201710213954.4A CN201710213954A CN106845599A CN 106845599 A CN106845599 A CN 106845599A CN 201710213954 A CN201710213954 A CN 201710213954A CN 106845599 A CN106845599 A CN 106845599A
Authority
CN
China
Prior art keywords
data
ndef
nfc
file
compared
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.)
Granted
Application number
CN201710213954.4A
Other languages
Chinese (zh)
Other versions
CN106845599B (en
Inventor
楼鹏
王旬贵
张吉红
康泽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Geehy Semiconductor Co Ltd
Original Assignee
Apex Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apex Microelectronics Co Ltd filed Critical Apex Microelectronics Co Ltd
Publication of CN106845599A publication Critical patent/CN106845599A/en
Application granted granted Critical
Publication of CN106845599B publication Critical patent/CN106845599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0723Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0701Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management
    • G06K19/0707Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management the arrangement being capable of collecting energy from external energy sources, e.g. thermocouples, vibration, electromagnetic radiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Near-Field Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of NFC label.Data management system is set in NFC label, multiple NDEF is read by data management system and records or perform the encapsulation that the NDEF of relatively large data is recorded, and multiple NDEF are recorded into parsing or the non-volatile memory cells that write direct, realize the storage and transmission of relatively large data, and, data head is set in non-volatile memory cells, by in data head each file index information perform targetedly or partial document data reading or rewriting, rewriting, realize the reading and write operation of data in more flexible NFC label.

Description

NFC label
This application claims enjoy on 04 01st, 2016 submit to entitled " NFC label, NFC reader and NFC label Data read-write method " Chinese patent application CN201610206809.9 priority, the entire disclosure of which is by drawing With being incorporated herein.
Technical field
The invention belongs to wireless communication field, it is related to work in a kind of NFC label, the NFC readings of label and reader/writer mode Write the data read-write method of device and NFC label.
Background technology
Near-field communication (Near Field Communication, abbreviation NFC), be one kind work in 13.56MHz (megahertz In frequency hereby), communication connection setup time was less than 1 second and communication distance is generally confined within the quick short distance within 10 centimetres High frequency wireless communication technology.It is currently based on NFC protocol specification NFCIP-1 (including the international standards of ISO/IEC 18092 and ECMA- 340 standards), the international standards of ISO/IEC 14443, the contactless smart card standard such as Japanese Industrial Standards (JIS) X 6319-4 determine The NFC device of justice may operate in reader/writer mode for NFC label, for the ad hoc mode between other NFC devices, In for the snap gauge simulation models of other NFC readers, and the NFC device based on different NFC standards supports 106kbps (thousand Bits per second), the different message transmission rate such as 212kbps and 424kbps.Two kinds of communication patterns are supported between NFC device:It is logical Letter initiating equipment and target communication device are all by power itself and the aggressive mode (such as ad hoc mode) of alternate transport data; Communication initiating equipment produces wireless signal and by electromagnetic field for target communication device is powered, and target communication device is by existing Electromagnetic field is modulated to respond the Passive Mode (such as reader/writer mode and snap gauge simulation models) of communication initiating equipment.Generally in label and In reader/writer mode, NFC reader (mobile phone as supported NFC communication) is near passive NFC label and produces wireless signal, NFC The antenna of label captures electric energy for memory is powered from the electromagnetic field of the wireless signal, and by the modulation to the electromagnetic field come The data is activation that memory is stored is to NFC reader.Antenna and corresponding memory device are only needed due to passive NFC label and The characteristics of without additional battery, be simple to manufacture, with low cost and volume it is thin easy to carry, be now widely used for electronics label In card, anti-counterfeit recognition and electronic business card, the life for giving people brings great convenience.
At present, the agreement of NFC data communication is standardized by NFC forums (NFC Forum), and NFC forums define NFC Data interchange format (NFC Data Exchange Format, abbreviation NDEF) as between NFC device and NFC labels and The universal data format of NFC communication is carried out between NFC device.NDEF is using a NDEF message (NDEF Message) as once The data exchange structure of NFC communication, a NDEF message can be each comprising at least one NDEF records (NDEF Record) Individual NDEF recording carryings have for communicate data as payload (NDEF Payload).When being communicated between NFC device, NFC generators (NFC generator) inside target communication device will need the data of communication to be encapsulated into as payload In one or more NDEF records, and one or more NDEF records are sent to communication initiation as NDEF message set Standby, the NDEF message that the NFC resolvers (NFC parser) inside communication initiating equipment will be received parses payload simultaneously NDEF is sent to be processed using (NDEF Application).
A NDEF is stored in existing NFC label, in the memory of NFC label in the form of single NDEF records to disappear Breath, when NFC device reads NFC label as communication initiating equipment, NFC label is directly using the single NDEF records as one NDEF message is sent to NFC device, and the single NDEF records are parsed payload simultaneously by the NFC resolvers inside NFC device NDEF applications are sent to be processed.
Due to only storing single NDEF records in existing NFC label, even if can be included in the single NDEF records many Individual NDEF subrecords are packaged as payload.But, due to the limitation of NFC communication speed, and target communication device and Cross conference and cause the frame losing in NFC communication to pass by data frame transfer, single NDEF record datas amount between communication initiating equipment Defeated to make communication error rate too high and bust this, the current NFC label single NDEF record datas amount to be stored generally is limited System is within 8KB (kilobytes).So as to current NFC label is cannot to store and transmit tens of KB even several MB (Mbytes) Larger amount of data.
And, be related to the data splitting of multiple files store with transmission, generally using the plurality of file as effective Load is encapsulated into multiple NDEF subrecords, then the plurality of NDEF subrecords are encapsulated into single NDEF record storages to NFC marks In label., it is necessary to the NDEF records in NFC label are all read and by that could be obtained after the parsing of NFC resolvers when reading file File destination, it is impossible to file therein selectively or is only partially read, it is necessary to all files are encapsulated during write-in file Write to NFC label into single NDEF records, it is impossible to targetedly or only partially rewrite file therein, do not possess file The flexibility of read-write.
So as to, it is a kind of can store and transmit the NFC label and one kind of relatively large data selectively read and write part The NFC label reading/writing method of data is desirable.
The content of the invention
In order to solve NFC label present in prior art cannot store and transmit larger amount of data and reading and writing data not Flexible problem, the invention provides the data read-write method of a kind of new NFC label, NFC reader and NFC label.
A kind of NFC label, including:
NFC antenna, the transmitting-receiving that the NDEF of the data compared with small data quantity is recorded is carried by demodulation or modulated electromagnetic field Communication;
Non-volatile memory cells, store the data of larger data amount;
Data management system, including data read-out unit, NDEF message encapsulation unit and NDEF message sending units, data Sensing element is used for the data read-out of the larger data amount for being stored non-volatile memory cells, and NDEF message encapsulation unit is used In the data of the larger data amount are packaged into multiple NDEF records for carrying the data compared with small data quantity, NDEF message sends single Unit is for the plurality of NDEF records for carrying the data compared with small data quantity to be sent by NFC antenna modulated electromagnetic.
Based on embodiments of the invention, the data of above-mentioned larger data amount are at least one NDEF records.
A kind of NFC label, including:
NFC antenna, the transmitting-receiving that the NDEF of the data compared with small data quantity is recorded is carried by demodulation or modulated electromagnetic field Communication;
Non-volatile memory cells, store the data of larger data amount;
Data management system, including date read-write cell, NDEF message encapsulation unit, NDEF message parsing units and NDEF Messaging unit, date read-write cell is used for the data read-out of the larger data amount for being stored non-volatile memory cells, NDEF message encapsulation unit is used to for the data of the larger data amount to be packaged into multiple NDEF for carrying the data compared with small data quantity Record, NDEF messaging units are used to adjust the plurality of NDEF records for carrying the data compared with small data quantity by NFC antenna Electromagnetic field processed sends, and, NDEF messaging units are used for the multiple data carried compared with small data quantity for receiving NFC antenna NDEF records send to NDEF message parsing units, NDEF message parsing units are used for the plurality of carrying compared with small data quantity The NDEF records of data are parsed and extract the data of the larger data amount in payload, and the data of the larger data amount are passed Date read-write cell is given, date read-write cell is used to write the data of the larger data amount to non-volatile memory cells.
Based on embodiments of the invention, above-mentioned multiple NDEF records for carrying the data compared with small data quantity include at least one NDEF subrecords, NDEF message parsing units send at least one NDEF subrecords to date read-write cell.
Based on embodiments of the invention, the NFC antenna of above-mentioned NFC label is additionally operable to capture electric energy from electromagnetic field.
Compared with prior art, NFC label provided by the present invention, sets data management system in NFC label, passes through Data management system reads multiple NDEF records or performs the encapsulation of the NDEF records of relatively large data, and multiple NDEF are remembered Record parsing or the non-volatile memory cells that write direct, realize the storage and transmission of relatively large data, also, deposit non-volatile Data head is set in storage unit, is performed targetedly or partial document data by the index information of each file in data head Reading or rewriting, rewriting, realize the reading and write operation of data in more flexible NFC label.
Other features and advantages of the present invention will illustrate in the following description, and partly become from specification It is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be wanted by specification, right Specifically noted structure in book and accompanying drawing is asked to realize and obtain.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with reality of the invention Apply example to be provided commonly for explaining the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the structural representation of NFC label provided by the present invention;
The structural representation of the NFC label that Fig. 2 is provided by the embodiment of the present invention three;
The structural representation of the NFC label that Fig. 3 is provided by the embodiment of the present invention four;
The data store organisation figure of the NFC label that Fig. 4 is provided by the embodiment of the present invention.
Specific embodiment
Below, technical scheme is described in detail in conjunction with the accompanying drawings and embodiments.Ordinary skill people Member with optimal implementation it should be understood that in order to simplify description process and clearly appear from technical scheme, be only subject to below Illustrate, as long as not constituting conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, The technical scheme for being formed should be within protection scope of the present invention.
Fig. 1 is the structural representation of NFC label provided by the present invention.As shown in figure 1, NFC label 2 includes:For from Electromagnetic field captures electric energy and by demodulation or modulated electromagnetic field receive and dispatch the NFC antenna 21 of communication, and being stored with can be used as effective The non-volatile memory cells 22 of the data of load, and, NFC label 2 also includes data management system 23, for non-volatile The data that property memory cell 22 is stored are managed, read or store, the data that non-volatile memory cells 22 are stored Be packaged into the transmission of suitable NFC antenna 21 NDEF message formats or the NDEF message that is received NFC antenna 21 be parsed into it is suitable The data form of the storage of non-volatile memory cells 22.
Specifically, NFC antenna 21 can be around circular or oval or other arbitrary shapes coil.It is non-volatile Property memory cell 22 can be using the nonvolatile memory such as EEPROM, EPROM, FLASH, ferroelectric memory or phase transition storage Part is realized, it would however also be possible to employ the volatile memory such as one or more registers, buffer and RAM and the above are at least one The combination of nonvolatile memory is realized.Data management system 23 can be the singlechip controller being separately provided, it is also possible to Multiple control electrical combinations that right and wrong volatile memory cell 23 is integrated in one, such as using the SOC being designed on wafer System.
For different storage classes, data management system provided by the present invention 23 can have various implementations, under Structure elaborates to be realized to NFC label provided by the present invention 2 with reference to accompanying drawing 2-3 in face.
Embodiment one
The structural representation of the NFC label that Fig. 2 is provided by the embodiment of the present invention one.The NFC marks that the present embodiment is provided The non-volatile memory cells 22 for signing 2 store larger amount of data (such as in the form of the unencapsulated former data into NDEF records File more than 1MB, its data volume has exceeded what the single NDEF that can be sent to NFC reader by NFC antenna stabilization was recorded Payload can carry the data volume of data).As shown in Fig. 2 the data management system 23 of NFC label 2 is sent out including NDEF message Unit 231a, data read-out unit 232c and NDEF message encapsulation unit 233 are sent, data read-out unit 232c is used for will be non-volatile Property the data read-out that is stored of memory cell 22, NDEF message encapsulation unit 233 is used for read-out by data read-out unit 232c Larger amount of data be packaged into multiple NDEF record, a part for the relatively large data is encapsulated into as payload each In individual NDEF record, and each small amount of data of NDEF recording carryings (the NDEF records of such as less than 8KB) is with can be by NFC The stabilization of antenna 21 is sent into NFC reader, and NDEF message sending units 231a is used to record orderly multiple NDEF and makees For at least one NDEF message is sent by the modulated electromagnetic of NFC antenna 21.
Optionally, NDEF message sending units 231a and NDEF message encapsulation unit 233 can also merge and be set to individually The NDEF message encapsulation transmitting element that one control message is encapsulated and sent, or using equitant multiple control circuit groups Close.
Optionally, the type of the NFC standard that can be supported according to NFC reader and the traffic rate supported are flexible Set it is packaged into multiple NDEF record the data volume of carried payload, for example, can for relatively low traffic rate The more NDEF that more small data quantity is carried to encapsulate data into is recorded, to improve the stability of NFC communication.
Optionally, NDEF message sending units 231a according to NDEF message encapsulation unit 233 by the number of the larger data amount Number according to the order of the packaged NDEF records that the data compared with small data quantity are carried into multiple by the plurality of carrying compared with small data quantity According to NDEF records sent by NFC antenna modulated electromagnetic.
Further, NDEF message sending units 231a is before the first NDEF records for carrying small amount of data are sent A NDEF record for carrying start mark is first sent to represent the beginning that multiple NDEF records send, and is sending this A NDEF note for carrying end mark is retransmited after the NDEF records of last the small amount of data of carrying for reading Record to represent the completion that this multiple NDEF record sends;Or, first carrying is being sent by NDEF message sending units 231a When the NDEF of small amount of data is recorded enterprising start of line mark, and last that this reads in transmission are recorded in the NDEF When the NDEF for carrying small amount of data is recorded end mark is carried out on NDEF records.It should be noted that non-volatile Memory cell 22 can store individual data, such as single file, it is also possible to store same type of multiple different pieces of informations, for example Multiple documents, can also store different types of multiple different pieces of informations, such as document and picture, and it can regard individual data Execute encapsulation simultaneously sends, optionally, it is also possible to for multiple different pieces of informations, each data is packaged into multiple NDEF respectively Record and has sent packaged by one data into multiple NDEF record after retransmit next data multiple NDEF record, Wherein, the order that each data execute encapsulation is recorded into NDEF is not limited.
It should be noted that the data that non-volatile memory cells 22 are stored can also be one or more NDEF message At least one of NDEF records, its still can utilize the NDEF message encapsulation unit 233 that be provided of the present embodiment by this extremely Few NDEF records are recorded as the new NDEF that the data of payload Reseal into suitable data amount.For example, when non- When volatile memory cell 22 stores that NDEF record data amounts are larger to be difficult to send, NDEF records can be Resealed into Multiple new NDEF records compared with small data quantity, and the plurality of new NDEF records are sent, it is feasible, it is also possible to will be many The new NDEF recording and sendings that individual less NDEF records Reseal into a larger data amount as subrecord are gone out.
Based on the NFC label that the present embodiment is provided, data management system can directly by non-volatile memory cells institute The data of storage are packaged into multiple NDEF recording and sendings and go out so that NFC label can not only be stored and send larger amount of Data, and the encapsulation of NDEF records can be flexibly performed according to NFC communication.
Embodiment two
The structural representation of the NFC label that Fig. 3 is provided by the embodiment of the present invention two.The NFC provided with embodiment one Label is similar, and the non-volatile memory cells 22 of the NFC label 2 that the present embodiment is provided are same to be remembered with unencapsulated into NDEF The form of the former data of record stores larger amount of data.As shown in figure 3, the data management system 23 that is provided of the present embodiment NDEF messaging units 231b and date read-write cell 232d, compared to the NDEF message sending units that embodiment one is provided 231a and data sensing element 232c, the function setting for not only being sent with data read-out and NDEF message, also disappears with NDEF The function setting that breath is received and data write.Due to date read-write cell 232d, NDEF message encapsulation unit 233 and NDEF message Data read-out that Transmit-Receive Unit 231b is stored non-volatile memory cells 22, it is packaged into the original that NDEF recording and sendings are gone out Reason is identical with embodiment one, will not be repeated here.
The data management system 23 that the present embodiment is provided includes NDEF messaging units 231b, date read-write cell 232d, NDEF message encapsulation unit 233 and NDEF message parsing units 234, wherein, NDEF message parsing units 234 are used to solve Analysis NDEF is recorded and is extracted the data in its payload.
When NFC reader writes data to NFC label 2, the demodulation electromagnetic field of NFC antenna 21 of NFC label 2 obtains being connect The NDEF message of receipts, NDEF messaging units 231b sends the NDEF message comprising multiple specific order of NDEF records To NDEF message parsing units 234, the plurality of NDEF records are parsed and extract payload by NDEF message parsing units 234 In data, send the larger amount of data to date read-write cell 232d, date read-write cell 232d is larger amount of by this Data are write into non-volatile memory cells 22.
Further, what NDEF messaging units 231b received that NFC reader sends carries start mark NDEF represent the beginning that multiple NDEF record sends when recording, and then start to receive and first carry small amount of data NDEF is recorded, and the complete of this multiple NDEF records transmission is represented when a NDEF for carrying end mark is recorded receiving Into;Or, risen being sent on the NDEF of the small amount of data of first carrying of NDEF messaging units 231b records Begin mark, and carries out end mark on the NDEF records that last that this sends carries small amount of data, by NDEF The judgement that messaging unit 231b completion messages are received.
It should be noted that date read-write cell 232d writes to non-volatile memory cells 22 the larger amount of data When, the sequencing that can be recorded according to the NDEF that is received since the first address of non-volatile memory cells 22 backward one by one Write-in stores the larger amount of data, it is also possible to which the set order stored according to non-volatile memory cells 22 is deposited regardless of front and rear Store up the larger amount of data of address.
Optionally, NDEF messaging units 231b is it can also be provided that often receive a NDEF record just by the NDEF Record is sent to NDEF message parsing units 234, and NDEF records are parsed and extracted by NDEF message parsing units 234 Data in effect load, are write into non-volatile memory cells 22 by date read-write cell 232d.
It should be noted that the NDEF message parsing units 234 that are provided of the present embodiment be used to parsing NDEF records so as to The follow-up data that will more flexibly be parsed Reseal into required new NDEF and record to send.When NFC days The NDEF that line 21 is received is recorded during comprising NDEF subrecords, and NDEF message parsing units 234 can be after parsing NDEF records Continue to parse NDEF subrecords until extracting the data during all NDEF record the payload of forms, it is also possible to only parse NDEF is recorded and is sent to date read-write cell 232d using NDEF subrecords as data.
Optionally, date read-write cell 232d can also be provided separately as independent one is used for the data that control data reads Sensing element (such as 232c of Fig. 2) and an independent data write unit for being used for control data write-in, likewise, NDEF message Transmit-Receive Unit 231b can also be provided separately as independent one is used for the NDEF message sending units for controlling NDEF message to send (such as The 231a of Fig. 2) and the independent NDEF message reception units for being used to control NDEF message sinks.
Based on the NFC label that the present embodiment is provided, data management system can will be packaged with the multiple of relatively large data Directly by data storage to non-volatile memory cells after NDEF record parsings such that it is able to flexibly should when data are sent Larger amount of data are packaged into multiple NDEF recording and sendings and go out.
NFC label based on embodiment one or embodiment two realizes structure, when non-volatile memory cells store multiple During the data of file composition, in order to targetedly or only partially perform file read-write for greater flexibility, the invention provides one Plant the data store organisation of the non-volatile memory cells of NFC label.
Embodiment three
The data store organisation schematic diagram of the NFC label that Fig. 4 is provided by the embodiment of the present invention three.Non-volatile memories list Can be provided with unit 22 for the operation program needed for the operation of data storage management system, the firmware area of instruction and for storing The memory block of data and the index list for data management related to these data including multiple files.Such as Fig. 4 institutes Show, non-volatile memory cells 22 include:Firmware area 221, for the operation program needed for the operation of data storage management system, refers to Storage firmware needed for the firmwares such as order, and the operation of other this NFC labels;Directory area 222, is arranged at data head 223 and data Before area 224, total length information, the total length information of data field 224, the file of data field 224 of data head 223 are described At least one information such as number, for indexing simultaneously identification data first 223 and data field 224 respectively, directory area can also include this NFC The title of label, type, function, date of manufacture, file generated date, file rewrite date and corresponding identification code or verification The information such as code, the type of NFC label can be marked with identification code, the application strategy of the data for determining NFC label, NFC The title of label could be arranged to change or can not change, for being recognized by the type of NFC label and the title of NFC label And distinguish NFC label;Data head 223, the first address information and length of each file are respectively described according to the storage order of each file Degree information, is searched single file and is read and write respectively for the initial address and the length of data by each file, Optionally, data head 223 can also respectively describe the first address information and tail address information of each file, by rising for each file Beginning address and end address index single file, wherein, data head 223 can also add filename, the text for describing each file The identification code of part type or each file, sequence code;Data field 224, the first address according to each file described by data head 223 is believed Breath and data length information, or, first address information and tail address information store each file data.
The information of directory area and data head is used to be indexed the file of data field as index information.Optionally, number According to first 223 total length information and the total length information of data field 224, it is also possible to which the original position in respective area is individually entered respectively Row description, for example, 2 bytes describe the total length of directory area before directory area, 2 bytes describe data before data head The total length of head;And, directory area 222 can also can also merge into a single information area with data head 223, for retouching State the information of this NFC label, and the file number of data field, the initial address of filename and each file, data length or End address.
When the NFC antenna of NFC label captures electric energy from electromagnetic field, data management system and non-volatile memory cells are obtained Required electric energy must be run, data management system performs number since the firmware area load operating program of non-volatile memory cells According to reading or the management role such as write-in, wherein, data management system preferentially read non-volatile memory cells directory area and Information in data head, can send these information or by data management system from line index, for recognizing NFC label Information, and initial address, data length or the end address for indexing each file.It is literary to wherein at least one when receiving During the read-write requests of part, data management system performs number according to initial address and data length corresponding to file to this document According to reading or rewriting, or, when the read-write requests for receiving the data to a certain initial address and data length, data pipe Reason system points to the initial address and the data to the data length of regulation perform the reading or rewriting of data.
It should be noted that the present embodiment is preferably stored before data field directory area and data head, optionally, also may be used With by directory area or data head storage in other addresses or with other specific sequential storages, as long as preferentially read this directory area and The index information of data head simultaneously carrys out the purpose that each file in index data area belongs to the present invention with this.
It should be noted that be not limited, the file described by the present embodiment can also be the shape recorded with NDEF The data of formula storage, likewise, the single file that each file described by the present embodiment can be independent type can also be The compressed package of the aggregate of multiple files, such as file, can also be a part for single file, in such as multiple compressed packages one It is individual.
The data store organisation of the NFC label provided based on the present embodiment, data management system can be according to data head The initial address of each file of description, length information or initial address, end address individually index each file, and are directed to Property ground or only partially perform file read-write, for the multifile data of NFC label provide more flexible read-write mode.
The data store organisation of the NFC label provided based on embodiment three, for the multifile reading and writing data of NFC label There can be implemented below method.
Example IV
The data for realizing the NFC label that structure and embodiment three are provided of the NFC label provided based on embodiment one Storage organization, the multifile method for reading data of NFC label can include below scheme:
Preparation process:NFC antenna captures electric energy from electromagnetic field, and data management system and non-volatile memory cells are obtained Electric energy needed for startup optimization, data management system is transported since the firmware area load operating program of non-volatile memory cells OK;
Step 301:The directory area and data head of data management system loading non-volatile memory cell, obtain NFC label Title, the filename of multiple files for being stored of type, data field, file type or document identifier code, document order code, with And the initial address of multiple files for being stored of data field, data length or end address;
Step 302:The text of multiple files that the title of data management system foundation NFC label, type, data field are stored At least one information in part name, file type or document identifier code, document order code determines the multiple text that data field is stored The file reading order of part;
Step 303:Data management system indexes initial address, data length or the knot of each file according to file reading order Beam address, in order reads each file from the data field of non-volatile memory cells;
Step 304:Each Document encapsulation for reading is to carry to be recorded compared with multiple NDEF of small data quantity by data management system, And sent by NFC antenna modulated electromagnetic.
Optionally, data management system determines the data of NFC label according to the type (such as type identification code) of NFC label Application strategy, and then determine the reading priority of each file, so that it is determined that the file reading order of multiple files;Optionally, Data management system can determine the file reading order of each file with the document order of each file of direct basis code;It is optional , when cannot clearly determine the reading priority or file reading order of file, data management system can also directly by Multiple files of order cannot be determined according to sequentially reading for being stored.
Optionally, the order that data management system is sequentially read out being read according to file after each file performs what NDEF was recorded Encapsulation, alternative realization, data management system first can also read each file according to the storage order of each file, then foundation The document order code of the type of NFC label or each file determines the order of each file, and then according to identified each file Order performs the encapsulation of NDEF records.
Optionally, after data management system could be arranged to first read out a file, this document is encapsulated and is completed, then read Take next file.
The method for reading data of the NFC label provided based on the present embodiment, data management system can direct basis NFC marks The sequence code of the type of label or each file of defined determines the reading order of each file, and then performs each number of files in order According to reading and NDEF message encapsulation.
Embodiment five
The data for realizing the NFC label that structure and embodiment three are provided of the NFC label provided based on embodiment two Storage organization, the multifile method for writing data of NFC label can include below scheme:
Preparation process:NFC antenna captures electric energy from electromagnetic field, and data management system and non-volatile memory cells are obtained Electric energy needed for startup optimization, data management system is transported since the firmware area load operating program of non-volatile memory cells OK;
Step 401:The directory area and data head of data management system loading non-volatile memory cell, obtain NFC label Title, the filename of multiple files for being stored of type, data field, file type or document identifier code, document order code, with And the initial address of multiple files for being stored of data field, data length or end address;
Step 402:NFC antenna demodulation electromagnetic field obtains received NDEF message;
Step 403:Data management system parses NDEF message and extracts the data in payload, according to included by data At least one file and write-in type, confirm write-in type be at least one file independent rewriting or at least one file Re-write;
Step 404:If write-in type is the independent rewriting of at least one file, data management system rises according to file Beginning address, data length or end address perform the rewriting of at least one file, and the index such as the initial address of document retaining Information;
Step 405:If write-in type re-writes at least one file, the starting of data management system foundation file Address, data length or end address perform re-writing at least one file, and regenerate new filename, file The index information such as type, document identifier code, document order code and the initial address of file, data length or end address, will The new index information is write to data head.
Optionally, when the write-in of file be related to the filename of file, file type, document identifier code, document order code with And file initial address, the change of data length or end address at least one index information when, data management system should Write-in type is defined as re-writing for file, when the change of at least one index information of the above is not related to, data management system The write-in type is defined as system the rewriting of file.
It should be noted that the data that data management system is extracted can also only include at least one file, foundation At least one validation of information write-in type in the filename of file, file type or document identifier code, and execution changes accordingly Write or re-write.
The method for writing data of the NFC label provided based on the present embodiment, data management system can directly perform file Rewriting or re-write and retain according to write-in type or generate new index information, be that follow-up file reads or write-in is done It is good to prepare.
Embodiment six
When being communicated during NFC label provided by the present invention and NFC reader work in label and reader/writer mode, in order to Digital independent or the write-in of NFC label provided by the present invention are preferably performed, a kind of NFC reader is present embodiments provided, It is provided with the NFC reader for the NFC antenna of NFC communication and the NFC parsings for parsing NDEF records in NDEF message Device, the NFC generators for data or instruction to be packaged into NDEF records, wherein, it is also equipped with least in the NFC read write lines One application program (Application, abbreviation APP) that can be processed the data of NFC label, NDEF applications are (i.e. The application program) for obtaining the file of the title of NFC label, multiple files that type, data field are stored via NFC communication Initial address, the data of multiple files that name, file type or document identifier code, document order code, and data field are stored At least one index information in length or end address, and according at least one index information specify the NFC label The reading order of multiple files, and the corresponding treatment operation for reading file is performed, or, indexed according at least one and believed Breath specifies the write-in type of the NFC label, and the transmission processe for performing corresponding write-in file.
Optionally, at least one application program of NFC reader is by obtaining the type of NFC label, and is marked according to the NFC The type of label directly specifies the file reading order of multiple files in NFC label, for example, for different types of NFC label point The preferential reading order rule of different files is not set, or, optionally, at least one application program of NFC reader has User visualizes the operation interface with user mutual, can be instructed by the preferential reading of user literary come multiple in specifying NFC label The file reading order of part, for example, the NFC reader can be a mobile phone for support NFC communication, the application program can be A application APP in mobile phone, this is using APP by obtaining filename or file type in NFC label and being grasped in visualization Make to be shown to user in interface, clicked on by user or the selected corresponding preferential file for reading, meanwhile, it is all that need not read The file number of reading can also be needed during file by user's selection.
Optionally, at least one application program of the NFC reader can by obtaining title, the type of NFC label, according to According to the direct specified file reading order of the type of NFC label, or, can by obtain multiple files of NFC label filename, File type or document identifier code, the reading order of each file is specified according to filename or file type, and by the number of NFC label The reading of the file of respective sequence is performed according to the initial address of each file, data length or end address information according to management system Take, or, it is also possible to by the title, the filename of type or multiple files, file type or the file identification that obtain NFC label Code is directly referred to determining the reading order of each file according to the initial address of each file, data length or end address information Determine the data management system of NFC label according to each initial address and corresponding data length or end address to read number of files According to.
Optionally, at least one application program of the NFC reader can write filename, the file of file by sending Type or document identifier code and file data is write accordingly, by the data management system of NFC label according to filename or text Part type performs the rewriting of file, or, initial address, data length or the end address of file can be write by directly transmitting The data management system of information and corresponding write-in file data and specified NFC label performs file according to initial address Rewrite, or, by directly transmitting write-in file data, and can directly be performed from number by the data management system of NFC label Rewritten according to the file of area's first address.
Based on the NFC reader that embodiment six is provided, for NFC reader and the multifile reading and writing data of NFC label There can be following several implementation methods.
Embodiment seven
The data for realizing the NFC label that structure and embodiment three are provided of the NFC label provided based on embodiment one Storage organization, and the NFC reader that embodiment six is provided, store the data comprising multiple files in NFC label, and Corresponding directory area and data head are provided with before data field, NFC reader obtains directory area and data head and specifies NFC label institute The multifile method for reading data of the file to be read can include below scheme:
Preparation process:NFC reader is close to and sets up NFC communication with NFC label, and the NFC antenna of NFC label is read from NFC Write and capture electric energy in the electromagnetic field that device is launched, the data management system and non-volatile memory cells of NFC label are started Electric energy needed for operation, data management system brings into operation from the firmware area load operating program of non-volatile memory cells;
Step 501:The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain Take the title of NFC label, the filename of multiple files that type, data field are stored, file type or document identifier code, file Sequence code, and the initial address of multiple files for being stored of data field, data length or end address;
Step 502:The multiple that the data management system of NFC label is stored the title of NFC label, type, data field The filename of file, file type or document identifier code, document order code at least a portion Information encapsulation are to carry compared with small data At least one NDEF information records of amount, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 503:The NFC antenna of NFC reader obtains at least one NDEF information records, via NFC resolver solutions The filename of the multiple files stored after analysis and by the title of the NFC label, type, data field, file type or file are known Application program of at least a portion information transmissions such as other code, document order code to NFC reader;
Step 504:The application program of the NFC reader is according to the type of NFC label or according to user to the text to be read The order of part selectes the reading order of filename or file type and the multiple files for determining the file to be read, NFC read-writes The reading order of the filename or file type of the file to be read and multiple files is instructed encapsulation by the NFC generators of device Into carry compared with small data quantity at least one NDEF instruct record, and by NFC reader NFC antenna by electromagnetic field send to NFC label;
Step 505:The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send to The data management system of NFC label;
Step 506:The data management system of NFC label is parsed and obtains what the application program of NFC reader to be read The reading order of the filename or file type of file and multiple files, and according to the initial address of each file, data length Or end address information, each file is read from the data field of non-volatile memory cells in order;
Step 507:Each Document encapsulation for reading is to carry the multiple compared with small data quantity by the data management system of NFC label NDEF data records, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 508:The NFC antenna of NFC reader obtains at least one NDEF data records, via NFC resolver solutions Send the application program of NFC reader after analysis and by these files to;
Step 509:The application program of NFC reader performs treatment to the file for being read.
Optionally, step 502~506 can also be performed with following steps:
Step 502 ':The multiple that the data management system of NFC label is stored the title of NFC label, type, data field At least a portion information such as the filename of file, file type or document identifier code, document order code, and data field is stored At least a portion Information encapsulation such as the initial address of multiple files, data length or end address be to carry compared with small data quantity At least one NDEF information records, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 503 ':The NFC antenna of NFC reader obtains at least one NDEF information records, via NFC resolver solutions The filename of the multiple files stored after analysis and by the title of the NFC label, type, data field, file type or file are known Initial address, the data length of multiple files that at least a portion information and the data fields such as other code, document order code are stored Or at least a portion information transmission such as end address is to the application program of NFC reader;
Step 504 ':The application program of the NFC reader is according to the type of NFC label or according to user to the text to be read The order of part selectes the reading order of filename or file type and the multiple files for determining the file to be read, and foundation will The initial address of each file, data length or the end address information for reading describe file and read instruction, the NFC of NFC reader The reading order of the initial address, data length or end address information and multiple files of each file that generator will read Instruction is packaged into carry and instructs record compared with least one NDEF of small data quantity, and passes through electromagnetism by the NFC antenna of NFC reader Field is sent to NFC label;
Step 505 ':The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send to The data management system of NFC label;
Step 506 ':The data management system of NFC label is parsed and obtains what the application program of NFC reader to be read The initial address of file, data length or end address information and reading order, directly in order by each file from non-volatile Property memory cell data field read.
Optionally, when user specifies or selectes multiple files and its corresponding reading order, the application journey of NFC reader Sequence can not also be sent to NFC label the reading order of the plurality of file, but only sends the most preceding file of reading order Read requests (filename or file initial address and length information), and in reading order is retransmited after the completion of this document reads The read requests (filename or file initial address and length information) of next file, all will so read until having read File, terminate NFC communication.
Optionally, when that need not read whole file, the application program of NFC reader can be by the starting point of file Location positions reads from the beginning of file, and positions the file size to be read by the length information to be read, or, when During through the part for having read single file, the application program of NFC reader can be by positioning the initial address for needing to read (centre position of whole file), and the data volume to be read is controlled by the length information to be read.
The NFC reader and the method for reading data of NFC label provided based on the present embodiment, NFC reader pass through mesh Record area and data head obtain NFC label multiple files index, and then directly specify to be read filename, file type or File address, is gone to index or directly read corresponding file data and be packaged into NDEF to remember by the data management system of NFC label Record is sent to NFC reader, such that it is able to directly control the reading of the file destination or file to be read at NFC reader end Sequentially, there is provided more flexible NFC label file data reading mechanism.
Embodiment eight
The data for realizing the NFC label that structure and embodiment three are provided of the NFC label provided based on embodiment two Storage organization, and the NFC reader that embodiment six is provided, store the data comprising multiple files in NFC label, and Corresponding directory area and data head are provided with before data field, NFC reader obtains directory area and data head and specifies NFC label institute The multifile data rewriting method of the file to be rewritten can include below scheme:
Preparation process:NFC reader is close to and sets up NFC communication with NFC label, and the NFC antenna of NFC label is read from NFC Write and capture electric energy in the electromagnetic field that device is launched, the data management system and non-volatile memory cells of NFC label are started Electric energy needed for operation, data management system brings into operation from the firmware area load operating program of non-volatile memory cells;
Step 601:The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain Take the title of NFC label, the filename of multiple files that type, data field are stored, file type or document identifier code, file Sequence code, and the initial address of multiple files for being stored of data field, data length or end address;
Step 602:The multiple that the data management system of NFC label is stored the title of NFC label, type, data field The filename of file, file type or document identifier code, document order code at least a portion Information encapsulation are to carry compared with small data At least one NDEF information records of amount, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 603:The NFC antenna of NFC reader obtains at least one NDEF information records, via NFC resolver solutions The filename of the multiple files stored after analysis and by the title of the NFC label, type, data field, file type or file are known Application program of at least a portion information transmissions such as other code, document order code to NFC reader;
Step 604:The application program of the NFC reader according to the filename of multiple files of NFC label, file type or Document identifier code, document order code are directly specified or according to user to the file to be rewritten of selected determination of the file to be rewritten Sequentially, the NFC generators of NFC reader are by the file to be rewritten for the rewriting of filename or file type and multiple files Filename or file type, the rewriting order of multiple files and corresponding file rewrite data are packaged into carrying compared with small data quantity At least one NDEF instruction records, and sent to NFC label by electromagnetic field by the NFC antenna of NFC reader;
Step 605:The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send to The data management system of NFC label;
Step 606:The data management system of NFC label is parsed and obtains what the application program of NFC reader to be rewritten The rewriting order and corresponding file rewrite data of the filename or file type of file, multiple files, and according to each file Initial address, data length or end address information, the file of the data field of non-volatile memory cells is rewritten in order.
Optionally, step 602~606 can also be performed with following steps:
Step 602 ':The multiple that the data management system of NFC label is stored the title of NFC label, type, data field At least a portion information such as the filename of file, file type or document identifier code, document order code, and data field is stored At least a portion Information encapsulation such as the initial address of multiple files, data length or end address be to carry compared with small data quantity At least one NDEF information records, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 603 ':The NFC antenna of NFC reader obtains at least one NDEF information records, via NFC resolver solutions The filename of the multiple files stored after analysis and by the title of the NFC label, type, data field, file type or file are known Initial address, the data length of multiple files that at least a portion information and the data fields such as other code, document order code are stored Or at least a portion information transmission such as end address is to the application program of NFC reader;
Step 604 ':Filename, the file type of multiple files of the application program foundation NFC label of the NFC reader Or document identifier code, document order yard directly specified or foundation user are to the file to be rewritten of selected determination of the file to be rewritten Filename or file type and multiple file rewriting sequentially, and according to initial address, the data of each file to be rewritten Length or end address information describe file write-over instruction, the starting of each file that the NFC generators of NFC reader will be rewritten Address, data length or end address information, the rewriting order of multiple files and corresponding file rewrite data are packaged into and hold Carry and instruct record compared with least one NDEF of small data quantity, and sent to NFC by electromagnetic field by the NFC antenna of NFC reader Label;
Step 605 ':The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instruction records, and transmits To the data management system of NFC label;
Step 606 ':The data management system of NFC label is parsed and obtains what the application program of NFC reader to be rewritten The initial address of file, data length or end address information, rewriting order and corresponding file rewrite data, directly by suitable Sequence rewrites the file of the data field of non-volatile memory cells.
Optionally, when user specifies or selectes multiple files and its corresponding rewriting order, the application journey of NFC reader Sequence can not also be sent to NFC label the rewriting of the plurality of file order, but only sends the most preceding file of rewriting order Overwrite request (filename or file initial address and length information), and in rewriting order is retransmited after the completion of this document is rewritten The overwrite request (filename or file initial address and length information) of next file, all will so rewrite until having rewritten File, terminate NFC communication.
Optionally, when that need not rewrite whole file, the application program of NFC reader can be by the starting point of file Location positions rewrites from the beginning of file, and positions the file size to be rewritten by the length information to be rewritten, or, when need When being rewritten from the centre position of file, the application program of NFC reader can need the initial address rewritten (whole by positioning The centre position of individual file), and the data volume to be communicated is controlled by the length information to be rewritten.
Optionally, the application program of NFC reader to be rewritten in transmission filename or file type, or, to rewrite The initial address of file, data length or during end address information, it is also possible to will accordingly be set as at least one file The write-in type individually rewritten is sent to NFC label.
Under normal circumstances, when the non-volatile memory cells of NFC label use EEPROM etc. can with step-by-step rewrite storage During device, only rewriting some can't impact to the data of other storage address, can be using described in the present embodiment File data Improvement rewrites partial data therein.
The NFC reader and the data rewriting method of NFC label provided based on the present embodiment, NFC reader pass through mesh Record area and data head obtain NFC label multiple files index, and then directly specify to be rewritten filename, file type or File address, such that it is able to directly control the file destination to be rewritten at NFC reader end, there is provided more flexible NFC marks Sign file data rewrite mechanism.
Embodiment nine
The data for realizing the NFC label that structure and embodiment three are provided of the NFC label provided based on embodiment two Storage organization, and the NFC reader that embodiment six is provided, store the data comprising multiple files in NFC label, and Corresponding directory area and data head are provided with before data field, NFC reader obtains directory area and data head and specifies NFC label institute The multifile data of the file to be rewritten re-write method can include different modes.
It is updated when the only limited write-in of covering again of file and without the index information to directory area and data head When, can be performed using the flow similar with the rewriting flow that embodiment eight is provided;When needing to directory area and data head When index information is updated or regenerates, below scheme can be included:
Preparation process:NFC reader is close to and sets up NFC communication with NFC label, and the NFC antenna of NFC label is read from NFC Write and capture electric energy in the electromagnetic field that device is launched, the data management system and non-volatile memory cells of NFC label are started Electric energy needed for operation, data management system brings into operation from the firmware area load operating program of non-volatile memory cells;
Step 701:The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain Take the title of NFC label, the filename of multiple files that type, data field are stored, file type or document identifier code, file Sequence code, and the initial address of multiple files for being stored of data field, data length or end address;
Step 702:The multiple that the data management system of NFC label is stored the title of NFC label, type, data field The filename of file, file type or document identifier code, document order code at least a portion Information encapsulation are to carry compared with small data At least one NDEF information records of amount, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 703:The NFC antenna of NFC reader obtains at least one NDEF information records, via NFC resolver solutions The filename of the multiple files stored after analysis and by the title of the NFC label, type, data field, file type or file are known Application program of at least a portion information transmissions such as other code, document order code to NFC reader;
Step 704:The application program of the NFC reader according to the filename of multiple files of NFC label, file type or Document identifier code, document order code are directly specified or according to user to the selected determination file to be rewritten of the file to be rewritten Sequentially, the NFC generators of NFC reader are by the file to be rewritten for the rewriting of filename or file type and multiple files Filename or file type, the rewriting order of multiple files and corresponding file rewrite data and are packaged into carrying compared with small data quantity At least one NDEF instruction records, and sent to NFC label by electromagnetic field by the NFC antenna of NFC reader;
Step 705:The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send to The data management system of NFC label;
Step 706:The data management system of NFC label is parsed and obtains what the application program of NFC reader to be rewritten The filename or file type of file, the rewriting order of multiple files and corresponding file rewrite data, and according to each file Initial address, data length or end address information, the file of the data field of non-volatile memory cells is rewritten in order, And it is long to regenerate the initial address of new filename, file type, document identifier code, document order code and file, data The index information such as degree or end address, the new index information is write to data head.
Optionally, step 702~706 can also be performed with following steps:
Step 702 ':The multiple that the data management system of NFC label is stored the title of NFC label, type, data field At least a portion information such as the filename of file, file type or document identifier code, document order code, and data field is stored At least a portion Information encapsulation such as the initial address of multiple files, data length or end address be to carry compared with small data quantity At least one NDEF information records, and sent to NFC reader by the NFC antenna modulated electromagnetic of NFC label;
Step 703 ':The NFC antenna of NFC reader obtains at least one NDEF information records, via NFC resolver solutions The filename of the multiple files stored after analysis and by the title of the NFC label, type, data field, file type or file are known Initial address, the data length of multiple files that at least a portion information and the data fields such as other code, document order code are stored Or at least a portion information transmission such as end address is to the application program of NFC reader;
Step 704 ':Filename, the file type of multiple files of the application program foundation NFC label of the NFC reader Or document identifier code, document order yard directly specified or foundation user are to the selected determination file to be rewritten of the file to be rewritten Filename or file type and multiple file rewriting sequentially, and according to initial address, the data of each file to be rewritten Length or end address information describe file rewritten instructions, the starting of each file that the NFC generators of NFC reader will rewrite Address, data length or end address information, the rewriting order of multiple files and corresponding file rewriting data are packaged into and hold Carry and instruct record compared with least one NDEF of small data quantity, and sent to NFC by electromagnetic field by the NFC antenna of NFC reader Label;
Step 705 ':The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and give The data management system of NFC label;
Step 706 ':The data management system of NFC label is parsed and obtains what the application program of NFC reader to be rewritten The initial address of file, data length or end address information, rewriting order and corresponding file rewrite data, directly by suitable Sequence rewrites the file of the data field of non-volatile memory cells, and regenerates new filename, file type, file identification The index informations such as code, the initial address of document order code and file, data length or end address, by the new index information Write to data head.
Optionally, step 704 ', 706 ' can also be performed with following steps:
Step 704 ":Filename, the file type of multiple files of the application program foundation NFC label of the NFC reader Or document identifier code, document order yard directly specified or foundation user are to the selected determination file to be rewritten of the file to be rewritten Filename or file type and multiple file rewriting sequentially, and according to initial address, the data of each file to be rewritten Length or end address information generate the starting of new filename, file type, document identifier code, document order code and file The index informations such as address, data length or end address, the file of each file that the NFC generators of NFC reader will rewrite Name or file type, initial address, data length or end address information, the rewriting order of multiple files, corresponding file weight Write data and corresponding new index information is packaged into carry to be instructed compared with least one NDEF of small data quantity and records, and by The NFC antenna of NFC reader is sent to NFC label by electromagnetic field;
Step 706 ":The data management system of NFC label is parsed and obtains what the application program of NFC reader to be rewritten Filename or file type, initial address, data length or end address information, rewriting order and corresponding file rewrite number According to the file of the data field of non-volatile memory cells being rewritten in order directly, and the new index information is write to number According to head.
Optionally, the application program of NFC reader to be rewritten in transmission filename or file type, or, to rewrite The initial address of file, data length or during end address information, it is also possible to will accordingly be set as at least one file The write-in type for re-writing is sent to NFC label.
Optionally, NFC reader needs the data field first address directly from the non-volatile memory cells of NFC label to cover When file writes new data, it is also possible to do not obtain the directory area of NFC label or the information of data head, but directly marked to NFC Sign and issue and send new data, or new data and new index information.
Under normal circumstances, write again when the non-volatile memory cells of NFC label can first be wiped using FLASH etc. by page Memory device when, the data for wiping whole page are still needed when only rewriting some, that is, can be to the data of other storage address Impact, the even rewriting to some address dates is also required to re-write the data of other addresses, so that, even only Overwritten parts data, it is also desirable to which data are re-write using the file data rewrite method described in the present embodiment.
The NFC reader and the data rewrite method of NFC label provided based on the present embodiment, NFC reader can be direct Filename, file type or the file address and new index information to be rewritten are specified, such that it is able to straight at NFC reader end Connect rewrite operation of the control to NFC label, there is provided more flexible NFC label file data writing mechanism.
Although it should be noted that the embodiment of the present invention states skill of the invention in an optimal manner using NFC label Art thinking, NFC label provided by the present invention is also not limited in portable nfc card piece, and NFC label can also be with attachment Or integrated mode formed with the NFC memory units in fixing equipment or large scale equipment, being such as attached on exhibition platform, be attached to electricity NFC on refrigerator or Self-help vending machine reads part, the NFC posters of Pasting to wall, likewise, NFC label can also be with Other shapes or structure are packed, and the NFC being such as machined in collar differentiates label, be attached to the NFC checkings in wine product Part, as long as applying relatively large data storage provided by the present invention, reading and wiring method in NFC memory units, all should When the scope for belonging to the present invention.
Although it should be noted that generally can just capture NFC label work by the electromagnetic field of NFC communication in NFC label Electric energy needed for making, optionally, it is also possible to NFC label attached battery or other equipment that can be powered, for supplying electricity to NFC marks The work of the data management system of label, it does not influence the realization of the technology of the present invention thinking equally.
Obviously, the technical scheme for being provided using the embodiment of the present invention, sets data management system in NFC label, leads to Data management system is crossed to read multiple NDEF record or perform the encapsulation that the NDEF of relatively large data is recorded, and by multiple NDEF Record parsing or the non-volatile memory cells that write direct, realize the storage and transmission of relatively large data, also, non-volatile Data head is set in memory cell, is performed targetedly or partial document number by the index information of each file in data head According to reading or rewriting, rewriting, and, NFC label is read and write by the application program at NFC reader end, realize more flexible The reading and write operation of data in NFC label.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (15)

1. a kind of NFC label, including:
NFC antenna, the transmitting-receiving that the NDEF for being carried the data compared with small data quantity by demodulation or modulated electromagnetic field is recorded communicates;
Non-volatile memory cells, store the data of larger data amount;
Data management system, including data read-out unit, NDEF message encapsulation unit and NDEF message sending units,
The data that the data read-out unit is used for the larger data amount for being stored the non-volatile memory cells are read Go out,
The NDEF message encapsulation unit is used to for the data of the larger data amount to be packaged into multiple carryings compared with small data The NDEF records of the data of amount,
The NDEF message sending units are used for the multiple NDEF records for carrying the data compared with small data quantity by described NFC antenna modulated electromagnetic sends.
2. NFC label as claimed in claim 1, it is characterised in that:
The NDEF message sending units into the multiple packaged by the data according to the larger data amount for carrying smaller The order of the NDEF records of the data of data volume is by the multiple NDEF records for carrying the data compared with small data quantity by described NFC antenna modulated electromagnetic sends.
3. NFC label as claimed in claim 1, it is characterised in that:
The NDEF message sending units sent before the first NDEF records for carrying the data compared with small data quantity are sent One NDEF record for carrying start mark, the NDEF for carrying start mark is recorded for representing the multiple carrying Compared with the beginning that the NDEF records of the data of small data quantity send, and/or
The NDEF message sending units are after last described NDEF record for carrying the data compared with small data quantity is sent A NDEF record for carrying end mark is sent, the NDEF for carrying end mark is recorded for representing the multiple Carry the completion that the NDEF records of the data compared with small data quantity send.
4. NFC label as claimed in claim 1, it is characterised in that:
The NDEF message sending units record enterprising in the first described carrying to be sent compared with the NDEF of the data of small data quantity The start of line is marked, and the start mark is used to represent opening for the multiple NDEF record transmissions for carrying the data compared with small data quantity Begin, and/or
The NDEF message sending units are recorded in last the to be sent NDEF for carrying the data compared with small data quantity On carry out end mark, the end mark is used to representing that the multiple NDEF for carrying the data compared with small data quantity is recorded and sends Completion.
5. NFC label as claimed in claim 1, it is characterised in that:
The data of the larger data amount of the non-volatile memory cells storage are multiple,
Each described data is packaged into the NDEF message encapsulation unit data carried described in a group compared with small data quantity respectively NDEF record,
The number compared with small data quantity is carried described in a group that the NDEF message sending units have sent that the data are packaged into According to NDEF record after retransmit NDEF that the data compared with small data quantity are carried described in one group that next data are packaged into Record.
6. NFC label as claimed in claim 1, it is characterised in that:
The data of the larger data amount are recorded at least one NDEF.
7. the NFC label as described in claim any one of 1-6, it is characterised in that:
Described carrying is recorded as to be recorded by the NDEF that NFC antenna stabilization sends compared with the NDEF of the data of small data quantity.
8. NFC label as claimed in claim 7, it is characterised in that:
Described carrying is recorded as NDEF record of the data volume less than 8KB compared with the NDEF of the data of small data quantity.
9. the NFC label as described in claim any one of 1-6, it is characterised in that:
The data volume of the data of the larger data amount has exceeded the single NDEF records that can be sent by NFC antenna stabilization Payload can carry the data volume of data.
10. NFC label as claimed in claim 9, it is characterised in that:
The data of the larger data amount are file of the data volume more than 1MB.
A kind of 11. NFC labels, including:
NFC antenna, the transmitting-receiving that the NDEF for being carried the data compared with small data quantity by demodulation or modulated electromagnetic field is recorded communicates;
Non-volatile memory cells, store the data of larger data amount;
Data management system, including date read-write cell, NDEF message encapsulation unit, NDEF message parsing units and NDEF message Transmit-Receive Unit,
The data that the date read-write cell is used for the larger data amount for being stored the non-volatile memory cells are read Go out, the NDEF message encapsulation unit is used to for the data of the larger data amount to be packaged into multiple carryings compared with small data quantity Data NDEF record, the NDEF messaging units be used for by it is the multiple carry compared with small data quantity data NDEF Record is sent by the NFC antenna modulated electromagnetic, and,
The NDEF messaging units are used for the multiple described carrying for receiving the NFC antenna compared with the data of small data quantity NDEF records are sent to the NDEF message parsing units, and the NDEF message parsing units are used to carry smaller by the multiple The NDEF records of the data of data volume are parsed and extract the data of the larger data amount in payload, will be described larger The data of data volume send the date read-write cell to, and the date read-write cell is used for the data of the larger data amount Write to the non-volatile memory cells.
12. NFC labels as claimed in claim 11, it is characterised in that:
The NDEF messaging units are set to often receive the data carried compared with small data quantity from the NFC antenna NDEF record just by it is described carry compared with small data quantity data NDEF record transmission to the NDEF message parsing units,
The NDEF records for carrying the data compared with small data quantity are parsed and extracted effectively by the NDEF message parsing units Data in load, and write to the non-volatile memories data in the payload by the date read-write cell Unit.
13. NFC labels as claimed in claim 11, it is characterised in that:
The NDEF messaging units represent the multiple and hold receiving when a NDEF for carrying start mark is recorded The beginning that the NDEF records of the data compared with small data quantity are received is carried, and/or
The NDEF messaging units represent the multiple and hold receiving when a NDEF for carrying end mark is recorded Carry the completion that the NDEF records of the data compared with small data quantity are received.
14. NFC labels as claimed in claim 11, it is characterised in that:
The NDEF for carrying start mark is recorded as the first NDEF records for carrying small amount of data, and/or
The NDEF for carrying end mark is recorded as last described NDEF record for carrying small amount of data.
15. NFC labels as claimed in claim 11, it is characterised in that:
The multiple NDEF records for carrying the data compared with small data quantity include at least one NDEF subrecords, the NDEF message Resolution unit sends at least one NDEF subrecords to the date read-write cell.
CN201710213954.4A 2016-04-01 2017-04-01 NFC tag Active CN106845599B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016102068099 2016-04-01
CN201610206809 2016-04-01

Publications (2)

Publication Number Publication Date
CN106845599A true CN106845599A (en) 2017-06-13
CN106845599B CN106845599B (en) 2020-04-07

Family

ID=59142254

Family Applications (6)

Application Number Title Priority Date Filing Date
CN201710208698.XA Active CN106951809B (en) 2016-04-01 2017-03-31 NFC tag
CN201710208701.8A Active CN106934445B (en) 2016-04-01 2017-03-31 NFC tag
CN201710207738.9A Active CN106991352B (en) 2016-04-01 2017-03-31 NFC reader-writer and data reading-writing method of NFC label
CN201710213954.4A Active CN106845599B (en) 2016-04-01 2017-04-01 NFC tag
CN201710213608.6A Active CN106991353B (en) 2016-04-01 2017-04-01 NFC reader-writer and data reading and writing method of NFC reader-writer for NFC label
CN201710213952.5A Active CN106991463B (en) 2016-04-01 2017-04-01 NFC tag and data read-write method of NFC tag

Family Applications Before (3)

Application Number Title Priority Date Filing Date
CN201710208698.XA Active CN106951809B (en) 2016-04-01 2017-03-31 NFC tag
CN201710208701.8A Active CN106934445B (en) 2016-04-01 2017-03-31 NFC tag
CN201710207738.9A Active CN106991352B (en) 2016-04-01 2017-03-31 NFC reader-writer and data reading-writing method of NFC label

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN201710213608.6A Active CN106991353B (en) 2016-04-01 2017-04-01 NFC reader-writer and data reading and writing method of NFC reader-writer for NFC label
CN201710213952.5A Active CN106991463B (en) 2016-04-01 2017-04-01 NFC tag and data read-write method of NFC tag

Country Status (2)

Country Link
CN (6) CN106951809B (en)
WO (2) WO2017167274A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110728159A (en) * 2018-07-17 2020-01-24 上海复旦微电子集团股份有限公司 NDEF data reading and uploading method, terminal, tag chip and readable medium
CN110826657A (en) * 2018-08-09 2020-02-21 中国电信股份有限公司 Apparatus and method for NFC tag

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR102017024195A2 (en) * 2017-11-10 2019-06-04 Ccl Industries Do Brasil S/A METHOD OF SEQUENTIAL RECORDING OF ELECTRONIC LABEL APPLIED FOR ANTI-FAKE SOLUTION AND RECORDING EQUIPMENT.
CN110059514B (en) * 2019-04-18 2021-06-08 珠海美佳音科技有限公司 Data writing method, NFC tag, NFC device and storage medium
CN113362489A (en) * 2020-03-06 2021-09-07 联合汽车电子有限公司 Method for creating vehicle measurement file, electronic device, and storage medium
CN114565070B (en) * 2022-02-23 2023-11-10 Tcl通讯科技(成都)有限公司 Label binding method and device and mobile terminal
CN115345268B (en) * 2022-08-18 2023-04-11 芯电智联(北京)科技有限公司 Data processing method of NFC label connected with light emitting diode
CN115484119B (en) * 2022-09-14 2023-12-19 海尔优家智能科技(北京)有限公司 Control method and device of equipment, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3674525B2 (en) * 2001-03-23 2005-07-20 オムロン株式会社 Non-contact ID device
CN101681358A (en) * 2006-12-22 2010-03-24 Nxp股份有限公司 Method for storing data in a RFID transponder
CN102132291A (en) * 2008-09-11 2011-07-20 日本电气株式会社 Ic tag control method and device
US20110199186A1 (en) * 2010-02-18 2011-08-18 Samsung Electronics Co., Ltd Passive wireless memory device
CN103975536A (en) * 2011-12-06 2014-08-06 Aq株式会社 Multi-tag operating system and operating method thereof
CN105303208A (en) * 2015-10-26 2016-02-03 福建新大陆电脑股份有限公司 IC card management method and system

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4613969B2 (en) * 2008-03-03 2011-01-19 ソニー株式会社 Communication apparatus and communication method
EP2573970B1 (en) * 2011-09-20 2020-05-20 Sony Corporation Near field communication reader device, near field communication tag device, near field communication system and near field communication method
US8706036B2 (en) * 2011-12-21 2014-04-22 Nxp, B.V. Near field communication data conversion with an event-field
CN104380777A (en) * 2012-07-09 2015-02-25 英特尔公司 Systems and methods for enabling secure transactions with mobile devices
US9124304B2 (en) * 2012-10-17 2015-09-01 Qualcomm Incorporated Methods and apparatus for reducing overhead for NFC data exchange protocol messages
US9110897B2 (en) * 2012-11-16 2015-08-18 Electronics And Telecommunications Research Institute Sensor tag and method of providing service using the same
CN104350513B (en) * 2013-07-26 2016-12-14 华为终端有限公司 A kind of method and device identifying label
KR20150014317A (en) * 2013-07-29 2015-02-06 삼성전자주식회사 Image forming apparatus and mobile device for performing wireless configuration using near field communication
CN104517077A (en) * 2013-09-29 2015-04-15 北京三星通信技术研究有限公司 Method and apparatus for realizing simulation tags in NFC equipment
EP2858259B1 (en) * 2013-10-07 2019-06-26 Nxp B.V. NFC tag, communication method and system
CN103680101B (en) * 2013-12-13 2017-05-03 深圳Tcl新技术有限公司 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label
US9419803B2 (en) * 2013-12-31 2016-08-16 Nxp B.V. Flexible data authentication
KR101518764B1 (en) * 2014-06-09 2015-05-11 (주) 듀얼아이 System converting MRZ data into NDEF data and storing NDEF data and method
CN104469656B (en) * 2014-08-28 2018-10-26 宇龙计算机通信科技(深圳)有限公司 Data transmission method based on NFC and system
CN204303007U (en) * 2014-12-05 2015-04-29 广东财经大学 A kind of smart payment card
CN104915696B (en) * 2015-07-01 2017-10-27 浙江工业大学 A kind of NFC reading/writing methods based on Android platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3674525B2 (en) * 2001-03-23 2005-07-20 オムロン株式会社 Non-contact ID device
CN101681358A (en) * 2006-12-22 2010-03-24 Nxp股份有限公司 Method for storing data in a RFID transponder
CN102132291A (en) * 2008-09-11 2011-07-20 日本电气株式会社 Ic tag control method and device
US20110199186A1 (en) * 2010-02-18 2011-08-18 Samsung Electronics Co., Ltd Passive wireless memory device
CN103975536A (en) * 2011-12-06 2014-08-06 Aq株式会社 Multi-tag operating system and operating method thereof
CN105303208A (en) * 2015-10-26 2016-02-03 福建新大陆电脑股份有限公司 IC card management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110728159A (en) * 2018-07-17 2020-01-24 上海复旦微电子集团股份有限公司 NDEF data reading and uploading method, terminal, tag chip and readable medium
CN110826657A (en) * 2018-08-09 2020-02-21 中国电信股份有限公司 Apparatus and method for NFC tag

Also Published As

Publication number Publication date
CN106951809A (en) 2017-07-14
CN106991353A (en) 2017-07-28
CN106951809B (en) 2020-02-07
CN106991352B (en) 2020-03-20
CN106845599B (en) 2020-04-07
CN106991353B (en) 2020-03-20
WO2017167274A1 (en) 2017-10-05
CN106991352A (en) 2017-07-28
WO2017167311A1 (en) 2017-10-05
CN106991463B (en) 2020-01-10
CN106934445B (en) 2020-08-25
CN106934445A (en) 2017-07-07
CN106991463A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN106845599A (en) NFC label
JP5033196B2 (en) Data storage method, and transponder, read / write device, program element, and computer readable medium including the program element configured to perform the method
US9003133B2 (en) Apparatus for storing/reading data in a memory array of a transponder
JP3993187B2 (en) Mobile communication terminal having radio frequency identification function and radio frequency identification programming method in the mobile communication terminal
CN110490016A (en) A kind of radio frequency identification system
CN202584236U (en) Portable attendance terminal
CN102376206A (en) Passenger ticket using reflective display screen
EP2367115B1 (en) Portable electronic apparatus and method of controlling a portable electronic apparatus
CN207718538U (en) shared umbrella system
CN202904626U (en) RFID (Radio frequency identification) technology-based content composer of dynamic display system
CN107323770A (en) Packaging bag authentication method and packaging bag squeeze device
CN202257651U (en) Passenger ticket
CN207833546U (en) A kind of intelligent power equipment state information acquiring device based on RFID
CN218630803U (en) House card distributing device and house card distributing device
CN104077618B (en) A kind of method and apparatus accessing smart card
CN204856538U (en) Power equipment intelligent recognition system
CN206515888U (en) A kind of mobile data acquisition system
CN202905124U (en) RFID (Radio frequency identification) technology-based display controller of dynamic display system
TWM654101U (en) Document tracking system
CN101989328B (en) Integrated circuit (IC) card equipment and method and system for setting serial number information thereof
CN102411723A (en) Electronic tag with external interface
CN103021380A (en) Dynamic display system based on radio frequency identification (RFID) technology
KR20140142566A (en) NFC tag supporting hybrid mode and generating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200514

Address after: 519000 room 105-68710, No. 6, Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province (centralized office area)

Patentee after: Zhuhai Jihai Semiconductor Co., Ltd

Address before: 7, 519075 B District, 04 buildings, 63 North Pearl Road, Zhuhai, Guangdong

Patentee before: APEX MICROELECTRONICS Co.,Ltd.