CN103632115B - A kind of realization carries out multichannel collecting method to card - Google Patents

A kind of realization carries out multichannel collecting method to card Download PDF

Info

Publication number
CN103632115B
CN103632115B CN201310536027.8A CN201310536027A CN103632115B CN 103632115 B CN103632115 B CN 103632115B CN 201310536027 A CN201310536027 A CN 201310536027A CN 103632115 B CN103632115 B CN 103632115B
Authority
CN
China
Prior art keywords
card
information
packets
card reader
radio frequency
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
Application number
CN201310536027.8A
Other languages
Chinese (zh)
Other versions
CN103632115A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of realization and carry out multichannel collecting method to card, described method need provide a Multi-serial port CPU, at least 2 radio frequency Card Reader chip and information process units being provided with different channel; The method is specially: each card sends the packets of information of a frame band card number by one first prefixed time interval, and the frequency sending 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 the packets of information of the card transmission of respective frequencies respectively, and packets of information is disassembled; The information of Multi-serial port CPU from 2 radio frequency Card Reader chips in obtaining information bag, and filter in the information of the second prefixed time interval to multiple cards that different channel is read; Information corresponding for card number after filtration is received by serial ports by information process unit.The present invention solves the phenomenon occurring skip card, improves card reading speed and Card Reader capacity, can avoid the excessive situation causing attendance data to be lost of peak period work attendance flow of the people.

Description

