CN103632115A - Method for realizing multichannel data collection for card - Google Patents

Method for realizing multichannel data collection for card Download PDF

Info

Publication number
CN103632115A
CN103632115A CN201310536027.8A CN201310536027A CN103632115A CN 103632115 A CN103632115 A CN 103632115A CN 201310536027 A CN201310536027 A CN 201310536027A CN 103632115 A CN103632115 A CN 103632115A
Authority
CN
China
Prior art keywords
card
information
serial ports
packets
card reader
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
CN201310536027.8A
Other languages
Chinese (zh)
Other versions
CN103632115B (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.)
FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
FUJIAN XINNUO COMMUNICATION 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 FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd filed Critical FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201310536027.8A priority Critical patent/CN103632115B/en
Publication of CN103632115A publication Critical patent/CN103632115A/en
Application granted granted Critical
Publication of CN103632115B publication Critical patent/CN103632115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for realizing multichannel data collection for a card. The method provides a multi-serial-port CPU (central processing unit), at least two radio-frequency card reading chips with different channels and an information processing unit. The method is characterized in that each card transmits an information packet of a frame-band card number at intervals according to a first preset time, and the frequency for transmitting the information packet is one of the frequencies of two different channels; the radio-frequency card reading chip of each channel respectively receives the information packet transmitted by the card of the corresponding frequency and disintegrates the information packet; the multi-serial-port CPU acquires the information in the information packet from the two radio-frequency card reading chips and filters the information of multiple cards read by different channels at a second preset time interval; the information processing unit receives the filtered information corresponding to the card number through a serial port. By adopting the method, the phenomenon that reading of a card is omitted can be solved, the card reading speed and the card reading capacity can be improved, and the situation of the checking-in data loss caused by a large stream of checking-in people at a peak period can be avoided.

Description

