Hi to all.
I am in the middle of an access control system using keys with 20 digits long each (5bit each digit).
The total number of keys would be 500. So, a PIC and an EEPROM are called to do a store and search function of the huge data for the controller.
The question is, how to implement a quicker way to search the tons of data (in less that 0.5 second if possible).
One idea is to use a b-tree structure but I really did not find how to start filling the data space.
Another would be to use insert-sort algorithm but this is also difficult to implement.
The keys may have random numbers since they will probably be RFiD tags or cards. For example they may look like 0000 0000 0000 0000 3785 or
1349 0000 0000 2131 0090. So there is no relation of the previous or next key.
Any ideas very welcome.
Regards,
Ioannis
Bookmarks