A kind of realization carries out multichannel collecting method to card
Technical field
The present invention relates to technical field of communication equipment, particularly relate to a kind of realization and multichannel collecting method is carried out to card.
Background technology
In the application such as student, enterprises and institutions' staff 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, and adopt closely work attendance, need each card facing to card reader brush one secondary card, 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, remote work attendance at present often adopts 433M or 2.4G frequency range, sends card number to card reader by active electronic card 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): conventional card readers is substantially all employing fixed channel Card Reader, namely when the transmission frequency of active card is equal with the receive frequency of card reader, the packets of information of active card certain interval of time transmit band card number, the card reader being 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, delivers to data acquisition CPU process.
Scheme (2): adopt frequency hopping resisting car reading conflict, card and card reader all have the function of jump current channel, card reader circulates successively frequency hopping Card Reader in n channel.Inform that when card reader detects that current channel exists car reading conflict card current channel exists car reading conflict, allow card switch to other channels at random, when card reader is recycled to 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.Active card often sends a frame information bag needs the regular hour, be assumed to be 2 milliseconds, then in the second, when not conflicting completely (as shown in Figure 1), the capacity that card reader is not losing energy Card Reader in card situation is 500 to the maximum, namely there are 500 time slots and can send packets of information for card, 1., 2., 3. in Fig. 1 is a corresponding respectively card.In fact due to reasons such as conflict, radio frequency air transmission disturbance, actual Card Reader capacity does not have 500, and such as actual only have 300(as shown in Figure 2, when conflict).If be applied in student attendance field, 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 student.
In fact, the Card Reader capacity of such scheme (2) this scheme is in fact unlike the height of scheme (1), and just scheme (1) is if when having conflict, and card and card reader all do not know there is conflict, and card continues the information of transmission oneself to card reader.And this conflict can be detected during scheme (2) existence conflict, and switching channels, but the channel after switching also is likely there is conflict, and when conflict exists, card reader transmission conflicting information is 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), then actual effect should be similar with scheme (2).Because no matter processing mode how, in 1 second, the packets of information that scheme (1) and scheme (2) all only have at most 500 time slots can send for card reader and card transmitting-receiving card, scheme (2) is because card reader is except receiving, sending mode also will be switched to inform that card exists car reading conflict when detecting that card conflicts, being to receive the information that active card sends when switching to sending mode, also occupying partial 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 occurring skip card, improve card reading speed and Card Reader capacity, the excessive situation causing attendance data to be lost of peak period work attendance flow of the people can be avoided.
The present invention is achieved in that a kind of realization carries out multichannel collecting method to card, and described method need provide a Multi-serial port CPU, at least 2 radio frequency Card Reader chip and information process units being provided with different channel; Described Multi-serial port 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 Multi-serial port CPU; Described information process unit is connected with a serial ports of described Multi-serial port CPU; Described method is specially: the radio frequency Card Reader chip of 2 different channels is set to receiving mode, card is set to sending mode; Each card described sends the packets of information of a frame band card number by one first prefixed time interval, and the frequency sending 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 the packets of information of the card transmission of respective frequencies respectively, and packets of information is disassembled; The information of described Multi-serial port CPU from 2 radio frequency Card Reader chips in obtaining information bag, and filter in the information of the second prefixed time interval to multiple cards that different channel is read, namely filter the information that the card number of repetition is corresponding; Information corresponding for card number after filtration is received by serial ports by information process unit, thus data acquisition.
Tool of the present invention has the following advantages: the present invention adopts at least 2 NRF24LE1 chips as receiving channels, adopt the CPU with at least 3 serial ports, serial communication is passed through between 2 NRF24LE1 chips and core CPU, after core CPU has filtered the card number of repetition, by the 3rd serial ports, attendance data is sent to the information processing platform or upper computer software.The invention solves the phenomenon occurring skip card, improve card reading speed and Card Reader capacity, the excessive situation causing attendance data to be lost of peak period work attendance flow of the people can be avoided.
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 realizing the inventive method embodiment one.
Fig. 4 is the principle framework figure realizing the inventive method embodiment two.
Fig. 5 is the principle framework figure realizing the inventive method embodiment three.
Embodiment
The present invention carries out multichannel collecting method to card for a kind of realization, and described method need provide a Multi-serial port CPU, at least 2 radio frequency Card Reader chip and information process units being provided with different channel; Described information process unit is the information processing platform or host computer; Described Multi-serial port 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 Multi-serial port CPU; Described information process unit is connected with a serial ports of described Multi-serial port CPU; Described method is specially: the radio frequency Card Reader chip of 2 different channels is set to receiving mode, card is set to sending mode; Each card described sends the packets of information of a frame band card number by one first prefixed time interval, and the frequency sending 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 the packets of information of the card transmission of respective frequencies respectively, and packets of information is disassembled; The information of described Multi-serial port CPU from 2 radio frequency Card Reader chips in obtaining information bag, and filter in the information of the second prefixed time interval to multiple cards that different channel is read, namely filter the information that the card number of repetition is corresponding; Information corresponding for card number after filtration is received by serial ports by information process unit, thus data acquisition; Described first prefixed time interval is 0.5 ~ 0.755 second at random; Second prefixed time interval is 1 second; Then each card described 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 one: described Multi-serial port CPU adopts LH79525 chip; Then Multi-serial port CPU has 3 serial ports, and described method includes the radio frequency Card Reader chip of 2 different channels, is completed the collection of data by the radio frequency Card Reader chip of these 2 different channels.Wherein, described 2 channels are respectively 2400MHz, 2420MHz; Then corresponding the sending at random with any one in 2400MHz, 2420MHz two kinds of frequencies of the packets of information of each card.
Refer to shown in Fig. 4, for realizing the principle framework figure of the inventive method embodiment two: described Multi-serial port CPU adopts S3C2416 chip; Then Multi-serial port CPU has 4 serial ports, and described method includes the radio frequency Card Reader chip of 3 different channels, is completed 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; Then corresponding the sending at random with any one in 2400MHz, 2420MHz, 2440MHz tri-kinds of frequencies of the packets of information of each card.
Refer to shown in Fig. 5, for realizing the principle framework figure of the inventive method embodiment three: described Multi-serial port CPU adopts STM32F103VC chip; Then Multi-serial port CPU has 5 serial ports, and described method includes the radio frequency Card Reader chip of 4 different channels, is completed 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; Then corresponding the sending at random with any one in 2400MHz, 2420MHz, 2440MHz, 2460MHz tetra-kinds of frequencies of the packets of information of each card.
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 for automatically to assemble formation, and after the address field in packets of information, load, verification are configured by user, card can carry out automatic packaging to those information, then the packets of information of a frame is also fixed up thereupon.Wherein, described preposition territory: determined by nrf241e1 chip, be one and synchronous adopt a byte for synchronous bit sequence, content is Binary Zero 1010101 or 10101010; If first of address bit is 1, then preposition territory is set to 10101010 automatically, if first of address bit is 0, preposition territory is set to 01010101 automatically; This is in order to ensure there being stable reception process enough transit times.Described address field: the effect of this address field guarantees that packets of information is correctly received by corresponding receiving equipment, the address of address field is 3 ~ 5 bytes by register configuration; Described load: the card number being 4 bytes; Described verification: the cyclic redundancy check (CRC) utilizing card to carry verifies a frame information bag and whether produces mistake in transmitting procedure; This verification is the School Affairs of 1 or 2 bytes obtained by the address comprising address field, load transportation.
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 guarantee 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 are made up of 4 chip nrf24le1, wherein, 4 chips are individually fixed in 4 channels, as 2400MHz, 2420MHz, 2440MHz, 2460MHz, active card only with such frequency send packets of information just likely by the Card Reader CPCH reception of correspondence.Such as channel 1 respective frequencies 2400MHz, 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 are made up of 3 chip nrf24le1, wherein, 3 chips are individually fixed in 3 channels, as 2400MHz, 2420MHz, 2440MHz, active card only with such frequency send packets of information just likely by the Card Reader CPCH reception of correspondence.Such as channel 1 respective frequencies 2400MHz, 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 are made up of 2 chip nrf24le1, wherein, 2 chips are individually fixed in 2 channels, as 2400MHz, 2420MHz, active card only with such frequency send packets of information just likely by the Card Reader CPCH reception of correspondence.Such as channel 1 respective frequencies 2400MHz, 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, the packets of information received is disassembled by receiving end, extract useful load (i.e. user data, 4 byte card numbers).
In the present invention, the information of multiple 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 read 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 include the sublist that mould is 0 ~ 1023, and sublist can have the card content having several different, two tables are carried out timesharing use, and when a table is for transmitting time, another one is used for memory card content, initialization two table, namely two tables are all empty, after receiving a card content, by card card number to 1024 deliverys, after delivery is complete, the mould dropping on table one according to modulus value be value corresponding in the sublist of 0 ~ 1023 (such as: if card number is 0xABCDE401, be 1 to modulus value after 1024 deliverys, the modulus value then dropping on table one is in the sublist of 1), and be key word with card number, in the sublist of the corresponding modulus value of table one, (mould is in the sublist of 1) searches whether there is identical card number, have, then with the Card Reader time of card number card content identical in the Card Reader time updating form one of the card content read, nothing, in the sublist of table one, then add the content of this card, i.e. card number and the Card Reader time, described index field represents that this memory location is with or without card number, and index represents do not have card number for empty, when CPU needs to upload data to information process unit by serial ports time, send the card content inside table one to the information processing platform or host computer, such information processing platform or host computer just can obtain the up-to-date Card Reader time of each card, thus the information that the card number filtering repetition is corresponding, when table one carries out transmitting each card content, second table carries out the storing process memory card content of table one mode, after table one information transmits, time CPU needs to upload data to information process unit by serial ports again, send the card content inside table two to the information processing platform or host computer, initial table one, table carries out memory card content first, such table one and table two carry out blocked operation successively.The mode benefit of this filtration is adopted to be: avoid a large amount of card number to travel through and find identical card number, card number is to after 1024 deliverys, and identical card number must drop on inside same sublist, and traversal finds identical card number inside sublist, and speed is just fast a lot.(soon how even if to have 10000 cards, if card number is random, the card inside the sublist dropping on same table in theory also only has about 10, just go for identical card number in these 10 the insides).
Wherein, described card working method is: card, wakes up to realize launching packets of information by timer to realize power saving by sleep mode; After each timer wakes card up, determine transmitting channel, generate the random number N of a byte 0-255, random number N still can be preserved by chip when card enters dormant state; Card is timed after device wakes up determines this transmission frequency: 4 different channels, then transmission frequency is 2400+N%4*20MHz; 3 different channels, then transmission frequency is 2400+N%3*20MHz; 2 different channels, then 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, namely 0.5 ~ 0.755 second, and the interval launch time that such card is each and channel are all random; Because be equivalent to use two random numbers.Therefore, card achieves 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, with serial ports, can send useful load (i.e. user data, 4 byte card numbers) to Multi-serial port CPU process by the serial ports of Multi-serial port CPU.Multi-serial port CPU and 4 (or 3 or 2) radio frequency Card Reader core serial port communicating protocol: because Card Reader data volume may be very large, too much consumption is increased because serial port protocol is complicated in order to not increase in serial ports transport process, simple serial port protocol can be adopted, such as a byte frame head is as 0xAA, a byte data length postamble is as 0xBB, card number is 0x12345678, then card number data are the large end pattern of 0xAA0x120x340x560x780xBB().
In a word, although there is conflict when Card Reader in radio frequency Card Reader chip of the present invention, but this conflict does not affect method of the present invention, because 4 of card reader (or 3 or 2) frequency ranges are in receiving mode always, card then sends packets of information with random channel random interval random time, when this launch there is conflict time, launch next time and be random, the possibility of again conflicting just reduces.Through filtering after Multi-serial port CPU receiving card number from 4 (or 3 or 2) Card Reader channels, the multiple card numbers read in 1 second being carried out filtrations only remain one from different channel.Adopt 4 (or 3 or 2) channels Card Reader simultaneously, reduce conflict situations, such Card Reader capacity is original 4(or 3 or 2) doubly, substantially increase card reading speed and Card Reader capacity, the excessive situation causing attendance data to be lost of peak period work attendance flow of the people can be avoided.
The foregoing is only preferred embodiment of the present invention, all equalizations done 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. realize carrying out a multichannel collecting method to card, it is characterized in that: described method need provide a Multi-serial port CPU, at least 2 radio frequency Card Reader chip and information process units being provided with different channel; Described Multi-serial port 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 Multi-serial port CPU; Described information process unit is connected with a serial ports of described Multi-serial port CPU; Described method is specially: the radio frequency Card Reader chip of 2 different channels is set to receiving mode, card is set to sending mode; Each card sends the packets of information of a frame band card number by one first prefixed time interval, and the frequency sending packets of information is any one in the radio frequency Card Reader chip frequency of described 2 different channels; The radio frequency Card Reader chip of each different channel receives the packets of information of the card transmission of respective frequencies respectively, and packets of information is disassembled; The information of described Multi-serial port CPU from 2 radio frequency Card Reader chips in obtaining information bag, and filter in the information of the second prefixed time interval to multiple cards that different channel is read, namely filter the information that the card number of repetition is corresponding; Information corresponding for card number after filtration is received by serial ports by information process unit, thus data acquisition.
2. one according to claim 1 realizes carrying 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. one according to claim 1 realizes carrying out multichannel collecting method to card, it is characterized in that: described packets of information comprises: preposition territory, address field, load or verification.
4. one according to claim 3 realizes carrying out multichannel collecting method to card, it is characterized in that: described packets of information is for automatically to assemble formation, after address field in packets of information, load, verification are configured by user, card can carry out automatic packaging to those information, then the packets of information of a frame is also fixed up thereupon.
5. one according to claim 3 realizes carrying out multichannel collecting method to card, it is characterized in that: described preposition territory: be one and synchronous adopt a byte for synchronous bit sequence, content is Binary Zero 1010101 or 10101010; If first of address bit is 1, then preposition territory is set to 10101010 automatically, if first of address bit is 0, preposition territory is set to 01010101 automatically; Described address field: the effect of this address field guarantees that packets of information is correctly received by corresponding receiving equipment, the address of address field is 3 ~ 5 bytes by register configuration; Described load: the card number being 4 bytes; Described verification: the cyclic redundancy check (CRC) utilizing card to carry verifies a frame information bag and whether produces mistake in transmitting procedure.
6. one according to claim 1 realizes carrying out multichannel collecting method to card, it is characterized in that: described first prefixed time interval is 0.5 ~ 0.755 second; Second prefixed time interval is 1 second; Then each card described sends the packets of information of a frame band card number by a random time interval in 0.5 ~ 0.755 second.
7. one according to claim 1 realizes carrying out multichannel collecting method to card, it is characterized in that: described Multi-serial port CPU adopts LH79525 chip; Then Multi-serial port CPU has 3 serial ports, and described method includes the radio frequency Card Reader chip of 2 different channels, is completed the collection of data by the radio frequency Card Reader chip of these 2 different channels.
8. one according to claim 7 realizes carrying out multichannel collecting method to card, it is characterized in that: described 2 channels are respectively 2400MHz, 2420MHz; Then corresponding the sending at random with any one in 2400MHz, 2420MHz bis-kinds of frequencies of the packets of information of each card.
9. one according to claim 1 realizes carrying out multichannel collecting method to card, it is characterized in that: described Multi-serial port CPU adopts S3C2416 chip; Then Multi-serial port CPU has 4 serial ports, and described method includes the radio frequency Card Reader chip of 3 different channels, is completed the collection of data by the radio frequency Card Reader chip of these 3 different channels.
10. one according to claim 9 realizes carrying out multichannel collecting method to card, it is characterized in that: described 3 channels are respectively 2400MHz, 2420MHz and 2440MHz; Then corresponding the sending at random with any one in 2400MHz, 2420MHz, 2440MHz tri-kinds of frequencies of the packets of information of each card.
11. one according to claim 1 realize carrying out multichannel collecting method to card, it is characterized in that: described Multi-serial port CPU adopts STM32F103VC chip; Then Multi-serial port CPU has 5 serial ports, and described method includes the radio frequency Card Reader chip of 4 different channels, is completed the collection of data by the radio frequency Card Reader chip of these 4 different channels.
12. one according to claim 11 realize carrying out multichannel collecting method to card, it is characterized in that: described 4 channels are respectively 2400MHz, 2420MHz, 2440MHz and 2460MHz; Then corresponding the sending at random with any one in 2400MHz, 2420MHz, 2440MHz, 2460MHz tetra-kinds of frequencies of the packets of information of each card.
13. one according to claim 1 realize carrying out multichannel collecting method to card, it is characterized in that: described information process unit is the information processing platform or host computer.
14. one according to claim 1 realize carrying out multichannel collecting method to card, it is characterized in that: described radio frequency Card Reader chip is nrf241e1 chip.
15. one according to claim 1 realize carrying out multichannel collecting method to card, it is characterized in that: the information of multiple 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 read 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 include the sublist that mould is 0 ~ 1023, and sublist can deposit several different card contents; Initialization two table, namely two tables are all empty; After receiving a card content, by card card number to 1024 deliverys, after delivery is complete, the mould dropping on table one according to modulus value is in the sublist of 0 ~ 1023, take card number as key word, search in the sublist of the corresponding modulus value of table one and whether have identical card number, have, then with the Card Reader time of card number card content identical in the Card Reader time updating form one of the card content read, nothing, in the sublist of table one, then add the content of this card, i.e. card number and Card Reader time; Described index field represents that this memory location is with or without card number, and index represents do not have card number for empty; When CPU needs to upload data to information process unit by serial ports time, send the card content inside table one to the information processing platform or host computer, such information processing platform or host computer just can obtain the up-to-date Card Reader time of each card; Thus the information that the card number filtering repetition is corresponding; When table one carries out transmitting each card content, second table carries out the storing process memory card content of table one mode; After table one information transmits, time CPU needs to upload data to information process unit by serial ports again, send the card content inside table two to the information processing platform or host computer, initial table one, table carries out memory card content first; Such table one and table two carry out blocked operation successively.
16. one according to claim 1 realize carrying out multichannel collecting method to card, it is characterized in that: described card working method is: card, wakes up to realize launching packets of information by timer to realize power saving by sleep mode; After each timer wakes card up, determine transmitting channel, generate the random number N of a byte 0-255, random number N still can be preserved by chip when card enters dormant state; Card is timed after device wakes up determines this transmission frequency: 4 different channels, then transmission frequency is 2400+N%4*20MHz; 3 different channels, then transmission frequency is 2400+N%3*20MHz; 2 different channels, then 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, namely 0.5 ~ 0.755 second, and the interval launch time that such card is each and channel are all random.
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 CN103632115A (en) 2014-03-12
CN103632115B true 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)

