CN106991353A - The data read-write method of NFC reader and NFC reader to NFC label - Google Patents

The data read-write method of NFC reader and NFC reader to NFC label Download PDF

Info

Publication number
CN106991353A
CN106991353A CN201710213608.6A CN201710213608A CN106991353A CN 106991353 A CN106991353 A CN 106991353A CN 201710213608 A CN201710213608 A CN 201710213608A CN 106991353 A CN106991353 A CN 106991353A
Authority
CN
China
Prior art keywords
data
nfc
file
label
application program
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
CN201710213608.6A
Other languages
Chinese (zh)
Other versions
CN106991353B (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 CN106991353A publication Critical patent/CN106991353A/en
Application granted granted Critical
Publication of CN106991353B publication Critical patent/CN106991353B/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)
  • Toxicology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (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 data read-write method of NFC reader and NFC reader to NFC label.Data management system is set in NFC label, the encapsulation that multiple NDEF recorded or performed the NDEF records of relatively large data is read by data management system, and multiple NDEF are recorded into parsing or non-volatile memory cells are 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, rewrite, and, NFC label is read and write by the application program at NFC reader end, realize the reading and write operation of data in more flexible NFC label.

Description

The data read-write method of NFC reader and NFC reader to NFC label
This application claims enjoy in entitled " NFC label, NFC reader and the NFC label submitted on 04 01st, 2016 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 a kind of NFC label for working in label and reader/writer mode, NFC and reads Write device and the data read-write method of 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, 106kbps (thousand is supported for the NFC device in the snap gauge simulation models of other NFC readers, and based on different NFC standards 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 all pass through power itself and the aggressive mode of alternate transport data (such as ad hoc mode); Communication initiating equipment produces wireless signal and powered by electromagnetic field for target communication device, and target communication device passes through to 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 close to passive NFC label and produces wireless signal, NFC The antenna of label captures electric energy from the electromagnetic field of the wireless signal and powered for memory, and by the modulation to the electromagnetic field come The data that memory is stored are sent 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 given 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 data for communication as payload (NDEF Payload).When being communicated between NFC device, The data for needing to communicate are encapsulated into by the NFC generators (NFC generator) inside target communication device as payload In one or more NDEF record, and one or more NDEF records are sent to communication initiation as a NDEF message set Standby, the NDEF message received is parsed payload simultaneously by the NFC resolvers (NFC parser) inside communication initiating equipment NDEF is sent to be handled using (NDEF Application).
In existing NFC label, one NDEF of storage disappears in the form of single NDEF records in the memory of NFC label Breath, when NFC device reads NFC label as communication initiating equipment, NFC label directly regard the single NDEF records as one NDEF message is sent to NFC device, and single NDEF records are parsed payload simultaneously by the NFC resolvers inside NFC device NDEF applications are sent to be handled.
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 By data frame transfer between communication initiating equipment, single NDEF record datas amount crosses conference and causes the frame losing in NFC communication to pass Defeated to make communication error rate too high and bust this, the single NDEF record datas amount that current NFC label can be stored generally is limited System is within 8KB (kilobytes).So as to which current NFC label is can not to store and transmit tens of KB even several MB (Mbytes) Larger amount of data.
Moreover, be related to the storage of the data splitting of multiple files 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 which the NDEF records in NFC label are all read and 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 which all files are encapsulated during write-in file Write into single NDEF records to NFC label, it is impossible to targetedly or only partially rewrite file therein, do not possess file The flexibility of read-write.
So as to which a kind of NFC label that can be stored and transmit relatively large data and one kind 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 can not store and transmit larger amount of data and reading and writing data not Flexibly the problem of, the invention provides the data read-write method of a kind of new NFC label, NFC reader and NFC label.
A kind of NFC reader, for being communicated with NFC label, the non-volatile memory cells of the NFC label include catalogue Area, data head and data field, the NFC reader include:
NFC antenna, for NFC communication;
NFC resolvers, for parsing NDEF records;
NFC generators, for data or instruction to be packaged into NDEF records;
Application program, for obtaining multiple files that the title, type, data field of NFC label are stored via NFC communication Filename, file type or document identifier code, document order code, and the starting point of multiple files that data field is stored At least one of location, data length or end address index information, and specify the NFC to mark according at least one index information The reading order of multiple files in label, and the corresponding processing for reading file is performed, or, according at least one index Information specifies the write-in type of the NFC label, and performs the transmission processing of corresponding write-in file.
Based on embodiments of the invention, there is above-mentioned application program user to visualize and user interface, can be by using The preferential reading at family instructs to specify the file reading order of multiple files in NFC label.
A kind of NFC reader be directed to NFC label multifile method for reading data, the NFC reader include NFC antenna, NFC resolvers and application program, the NFC label include NFC antenna, data management system and non-volatile memory cells, and this is non- Volatile memory cell includes directory area, data head and data field, and the multifile method for reading data includes:
The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain NFC label Title, type, data field filename, file type or document identifier code, the document order code of the multiple files that are stored, with And initial address, data length or the end address of multiple files that data field is stored;
The text for multiple files that the data management system of NFC label is stored the title, type, data field of NFC label Part name, file type or document identifier code, document order code at least a portion Information encapsulation are to carry compared with small data quantity at least One NDEF information record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolvers parse after and will Filename, file type or document identifier code, the file for multiple files that the title of the NFC label, type, data field are stored Application program of at least a portion such as sequence code information transmission to NFC reader;
The application program of the NFC reader is according to the type of NFC label or according to order of the user to the file to be read The filename or file type and the reading order of multiple files of the selected determination file to be read, the NFC hairs of NFC reader Raw device by the reading order instruction of the filename or file type of the file to be read and multiple files be packaged into carrying compared with At least one NDEF instruction records of small data quantity, and sent by the NFC antenna of NFC reader by electromagnetic field to NFC label;
The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send NFC label to Data management system;
The data management system of NFC label parses and obtained the text of the application program file to be read of NFC reader Part name or file type and the reading order of multiple files, and the initial address according to each file, data length or end ground Location information, in order reads each file from the data field of non-volatile memory cells;
Multiple NDEF data of the data management system of NFC label by each Document encapsulation of reading for carrying compared with small data quantity Record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
The NFC antenna of NFC reader obtains at least one NDEF data record, via NFC resolvers parse after and will These files send the application program of NFC reader to;
The application program of NFC reader performs processing to the file read.
A kind of NFC reader be directed to NFC label multifile method for reading data, the NFC reader include NFC antenna, NFC resolvers and application program, the NFC label include NFC antenna, data management system and non-volatile memory cells, and this is non- Volatile memory cell includes directory area, data head and data field, and the multifile method for reading data includes:
The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain NFC label Title, type, data field filename, file type or document identifier code, the document order code of the multiple files that are stored, with And initial address, data length or the end address of multiple files that data field is stored;
The text for multiple files that the data management system of NFC label is stored the title, type, data field of NFC label At least a portion information such as part name, file type or document identifier code, document order code, and multiple texts that data field is stored At least a portion Information encapsulation such as initial address, data length or end address of part for carrying compared with small data quantity at least one NDEF information records, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolvers parse after and will Filename, file type or document identifier code, the file for multiple files that the title of the NFC label, type, data field are stored Initial address, data length or the end address for multiple files that at least a portion such as sequence code information and data field are stored Application program etc. at least a portion information transmission to NFC reader;
The application program of the NFC reader is according to the type of NFC label or according to order of the user to the file to be read The filename or file type and the reading order of multiple files of the selected determination file to be read, and it is each according to what is read Initial address, data length or the end address information of file describe file and read instruction, and the NFC generators of NFC reader will Initial address, data length or the end address information of each file to be read and the reading order instruction encapsulation of multiple files Into carrying compared with small data quantity at least one NDEF instruct record, and by NFC reader NFC antenna by electromagnetic field send to NFC label;
The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send NFC label to Data management system;
The data management system of NFC label parses and obtained rising for the application program file to be read of NFC reader Beginning address, data length or end address information and reading order, directly in order by each file from non-volatile memories list The data field of member is read.
Multiple NDEF data of the data management system of NFC label by each Document encapsulation of reading for carrying compared with small data quantity Record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
The NFC antenna of NFC reader obtains at least one NDEF data record, via NFC resolvers parse after and will These files send the application program of NFC reader to;
The application program of NFC reader performs processing to the file read.
A kind of NFC reader be directed to NFC label multifile data rewriting method, the NFC reader include NFC antenna, NFC resolvers and application program, the NFC label include NFC antenna, data management system and non-volatile memory cells, and this is non- Volatile memory cell includes directory area, data head and data field, and multifile data rewriting method includes:
The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain NFC label Title, type, data field filename, file type or document identifier code, the document order code of the multiple files that are stored, with And initial address, data length or the end address of multiple files that data field is stored;
The text for multiple files that the data management system of NFC label is stored the title, type, data field of NFC label Part name, file type or document identifier code, document order code at least a portion Information encapsulation are to carry compared with small data quantity at least One NDEF information record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolvers parse after and will Filename, file type or document identifier code, the file for multiple files that the title of the NFC label, type, data field are stored Application program of at least a portion such as sequence code information transmission to NFC reader;
Filename, file type or file identification of the application program of the NFC reader according to multiple files of NFC label Code, document order code directly specify or according to user to the filename of the file to be rewritten of selected determination of the file to be rewritten or The rewriting order of file type and multiple files, the NFC generators of NFC reader by the filename of the file to be rewritten or File type, the rewriting order of multiple files and corresponding file rewrite data are packaged into carrying compared with least the one of small data quantity Individual NDEF instructions record, and sent by the NFC antenna of NFC reader by electromagnetic field to NFC label;
The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send NFC label to Data management system;
The data management system of NFC label parses and obtained the text of the file to be rewritten of application program of NFC reader Part name or file type, the rewriting order of multiple files and corresponding file rewrite data, and according to the starting point of each file Location, data length or end address information, in order rewrite the file of the data field of non-volatile memory cells.
A kind of NFC reader be directed to NFC label multifile data rewrite method, the NFC reader include NFC antenna, NFC resolvers and application program, the NFC label include NFC antenna, data management system and non-volatile memory cells, and this is non- Volatile memory cell includes directory area, data head and data field, and multifile data rewrite method includes:
The directory area and data head of the data management system loading non-volatile memory cell of NFC label, obtain NFC label Title, type, data field filename, file type or document identifier code, the document order code of the multiple files that are stored, with And initial address, data length or the end address of multiple files that data field is stored;
The text for multiple files that the data management system of NFC label is stored the title, type, data field of NFC label Part name, file type or document identifier code, document order code at least a portion Information encapsulation are to carry compared with small data quantity at least One NDEF information record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolvers parse after and will Filename, file type or document identifier code, the file for multiple files that the title of the NFC label, type, data field are stored Application program of at least a portion such as sequence code information transmission to NFC reader;
Filename, file type or file identification of the application program of the NFC reader according to multiple files of NFC label Code, document order code directly specify or according to user to the filename of the selected determination file to be rewritten for the file to be rewritten or The rewriting order of file type and multiple files, the NFC generators of NFC reader by the filename of the file to be rewritten or File type, the rewriting order of multiple files and corresponding file rewrite data and are packaged into carrying compared with least the one of small data quantity Individual NDEF instructions record, and sent by the NFC antenna of NFC reader by electromagnetic field to NFC label;
The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instructions and records and send NFC label to Data management system;
The data management system of NFC label parses and obtained the text of the application program file to be rewritten of NFC reader Part name or file type, the rewriting order of multiple files and corresponding file rewrite data, and according to the starting point of each file Location, data length or end address information, in order rewrite the file of the data field of non-volatile memory cells, lay equal stress on new life Cheng Xin filename, file type, document identifier code, initial address, data length or the end of document order code and file The index informations such as address, the new index information is write to data head.
Compared with prior art, NFC reader and NFC reader provided by the present invention are directed to the read-write of NFC label Method, sets data management system in NFC label, reads multiple NDEF records by data management system or performs relatively large The encapsulation of the NDEF records of data, and multiple NDEF are recorded parse or write direct non-volatile memory cells, realize compared with The storage and transmission of mass data, also, data head is set in non-volatile memory cells, pass through each file in data head Index information perform targetedly or partial document data reading or rewriting, rewriting, and, pass through NFC reader end Application program to NFC label read and write, realize the reading and write operation of data in more flexible NFC label.
Other features and advantages of the present invention will be illustrated in the following description, and partly becomes 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 by wanting in specification, right Structure specifically noted 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, the reality with the present 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 for the NFC label that Fig. 2 is provided by the embodiment of the present invention three;
The structural representation for the NFC label that Fig. 3 is provided by the embodiment of the present invention four;
The data store organisation figure for the NFC label that Fig. 4 is provided by the embodiment of the present invention.
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 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 receive and dispatch the NFC antenna 21 of communication, and being stored with can be 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 stored, the data that non-volatile memory cells 22 are stored It is packaged into the NDEF message formats of the suitable transmission of NFC antenna 21 or is parsed into the NDEF message that NFC antenna 21 is received suitable The data format that non-volatile memory cells 22 are stored.
Specifically, NFC antenna 21 can be the coil for encompassing circular or oval or other arbitrary shapes.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, can also 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 23 provided by the present invention can have a variety of implementations, under Structure, which elaborates, to be realized to NFC label 2 provided by the present invention with reference to accompanying drawing 2-3 in face.
Embodiment one
The structural representation for 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 of label 2 store larger amount of data (such as in the form of the unencapsulated former data recorded into NDEF File more than 1MB, its data volume has exceeded what can be recorded by the stable transmission of NFC antenna to the single NDEF of NFC reader 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 (such as less than 8KB NDEF records) is with can be by NFC Antenna 21 is stable to be sent into NFC reader, and NDEF message sending units 231a, which is used to record orderly multiple NDEF, to be made Sent at least one NDEF message by the modulated electromagnetic of NFC antenna 21.
Optionally, NDEF message sending units 231a and NDEF message encapsulation unit 233, which can also merge, is 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 for 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 To encapsulate data into the more NDEF records of carrying more small data quantity, 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 According to packaged into number of order of multiple carryings compared with the NDEF records of the data of small data quantity 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 NDEF records of the first small amount of data of carrying are sent First send a NDEF for carrying start mark to record to represent that multiple NDEF record the beginning sent, and send this Last read retransmits the NDEF for carrying an end mark note after carrying the NDEF records of small amount of data Record to represent that this multiple NDEF records the completion sent;Or, first carrying is being sent by NDEF message sending units 231a During the NDEF records of small amount of data enterprising start of line mark, and last that this reads in transmission are recorded in the NDEF During the NDEF records for carrying small amount of data 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, can also 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 is simultaneously sent, optionally, can also be directed to multiple different pieces of informations, each data are 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, each data execute encapsulation is not limited into the order that NDEF is recorded.
It should be noted that the data that non-volatile memory cells 22 are stored can also be one or more NDEF message In at least one NDEF records, the NDEF message encapsulation unit 233 that it still can be provided using the present embodiment by this extremely The new NDEF that few NDEF records Reseal into suitable data amount as the data of payload is recorded.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, can also 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.
The NFC label provided based on the present embodiment, data management system can be directly by non-volatile memory cells institute The data of storage are packaged into multiple NDEF recording and sendings and gone out so that NFC label can not only store 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 for 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 for 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 the present embodiment is provided NDEF messaging units 231b and date read-write cell 232d, the NDEF message sending units provided compared to embodiment one 231a and data sensing element 232c, the function setting not only 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 this comprising multiple specific order of NDEF NDEF message recorded To NDEF message parsing units 234, the plurality of NDEF is recorded and is 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 records when represent the beginning that multiple NDEF record is sent, and then start to receive the first small amount of data of carrying NDEF is recorded, and represents that this multiple NDEF records the complete of transmission when receiving the NDEF for carrying an end mark record Into;Or, risen on the NDEF records of the small amount of data of first carrying for being sent to NDEF messaging units 231b Begin mark, and carries out end mark on last NDEF record for carrying small amount of data of this transmission, by NDEF The judgement that messaging unit 231b completion messages are received.
It should be noted that date read-write cell 232d writes the larger amount of data to non-volatile memory cells 22 When, can according to the sequencing of the NDEF records received since the first address of non-volatile memory cells 22 backward one by one Write-in stores the larger amount of data, and the set order that can also be 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, is recorded the NDEF by NDEF message parsing units 234 and is parsed and extracted The data in load are imitated, are write by date read-write cell 232d into non-volatile memory cells 22.
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 It is subsequently more flexible to Reseal into required new NDEF records to send by the data parsed.When NFC days When the NDEF records that line 21 is received include NDEF subrecords, NDEF message parsing units 234 can be after parsing NDEF records Continue to parse NDEF subrecords up to the data in the payload for extracting all NDEF records forms, can also 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 is used for the data that control data is read for independent one Sensing element (such as Fig. 2 232c) and an independent data write unit for control data write-in, likewise, NDEF message Transmit-Receive Unit 231b can also be provided separately is used for the NDEF message sending units for controlling NDEF message to send (such as independent one Fig. 2 231a) and an independent NDEF message reception units for controlling NDEF message sinks.
The NFC label provided based on the present embodiment, 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, so as to it is flexible when sending data should Larger amount of data are packaged into multiple NDEF recording and sendings and gone out.
NFC label based on embodiment one or embodiment two realizes structure, when non-volatile memory cells store it is 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 for the NFC label that Fig. 4 is provided by the embodiment of the present invention three.Non-volatile memories list The operation program needed for being run for data storage management system, the firmware area instructed can be provided with member 22 and for storing The memory block of data including multiple files and the index list for data management related to these data.Such as Fig. 4 institutes Show, non-volatile memory cells 22 include:Firmware area 221, runs required operation program for 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, the file of the total length information, the total length information of data field 224, data field 224 of data head 223 is 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 (starting of each file is respectively described according to the storage order of each file Address) and length information, single file is searched respectively for the initial address and the length of data by each file And read-write, optionally, the first address information and tail address information that data head 223 can also describe each file respectively (terminate ground Location), single file is indexed by the initial address and end address of each file, wherein, data head 223 can also be added and retouched State the filename of each file, the identification code of file type or each file, sequence code;Data field 224, is retouched according to data head 223 The first address information and data length information for each file stated, or, first address information and tail address information store each number of files According to.
The information of directory area and data head is used to be indexed the file of data field as index information.
Optionally, the total length information of data head 223 and the total length information of data field 224, can also be respectively respective The original position in area is individually described, for example, 2 bytes describe the total length of directory area before directory area, in data head Preceding 2 byte describe the total length of data head;Moreover, directory area 222 can also can also be merged into individually with data head 223 An information area, the information for describing this NFC label, and the file number of data field, filename and each file Initial address, 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 each file of index initial address, data length or end address.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 defined data length perform the reading or rewriting of data.
It should be noted that directory area and data head are preferably stored in before data field by the present embodiment, optionally, also may be used So that directory area or data head are stored in into other addresses or with other specific sequential storages, if 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, one in such as multiple compressed packages 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 Initial address, length information or the initial address of each file of description, end address individually index each file, and are directed to Property or only partially perform file read-write, provide more flexible read-write mode for the multifile data of NFC label.
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, type, data field filename, file type or document identifier code, the document order code of the multiple files that are stored, with And initial address, data length or the end address of multiple files that data field is stored;
Step 302:The text for multiple files that data management system is stored according to the title, type, data field of NFC label At least one of part name, file type or document identifier code, document order code information determine multiple texts 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:Multiple NDEFs of the data management system by each Document encapsulation of reading for carrying compared with small data quantity are recorded, 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 the reading priority of each file is determined, 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 code of each file of direct basis;It is optional , when can not clearly determine the reading priority or file reading order of file, data management system can also directly by Multiple files of order can not be determined according to sequentially reading for being stored.
Optionally, the order that data management system is sequentially read out reading according to file after each file performs NDEF records 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, data management system be could be arranged to first read out after a file, and this document is encapsulated and completed, then is 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 type of label or the sequence code of each file of defined determine the reading order of each file, and then perform 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, type, data field filename, file type or document identifier code, the document order code of the multiple files that are stored, with And initial address, data length or the end address of multiple files that data field is stored;
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 at least one file independent rewriting or at least one file Re-write;
Step 404:If writing the independent rewriting that type is at least one file, data management system rises according to file Beginning address, data length or end address perform the indexes such as the rewriting of at least one file, and the initial address of document retaining Information;
Step 405:Re-write if write-in type is at least one file, starting of the data management system according to file Address, data length or end address perform re-writing at least one file, and regenerate new filename, file Type, document identifier code, the index information such as initial address, data length or end address of document order code and file, 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 at least one index information of data length or end address when, data management system should Write-in type is defined as re-writing for file, when not being related to the change of at least one index information of the above, data management system The write-in type is defined as the rewriting of file by system.
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 of filename, file type or the document identifier code of file validation of information writes type, 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 is read or write-in is done It is good to prepare.
Embodiment six
When NFC label provided by the present invention and NFC reader, which are worked in, to be communicated 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 for parsing the NFC parsings that NDEF is recorded in NDEF message Device, the NFC generators for data or instruction to be packaged into NDEF records, wherein, at least one is also equipped with the NFC reader The individual application program (Application, abbreviation APP) that can be handled the data of NFC label, NDEF applications (i.e. should Application program) be used for via NFC communication obtain the title of NFC label, multiple files that type, data field are stored file Initial address, the data for multiple files that name, file type or document identifier code, document order code, and data field are stored At least one of length or end address index information, and specified according at least one index information in the NFC label The reading number and reading order of multiple files, and the corresponding processing operation for reading file is performed, or, according to this at least A kind of index information specifies the write-in type of the NFC label, and performs the transmission processing of 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 instruct specify multiple texts in NFC label by the preferential reading of user The file reading order of part, for example, the NFC reader can be the mobile phone of a 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 file preferentially read, meanwhile, it is all that need not read The file number for needing to read can also be selected during file by user.
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 the filenames of the multiple files for obtaining NFC label, 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, can also be by obtaining title, the filename of type or multiple files, file type or the file identification of NFC label Code is to determine the reading order of each file, and the initial address according to each file, data length or end address information directly refer to The data management system for determining NFC label reads number of files according to each initial address and corresponding data length or end address 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 Information and corresponding write-in file data simultaneously specify the data management system of NFC label to perform file according to initial address Rewrite, or, can be by directly transmitting write-in file data, and directly performed from number by the data management system of NFC label Rewritten according to the file of area's first address.
The NFC reader provided based on embodiment six, for the multifile reading and writing data of NFC reader and 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 Store the data for including multiple files in storage organization, and the NFC reader that embodiment six is provided, 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 for the file to be read can include below scheme:
Preparation process:NFC reader and NFC label close to and set up NFC communication, the NFC antenna of NFC label is read from NFC Write and electric energy is captured 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, are obtained Take filename, file type or document identifier code, the file for multiple files that the title, type, data field of NFC label stored Sequence code, and initial address, data length or the end address of multiple files that data field is stored;
Step 502:The data management system of NFC label by the title, type, data field of NFC label stored it is multiple Filename, file type or document identifier code, the document order code at least a portion Information encapsulation of file are carrying compared with small data At least one NDEF information record of amount, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 503:The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolver solutions Filename, file type or the file of the multiple files stored after analysis and by the title, type, data field of the NFC label are known The application programs of at least a portion information transmission to NFC reader such as other code, document order code;
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 selected filename or file type and the reading order of multiple files for determining the file to be read of the order of part, and according to will Instruction, the NFC generators file to be read this of NFC reader are read in filename or the file type description of the file of reading Filename or file type and the reading order of multiple files instruction be packaged into carrying compared with small data quantity at least one NDEF instruction records, and sent by the NFC antenna of NFC reader by electromagnetic field 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 parses and obtains what the application program of NFC reader to be read The filename or file type of file and the reading order of multiple files, and initial address according to 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:The data management system of NFC label is multiple compared with small data quantity to carry by each Document encapsulation of reading NDEF data records, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 508:The NFC antenna of NFC reader obtains at least one NDEF data record, 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 processing to the file read.
Optionally, step 502~506 can also be performed with following steps:
Step 502 ':The data management system of NFC label by the title, type, data field of NFC label stored it is multiple At least a portion information such as filename, file type or the document identifier code of file, document order code, and data field are stored At least a portion Information encapsulation such as initial address, data length or the end address of multiple files be carrying compared with small data quantity At least one NDEF information record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 503 ':The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolver solutions Filename, file type or the file of the multiple files stored after analysis and by the title, type, data field of the NFC label are known The initial address for multiple files that at least a portion information and the data fields such as other code, document order code are stored, data length Or the application program of at least a portion information transmission to NFC reader such as end address;
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 selected filename or file type and the reading order of multiple files for determining the file to be read of the order of part, and according to will Initial address, data length or the end address information of each file read describe file and read instruction, the NFC of NFC reader Initial address, data length or the end address information of each file that generator will be read and the reading order of multiple files Instruction is packaged into carrying 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 parses and obtains what the application program of NFC reader to be read Initial address, data length or the end address information and reading order of file, 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 send the reading order of the plurality of file to NFC label, but only send reading order most preceding file Read requests (filename or file initial address and length information), and retransmited after the completion of this document reading in reading order The read requests (filename or file initial address and length information) of next file, so until having read all will 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 is positioned reads from the beginning of file, and positions the file size to be read by the length information to be read, or, when During a part through 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 passes through mesh Record the index that area and data head obtain multiple files of NFC label, so directly specify the filename to be read, file type or File address, is gone to index by the data management system of NFC label or is directly read corresponding file data and be packaged into NDEF notes Record is sent to NFC reader, so as to directly control the reading for the file destination or file to be read at NFC reader end There is provided more flexible NFC label file data reading mechanism for order.
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 Store the data for including multiple files in storage organization, and the NFC reader that embodiment six is provided, 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 and NFC label close to and set up NFC communication, the NFC antenna of NFC label is read from NFC Write and electric energy is captured 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, are obtained Take filename, file type or document identifier code, the file for multiple files that the title, type, data field of NFC label stored Sequence code, and initial address, data length or the end address of multiple files that data field is stored;
Step 602:The data management system of NFC label by the title, type, data field of NFC label stored it is multiple Filename, file type or document identifier code, the document order code at least a portion Information encapsulation of file are carrying compared with small data At least one NDEF information record of amount, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 603:The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolver solutions Filename, file type or the file of the multiple files stored after analysis and by the title, type, data field of the NFC label are known The application programs of at least a portion information transmission to NFC reader such as other code, document order code;
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 The rewriting order of filename or file type and multiple files, the NFC generators of NFC reader are by the file to be rewritten 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 by the NFC antenna of NFC reader by electromagnetic field to NFC label;
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 parses 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.
Optionally, step 602~606 can also be performed with following steps:
Step 602 ':The data management system of NFC label by the title, type, data field of NFC label stored it is multiple At least a portion information such as filename, file type or the document identifier code of file, document order code, and data field are stored At least a portion Information encapsulation such as initial address, data length or the end address of multiple files be carrying compared with small data quantity At least one NDEF information record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 603 ':The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolver solutions Filename, file type or the file of the multiple files stored after analysis and by the title, type, data field of the NFC label are known The initial address for multiple files that at least a portion information and the data fields such as other code, document order code are stored, data length Or the application program of at least a portion information transmission to NFC reader such as end address;
Step 604 ':The filename of multiple files of the application program foundation NFC label of the NFC reader, file type Or document identifier code, document order code are directly specified or according to the selected determination file to be rewritten of the user to the file to be rewritten Filename or file type and multiple files rewriting order, 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 for 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 held At least one NDEF carried compared with small data quantity instructs record, and is sent by the NFC antenna of NFC reader by electromagnetic field to NFC Label;
Step 605 ':The NFC antenna demodulation electromagnetic field of NFC label obtains at least one NDEF instruction records, and transmits Data management system to NFC label;
Step 606 ':The data management system of NFC label parses and obtains what the application program of NFC reader to be rewritten Initial address, data length or the end address information of file, 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 send the rewriting of the plurality of file order to NFC label, but only send rewriting order most preceding file Overwrite request (filename or file initial address and length information), and retransmited after the completion of this document rewriting in rewriting order The overwrite request (filename or file initial address and length information) of next file, so until having rewritten all will rewrite 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 is positioned 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 is sending the filename to be rewritten or file type, or, to rewrite The initial address of file, data length or during end address information, will can also 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 the storage that EEPROM etc. can be rewritten with step-by-step During device, only rewriting some positions 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 passes through mesh Record the index that area and data head obtain multiple files of NFC label, so directly specify the filename to be rewritten, file type or File address, so as 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 Store the data for including multiple files in storage organization, and the NFC reader that embodiment six is provided, 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 for the file to be rewritten, which re-write method, can include different modes.
When the covering again of only limited file writes and is updated without the index information to directory area and data head When, it 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 regenerated, below scheme can be included:
Preparation process:NFC reader and NFC label close to and set up NFC communication, the NFC antenna of NFC label is read from NFC Write and electric energy is captured 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, are obtained Take filename, file type or document identifier code, the file for multiple files that the title, type, data field of NFC label stored Sequence code, and initial address, data length or the end address of multiple files that data field is stored;
Step 702:The data management system of NFC label by the title, type, data field of NFC label stored it is multiple Filename, file type or document identifier code, the document order code at least a portion Information encapsulation of file are carrying compared with small data At least one NDEF information record of amount, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 703:The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolver solutions Filename, file type or the file of the multiple files stored after analysis and by the title, type, data field of the NFC label are known The application programs of at least a portion information transmission to NFC reader such as other code, document order code;
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 The rewriting order of filename or file type and multiple files, the NFC generators of NFC reader are by the file to be rewritten 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 by the NFC antenna of NFC reader by electromagnetic field to NFC label;
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 parses 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 initial address, the data of new filename, file type, document identifier code, document order code and file 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 data management system of NFC label by the title, type, data field of NFC label stored it is multiple At least a portion information such as filename, file type or the document identifier code of file, document order code, and data field are stored At least a portion Information encapsulation such as initial address, data length or the end address of multiple files be carrying compared with small data quantity At least one NDEF information record, and sent by the NFC antenna modulated electromagnetic of NFC label to NFC reader;
Step 703 ':The NFC antenna of NFC reader obtains at least one NDEF information record, via NFC resolver solutions Filename, file type or the file of the multiple files stored after analysis and by the title, type, data field of the NFC label are known The initial address for multiple files that at least a portion information and the data fields such as other code, document order code are stored, data length Or the application program of at least a portion information transmission to NFC reader such as end address;
Step 704 ':The filename of multiple files of the application program foundation NFC label of the NFC reader, file type Or document identifier code, document order code are directly specified or according to the selected determination file to be rewritten of the user to the file to be rewritten Filename or file type and multiple files rewriting order, and according to initial address, the data of each file to be rewritten Length or end address information describe file rewritten instructions, the starting for 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 rewriting data are packaged into and held At least one NDEF carried compared with small data quantity instructs record, and is sent by the NFC antenna of NFC reader by electromagnetic field to NFC 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 parses and obtains what the application program of NFC reader to be rewritten Sequentially and accordingly file rewrites data for initial address, data length or the end address information of file, rewriting, 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 initial address, data length or the end address of code, document order code and file, by the new index information Write to data head.
Optionally, step 704 ', 706 ' can also be performed with following steps:
Step 704 ":The filename of multiple files of the application program foundation NFC label of the NFC reader, file type Or document identifier code, document order code are directly specified or according to the selected determination file to be rewritten of the user to the file to be rewritten Filename or file type and multiple files rewriting order, 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 for each file that the NFC generators of NFC reader will be rewritten 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 at least one NDEF instruction of the carrying compared with small data quantity and recorded, 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 parses 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 directly the file of the data field of non-volatile memory cells being rewritten in order, and the new index information is write to number According to head.
Optionally, the application program of NFC reader is sending the filename to be rewritten or file type, or, to rewrite The initial address of file, data length or during end address information, will can also accordingly be set as at least one file The write-in type re-write 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, the directory area of NFC label or the information of data head can not also be obtained, 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 to be rewritten and new index information are specified, so as to straight at NFC reader end Connecing 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 the skill of the present invention using NFC label in an optimal manner 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 forms the NFC memory units with fixing equipment or large scale equipment, being such as attached on exhibition platform, is 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, are attached to the NFC checkings in wine product Part, all should as long as applying relatively large data storage provided by the present invention, reading and wiring method in NFC memory units 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, can also be to NFC label attached battery or other equipment 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 provided using the embodiment of the present invention, sets data management system in NFC label, leads to Cross the encapsulation that data management system reads multiple NDEF record or performs the NDEF records of relatively large data, and by multiple NDEF Non-volatile memory cells are write direct in record parsing, realize the storage and transmission of relatively large data, also, non-volatile Data head is set in memory cell, 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, realized 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 The present invention is described in detail with reference to foregoing embodiments for pipe, 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 substitution;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 (31)

1. a kind of NFC reader, for being communicated with NFC label,
The non-volatile memory cells of the NFC label store the data of larger data amount, the packet of the larger data amount Multiple files are included,
The non-volatile memory cells include directory area, data head and data field,
The data field stores multiple files of the data of the larger data amount in order,
The data head describes the initial address of each file of the data field,
The directory area describes the total data length of the data head, the total data length of the data field, and the NFC The title of label, type, more than function at least one information,
The NFC label also include data management system, for by the data of the larger data amount be packaged into it is multiple carrying compared with The NDEF records of the data of small data quantity,
The NFC reader includes:
NFC antenna, for carrying out NFC communication with the NFC label;
NFC resolvers, are recorded for parsing the carrying that the NFC antenna is received compared with the NDEF of the data of small data quantity;
NFC generators, the carrying is packaged into compared with small data quantity for the data or instruction to be sent the NFC reader The NDEF records of data;
Application program, in the NFC reader, the catalogue for obtaining the NFC label via the NFC antenna At least one index information described by area, data head, and specified according at least one index information in the NFC label The multiple file reading number and reading order.
2. NFC reader as claimed in claim 1, it is characterised in that:
The application program obtains the type of the NFC label, and specifies the NFC label according to the type of the NFC label In the multiple file reading order.
3. NFC reader as claimed in claim 1, it is characterised in that:
The data head also describes filename, file type or the identification code of the file, more than sequence code at least one letter Breath,
The identification code is used for the type for marking the file, and the sequence code is used for the reading order for marking the file.
4. NFC reader as claimed in claim 3, it is characterised in that:
The application program has the operation interface of user's visualization and user mutual, and the application program is used to obtain described The filename of the file of NFC label, file type, and by the filename of the file, file type in visualized operation User is shown in interface,
At least one described file to be read that the application program is additionally operable to select according to user is specified in the NFC label The file reading number and reading order.
5. NFC reader as claimed in claim 3, it is characterised in that:
The application program specifies the reading order of the multiple file in the NFC label according to the sequence code.
6. NFC reader as claimed in claim 3, it is characterised in that:
The application program specifies the multiple according at least one information of the filename of the file, file type or identification code The reading order of file, the data management system of the NFC label is described more according to the initial address reading of the multiple file Individual file.
7. the NFC reader as described in claim any one of 1-6, it is characterised in that:
The application program directly specifies the data of the NFC label according to the initial address for the multiple file to be read Management system reads the multiple file according to address is read.
8. NFC reader as claimed in claim 1, it is characterised in that:
The application program is additionally operable to specify at least one file of the NFC label according at least one index information Write-in.
9. NFC reader as claimed in claim 8, it is characterised in that:
The application program is with directly specifying the rewriting of the NFC label according to the initial address of the file to be rewritten Location.
10. NFC label as claimed in claim 1, it is characterised in that:
The carrying is recorded as to be recorded by the stable NDEF sent of NFC antenna compared with the NDEF of the data of small data quantity.
11. NFC label as claimed in claim 1, it is characterised in that:
The data volume of the data of the larger data amount, which has exceeded, to be recorded by the stable single NDEF sent of NFC antenna Payload can carry the data volume of data.
12. a kind of NFC reader is to the multifile method for reading data of NFC label,
The NFC reader includes NFC antenna, NFC resolvers and application program,
The NFC label includes NFC antenna, data management system and non-volatile memory cells, the non-volatile memories list Member includes directory area, data head and data field, and the data field stores the data of larger data amount, the larger data amount Data include multiple files, and the data head describes the initial address of each file of the data field, the catalogue Area describes the total data length of the data head and the total data length of the data field, and the NFC label name Title, type, more than function at least one information,
The multifile method for reading data includes:
The data management system of the NFC label loads the directory area and the data of the non-volatile memory cells Head;
The directory area and the data head are encapsulated as number of the carrying compared with small data quantity by the data management system of the NFC label According to NDEF record groups, and sent by the NFC antenna modulated electromagnetic of the NFC label to the NFC reader;
The carrying that the NFC antenna acquisition directory area of the NFC reader and the data head are packaged into is compared with small data The NDEF record groups of the data of amount, after being parsed via the NFC resolvers and send the directory area and the data head to The application program of the NFC reader;
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the file and the reading order of multiple files to be read, and describe reading according at least one index information and refer to The reading instruction is packaged at least one carrying compared with the data of small data quantity by order, the NFC generators of the NFC reader NDEF instruction records, and sent by the NFC antenna of the NFC reader by electromagnetic field to the NFC label;
The NFC antenna demodulation electromagnetic field of the NFC label obtains NDEF of at least one the described carrying compared with the data of small data quantity Instruction records and sends the data management system of the NFC label to;
The data management system of the NFC label parses and obtains answering for the NFC reader described by the reading instruction The file and the reading order of multiple files to be read with program, the application program of the NFC reader to be read File read from the data fields of the non-volatile memory cells;
Data of the data management system of the NFC label by the Document encapsulation of reading for the carrying compared with small data quantity NDEF record groups, and sent by the NFC antenna modulated electromagnetic of the NFC label to the NFC reader;
The NFC antenna of the NFC reader obtains NDEF record of the carrying compared with the data of small data quantity, via the NFC Send the application program of the NFC reader after resolver parsing and by the file to;
The application program of the NFC reader performs processing to the file read.
13. multifile method for reading data as claimed in claim 12, it is characterised in that:
The application program of the NFC reader obtains the type of the NFC label, and is determined according to the type of the NFC label The file and the reading order of multiple files to be read.
14. multifile method for reading data as claimed in claim 12, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader is used for filename, file type or the identification code for obtaining the file, and according to use Family is determined by least one selected described filename of the visualization interface of the application program, file type or identification code will The reading order of the file of reading and multiple files.
15. multifile method for reading data as claimed in claim 12, it is characterised in that:
The data head also describes the sequence code of the file, and the sequence code is used for the reading order for marking the file, The application program determines the reading order for the multiple files to be read according to the sequence code.
16. multifile method for reading data as claimed in claim 12, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader is according to more than the filename of the file, file type or identification code at least one Information determines the reading order of the file to be read and multiple files, and the filename according to the file, file type or Instruction is read at least one information description of identification code,
The data management system of the NFC label obtains the application program for reading the NFC reader described by instruction At least one information of the filename of the file to be read, file type or identification code, and according to described by the data head The file initial address, by the reading order file to be read the application program of the NFC reader from described The data field of non-volatile memory cells is read.
17. multifile method for reading data as claimed in claim 12, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the file and the reading order of multiple files to be read, and the starting of the file to be read according to the file Address descriptor reads instruction,
The data management system of the NFC label obtains the starting point for reading the file to be read described by instruction Location, is directly read the file to be read from the data field of the non-volatile memory cells by reading order.
18. multifile method for reading data as claimed in claim 12, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the file and the reading order of multiple files to be read, and the reading of each file is described according to reading order one by one refer to Each reading instruction is packaged at least one carrying compared with small data quantity by order, the NFC generators of the NFC reader respectively Data NDEF instruction records, and sent by the NFC antenna of the NFC reader by electromagnetic field to the NFC label;
The data management system of the NFC label parses and obtains one that the application program of the NFC reader to be read The reading instruction of file, the file to be read is read from the data field of the non-volatile memory cells, and is encapsulated as The carrying is sent to institute compared with the NDEF record groups of the data of small data quantity by the NFC antenna modulated electromagnetic of the NFC label State NFC reader.
19. multifile method for reading data as claimed in claim 12, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head Instruction is read in description, and the reading instruction includes the initial address to be read and the length to be read,
The data management system of the NFC label obtains the initial address to be read read described by instruction and read Length, directly read from the data fields of the non-volatile memory cells.
20. a kind of NFC reader is to the multifile data rewriting method of NFC label,
The NFC reader includes NFC antenna, NFC resolvers and application program,
The NFC label includes NFC antenna, data management system and non-volatile memory cells, the non-volatile memories list Member includes directory area, data head and data field, and the data field stores the data of larger data amount, the larger data amount Data include multiple files, and the data head describes the initial address of each file of the data field, the catalogue Area describes the total data length of the data head and the total data length of the data field, and the NFC label name Title, type, more than function at least one information,
The multifile data rewriting method includes:
The data management system of the NFC label loads the directory area and the data of the non-volatile memory cells Head;
The directory area and the data head are encapsulated as number of the carrying compared with small data quantity by the data management system of the NFC label According to NDEF record groups, and sent by the NFC antenna modulated electromagnetic of the NFC label to the NFC reader;
The carrying that the NFC antenna acquisition directory area of the NFC reader and the data head are packaged into is compared with small data The NDEF record groups of the data of amount, after being parsed via the NFC resolvers and send the directory area and the data head to The application program of the NFC reader;
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the rewriting order of the file to be rewritten and multiple files, and describe rewriting according at least one index information and refer to The write-over instruction, corresponding file rewrite data are packaged at least one and held by order, the NFC generators of the NFC reader The NDEF for carrying the data compared with small data quantity instructs record, and is sent by the NFC antenna of the NFC reader by electromagnetic field to institute State NFC label;
The NFC antenna demodulation electromagnetic field of the NFC label obtains NDEF of at least one the described carrying compared with the data of small data quantity Instruction records and sends the data management system of the NFC label to;
The data management system of the NFC label parses and obtains answering for the NFC reader described by the write-over instruction The file to be rewritten with program and corresponding file rewrite data, by the data field institute of the non-volatile memory cells State file and perform rewriting.
21. multifile data rewriting method as claimed in claim 20, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader is used for filename, file type or the identification code for obtaining the file, and according to use Family is determined by least one selected described filename of the visualization interface of the application program, file type or identification code will The rewriting order of the file of rewriting and multiple files.
22. multifile data rewriting method as claimed in claim 20, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader is according to more than the filename of the file, file type or identification code at least one Information determines the file to be rewritten, and at least one information of the filename according to the file, file type or identification code is retouched State write-over instruction,
The data management system of the NFC label obtains the application program of the NFC reader described by the write-over instruction At least one information of the filename of the file to be rewritten, file type or identification code, and according to described by the data head The file initial address, file described in the data field of the non-volatile memory cells is performed into rewriting.
23. multifile data rewriting method as claimed in claim 20, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the file to be rewritten, and write-over instruction is described according to the initial address of the file to be rewritten,
The data management system of the NFC label obtains the starting point of the file to be rewritten described by the write-over instruction Location, directly performs rewriting by file described in the data field of the non-volatile memory cells.
24. multifile data rewriting method as claimed in claim 20, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the rewriting of the file and multiple files to be rewritten is sequentially, and the rewriting for describing each file one by one according to rewriting order refers to Each write-over instruction is packaged at least one carrying compared with small data quantity by order, the NFC generators of the NFC reader respectively Data NDEF instruction records, and sent by the NFC antenna of the NFC reader by electromagnetic field to the NFC label;
The data management system of the NFC label parses and obtains one that the application program of the NFC reader to be rewritten The write-over instruction of file, rewriting is performed to file described in the data field of the non-volatile memory cells.
25. multifile data rewriting method as claimed in claim 20, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head Write-over instruction is described, the write-over instruction includes the initial address to be rewritten and the length to be rewritten,
The data management system of the NFC label obtains the initial address to be rewritten described by the write-over instruction and rewritten Length, directly the data fields of the non-volatile memory cells is rewritten.
26. a kind of NFC reader is to the multifile data rewrite method of NFC label,
The NFC reader includes NFC antenna, NFC resolvers and application program,
The NFC label includes NFC antenna, data management system and non-volatile memory cells, the non-volatile memories list Member includes directory area, data head and data field, and the data field stores the data of larger data amount, the larger data amount Data include multiple files, and the data head describes the initial address of each file of the data field, the catalogue Area describes the total data length of the data head and the total data length of the data field, and the NFC label name Title, type, more than function at least one information,
The multifile data rewrite method includes:
The data management system of the NFC label loads the directory area and the data of the non-volatile memory cells Head;
The directory area and the data head are encapsulated as number of the carrying compared with small data quantity by the data management system of the NFC label According to NDEF record groups, and sent by the NFC antenna modulated electromagnetic of the NFC label to the NFC reader;
The carrying that the NFC antenna acquisition directory area of the NFC reader and the data head are packaged into is compared with small data The NDEF record groups of the data of amount, after being parsed via the NFC resolvers and send the directory area and the data head to The application program of the NFC reader;
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the rewriting order of the file to be rewritten and multiple files, and describe rewriting according at least one index information and refer to The rewritten instructions, corresponding file rewriting data are packaged at least one and held by order, the NFC generators of the NFC reader The NDEF for carrying the data compared with small data quantity instructs record, and is sent by the NFC antenna of the NFC reader by electromagnetic field to institute State NFC label;
The NFC antenna demodulation electromagnetic field of the NFC label obtains NDEF of at least one the described carrying compared with the data of small data quantity Instruction records and sends the data management system of the NFC label to;
The data management system of the NFC label parses and obtains answering for the NFC reader described by the rewritten instructions The file to be rewritten with program and corresponding file rewrite data, by the data field institute of the non-volatile memory cells State file and perform rewriting, the data management system of the NFC label regenerates new directory area and data head, will be described new Directory area and data head are write to the non-volatile memory cells.
27. multifile data rewrite method as claimed in claim 26, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader is used for filename, file type or the identification code for obtaining the file, and according to use Family is determined by least one selected described filename of the visualization interface of the application program, file type or identification code will The rewriting order of the file of rewriting and multiple files.
28. multifile data rewrite method as claimed in claim 26, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader is according to more than the filename of the file, file type or identification code at least one Information determines the file to be rewritten, and at least one information of the filename according to the file, file type or identification code is retouched State rewritten instructions,
The data management system of the NFC label obtains the application program of the NFC reader described by the rewritten instructions At least one information of the filename of the file to be rewritten, file type or identification code, and according to described by the data head The file initial address, file described in the data field of the non-volatile memory cells is performed into rewriting.
29. multifile data rewrite method as claimed in claim 26, it is characterised in that:
The application program of the NFC reader is according at least one index information described by the directory area and the data head It is determined that the file to be rewritten, and rewritten instructions are described according to the initial address for the file to be rewritten,
The data management system of the NFC label obtains the starting point of the file to be rewritten described by the rewritten instructions Location, directly performs rewriting by file described in the data field of the non-volatile memory cells.
30. a kind of NFC reader is to the multifile data rewrite method of NFC label,
The NFC reader includes NFC antenna, NFC resolvers and application program,
The NFC label includes NFC antenna, data management system and non-volatile memory cells, the non-volatile memories list Member includes directory area, data head and data field, and the data field stores the data of larger data amount, the larger data amount Data include multiple files, and the data head describes the initial address of each file of the data field, the catalogue Area describes the total data length of the data head and the total data length of the data field, and the NFC label name Title, type, more than function at least one information,
The multifile data rewrite method includes:
The application program of the NFC reader is sequentially generated the rope of new directory area, data head according to the file, rewriting to be rewritten Fuse ceases, and the NFC generators of the NFC reader are literary by the new data head, the index information of directory area, corresponding rewriting Part is packaged at least one carrying and instructs record compared with the NDEF of the data of small data quantity, and by the NFC antenna of the NFC reader Sent by electromagnetic field to the NFC label;
The NFC antenna demodulation electromagnetic field of the NFC label obtains NDEF of at least one the described carrying compared with the data of small data quantity Instruction records and sends the data management system of the NFC label to;
The data management system of the NFC label parses and obtains the rewritten instructions, directly by the new mesh received Record area, data head are rewritten to the directory area and data head of the non-volatile memory cells, corresponding heavy by what is received Written document is rewritten to the data field of the non-volatile memory cells.
31. multifile data rewrite method as claimed in claim 30, it is characterised in that:
The data head also describes more than filename, file type or the identification code of the file at least one information, described Identification code is used for the type for marking the file,
The application program of the NFC reader selectes the text to be rewritten according to user by the visualization interface of the application program The rewriting order of part and multiple files.
CN201710213608.6A 2016-04-01 2017-04-01 NFC reader-writer and data reading and writing method of NFC reader-writer for NFC label Active CN106991353B (en)

Applications Claiming Priority (2)

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

Publications (2)

Publication Number Publication Date
CN106991353A true CN106991353A (en) 2017-07-28
CN106991353B CN106991353B (en) 2020-03-20

Family

ID=59142254

Family Applications (6)

Application Number Title Priority Date Filing Date
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
CN201710208698.XA Active CN106951809B (en) 2016-04-01 2017-03-31 NFC tag
CN201710213954.4A Active CN106845599B (en) 2016-04-01 2017-04-01 NFC tag
CN201710213952.5A Active CN106991463B (en) 2016-04-01 2017-04-01 NFC tag and data read-write method of 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

Family Applications Before (5)

Application Number Title Priority Date Filing Date
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
CN201710208698.XA Active CN106951809B (en) 2016-04-01 2017-03-31 NFC tag
CN201710213954.4A Active CN106845599B (en) 2016-04-01 2017-04-01 NFC tag
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) CN106934445B (en)
WO (2) WO2017167274A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362489A (en) * 2020-03-06 2021-09-07 联合汽车电子有限公司 Method for creating vehicle measurement file, electronic device, and storage medium
CN114565070A (en) * 2022-02-23 2022-05-31 Tcl通讯科技(成都)有限公司 Label binding method and device and mobile terminal
CN115345268A (en) * 2022-08-18 2022-11-15 芯电智联(北京)科技有限公司 Data processing method of NFC label connected with light emitting diode

Families Citing this family (5)

* 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.
CN110728159A (en) * 2018-07-17 2020-01-24 上海复旦微电子集团股份有限公司 NDEF data reading and uploading method, terminal, tag chip and readable medium
CN110826657B (en) * 2018-08-09 2023-07-14 中国电信股份有限公司 Apparatus and method for NFC tag
CN110059514B (en) * 2019-04-18 2021-06-08 珠海美佳音科技有限公司 Data writing method, NFC tag, NFC device and storage medium
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
CN103975536A (en) * 2011-12-06 2014-08-06 Aq株式会社 Multi-tag operating system and operating method thereof
US20150029540A1 (en) * 2013-07-29 2015-01-29 Samsung Electronics Co., Ltd. Image forming apparatus and mobile device for forming wireless configuration by using near field communication (nfc)
CN104350513A (en) * 2013-07-26 2015-02-11 华为终端有限公司 Method and device for identifying label
CN104469656A (en) * 2014-08-28 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Data transmission method and system based on NFC
CN104517077A (en) * 2013-09-29 2015-04-15 北京三星通信技术研究有限公司 Method and apparatus for realizing simulation tags in NFC equipment
CN104662931A (en) * 2012-10-17 2015-05-27 高通股份有限公司 Methods and apparatus for reducing overhead for NFC data exchange protocol messages

Family Cites Families (16)

* 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
WO2008078216A2 (en) * 2006-12-22 2008-07-03 Nxp B.V. A method for storing data in a rfid transponder
JP4613969B2 (en) * 2008-03-03 2011-01-19 ソニー株式会社 Communication apparatus and communication method
JP2010067026A (en) * 2008-09-11 2010-03-25 Nec Corp Tag control method
KR101636354B1 (en) * 2010-02-18 2016-07-05 삼성전자주식회사 Passive wireless memory device
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
WO2014011144A1 (en) * 2012-07-09 2014-01-16 Intel Corporation Systems and methods for enabling secure transactions with mobile devices
US9110897B2 (en) * 2012-11-16 2015-08-18 Electronics And Telecommunications Research Institute Sensor tag and method of providing service using the same
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
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
CN105303208B (en) * 2015-10-26 2019-01-25 新大陆数字技术股份有限公司 A kind of IC card management method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103975536A (en) * 2011-12-06 2014-08-06 Aq株式会社 Multi-tag operating system and operating method thereof
CN104662931A (en) * 2012-10-17 2015-05-27 高通股份有限公司 Methods and apparatus for reducing overhead for NFC data exchange protocol messages
CN104350513A (en) * 2013-07-26 2015-02-11 华为终端有限公司 Method and device for identifying label
US20150029540A1 (en) * 2013-07-29 2015-01-29 Samsung Electronics Co., Ltd. Image forming apparatus and mobile device for forming wireless configuration by using near field communication (nfc)
CN104517077A (en) * 2013-09-29 2015-04-15 北京三星通信技术研究有限公司 Method and apparatus for realizing simulation tags in NFC equipment
CN104469656A (en) * 2014-08-28 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Data transmission method and system based on NFC

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362489A (en) * 2020-03-06 2021-09-07 联合汽车电子有限公司 Method for creating vehicle measurement file, electronic device, and storage medium
CN114565070A (en) * 2022-02-23 2022-05-31 Tcl通讯科技(成都)有限公司 Label binding method and device and mobile terminal
CN114565070B (en) * 2022-02-23 2023-11-10 Tcl通讯科技(成都)有限公司 Label binding method and device and mobile terminal
CN115345268A (en) * 2022-08-18 2022-11-15 芯电智联(北京)科技有限公司 Data processing method of NFC label connected with light emitting diode
CN115345268B (en) * 2022-08-18 2023-04-11 芯电智联(北京)科技有限公司 Data processing method of NFC label connected with light emitting diode

Also Published As

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

Similar Documents

Publication Publication Date Title
CN106991353A (en) The data read-write method of NFC reader and NFC reader to NFC label
US8688929B2 (en) Method for storing data as well as a transponder, a read/write-device, a computer readable medium including a program element and such a program element adapted to perform this method
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
CN1612494A (en) Mobile communication terminal with RFID function and RFID programming method in the same
CN104268731A (en) Method and system for achieving express delivery by using electronic tag
CN104778011A (en) Memory device including wireless antenna
CN208128287U (en) A kind of intelligence pencil box
CN103458004A (en) Internet of things-based device subscription information changing method and equipment
CN205318553U (en) Data processing device and system and printer
CN207718538U (en) shared umbrella system
CN102112992A (en) Communication device, communication method, and program
CN202584236U (en) Portable attendance terminal
EP2367115B1 (en) Portable electronic apparatus and method of controlling a portable electronic apparatus
CN208207874U (en) Electronic mineral bill system
CN202257651U (en) Passenger ticket
CN104077618B (en) A kind of method and apparatus accessing smart card
CN218630803U (en) House card distributing device and house card distributing device
CN103093308B (en) Technical grade smart card issuance method and system, network interface card reader and issue terminal
CN203444502U (en) E-card display apparatus and e-card assembly
CN115514394A (en) But near field communication's intelligent household electrical appliances and communication system based on NFC
CN203012749U (en) Post operation terminal with printing function
CN109034295A (en) A kind of ultrahigh frequency electronic tag read-write system based on the close encryption and decryption of state
CN103021380A (en) Dynamic display system based on radio frequency identification (RFID) technology
CN106488388A (en) A kind of can interactive information intelligent apparatus
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

Effective date of registration: 20200519

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.

TR01 Transfer of patent right