CN106778397A - A kind of control device and control method that rate is arrested for improving active card - Google Patents

A kind of control device and control method that rate is arrested for improving active card Download PDF

Info

Publication number
CN106778397A
CN106778397A CN201611005268.XA CN201611005268A CN106778397A CN 106778397 A CN106778397 A CN 106778397A CN 201611005268 A CN201611005268 A CN 201611005268A CN 106778397 A CN106778397 A CN 106778397A
Authority
CN
China
Prior art keywords
random number
timer
master controller
active card
timing
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
CN201611005268.XA
Other languages
Chinese (zh)
Other versions
CN106778397B (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.)
Wuhan ruinajie Semiconductor Co.,Ltd.
Original Assignee
Wuhan Rui Najie Electron Technology 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 Wuhan Rui Najie Electron Technology Co Ltd filed Critical Wuhan Rui Najie Electron Technology Co Ltd
Priority to CN201611005268.XA priority Critical patent/CN106778397B/en
Publication of CN106778397A publication Critical patent/CN106778397A/en
Application granted granted Critical
Publication of CN106778397B publication Critical patent/CN106778397B/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
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Credit Cards Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of control device and control method that rate is arrested for improving active card.Control device includes master controller, and the master controller is electrically connected with wireless module, and the master controller is built-in with timer and random number module, wherein:The random number module is used to generate random number;The timer is used to after it reaches timing, an interrupt signal is sent to master controller;The master controller is used for:Response interrupt signal simultaneously sends data by wireless module, the random number in reading random number module after the completion of data is activation, and random number is write into timer, to make timer by random number as timing reclocking.The present invention can avoid loss of data, can improve active card arrest rate, improve active card identification process accuracy and reliability.

Description