Families Citing this family (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103632115A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN101801071B (en) Power saving in peer-to-peer communication devices
CN106502932B (en) Method based on interconnecting interface and its write operation and read operation between layered
CN103632115B (en) A kind of realization carries out multichannel collecting method to card
CN105915328A (en) Synchronization frame receiving processing method and device
CN103077366B (en) Radio-frequency identification device of multichannel data interface and data transmission method
CN204440629U (en) A kind of low-power consumption bus data acquisition device
CN110365544A (en) A kind of LORA concentrator and its data transmission method, system
CN104320838B (en) A kind of implementation method for the low-consumption wireless communications network system copied for family table collection
CN102332083B (en) Information transmission methods and devices for radio frequency identification reader and tag
CN106779019A (en) A kind of ultra-low power consumption wireless sensing label hardware of intelligent packaging
CN115277867B (en) Collector and power communication method and system of Modbus protocol equipment based on collector
CN102158400B (en) Communication interface of space-based route switching system and space-based route switching system
Wang et al. Design of electronic shelf label systems based on ZigBee
CN103605996B (en) A kind of active radio frequency identification system
CN102737207B (en) Communication method based on radio frequency identification system, apparatus and system thereof
CN114900484A (en) Data transmission method, device, equipment and medium between different network interfaces
CN103139929A (en) Wireless interlinking technique applied to intelligent housing system
Cochran et al. Low power wake-up receiver with unique node addressing
CN103258221A (en) Ultrahigh-frequency reader-writer
CN103679079A (en) Active tag data receiving method and device
CN110267205A (en) The method and device of campus administration is carried out based on Internet of Things
CN203217600U (en) Base band control chip and ultrahigh frequency radio frequency read-write apparatus
Qi et al. Study on WBAN-based efficient and energy saving access mechanisms
CN202395844U (en) Mobile terminal
CN103679098A (en) Label identification method and system applied to large-scale RFID and handheld 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