A kind of realization is carried out multichannel collecting method to card
Technical field
The present invention relates to communication apparatus technical field, relate in particular to a kind of realization card is carried out to multichannel collecting method.
Background technology
In the application such as student, the personnel of enterprises and institutions work attendance, need to use data acquisition system (DAS) (card reader).Traditional data acquisition system (DAS) can adopt and closely non-ly connect card or remote card work attendance, adopts closely work attendance, needs each card to brush a secondary card facing to card reader, and speed is slow.Adopt remote work attendance speed, active card certain interval of time sends card number, as long as card just can be read by card reader through card reader Card Reader region, at present remote work attendance often adopts 433M or 2.4G frequency range, by active electronic card, sends card number to card reader by radio frequency.Tradition remote card reader generally all adopts a special radio frequency Card Reader chip Card Reader (as nrf24le1 chip, CC430 chip etc.) to add that a CPU is for data processing.
Existing approximate implementation:
Scheme (1): traditional card reader is substantially all to adopt a fixed channel Card Reader, when the transmission frequency of active card is equal with the receive frequency of card reader, active card certain interval of time sends the packets of information with card number, the card reader that is operated in same frequency with active card can receive packets of information, by the packets of information processing protocol of chip internal, card number is extracted, deliver to data acquisition CPU and process.
Scheme (2): adopt frequency hopping resisting car reading conflict, card and card reader all have the function of jump current channel, the card reader frequency hopping Card Reader that circulates successively in n channel.When card reader detects when current channel exists car reading conflict, inform that card current channel exists car reading conflict, allow card switch at random other channels, when card reader is recycled to when identical with card channel, card image is read.This method can solve the problem of part card conflict.In itself, this card-reading system still only has a Card Reader chip in work at synchronization.
The shortcoming of such scheme (1) and scheme (2) is that Card Reader volume ratio is more restricted.The every transmission one frame information bag of active card needs the regular hour, be assumed to be 2 milliseconds, in the second, in the situation that not conflicting completely (as shown in Figure 1), card reader is 500 to the maximum at the capacity of not losing energy Card Reader in card situation, exist 500 time slots to send packets of information for card, 1., 2., 3. in Fig. 1 is a corresponding respectively card.In fact because conflict, radio frequency transmit the reasons such as interference in the air, actual Card Reader capacity does not have 500, and for example actual only have 300(as shown in Figure 2, in the situation of conflict).If be applied in student attendance field, in the peak period of going to school and leaving school, by school gate, may there is the situation of skip card with speed faster in large quantities of students.
In fact, the Card Reader capacity of this scheme of such scheme (2) is in fact unlike the height of scheme (1), and just scheme (1) is if while having conflict, and card and card reader all do not know to have conflict, and card continues the information of transmission oneself to card reader.And scheme (2) can detect this conflict while there is conflict, and switching channels, but the channel after switching is also likely to have conflict, and conflict while existing card reader to send conflicting information be also radio frequency expense to card.If the card transmitting time of scheme (1) is random (such as interval adds a random random time of 0~0.25 second for 0.5 second), actual effect should and scheme (2) similar.Because no matter processing mode how, in 1 second, scheme (1) and scheme (2) all only have at most 500 time slots to receive and dispatch the packets of information that card sends for card reader and card, scheme (2) is because card reader is except receiving, also to when card conflict being detected, switch to sending mode and have car reading conflict to inform card, when switching to sending mode, be to receive information that active card sends, also taken part time slot here.
Summary of the invention
The technical problem to be solved in the present invention, be to provide a kind of realization to carry out multichannel collecting method to card, solve the phenomenon that occurs skip card, improved card reading speed and Card Reader capacity, can avoid the excessive situation that causes attendance data to be lost of peak period work attendance flow of the people.
The present invention is achieved in that a kind of realization carries out multichannel collecting method to card, and described method need provide the CPU of serial ports more than, at least 2 radio frequency Card Reader chip and information process units that are provided with different channel; Described many serial ports CPU is provided with at least 3 serial ports, and the radio frequency Card Reader chip of described 2 different channels is corresponding to be respectively connected with a serial ports of many serial ports CPU; Described information process unit is connected with a serial ports of described many serial ports CPU; Described method is specially: the radio frequency Card Reader chip of 2 different channels is set to receiving mode, and card is set to sending mode; Described each card sends the packets of information of a frame band card number by one first Preset Time interval, and the frequency that sends packets of information is any one in the frequency of described 2 kinds of different channels; The radio frequency Card Reader chip of each different channel receives respectively the packets of information of the card transmission of respective frequencies, and packets of information is disassembled; Described many serial ports CPU is the information in obtaining information bag from 2 radio frequency Card Reader chips, and the information of a plurality of cards of different channel being read at the second Preset Time interval filters, and filters information corresponding to card number repeating; Information process unit is crossed serial ports by information exchange corresponding to card number after filtering and is received, thus data acquisition.
Tool of the present invention has the following advantages: the present invention adopts at least 2 NRF24LE1 chips as receiving channels, employing has the CPU of at least 3 serial ports, between 2 NRF24LE1 chips and core CPU, pass through serial communication, core CPU has been filtered after the card number of repetition, by the 3rd serial ports, send attendance data to the information processing platform or upper computer software.The invention solves the phenomenon that occurs skip card, improved card reading speed and Card Reader capacity, can avoid the excessive situation that causes attendance data to be lost of peak period work attendance flow of the people.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that in prior art, card reader Card Reader does not exist the situation of conflict.
Fig. 2 is the schematic diagram that in prior art, card reader Card Reader exists the situation of conflict.
Fig. 3 is the principle framework figure that realizes the inventive method embodiment mono-.
Fig. 4 is the principle framework figure that realizes the inventive method embodiment bis-.
Fig. 5 is the principle framework figure that realizes the inventive method embodiment tri-.
Embodiment
The present invention is that a kind of realization is carried out multichannel collecting method to card, and described method need provide the CPU of serial ports more than, at least 2 radio frequency Card Reader chip and information process units that are provided with different channel; Described information process unit is the information processing platform or host computer; Described many serial ports CPU is provided with at least 3 serial ports, and the radio frequency Card Reader chip of described 2 different channels is corresponding to be respectively connected with a serial ports of many serial ports CPU; Described information process unit is connected with a serial ports of described many serial ports CPU; Described method is specially: the radio frequency Card Reader chip of 2 different channels is set to receiving mode, and card is set to sending mode; Described each card sends the packets of information of a frame band card number by one first Preset Time interval, and the frequency that sends packets of information is any one in the frequency of described 2 kinds of different channels; The radio frequency Card Reader chip of each different channel receives respectively the packets of information of the card transmission of respective frequencies, and packets of information is disassembled; Described many serial ports CPU is the information in obtaining information bag from 2 radio frequency Card Reader chips, and the information of a plurality of cards of different channel being read at the second Preset Time interval filters, and filters information corresponding to card number repeating; Information process unit is crossed serial ports by information exchange corresponding to card number after filtering and is received, thus data acquisition; Described the first Preset Time interval is 0.5~0.755 second at random; The second Preset Time is spaced apart 1 second; Described each card sends the packets of information of a frame band card number by a random time interval in 0.5~0.755 second; Described radio frequency Card Reader chip is nrf241e1 chip; Wherein, be also provided with peripheral circuit (not shown) in acquisition method of the present invention, this peripheral circuit is connected with CPU.The number of described CPU serial ports is greater than the number of radio frequency Card Reader chip.
Refer to shown in Fig. 3, for realizing the principle framework figure of the inventive method embodiment mono-: described many serial ports CPU adopts LH79525 chip; Many serial ports CPU has 3 serial ports, and described method includes the radio frequency Card Reader chip of 2 different channels, completes the collection of data by the radio frequency Card Reader chip of these 2 different channels.Wherein, described 2 channels are respectively 2400MHz, 2420MHz; What the packets of information of each card was corresponding sends at random with any one in 2400MHz, two kinds of frequencies of 2420MHz.
Refer to shown in Fig. 4, for realizing the principle framework figure of the inventive method embodiment bis-: described many serial ports CPU adopts S3C2416 chip; Many serial ports CPU has 4 serial ports, and described method includes the radio frequency Card Reader chip of 3 different channels, completes the collection of data by the radio frequency Card Reader chip of these 3 different channels.Wherein, described 3 channels are respectively 2400MHz, 2420MHz and 2440MHz; What the packets of information of each card was corresponding sends at random with any one in 2400MHz, 2420MHz, tri-kinds of frequencies of 2440MHz.
Refer to shown in Fig. 5, for realizing the principle framework figure of the inventive method embodiment tri-: described many serial ports CPU adopts STM32F103VC chip; Many serial ports CPU has 5 serial ports, and described method includes the radio frequency Card Reader chip of 4 different channels, completes the collection of data by the radio frequency Card Reader chip of these 4 different channels.Wherein, described 4 channels are respectively 2400MHz, 2420MHz, 2440MHz and 2460MHz; What the packets of information of each card was corresponding sends at random with any one in 2400MHz, 2420MHz, 2440MHz, tetra-kinds of frequencies of 2460MHz.
In the present invention, described card is active card, and this active card adopts nrf241e1 chip, and active card adopts battery to power.
Described packets of information comprises: preposition territory, address field, load or verification.Described packets of information is that assembling forms automatically, and after the address field in packets of information, load, verification are configured by user, card can carry out automatic packaging to those information, and the packets of information of a frame is also fixed up thereupon.Wherein, described preposition territory: determined by nrf241e1 chip, be and synchronously adopt a byte for synchronous bit sequence, content is Binary Zero 1010101 or 10101010; If first of address bit is 1, preposition territory is made as 10101010 automatically, if first of address bit is 0, preposition territory is made as 01010101 automatically; This is to stablize reception & disposal enough transit times in order to ensure having.Described address field: the effect of this address field is to guarantee that packets of information correctly received by corresponding receiving equipment, and the address of address field can be 3~5 bytes by register configuration; Described load: the card number that is 4 bytes; Described verification: utilize the cyclic redundancy check (CRC) that card carries to come verification one frame information bag whether to produce mistake in transmitting procedure; This verification be 1 or 2 bytes that obtained by the address that comprises address field, load transportation verification and.
In the present invention, the frequency of source card is random transmission: source card nrf24le1 chip carries the randomizer of calibration algorithm, can produce the random number of 1 byte, and correcting algorithm can be guaranteed statistical being uniformly distributed.Before each transmission, produce a random number, random number is to 4 deliverys, and result is 0,1,2,3, respectively corresponding 4 transmission frequency 2400MHz, 2420MHz, 2440MHz, 2460MHz.If adopt 3 channels, random number is to 3 deliverys, and result is 0,1,2 corresponding 3 transmission frequency 2400MHz, 2420MHz, 2440MHz, if adopt 2 channels, random number is to 2 deliverys, and result is 0,1 corresponding 2 transmission frequency 2400MHz, 2420MHz.
4 Card Reader channels consist of 4 chip nrf24le1, wherein, 4 chips are individually fixed in 4 channels, and as 2400MHz, 2420MHz, 2440MHz, 2460MHz, the packets of information that active card only sends with such frequency is just likely received by corresponding Card Reader channel.Channel 1 respective frequencies 2400MHz for example, channel 2 respective frequencies 2420MHz, channel 3 respective frequencies 2440MHz, channel 4 respective frequencies 2460MHz, corresponding channel can only receive with the equal packets of information of its receive frequency.Or 3 Card Reader channels consist of 3 chip nrf24le1, wherein, 3 chips are individually fixed in 3 channels, and as 2400MHz, 2420MHz, 2440MHz, the packets of information that active card only sends with such frequency is just likely received by corresponding Card Reader channel.Channel 1 respective frequencies 2400MHz for example, channel 2 respective frequencies 2420MHz, channel 3 respective frequencies 2440MHz, corresponding channel can only receive with the equal packets of information of its receive frequency.Or 2 Card Reader channels consist of 2 chip nrf24le1, wherein, 2 chips are individually fixed in 2 channels, and as 2400MHz, 2420MHz, the packets of information that active card only sends with such frequency is just likely received by corresponding Card Reader channel.Channel 1 respective frequencies 2400MHz for example, channel 2 respective frequencies 2420MHz, corresponding channel can only receive with the equal packets of information of its receive frequency.
Packets of information is disassembled: the automatic disassemble of bag is just in time contrary with the automatic assembling process of bag, the receiver address of receiving end is consistent with transmitting terminal with checking algorithm, and like this, receiving end is disassembled the packets of information receiving, extract useful load (being user data, 4 byte card numbers).
In the present invention, the information of a plurality of cards that different channel is read is filtered, be specially: described CPU inside is provided with a clock, the time of each card card number of reading by serial ports of this clock log CPU, 4 byte card numbers and 4 byte Card Reader times form the content of a card, set up two tables, table one and table two are provided with same index, card number and Card Reader time three fields, and two tables all to include mould be 0~1023 sublist, sublist can have and have several different card contents, two tables are carried out to timesharing use, and when a table is used for transmitting, another one is for memory card content, two tables of initialization, two tables are all empty, after receiving a card content, by card card number to 1024 deliverys, after delivery is complete, according to mould value, (for example: if card number is 0xABCDE401, to 1024 delivery rear mold values, be 1 drop on value corresponding in the sublist that the mould of table one is 0~1023, in the sublist that the mould value that drops on table one is 1), and take card number as key word, in the sublist of the corresponding mould value of table one, (in the sublist that mould is 1) searches whether there is identical card number, have, use the Card Reader time of the interior identical card number card content of Card Reader time updating form one of the card content of reading, nothing, in the sublist of table one, add the content of this card, it is card number and Card Reader time, described index field represents that this memory location has or not card number, and index is the empty card number that represents not have, when CPU need to upload data to information process unit by serial ports, send the card content of table one the inside to the information processing platform or host computer, the information processing platform or host computer just can obtain the up-to-date Card Reader time of each card like this, thereby filter information corresponding to card number repeating, when table one transmits each card content, second table carries out the storing process memory card content of table one mode, after table one information transmits, when CPU needs to upload data to information process unit by serial ports again, send the card content of table two the inside to the information processing platform or host computer, initial table one, table carries out memory card content first, table one and table two carry out blocked operation successively like this.Adopt the mode benefit of this filtration to be: avoid a large amount of card numbers traversal to find identical card number, card number to 1024 deliverys after, identical card number must drop on same sublist the inside, in sublist the inside, traversal is found identical card number, speed is just fast a lot.(just soon how even to have 10000 cards, if card number is random, the card that drops in theory the sublist the inside of same table also only has 10 left and right, go for identical card number in these 10 the insides).
Wherein, described card working method is: card to realize power saving, wakes realize transmitting packets of information by timer by sleep mode; Each timer wakes up after card, determines transmitting channel, generates the random number N of a byte 0-255, and random number N still can be preserved by chip when card enters dormant state; Card is timed device and wakes rear this transmission frequency of determining up: 4 different channels, and transmission frequency is 2400+N%4*20MHz; 3 different channels, transmission frequency is 2400+N%3*20MHz; 2 different channels, transmission frequency is 2400+N%2*20MHz; Then go more newly-generated new random number N, random number N is for determining the wakeup time at interval next time, and timer wakeup time is next time 0.5+N/1000 second, and 0.5~0.755 second, each interval launch time and the channel of card was all random like this; Because be equivalent to use two random numbers.Therefore, card has been realized the mode that random time random channel sends.
Here it is worth mentioning that: radio frequency Card Reader chip nrf24le1 chip of the present invention is with serial ports, can be by useful load (being user data, 4 byte card numbers) serial ports by many serial ports CPU send many serial ports CPU to and process.Many serial ports CPU and 4 (or 3 or 2) radio frequency Card Reader core serial port communicating protocols: because Card Reader data volume may be very large, in order not increase in serial ports transport process because serial port protocol complexity increases too much consumption, can adopt simple serial port protocol, for example a byte frame head is as 0xAA, a byte data length postamble is as 0xBB, card number is 0x12345678, and card number data are the large end pattern of 0xAA0x120x340x560x780xBB().
In a word, although there is conflict in radio frequency Card Reader chip of the present invention when Card Reader, but this conflict does not affect method of the present invention, because 4 (or 3 or 2) frequency ranges of card reader are always in receiving mode, card sends packets of information with random channel random interval random time, when this transmitting exists conflict, transmitting is again random next time, and the possibility of conflict has just reduced again.Many serial ports CPU through filtering, filters a plurality of card numbers of reading from different channel in 1 second only and remains one from 4 (or 3 or 2) Card Reader channels are received card number.Adopt 4 (or 3 or 2) channels Card Reader simultaneously, reduced conflict situations, Card Reader capacity is original 4(or 3 or 2 like this) doubly, greatly improved card reading speed and Card Reader capacity, can avoid the excessive situation that causes attendance data to be lost of peak period work attendance flow of the people.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.