A kind of control device and control method that rate is arrested for improving active card
Technical field
The present invention relates to active card, more particularly to a kind of control device and controlling party that rate is arrested for improving active card Method.
Background technology
At present, the electronic tag of active main control chip includes two kinds of near-field communication and telecommunication, wherein, near-field communication By 13.56M radio-frequency carriers, a telecommunication then usual plug-in 2.4G chip, the active card of plug-in 2.4G chips can be with Identity identification information is carried, for middle and elementary school student, the work attendance of factory personnel, it can also be used to the high-volume valuable cargo of port and pier The identification statistics of thing.Under this reference occasion, it is ensured that it is a most important index that data will not lose.In the prior art, Active card chip sends an identification data, because the timing of each active card is one whenever after timing a period of time Cause, so, if now having multiple active cards while sending data, receiving terminal occurs the situation of loss of data, so as to drop Low active card arrests rate, reduces the accuracy and reliability of active card identification.
The content of the invention
The technical problem to be solved in the present invention is, in view of the shortcomings of the prior art, there is provided one kind can avoid loss of data, Control device and control method that active card arrests rate, the accuracy of raising active card identification process and reliability can be improved.
In order to solve the above technical problems, the present invention is adopted the following technical scheme that.
A kind of control device that rate is arrested for improving active card, it includes master controller, and the master controller is electrical Wireless module is connected with, the master controller is built-in with timer and random number module, wherein:The random number module is used to give birth to Into random number;The timer is used to after it reaches timing, an interrupt signal is sent to master controller;The main control Device is used for:Response interrupt signal simultaneously sends data by wireless module, when in reading random number module after the completion of data is activation Random number, and random number is write into timer, to make timer by random number as timing reclocking.
Preferably, the wireless module is 2.4G wireless modules.
Preferably, the active card is RFID active cards.
Preferably, the random number module is realized by the built-in program code of master controller.
Preferably, the master controller is single-chip microcomputer.
Preferably, the timer presets the initial timing time, when electricity is initial in active card, the timer foundation The initial timing time carries out timing.
Preferably, the active card includes the memory module for data storage.
A kind of control method that rate is arrested for improving active card, the method realizes that described device includes based on a device There is master controller, the master controller is electrically connected with wireless module, and the master controller is built-in with timer and random digital-to-analogue Block, methods described comprises the following steps:Step S1, initializes active card;Step S2, timer starts timing;Step S3, timing Device reaches timing, and an interrupt signal is sent to master controller;Step S4, master controller response interrupt signal simultaneously passes through wireless Module sends data;Step S5, the random number that master controller will read in random number module after the completion of data is activation, and will be random Number write-in timer;Random number as timing reclocking is back to step S3 by step S6, timer afterwards.
Preferably, the random number module is realized by the built-in program code of master controller.
Preferably, the timer presets the initial timing time, in the step S1, when electricity is initial in active card, The timer carries out timing according to the initial timing time.
The control device and control method that rate is arrested for improving active card disclosed by the invention, in its course of work, when After active card initialization, timer starts timing, after timer reaches timing, sends one to master controller and interrupts letter Number, master controller response interrupt signal, and data are sent by wireless module, random number module is read after the completion of data is activation In random number, and random number is write into timer, timer is using random number as timing reclocking afterwards, in repetition State process.The present invention is using random number module generation random number, then random number is write into timer so that timer is each to be determined When the time it is different, so as to reducing the possibility that multiple active cards send data simultaneously, it is to avoid loss of data, substantially increase Active card arrests rate so that the accuracy and better reliability of active card identification process.
Brief description of the drawings
Fig. 1 is the composition frame chart of control device of the present invention.
Fig. 2 is the flow chart of control method of the present invention.
Specific embodiment
The present invention is described in more detail with reference to the accompanying drawings and examples.
The invention discloses a kind of control device that rate is arrested for improving active card, as shown in figure 1, it includes master control Device processed 1, the master controller 1 is electrically connected with wireless module 2, and the master controller 1 is built-in with timer 3 and random number module 4, wherein:
The random number module 4 is used to generate random number;
The timer 3 is used to after it reaches timing, an interrupt signal is sent to master controller 1;
The master controller 1 is used for:Response interrupt signal simultaneously sends data by wireless module 2, when data is activation is completed The random number in random number module 4 is read afterwards, and random number is write into timer 3, to make timer 3 by random number as timing Time reclocking.
Operationally, after active card initialization, timer 3 starts timing to above-mentioned control device, when timer 3 reaches fixed When the time after, send an interrupt signal to master controller 1, the response interrupt signal of master controller 1 and is sent by wireless module 2 Data, the random number in reading random number module 4 after the completion of data is activation, and random number is write into timer 3, timing afterwards Random number as timing reclocking is repeated said process by device 3.The present invention generates random number using random number module 4, Random number is write into timer 3 again so that each timing of timer 3 is different, so as to reduce multiple active cards simultaneously Send the possibility of data, it is to avoid loss of data, substantially increase active card arrests rate so that active card identification process Accuracy and better reliability.
In practical application, the generation on random number refers to following examples:Master controller 1 is built-in with initial time T0, the T0 can be changed by master controller 1, and it is 0, T1 that the random number module 4 is used to produce the initial value of random numerical value T1, T1 In 0~10 random change, after sending data every time, T0+T1 is write timer 3 by random number module 4 to scope, by Change at random in T1, it is achieved thereby that the change at random of the timing of timer 3.
In the present embodiment, the wireless module 2 is preferably 2.4G wireless modules.
On this basis, the active card is preferably RFID active cards.So that active card can not only rely on 13.56MH modules Radio-frequency carrier is realized, telecommunication can also be realized using 2.4G wireless modules.
Used as a kind of preferred embodiment, the random number module 4 is realized by the built-in program code of master controller 1.This is random Digital-to-analogue block 4 can write master controller 1 in programming, so that master controller 1 is called.The random number of the random number module 4 generation It is integer.
In the present embodiment, the master controller 1 is single-chip microcomputer.The timer 3 is built in the single-chip microcomputer.
Used as a kind of preferred embodiment, the timer 3 presets the initial timing time, when electricity is initial in active card, institute State timer 3 carries out timing according to the initial timing time.This set is in order to avoid lacking initial time in timer 3 Interruption cannot be produced, to ensure that active card can smoothly enter working condition, but this is only a kind of application mode of the invention, In addition, the present invention is it is also conceivable to another working method:Initial in upper electricity, master controller 1 first sends data, pending data After being sent completely, random number module 4 is recalled, make the timing of timer 3.Both modes can be when programming to master controller 1 It is configured, the two can play foolproof function.
In the present embodiment, the active card includes the memory module for data storage.
A random number module is added in control device disclosed by the invention, compared to existing technologies, the present invention exists A small random delay is added on the basis of original interval, so that the transmission time of each active card that staggers to greatest extent, So, even if preceding once several cards send out data simultaneously, and when sending next time, due to the addition of random number, each active card is simultaneously The situation for sending out data will be substantially reduced.
On this basis, the invention also discloses a kind of control method that rate is arrested for improving active card, with reference to Fig. 1 and Shown in Fig. 2, the method is realized based on a device, and described device includes master controller 1, and the master controller 1 is electrically connected with Wireless module 2, the master controller 1 is built-in with timer 3 and random number module 4, and methods described comprises the following steps:
Step S1, initializes active card;
Step S2, timer 3 starts timing;
Step S3, timer 3 reaches timing, and an interrupt signal is sent to master controller 1;
Step S4, the response interrupt signal of master controller 1 simultaneously sends data by wireless module 2;
Step S5, master controller 1 will read the random number in random number module 4 after the completion of data is activation, and by random number Write-in timer 3;
Random number as timing reclocking is back to step S3 by step S6, timer 3 afterwards.
In the above-mentioned control method that rate is arrested for improving active card, after sending data every time, given birth to using random number module 4 Into random number, then random number is write into timer 3 so that each timing of timer 3 is different, has so as to reduce multiple Source card sends the possibility of data simultaneously, it is to avoid loss of data, and substantially increase active card arrest rate so that active card is known The accuracy and better reliability of other process.
Further, the timer 3 presets the initial timing time, in the step S1, when electricity is first in active card Begin, the timer 3 carries out timing according to the initial timing time.
In the control device and control method that rate is arrested for improving active card disclosed by the invention, on radio frequency smart card After electricity, by the data in configuration memory, a secondary data is sent at regular intervals between active card meeting, be sent completely every time Afterwards, the random number in random number module is read, is added in transmission interval counter, data are sent next time will be spaced newly Timing, so as to once mutually staggering with preceding.Compared to existing technologies, sent out simultaneously present invention reduces multiple active cards Send the possibility of data, it is to avoid loss of data, substantially increase active card arrests rate so that the standard of active card identification process True property and better reliability.
The above is preferred embodiments of the present invention, is not intended to limit the invention, all in technology model of the invention Interior done modification, equivalent or improvement etc. are enclosed, be should be included in the range of of the invention protection.

