This application claims the priority benefit of Taiwan application serial no. 98117447, filed on May 26, 2009. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of Invention
The present invention generally relates to a wireless identifier reader system, and more particularly to a probability time division multiplexing polling method and a wireless identifier reader controller thereof, wherein the probability time division multiplexing polling method and the wireless identifier reader controller are used in the wireless identifier reader system.
2. Description of Prior Art
The wireless communication technology is becoming more and more mature, and is applied on the daily life, for example, the wireless identifier reader system is applied on the ticket system of mass rapid transit (MRT) system. When the passenger comes into or departs from the MRT station, he or she must put the ticket card in the sensing region of the wireless identifier reader, so as to come into or depart from the MRT station successfully. The wireless identifier reader adopted by the MRT system has a smaller sensing region, and therefore the wireless identifier readers could not interfere with each other.
Under some conditions, the larger sensing regions of the wireless identifier readers in the wireless identifier reader system are demanded. For example, each of visitors is assigned an identifier tag in the exhibitive place, and each of exhibitive regions has at least a wireless identifier reader having the larger sensing region. When the visitor walks to the exhibitive region, the wireless identifier reader directly detects the identifier tag carried by the visitor, so as to store the visit record of the visitor. The wireless identifier reader having the larger sensing region is not same as the wireless identifier reader adopted by the MRT system, and the visitor need not take out the identifier tag to put it in the sensing region of the wireless identifier reader. However the wireless identifier readers could interfere with each other potentially due to the larger sensing regions of the wireless identifier readers.
Referring to
In the similar manner, wireless identifier readers WR6-WR10 of the several neighboring exhibitive regions A6-A10 are connected to a hub HUB2, and the hub HUB2 is connected to a wireless identifier reader controller CR2. The wireless identifier reader controller CR2 is used to control the wireless identifier readers WR6-WR10 to be turned on or off. When one of the wireless identifier readers WR6-WR10 in the terminal end detects the identifier tag carried by the visitor, the wireless identifier reader controller CR2 transmit the identifier information of the detection result to the message queue MQ via the Ethernet, and then the listener LN in the back end continuously writes the content in the message queue into the database DB. Besides, the database DB is connected to a client querying device CS, such as a personal computer or the computers of other kinds. The client querying device CS is used to query the database, so as to search the visit record of the visitor which is stored in the database DB, and the value of the products or the service exhibited in the exhibitive region can be analyzed according to the stored visit record.
To solve the problem of the potential interference between the wireless identifier readers, some documents and patents disclose some solutions for the problem of the potential interference. The ROC patent M315380 discloses a fixed time polling method to turn on or off the wireless identifier readers. The fixed time polling method only allows one of the wireless identifier readers being turned on at the same time. The WIPO publication WO/2006/080976 discloses a managing system solving the problem of the potential interference. When the wireless identifier readers detects an identifier tag, the managing system selects a appropriate one wireless identifier reader to transmit the identifier information of the identifier tag, and disables the neighboring wireless identifier readers of the appropriate one to transmit the identifier information of the identifier tag simultaneously. Besides, the WIPO publication WO/2007/005135 discloses a time-frequency division multiplexing polling method to turns on or off a plurality of wireless identifier readers. However, the WIPO publication WO/2007/005135 does not disclose and teach how to perform time division multiplexing.
The exemplary example of the present invention provides a probability time division multiplexing polling method and a wireless identifier reader controller thereof. The probability time division multiplexing polling method and the wireless identifier reader controller are used in the wireless identifier reader system and are different from those of the cited references.
The exemplary example of the present invention provides a probability time division multiplexing polling method and a wireless identifier reader controller thereof, and the probability time division multiplexing polling method and the wireless identifier reader controller are used in the wireless identifier reader system to control the wireless identifier readers to be turned on or off, so as to solve the problem of potential interference between the wireless identifier readers.
The exemplary example of the present invention provides a probability time division multiplexing polling method used to control a plurality of wireless identifier readers to be turned on or off. First, one of the wireless identifier readers is randomly selected according to a probability model, wherein the probability model presents the probabilities for detecting an identifier tag of the wireless identifier readers. Then, the selected wireless identifier reader is turned on for a predetermined time period.
The exemplary example of the present invention provides a wireless identifier reader controller used to control a plurality of wireless identifier readers to be turned on or off. The wireless identifier reader controller comprises a computation device and an enablement control circuit, wherein the enablement control circuit is coupled to the computation device. The computation device is used to select one of the wireless identifier readers according to a probability model, wherein the probability model presents the probabilities for detecting an identifier tag of the wireless identifier readers. The enablement control circuit is used to turn on the selected wireless identifier reader for a predetermined time period.
The exemplary example of the present invention provides a wireless identifier reader system. The wireless identifier reader system comprises a plurality of first wireless identifier readers and a wireless identifier reader controller. The first wireless identifier reader controller is used to control the first wireless identifier reader to be turned on or off. The wireless identifier reader controller comprises a computation device and an enablement control circuit, wherein the enablement control circuit is coupled to the computation device. The computation device is used to select one of the wireless identifier readers according to a probability model, wherein the probability model presents the probabilities for detecting an identifier tag of the wireless identifier readers. The enablement control circuit is used to turn on the selected wireless identifier reader for a predetermined time period.
Accordingly, the exemplary example provides a probability time division multiplexing polling method to solve the problem of potential interference between the wireless identifier readers, and to store the visitor's visit record accurately by detecting the identifier tag.
It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the present invention as claimed.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the present invention.
Reference will now be made in detail to the present preferred embodiment of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
The exemplary example of the present invention provides a probability time division multiplexing polling method and a wireless identifier reader controller thereof. The probability time division multiplexing polling method and the wireless identifier reader controller are used in the wireless identifier reader system and are different from those of the cited references. It is noted that the drawings of the following exemplary examples are just explanation examples, and not used to limit the scope of the present invention.
The exemplary example of the present invention provides a probability time division multiplexing polling method and a wireless identifier reader controller thereof. The probability time division multiplexing polling method and the wireless identifier reader controller are used in the wireless identifier reader system and are different from those of the cited references. The probability time division multiplexing polling method are executed in the wireless identifier reader controller, such as the e wireless identifier reader controller CR1 and CR2 in
The wireless identifier reader controller CR1 is connected to the hub HUB1 and used to control the wireless identifier readers WR1-WR5 via the hub HUB1, wherein the wireless identifier reader WR1-WR5 may be the RFID readers, and the operating frequency of wireless identifier reader WR1-WR5 is not limited thereto. The wireless identifier reader controller CR1 and the hub HUB1 may be integrated into a single one electronic apparatus or be the two independent electronic apparatuses. It is noted that, although the total number of wireless identifier reader WR1-WR5 in the exemplary example is 5, the total number of the wireless identifier reader is not limited thereto. After a plurality of comparison and experiments are completed and performed, the optimal total number of the wireless identifier readers controlled by the wireless identifier reader controller is six, and the optimal distance of two closest wireless identifier readers is 0.5 meter. However, the exemplary examples of
Next, referring to
The computation device 200 randomly selects one of the wireless identifier reader WR1-WR5 controlled by itself according to a probability model, wherein the probability model presents the probability for detecting an identifier tag of each wireless identifier reader. For example, the probability model may be a probability density function p(i) for detecting an identifier tag of each wireless identifier reader, wherein p(i) presents the probability for detecting the identifier tag of the wireless identifier reader WRi. The enablement control circuit 201 is used to turns on the wireless identifier reader selected by the computation device 200 for a predetermined time period, and turns off the non-selected wireless identifier readers. When the selected wireless identifier reader is turned in the predetermined time period, and detects the identifier tag, such as RFID tag, carried by the visitor, the detection result is transmitted to the enablement control circuit 201. Then the enablement control circuit 201 transmit the detection result to the message queue MQ. After the selected wireless identifier reader is turned for the predetermined time period, the enablement control circuit 201 turns off the selected wireless identifier reader. Next, the computation device 200 and the enablement control circuit 201 repeats the step mentioned above, so as to let all of the wireless identifier reader WR1-WR5 have the chance to be turned on. In other word, the computation device 200 and the enablement control circuit 201 in fact are used to execute the probability time division multiplexing polling method.
It is noted that the above probability model may be a steady probability model, such as a uniform distribution, or be a probability model which is often updated. The computation device 200 initializes the probability model, when the wireless identifier reader system is power on. Then the computation device 200 receives the statistic data from the database DB and updates the probability model according to the statistic data every time period. Furthermore, the computation device 200 may also receives the probability data from the client querying device CS and initializes the probability model according to the probability data when the wireless identifier reader system is power on. In addition, the client querying device CS may directly send the probability data to the computation device 200 to instruct the computation device 200 directly reset the probability model.
Next, referring to
To put it concretely, the decision device 211 generates a plurality of numeric intervals according to the probability mode, and determines the numeric interval within which the random number generated by the random number generator 210 falls. Next, the decision device 211 selects the wireless identifier reader corresponding to the numeric interval within which the random number falls, and indicates the information of the selected wireless identifier reader to the enablement control circuit 201. Assuming several numeric internals Interval1-Interval5 is generated from a specific numeric range which is from 0 to 1, the random number generator 210 would randomly generate a random number within the a specific numeric range which is from 0 to 1, wherein the numeric interval Intervali corresponds to the wireless identifier reader WRi, the range of the numeric interval Intervali is correlated to the probability for detecting the identifier tag of the wireless identifier reader WRi, and i is an integer from 1 to 5. If the probabilities for detecting the identifier tag of the wireless identifier reader WR1-WR5 are equal, i.e. the probability model is a uniform distribution, the numeric interval Intervali will be an interval which is lager than and equal to 0.2×(i−1) but less than 0.2×i. When the random number randomly generated by the random number generator 210 is 0.978, the wireless identifier reader WR5 is turned on for the predetermined time period. In the similar manner, when the random number randomly generated by the random number generator 210 is 0.438, the wireless identifier reader WR3 is turned on for the predetermined time period. It is noted that although the above exemplary example assumes that the numeric internals Interval1-Interval5 is generated from a specific numeric range which is from 0 to 1 and the probability model is the uniform distribution, the present invention is not limited thereto. Besides, when the probability model is the uniform distribution, the averaging time for being turned on of each wireless identifier reader is the half of predetermined time period times the total number of the wireless identifier readers.
Moreover, the probability model may a dynamic probability model varying with time. Hence, the decision device 211 initializes the probability model when the wireless identifier reader system is power on. Then the decision device 211 receives the statistic data from the database DB and updates the probability model according to the statistic data every time period. Furthermore, the decision device 211 may also receives the probability data from the client querying device CS and initializes the probability model according to the probability data when the wireless identifier reader system is power on. In addition, the client querying device CS may directly send the probability data to the decision device 211 to instruct the decision device 211 directly reset the probability model.
Next, referring to
Next, referring to
Herein, several examples are given as follows to demonstrate the probability time division multiplexing polling method of
Regarding the probability time division multiplexing polling method of
Referring to
In step S410, the computation device initializes a probability model. When the wireless identifier reader system is power on, the computation device 200 can initialize the probability model according the statistic data stored in the database DB, or initialize the probability model to a predefined probability model. Generally speaking, the computation device 200 can initialize the probability model to a probability model of the uniform distribution. Next, in step 420, the computation device 200 randomly selects one of a plurality of wireless ID readers WR1-WR5 according to the probability model. Then, in step S430, the enablement control circuit 201 turns on the selected wireless ID reader for a predetermined period.
In step S440, the computation device 200 determines whether the probability model should be updated. If the probability model need not be updated, step S460 will be next executed; otherwise, step S440 will be next executed. The manner which the computation device 200 determines whether the probability model should be updated can be designed for the different conditions. For example, the computation device 200 calculates the time deviation between the previous updated time and current time. If the time deviation is lager than a specific value, the probability model shall be updated. This manner for updating the probability model is so-called definite time update. For another example, the computation device 200 can determines whether the probability data from the client querying device is received to update the probability model.
In step 450, the computation device 200 updates the probability model according to a statistical data or a probability data. When the definite time update is adopted, the computation device 200 queries the statistic data stored in the database DB. Then the computation device 200 updates the probability model according to a statistical data. When the computation device 200 receives the probability data from the client querying device CS (i.e. the client end wants to reset the probability model), the computation device 200 could update the probability model according the probability data predefined by the client end. Though only two manners for updating probability model are illustrated above, the present invention is not limited thereto. Next, in step S460, whether the wireless identifier reader controller CR1 is power off is determined. If the wireless identifier reader controller CR1 is power off, probability time division multiplexing polling method will be finished; otherwise, the probability time division multiplexing polling method will go back to execute step S410.
Next, please refer to
In step S421, the random number generator 210 generates a random number within a specific numeric range defined by the designer, wherein the specific numeric range is equal to the combination of the numeric intervals. Next, in step S422, the decision device 211 generates a plurality of numeric intervals according to the probability model. To put it concretely, the decision device 211 divides the specific numeric range into numeric intervals according to the probability model, wherein each of the numeric intervals corresponds to one of the wireless identifier readers WR1-WR5. In step S423, the decision device 211 determines the random number falls in which random numeric interval, and selects the wireless ID reader corresponding to the random numeric interval within which the random number falls. In the other word, the decision device 211 selects one of the wireless ID reader WR1-WR5 according to the random numeric interval within which the random number falls.
In step S451, the decision device 211 updates the probability model according to a statistical data or a probability data. When the definite time update is adopted, the decision device 211 queries the statistic data stored in the database DB. Then the decision device 2110 updates the probability model according to a statistical data. When the computation device 200 receives the probability data from the client querying device CS (i.e. the client end wants to reset the probability model), the decision device 211 could update the probability model according the probability data predefined by the client end. Though only two manners for updating probability model are illustrated above, the present invention is not limited thereto.
Herein, several following examples are used to demonstrate the probability time division multiplexing polling method of
After time elapses, when the probability model should be updated, the decision device 211 updates the probability model according to the statistic data stored in the database DB. Assuming the statistic data stored in the database DB presents the times for detecting the identifier tag of wireless identifier reader WR1-WR5 are respectively 250, 250, 200, 150, and 150, thus the decision device 211 updates the probability model according to the statistic data, and the updated probability model presents the probabilities for detecting the identifier tag of wireless identifier reader WR1-WR5 are respectively 0.25, 0.25, 0.2, 0.15, and 0.15. The decision device 211 sets the numeric intervals corresponding to the wireless identifier reader WR1-WR5 according to the updated probability model, and the numeric intervals corresponding to the wireless identifier reader WR1-WR5 are respectively the numeric interval larger than or equal to 0 but less than 0.25, the numeric interval larger than or equal to 0.25 but less than 0.5, the numeric interval larger than or equal to 0.5 but less than 0.7, the numeric interval larger than or equal to 0.7 but less than 0.85, and the numeric interval larger than or equal to 0.85 but less than 1. When the random number generated by the random number generator 210 is 0.978, the wireless identifier reader WR5 is turned on for a predetermined time period. In the similar manner, when the random number generated by the random number generator 210 is 0.438, the wireless identifier reader WR2 is turned on for a predetermined time period.
Next, referring to
The probability model described in
wherein n is the total number of the wireless identifier readers, for any integer x from 1 to n, Sx is 0 or 1, and Sx is used to present the visit state of the wireless identifier reader WRx. When Sx is 1, it presents the wireless identifier reader WRx detects the identifier tag; when Sx is 0, it presents the wireless identifier reader WRx does not detects the identifier tag. The state function S can be updated according to the previous detection results detected by wireless identifier readers at the previous time, or according to the previous detection detected by wireless identifier reader at the previous time. The previous detection result(s) detected by wireless identifier reader(s) at the previous time can be obtained by the database DB.
The relation matrix is used to present the relation between the wireless identifier readers, and the relation matrix is updated dynamically, for example, the relation matrix is updated according to the statistic data or the probability data. The relation matrix is denoted R, and the mathematic expression of the relation matrix R is presented as follows,
wherein xpq presents the visit relation from the wireless identifier reader WRp to the wireless identifier reader WRq, xpp is defined to 0, and p and q are integers from 1 to n. In the exemplary example of the present invention, the visit relation xpq may be the reciprocal of the distance from the wireless identifier reader WRp to the wireless identifier reader WRq, the conditional visit probability from the wireless identifier reader WRp to the wireless identifier reader WRq, or the visit ratio from the wireless identifier reader WRp to the wireless identifier reader WRq, which is calculated from the statistic data. In short, the definition of the visit relation xpq is not used to limit the present invention.
For example, that the visit relation xpq is the visit ratio from the wireless identifier reader WRp to the wireless identifier reader WRq calculated from the statistic data is assumed. If the total number of the ireless identifier reader is four, and the statistic data records the visit record detect by the wireless identifier readers are respectively {1→3→4→1→2}, {2→3→1}, and {4→1}, the relation matrix R can be expressed as follows,
, wherein the visit record {2→3→1} means that visitor first visits the wireless identifier reader WR2, then visits the wireless identifier reader WR3, and next visits the wireless identifier reader WR1, and the other visit records {1→3→4→1→2} and {4→1} can be known and deduced by the similar manner.
After describing the definitions of the state function S and the relation matrix, herein the relation of probability model, the state function S, and the relation matrix R is described. The probability for detecting the identifier tag of the wireless identifier reader WRx is denoted Px, and relation of the probability Px, the state function S, and the relation matrix R is expressed as follows,
, wherein Σi=1nPi=1. The elements of the state function S is assumed as follows,
, and thus the probability Pq for detecting the identifier tag of the wireless identifier reader WRq in the probability model is expressed as follows,
The probability model can be calculated from the relation matrix R and the state function S, and the wireless identifier readers can be polled based upon the probability model.
Referring to
Next, in step S455, the decision device 211 determines whether the probability model should be updated. If the probability model should be updated, step S456 will be executed next; otherwise, step S457 will be executed next. In step S456, the decision device 211 updates the relation matrix R according to a statistical data or a probability data. For example, the decision device 211 updates the relation matrix according to the visit record stored in the database, or updates the relation matrix according to the probability data defined by the designer or the client. Next, in step S457, the decision device 211 updates the state function S according to the detection result(s) detected by the wireless ID reader(s) at previous time, and updates the probability model according to the state function S and the relation matrix R, wherein the detection result(s) detected by the wireless ID reader(s) at previous time can be obtained from the statistic data stored in the database DB. By updating the state function S and relation matrix R dynamically, the probabilities for detecting the identifier tag of the wireless identifier readers in the probability model can be more approximate to the real probabilities for detecting the identifier tag of the wireless identifier readers.
Finally, referring to
Accordingly, the exemplary example of the present invention provides a probability time division multiplexing polling method to control the wireless identifier readers to be turned on or off, so as to avoid the problem of the potential interference between the wireless identifier readers. Furthermore, the probability model in the probability time division multiplexing polling method can be a dynamic probability model, which can be automatically updated every definite time or be updated manually. Therefore the probabilities for detecting the identifier tag of the wireless identifier readers in the probability model are more approximate to the real probabilities for detecting the identifier tag of the wireless identifier readers.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the present invention. In view of the foregoing descriptions, it is intended that the present invention covers modifications and variations of this invention if they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
98117447 A | May 2009 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
7568211 | Mai et al. | Jul 2009 | B2 |
8040829 | Wood, Jr. | Oct 2011 | B2 |
20040179547 | Kuffner et al. | Sep 2004 | A1 |
20070126634 | Bye | Jun 2007 | A1 |
20080074238 | Kodialam et al. | Mar 2008 | A1 |
20080094182 | Sugano et al. | Apr 2008 | A1 |
20080186136 | Raphaeli et al. | Aug 2008 | A1 |
20100148931 | Pappu et al. | Jun 2010 | A1 |
20100156599 | Ainsbury et al. | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
101061492 | Oct 2007 | CN |
101216875 | Jul 2008 | CN |
M315380 | Jul 2007 | TW |
2006-080976 | Aug 2006 | WO |
2007-005135 | Jan 2007 | WO |
Number | Date | Country | |
---|---|---|---|
20100303056 A1 | Dec 2010 | US |