Claims (16)

1. realization is carried out a multichannel collecting method to card, it is characterized in that: described method need provide the CPU of serial ports more than, at least 2 radio frequency Card Reader chip and information process units that are provided with different channel; Described many serial ports CPU is provided with at least 3 serial ports, and the radio frequency Card Reader chip of described 2 different channels is corresponding to be respectively connected with a serial ports of many serial ports CPU; Described information process unit is connected with a serial ports of described many serial ports CPU; Described method is specially: the radio frequency Card Reader chip of 2 different channels is set to receiving mode, and card is set to sending mode; Described each card sends the packets of information of a frame band card number by one first Preset Time interval, and the frequency that sends packets of information is any one in the frequency of described 2 kinds of different channels; The radio frequency Card Reader chip of each different channel receives respectively the packets of information of the card transmission of respective frequencies, and packets of information is disassembled; Described many serial ports CPU is the information in obtaining information bag from 2 radio frequency Card Reader chips, and the information of a plurality of cards of different channel being read at the second Preset Time interval filters, and filters information corresponding to card number repeating; Information process unit is crossed serial ports by information exchange corresponding to card number after filtering and is received, thus data acquisition.
2. a kind of realization according to claim 1 is carried out multichannel collecting method to card, it is characterized in that: described card is active card, and this active card adopts nrf241e1 chip, and active card adopts battery to power.
3. a kind of realization according to claim 1 is carried out multichannel collecting method to card, it is characterized in that: described packets of information comprises: preposition territory, address field, load or verification.
4. a kind of realization according to claim 3 is carried out multichannel collecting method to card, it is characterized in that: described packets of information is assembling formation automatically, after address field in packets of information, load, verification are configured by user, card can carry out automatic packaging to those information, and the packets of information of a frame is also fixed up thereupon.
5. a kind of realization according to claim 3 is carried out multichannel collecting method to card, it is characterized in that: described preposition territory: be one and synchronously adopt a byte for synchronous bit sequence, content is Binary Zero 1010101 or 10101010; If first of address bit is 1, preposition territory is made as 10101010 automatically, if first of address bit is 0, preposition territory is made as 01010101 automatically; Described address field: the effect of this address field is to guarantee that packets of information correctly received by corresponding receiving equipment, and the address of address field can be 3~5 bytes by register configuration; Described load: the card number that is 4 bytes; Described verification: utilize the cyclic redundancy check (CRC) that card carries to come verification one frame information bag whether to produce mistake in transmitting procedure.
6. a kind of realization according to claim 1 is carried out multichannel collecting method to card, it is characterized in that: described the first Preset Time is spaced apart 0.5~0.755 second; The second Preset Time is spaced apart 1 second; Described each card sends the packets of information of a frame band card number by a random time interval in 0.5~0.755 second.
7. a kind of realization according to claim 1 is carried out multichannel collecting method to card, it is characterized in that: described many serial ports CPU adopts LH79525 chip; Many serial ports CPU has 3 serial ports, and described method includes the radio frequency Card Reader chip of 2 different channels, completes the collection of data by the radio frequency Card Reader chip of these 2 different channels.
8. a kind of realization according to claim 7 is carried out multichannel collecting method to card, it is characterized in that: described 2 channels are respectively 2400MHz, 2420MHz; What the packets of information of each card was corresponding sends at random with any one in 2400MHz, bis-kinds of frequencies of 2420MHz.
9. a kind of realization according to claim 1 is carried out multichannel collecting method to card, it is characterized in that: described many serial ports CPU adopts S3C2416 chip; Many serial ports CPU has 4 serial ports, and described method includes the radio frequency Card Reader chip of 3 different channels, completes the collection of data by the radio frequency Card Reader chip of these 3 different channels.
10. a kind of realization according to claim 9 is carried out multichannel collecting method to card, it is characterized in that: described 3 channels are respectively 2400MHz, 2420MHz and 2440MHz; What the packets of information of each card was corresponding sends at random with any one in 2400MHz, 2420MHz, tri-kinds of frequencies of 2440MHz.
11. a kind of realizations according to claim 1 are carried out multichannel collecting method to card, it is characterized in that: described many serial ports CPU adopts STM32F103VC chip; Many serial ports CPU has 5 serial ports, and described method includes the radio frequency Card Reader chip of 4 different channels, completes the collection of data by the radio frequency Card Reader chip of these 4 different channels.
12. a kind of realizations according to claim 11 are carried out multichannel collecting method to card, it is characterized in that: described 4 channels are respectively 2400MHz, 2420MHz, 2440MHz and 2460MHz; What the packets of information of each card was corresponding sends at random with any one in 2400MHz, 2420MHz, 2440MHz, tetra-kinds of frequencies of 2460MHz.
13. a kind of realizations according to claim 1 are carried out multichannel collecting method to card, it is characterized in that: described information process unit is the information processing platform or host computer.
14. a kind of realizations according to claim 1 are carried out multichannel collecting method to card, it is characterized in that: described radio frequency Card Reader chip is nrf241e1 chip.
15. a kind of realizations according to claim 1 are carried out multichannel collecting method to card, it is characterized in that: the information of a plurality of cards that different channel is read is filtered, be specially: described CPU inside is provided with a clock, the time of each card card number of reading by serial ports of this clock log CPU, 4 byte card numbers and 4 byte Card Reader times form the content of a card; Set up two tables, table one and table two are provided with same index, card number and Card Reader time three fields, and two tables all to include mould be 0~1023 sublist, sublist can be deposited several different card contents; Two tables of initialization, two tables are all empty; After receiving a card content, by card card number to 1024 deliverys, after delivery is complete, according to mould value, drop in the sublist that the mould of table one is 0~1023, take card number as key word, in the sublist of the corresponding mould value of table one, search and whether have identical card number, have, use the Card Reader time of the interior identical card number card content of Card Reader time updating form one of the card content of reading, nothing, in the sublist of table one, add the content of this card, i.e. card number and Card Reader time; Described index field represents that this memory location has or not card number, and index is the empty card number that represents not have; When CPU need to upload data to information process unit by serial ports, send the card content of table one the inside to the information processing platform or host computer, the information processing platform or host computer just can obtain the up-to-date Card Reader time of each card like this; Thereby filter information corresponding to card number repeating; When table one transmits each card content, second table carries out the storing process memory card content of table one mode; After table one information transmits, when CPU needs to upload data to information process unit by serial ports again, send the card content of table two the inside to the information processing platform or host computer, initial table one, table carries out memory card content first; Table one and table two carry out blocked operation successively like this.
16. a kind of realizations according to claim 1 are carried out multichannel collecting method to card, it is characterized in that: described card working method is: card to realize power saving, wakes realize transmitting packets of information by timer by sleep mode; Each timer wakes up after card, determines transmitting channel, generates the random number N of a byte 0-255, and random number N still can be preserved by chip when card enters dormant state; Card is timed device and wakes rear this transmission frequency of determining up: 4 different channels, and transmission frequency is 2400+N%4*20MHz; 3 different channels, transmission frequency is 2400+N%3*20MHz; 2 different channels, transmission frequency is 2400+N%2*20MHz; Random number N is for determining the wakeup time at interval next time, and timer wakeup time is next time 0.5+N/1000 second, and 0.5~0.755 second, each interval launch time and the channel of card was all random like this.
CN201310536027.8A 2013-11-01 2013-11-01 A kind of realization carries out multichannel collecting method to card Active CN103632115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310536027.8A CN103632115B (en) 2013-11-01 2013-11-01 A kind of realization carries out multichannel collecting method to card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310536027.8A CN103632115B (en) 2013-11-01 2013-11-01 A kind of realization carries out multichannel collecting method to card