Claims (10)

1. a kind of control device that rate is arrested for improving active card, it is characterised in that include master controller (1), the master Controller (1) is electrically connected with wireless module (2), and the master controller (1) is built-in with timer (3) and random number module (4), Wherein:
The random number module (4) is for generating random number;
The timer (3) is for after it reaches timing, an interrupt signal being sent to master controller (1);
The master controller (1) is used for:Response interrupt signal simultaneously sends data by wireless module (2), when data is activation is completed The random number in random number module (4) is read afterwards, and random number is write into timer (3), to make timer (3) make random number It is timing reclocking.
2. it is as claimed in claim 1 to be used to improve the control device that active card arrests rate, it is characterised in that the wireless module (2) it is 2.4G wireless modules.
3. it is as claimed in claim 1 to be used to improve the control device that active card arrests rate, it is characterised in that the active card is RFID active cards.
4. it is as claimed in claim 1 to be used to improve the control device that active card arrests rate, it is characterised in that the random digital-to-analogue Block (4) is realized by the built-in program code of master controller (1).
5. it is as claimed in claim 1 to be used to improve the control device that active card arrests rate, it is characterised in that the master controller (1) it is single-chip microcomputer.
6. it is as claimed in claim 1 to be used to improve the control device that active card arrests rate, it is characterised in that the timer (3) the initial timing time is preset, when electricity is initial in active card, the timer (3) is carried out according to the initial timing time Timing.
7. it is as claimed in claim 1 to be used to improve the control device that active card arrests rate, it is characterised in that the active card bag Include the memory module for data storage.
8. a kind of control method that rate is arrested for improving active card, it is characterised in that the method is realized based on a device, described Device includes master controller (1), and the master controller (1) is electrically connected with wireless module (2), the master controller (1) Timer (3) and random number module (4) are equipped with, methods described comprises the following steps:
Step S1, initializes active card;
Step S2, timer (3) starts timing;
Step S3, timer (3) reaches timing, and an interrupt signal is sent to master controller (1);
Step S4, master controller (1) response interrupt signal simultaneously sends data by wireless module (2);
Step S5, master controller (1) will read the random number in random number module (4) after the completion of data is activation, and by random number Write-in timer (3);
Random number as timing reclocking is back to step S3 by step S6, timer (3) afterwards.
9. it is as claimed in claim 8 to be used to improve the control method that active card arrests rate, it is characterised in that the random digital-to-analogue Block (4) is realized by the built-in program code of master controller (1).
10. it is as claimed in claim 8 to be used to improve the control method that active card arrests rate, it is characterised in that the timer (3) preset the initial timing time, in the step S1, when electricity is initial in active card, the timer (3) is initial according to this Timing carries out timing.
CN201611005268.XA 2016-11-15 2016-11-15 A kind of control device and control method for arresting rate for improving active card Active CN106778397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611005268.XA CN106778397B (en) 2016-11-15 2016-11-15 A kind of control device and control method for arresting rate for improving active card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611005268.XA CN106778397B (en) 2016-11-15 2016-11-15 A kind of control device and control method for arresting rate for improving active card

Publications (2)

Publication Number Publication Date
CN106778397A true CN106778397A (en) 2017-05-31
CN106778397B CN106778397B (en) 2019-06-28

Family

ID=58969398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611005268.XA Active CN106778397B (en) 2016-11-15 2016-11-15 A kind of control device and control method for arresting rate for improving active card

Country Status (1)

Country Link
CN (1) CN106778397B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620665A (en) * 2009-08-10 2010-01-06 成都三零盛安信息系统有限公司 Ultrahigh frequency passive radio frequency identification reader and frequency hopping method thereof
US20120130905A1 (en) * 2010-11-09 2012-05-24 The Regents Of The University Of California Transaction verification on rfid enabled payment and transaction instruments
CN103632115A (en) * 2013-11-01 2014-03-12 福建鑫诺通讯技术有限公司 Method for realizing multichannel data collection for card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620665A (en) * 2009-08-10 2010-01-06 成都三零盛安信息系统有限公司 Ultrahigh frequency passive radio frequency identification reader and frequency hopping method thereof
US20120130905A1 (en) * 2010-11-09 2012-05-24 The Regents Of The University Of California Transaction verification on rfid enabled payment and transaction instruments
CN103632115A (en) * 2013-11-01 2014-03-12 福建鑫诺通讯技术有限公司 Method for realizing multichannel data collection for card

Also Published As

Publication number Publication date
CN106778397B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN101840387B (en) USB (Universal Serial Bus) Key device and method for realizing smart card communications using USB interface
WO2005086407A1 (en) Reset circuit, data carrier and communication device
CN105138892A (en) Data interaction method and apparatus applied to composite smart card device
CN111091173A (en) SIM card with large-capacity storage function and control method thereof
WO2021128583A1 (en) Sim card and sd card two-in-one control chip and control method thereof
CN106533850A (en) Panel scene control method based on NFC card mode
CN202267983U (en) RFID (Radio Frequency Identification Device) label, reading and writing device matched with same and radio frequency identification system consisting of RFID label and reading and writing device
CN106778397A (en) A kind of control device and control method that rate is arrested for improving active card
CN105868806B (en) The secondary offering method and its system of electronic tag
CN107817477B (en) A kind of signal source system and implementation method of Radar Displaying Console System
CN203966188U (en) Safety equipment and terminal
CN207264519U (en) A kind of intelligent sound wireless consumer machine system
CN101996303A (en) Method and device for controlling communication distance in radio frequency SIM (Subscriber Identity Module) card communication system by applying magnetic induction
EP2782400A1 (en) NFC controller architecture for simultaneous emulation of multiple NFC technologies in one NFC listen device
CN203563062U (en) Industrial vehicle-mounted communication base station capable of being compatible with various data interfaces
CN211375637U (en) SIM card with large-capacity storage function
CN204349141U (en) Smart card adapter
CN218525110U (en) RFID chip data writing device of intelligent student card
CN201628968U (en) Combined structure for mobile RFID-SIM card and non-contact type IC card reading
CN110149619A (en) A kind of NFC communication velocity regulating method, intelligent terminal and storage medium
CN215814207U (en) Simulator supporting non-contact clock self-adaptive function test
CN201654825U (en) Usb key device
CN103793669B (en) A kind of 3G is mining reader and self checking method
CN203386477U (en) Wireless U disk system
CN203953687U (en) Flat panel detector and pallet, x-ray system

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 430000 building 01, building 15, optical valley wisdom Park, No.7, financial port 1st Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: Wuhan ruinajie Semiconductor Co.,Ltd.

Address before: 430073 building 01, building 15, optical valley wisdom Park, No.7, financial port 1st Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN RUINAJIE ELECTRONIC TECHNOLOGY Co.,Ltd.