CN106778397B - A kind of control device and control method for arresting rate for improving active card - Google Patents
A kind of control device and control method for arresting rate for improving active card Download PDFInfo
- Publication number
- CN106778397B CN106778397B CN201611005268.XA CN201611005268A CN106778397B CN 106778397 B CN106778397 B CN 106778397B CN 201611005268 A CN201611005268 A CN 201611005268A CN 106778397 B CN106778397 B CN 106778397B
- Authority
- CN
- China
- Prior art keywords
- random number
- master controller
- timer
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0008—General 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)
- Mobile Radio Communication Systems (AREA)
- Credit Cards Or The Like (AREA)
Abstract
The invention discloses a kind of control devices 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, in which: the random number module is for generating random number;The timer is used to send an interrupt signal to master controller after it reaches timing;The master controller is used for: response interrupt signal simultaneously issues data by wireless module, and timer is written in random number by random number after data are sent completely in reading random number module, to enable timer by random number as timing reclocking.The present invention can avoid loss of data, can improve the accuracy and reliability that active card arrests rate, improves active card identification process.
Description
Technical field
The present invention relates to active card more particularly to a kind of control devices and controlling party that rate is arrested for improving active card
Method.
Background technique
Currently, the electronic tag of active main control chip includes near-field communication and two kinds of telecommunication, wherein near-field communication
By 13.56M radio-frequency carrier, a telecommunication then usual plug-in 2.4G chip, the active card of plug-in 2.4G chip can be with
Identity identification information is carried, for middle and elementary school student, the attendance of factory personnel, it can also be used to the high-volume valuable cargo of port and pier
The identification of object counts.Under this reference occasion, guaranteeing that data will not lose is a most important Xiang Zhibiao.In the prior art,
Active card chip sends an identification data after timing a period of time, since the timing of each active card is one
It causes, so, if having multiple active cards at this time while sending data, the case where receiving end will appear loss of data, to drop
Low active card arrests rate, reduces the accuracy and reliability of active card identification.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, provide a kind of avoidable loss of data,
Control device and control method that active card arrests rate, the accuracy and reliability for improving active card identification process can be improved.
In order to solve the above technical problems, the present invention adopts the following technical scheme that.
A kind of control device for arresting rate for improving active card comprising have master controller, the master controller is electrical
It is connected with wireless module, the master controller is built-in with timer and random number module, in which: the random number module is for giving birth to
At random number;The timer is used to send an interrupt signal to master controller after it reaches timing;The main control
Device is used for: response interrupt signal simultaneously issues data by wireless module, reads in random number module after data are sent completely
Random number, and timer is written into random number, to enable timer by random number as timing reclocking.
Preferably, the wireless module is 2.4G wireless module.
Preferably, the active card is RFID active card.
Preferably, the random number module is realized as the program code built in master controller.
Preferably, the master controller is single-chip microcontroller.
Preferably, the timer presets the initial timing time, when active card powers on initially, the timer foundation
The initial timing time carries out timing.
Preferably, the active card includes memory module for storing data.
A kind of control method for arresting rate for improving active card, this method realize 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, described method includes following steps: step S1, initializes active card;Step S2, timer start timing;Step S3, timing
Device reaches timing, sends an interrupt signal to master controller;Step S4, master controller respond interrupt signal and by wireless
Module issues data;Step S5, master controller read the random number in random number module after being sent completely data, and will be random
Number write-in timer;Step S6, timer are back to step S3 using random number as timing reclocking later.
Preferably, the random number module is realized as the program code built in master controller.
Preferably, the timer is preset the initial timing time, in the step S1, when active card powers on initially,
The timer carries out timing according to the initial timing time.
It is disclosed by the invention for improving control device and control method that active card arrests rate, in the 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 responds interrupt signal, and issues data by wireless module, and random number module is read after data are sent completely
In random number, and timer is written into random number, timer is using random number as timing reclocking later, in repetition
State process.The present invention generates random number using random number module, then timer is written in random number, determines so that timer is each
When the time it is different, to avoid loss of data a possibility that reducing multiple active cards while sending data, substantially increase
Active card arrests rate, so that the accuracy and reliability of active card identification process is more preferable.
Detailed description of the invention
Fig. 1 is the composition block diagram 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 devices that rate is arrested for improving active card, as shown in Figure 1, it includes master control
Device 1 processed, the master controller 1 are electrically connected with wireless module 2, and the master controller 1 is built-in with timer 3 and random number module
4, in which:
The random number module 4 is for generating random number;
The timer 3 is used to send an interrupt signal to master controller 1 after it reaches timing;
The master controller 1 is used for: response interrupt signal simultaneously issues data by wireless module 2, when data are sent completely
The random number in random number module 4 is read afterwards, and timer 3 is written into random number, to enable timer 3 by random number as periodically
Time reclocking.
At work, after active card initialization, timer 3 starts timing to above-mentioned control device, determines when timer 3 reaches
When the time after, send an interrupt signal to master controller 1, master controller 1 responds interrupt signal, and issues by wireless module 2
Data read the random number in random number module 4 after data are sent completely, and timer 3 are written in random number, timing later
Device 3 is repeated the above process using random number as timing reclocking.The present invention generates random number using random number module 4,
Timer 3 is written into random number again, so that the timing difference that timer 3 is each, to reduce multiple active cards simultaneously
A possibility that sending data, avoids loss of data, and substantially increase active card arrests rate, so that active card identification process
Accuracy and reliability is more preferable.
In practical application, about the generation of random number, can refer to following examples: master controller 1 is built-in with initial time
T0, the T0 can be modified by master controller 1, and the initial value that the random number module 4 is used to generate random numerical value T1, T1 is 0, T1
Range is in 0~10 random change, and after sending data every time, timer 3 is written by random number module 4 by T0+T1, by
Change at random in T1, to realize the random variation of 3 timing of timer.
In the present embodiment, the wireless module 2 is preferably 2.4G wireless module.
On this basis, the active card is preferably RFID active card.So that active card can not only rely on 13.56MH module
It realizes radio-frequency carrier, can also realize telecommunication using 2.4G wireless module.
The random number module 4 is realized as the program code built in master controller 1 as a preferred method,.This is random
Master controller 1 can be written in programming in digital-to-analogue block 4, for the calling of master controller 1.The random number that the random number module 4 generates
For integer.
In the present embodiment, the master controller 1 is single-chip microcontroller.The timer 3 is built in the single-chip microcontroller.
The timer 3 presets the initial timing time as a preferred method, when active card powers on initially, institute
It states timer 3 and carries out timing according to the initial timing time.This set be in order to avoid lacking initial time in timer 3 and
Interruption can not be generated, to guarantee that active card can smoothly enter into working condition, but this is only a kind of application mode of the invention,
In addition to this, the present invention is also conceivable to another working method: initial powering on, master controller 1 first sends data, pending data
After being sent completely, random number module 4 is recalled, makes 3 timing of timer.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 memory module for storing data.
It joined a random number module 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, thus the sending time for each active card that is staggered to greatest extent,
Even if, due to the addition of random number, each active card is simultaneously in this way, preceding primary several cards while sending out data, and when sending next time
The case where sending out data will will be greatly reduced.
On this basis, the invention also discloses a kind of control method for arresting rate for improving active card, in conjunction with Fig. 1 and
Shown in Fig. 2, this method realizes that described device includes master controller 1, and the master controller 1 is electrically connected with based on a device
Wireless module 2, the master controller 1 are built-in with timer 3 and random number module 4, and described method includes following steps:
Step S1 initializes active card;
Step S2, timer 3 start timing;
Step S3, timer 3 reach timing, send an interrupt signal to master controller 1;
Step S4, master controller 1 respond interrupt signal and issue data by wireless module 2;
Step S5, master controller 1 read the random number in random number module 4 after being sent completely data, and by random number
Timer 3 is written;
Step S6, timer 3 are back to step S3 using random number as timing reclocking later.
It is above-mentioned to be arrested in the control method of rate for improving active card, it is raw using random number module 4 after sending data every time
Timer 3 is written at random number, then by random number, so that each timing of timer 3 is different, so that reducing multiple has
A possibility that source card sends data simultaneously, avoids loss of data, and substantially increase active card arrests rate, so that active card is known
The accuracy and reliability of other process is more preferable.
Further, the timer 3 is preset the initial timing time, in the step S1, when active card powers on just
Begin, the timer 3 carries out timing according to the initial timing time.
It is disclosed by the invention to be arrested in the control device and control method of rate for improving active card, on radio frequency smart card
After electricity, by the data in configuration memory, a data are sent at regular intervals between active card meeting, are sent completely every time
Afterwards, the random number in random number module is read, is added to and sends in interval counter, sending data next time will be spaced newly
Timing, to once be mutually staggered with preceding.Compared to existing technologies, present invention reduces multiple active cards to send out simultaneously
A possibility that sending data avoids loss of data, and 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 restrict the invention, all in technology model of the invention
Interior done modification, equivalent replacement or improvement etc. are enclosed, should be included in the range of of the invention protect.
Claims (10)
1. a kind of control device for arresting rate for improving active card, which is characterized 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 used to send an interrupt signal to master controller (1) after it reaches timing;
The master controller (1) is used for: response interrupt signal simultaneously issues data by wireless module (2), when data are sent completely
The random number in random number module (4) is read afterwards, and timer (3) are written into random number, to enable timer (3) make random number
For timing reclocking;
It includes: initial time T0 built in master controller that random number, which generates process, and initial time T0 can be modified by master controller 1, with
It is 0, T1 range in 0~10 random change that machine digital-to-analogue block, which is used to generate the initial value of random numerical value T1, T1, sends data every time
Afterwards, timer is written by random number module by T0+T1.
2. as described in claim 1 for improving the control device that active card arrests rate, which is characterized in that the wireless module
It (2) is 2.4G wireless module.
3. as described in claim 1 for improving the control device that active card arrests rate, which is characterized in that the active card is
RFID active card.
4. as described in claim 1 for improving the control device that active card arrests rate, which is characterized in that the random digital-to-analogue
Block (4) is realized as the program code built in master controller (1).
5. as described in claim 1 for improving the control device that active card arrests rate, which is characterized in that the master controller
It (1) is single-chip microcontroller.
6. as described in claim 1 for improving the control device that active card arrests rate, which is characterized in that the timer
(3) the initial timing time is preset, when active card powers on initially, the timer (3) carries out according to the initial timing time
Timing.
7. as described in claim 1 for improving the control device that active card arrests rate, which is characterized in that the active card packet
Include memory module for storing data.
8. a kind of control method for arresting rate for improving active card, which is characterized in that this 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), in the master controller (1)
It is equipped with timer (3) and random number module (4), described method includes following steps:
Step S1 initializes active card;
Step S2, timer (3) start timing;
Step S3, timer (3) reach timing, send an interrupt signal to master controller (1);
Step S4, master controller (1) respond interrupt signal and issue data by wireless module (2);
Step S5, master controller (1) read the random number in random number module (4) after being sent completely data, and by random number
It is written timer (3);
Step S6, timer (3) are back to step S3 using random number as timing reclocking later;
It includes: initial time T0 built in master controller that random number, which generates process, and initial time T0 can be modified by master controller 1, with
It is 0, T1 range in 0~10 random change that machine digital-to-analogue block, which is used to generate the initial value of random numerical value T1, T1, sends data every time
Afterwards, timer is written by random number module by T0+T1.
9. as claimed in claim 8 for improving the control method that active card arrests rate, which is characterized in that the random digital-to-analogue
Block (4) is realized as the program code built in master controller (1).
10. as claimed in claim 8 for improving the control method that active card arrests rate, which is characterized in that the timer
(3) it presets the initial timing time, in the step S1, when active card powers on initially, the timer (3) is initial according to this
Timing carries out timing.
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 CN106778397A (en) | 2017-05-31 |
CN106778397B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113900790A (en) * | 2020-06-22 | 2022-01-07 | 中创为(成都)量子通信技术有限公司 | Method for self-adaptively and dynamically cleaning TCP connection needing to be aged |
Citations (2)
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 |
CN103632115A (en) * | 2013-11-01 | 2014-03-12 | 福建鑫诺通讯技术有限公司 | Method for realizing multichannel data collection for card |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120130905A1 (en) * | 2010-11-09 | 2012-05-24 | The Regents Of The University Of California | Transaction verification on rfid enabled payment and transaction instruments |
-
2016
- 2016-11-15 CN CN201611005268.XA patent/CN106778397B/en active Active
Patent Citations (2)
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 |
CN103632115A (en) * | 2013-11-01 | 2014-03-12 | 福建鑫诺通讯技术有限公司 | Method for realizing multichannel data collection for card |
Also Published As
Publication number | Publication date |
---|---|
CN106778397A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104394279A (en) | Communication terminal and terminal interface equipment for SIM card wireless data transmission | |
EP2858261A1 (en) | Near field communication method and device | |
CN106778397B (en) | A kind of control device and control method for arresting rate for improving active card | |
CN103164173A (en) | Memory card and data storage method | |
CN102799838A (en) | Radio frequency identification (RFID) electronic tag random frequency hopping method | |
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 | |
CN103902939B (en) | A kind of Active Terminal and the method for opening control unit | |
CN105426949B (en) | A kind of low-power consumption timing wake-up method and apparatus | |
CN106533850A (en) | Panel scene control method based on NFC card mode | |
CN105892350A (en) | Electronic Device For Communicating Between A Microcontroller Unit (Mcu) And A Host Processor And Related Methods | |
CN105404204B (en) | A kind of control circuit of avionic device starting plate | |
CN105868806B (en) | The secondary offering method and its system of electronic tag | |
CN109447218B (en) | Wifi tag timing reporting system and WIFI tag transmitting method | |
CN107817477B (en) | A kind of signal source system and implementation method of Radar Displaying Console System | |
CN107547315B (en) | Method and device for optimizing data communication | |
CN105516906A (en) | Bluetooth device | |
US20150052264A1 (en) | Wireless expansion card and method for data storage | |
CN108491000A (en) | device temperature adjusting method, device and panel type wireless access point | |
CN203563062U (en) | Industrial vehicle-mounted communication base station capable of being compatible with various data interfaces | |
CN209231940U (en) | One kind is non-to connect card reading device | |
CN201063703Y (en) | Intelligent card communication circuit of set up box | |
CN205068452U (en) | High -speed card reader of IC -card | |
CN105577655A (en) | 104 protocol expansion method applied to distribution network automation station terminal | |
EP2365672A1 (en) | Method of selecting a protocol | |
CN204631971U (en) | A kind of perception safety-protection 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 |
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. |
|
CP03 | Change of name, title or address |