Publications (2)

Publication Number Publication Date
CN103632115A true CN103632115A (en) 2014-03-12
CN103632115B CN103632115B (en) 2016-04-20

Family

ID=50213148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310536027.8A Active CN103632115B (en) 2013-11-01 2013-11-01 A kind of realization carries out multichannel collecting method to card

Country Status (1)

Country Link
CN (1) CN103632115B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778397A (en) * 2016-11-15 2017-05-31 武汉瑞纳捷电子技术有限公司 A kind of control device and control method that rate is arrested for improving active card
CN108288008A (en) * 2018-02-08 2018-07-17 飞天诚信科技股份有限公司 A kind of method and device of card activation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280155A1 (en) * 2006-06-02 2007-12-06 Vinh-Phuong Tra Le Device and method for optimizing communications in a wireless network
CN101739539A (en) * 2008-11-06 2010-06-16 国民技术股份有限公司 Method for resisting car reading conflict by automatic frequency hopping
CN101770561A (en) * 2008-12-29 2010-07-07 郑州大学 Switching method and control switching system thereof of radio frequency identification device (RFID) multi-protocol reader-writer
CN102110223A (en) * 2011-01-30 2011-06-29 福建鑫诺通讯技术有限公司 System and method for RFID (Radio Frequency Identification Devices) remote-distance card-reading
CN102609670A (en) * 2012-01-18 2012-07-25 福建鑫诺通讯技术有限公司 Active RFID (Radio Frequency Identification Device) card anti-collision system and anti-collision method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280155A1 (en) * 2006-06-02 2007-12-06 Vinh-Phuong Tra Le Device and method for optimizing communications in a wireless network
CN101739539A (en) * 2008-11-06 2010-06-16 国民技术股份有限公司 Method for resisting car reading conflict by automatic frequency hopping
CN101770561A (en) * 2008-12-29 2010-07-07 郑州大学 Switching method and control switching system thereof of radio frequency identification device (RFID) multi-protocol reader-writer
CN102110223A (en) * 2011-01-30 2011-06-29 福建鑫诺通讯技术有限公司 System and method for RFID (Radio Frequency Identification Devices) remote-distance card-reading
CN102609670A (en) * 2012-01-18 2012-07-25 福建鑫诺通讯技术有限公司 Active RFID (Radio Frequency Identification Device) card anti-collision system and anti-collision method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778397A (en) * 2016-11-15 2017-05-31 武汉瑞纳捷电子技术有限公司 A kind of control device and control method that rate is arrested for improving active card
CN106778397B (en) * 2016-11-15 2019-06-28 武汉瑞纳捷电子技术有限公司 A kind of control device and control method for arresting rate for improving active card
CN108288008A (en) * 2018-02-08 2018-07-17 飞天诚信科技股份有限公司 A kind of method and device of card activation
CN108288008B (en) * 2018-02-08 2021-12-28 飞天诚信科技股份有限公司 Card activation method and device

Also Published As

Publication number Publication date
CN103632115B (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN104350780B (en) The method and arrangement divided for the business instruction figure in wireless network
CN111436096B (en) Method and device for sending packet wake-up signal
DE112017004723T5 (en) SYSTEM AND METHOD FOR TRANSMITTING AN ALARM SIGNAL ON LOW-POWER DEVICES IN A WIRELESS COMMUNICATION SYSTEM
CN105162734B (en) Multi-source data Transmission system based on Zigbee network
CN103781088A (en) Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4
US10778281B2 (en) Method and device for controlling frequency hopping, transmitter and receiver
CN103198276B (en) Electronic goods shelf label system communication method
CN111226467A (en) Communication apparatus and communication method
CN105187332B (en) Multi-source data transmission method based on Zigbee network
CN103426284A (en) Temperature and humidity acquisition device based on wifi communication technology
CN109116400A (en) A kind of low power targeting methods, device, system, computer equipment and storage medium
CN103188810A (en) Indicating bit table issuing method, indicating operation method, equipment and system
CN103632115A (en) Method for realizing multichannel data collection for card
DE102004050393B4 (en) Communication device, control device and communication system
CN102156846B (en) RFID (Radio Frequency Identification) based method and device for transmitting information between reader and label
CN206147773U (en) Campus fingerprint attendance system based on thing networking
CN102158400B (en) Communication interface of space-based route switching system and space-based route switching system
Cho et al. Design and implementation of a single radio multi-channel MAC protocol on IEEE 802.15. 4 for WBAN
CN110365544A (en) A kind of LORA concentrator and its data transmission method, system
Wang et al. Design of electronic shelf label systems based on ZigBee
CN106686697B (en) The method of zigbee terminal device node administration
CN203930929U (en) A kind of fixed assets management system based on RFID
CN102332083A (en) Information transmission methods and devices for radio frequency identification reader and tag
CN101789069A (en) Sequential control method and card reader
CN204633899U (en) A kind of meter copying device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant