CN113260035A - Method and device for controlling transmission power of reader-writer, computer equipment and storage medium - Google Patents
Method and device for controlling transmission power of reader-writer, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113260035A CN113260035A CN202010146569.4A CN202010146569A CN113260035A CN 113260035 A CN113260035 A CN 113260035A CN 202010146569 A CN202010146569 A CN 202010146569A CN 113260035 A CN113260035 A CN 113260035A
- Authority
- CN
- China
- Prior art keywords
- power
- reader
- writer
- preset
- reading
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000005540 biological transmission Effects 0.000 title claims description 88
- 238000004590 computer program Methods 0.000 claims description 10
- 230000002411 adverse Effects 0.000 abstract description 6
- 230000000694 effects Effects 0.000 abstract description 6
- 230000001276 controlling effect Effects 0.000 description 23
- 230000001105 regulatory effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000033228 biological regulation Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000003827 upregulation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/243—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account interferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/77—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a method and a device for controlling the transmitting power of a reader-writer, computer equipment and a storage medium. The method for controlling the transmitting power of the reader-writer comprises the following steps: acquiring the number of times of reading the radio frequency identification card information in the radio frequency identification card in unit time, namely the reading number of times, which is obtained by the reader-writer under the preset power; if the reading times do not fall into the preset range, updating the preset power according to a preset size adjustment rule, setting the transmitting power of the reader-writer to be the updated preset power, re-reading the information of the radio frequency identification card in the radio frequency identification card until the reading times fall into the preset range, and taking the last updated preset power as the target transmitting power of the reader-writer. Therefore, the method can ensure that the radio frequency identification cards with various signal strengths can be read, and because the read-write times are within the preset range, the interference and other adverse effects on other equipment caused by the larger transmitting power of the reader-writer are effectively avoided.
Description
Technical Field
The present invention relates to the field of radio frequency transmission technologies, and in particular, to a method and an apparatus for controlling transmission power of a reader, a computer device, and a storage medium.
Background
With the progress and development of science, Radio Frequency Identification (RFID) technology is widely applied in various technical fields, wherein many application scenarios require the cooperation of a reader/writer.
Generally, the larger the transmission power of the reader/writer is, the better the performance is, the more times the rfid card information in the rfid card can be read per second on average, and the transmission power of the reader/writer is generally set to be larger in order to obtain a higher reading success rate. However, the transmission power of the reader-writer is set too large, which may cause interference to communication signals of other surrounding devices, and especially when there are many surrounding metal devices, it may easily cause a serious electromagnetic reflection phenomenon, which affects the normal operation of the reader-writer. Therefore, some manufacturers set the transmission power of the reader-writer to a smaller value, but the transmission power of the reader-writer is set to be smaller, which may cause some chip tickets with slightly poor signals to be unable to be read.
The transmission power of the existing reader-writer is generally set to be a fixed value, and the requirement of the transmission power under the actual condition cannot be met. Therefore, it is desirable to provide a method for controlling the transmission power of a reader/writer, which has a lower transmission power and ensures the reading success rate of the reader/writer.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method and an apparatus for controlling transmission power of a reader/writer, a computer device, and a storage medium, which have lower transmission power and can ensure a read success rate of the reader/writer.
The embodiment of the invention provides a method for controlling the transmitting power of a reader-writer, which comprises the following steps:
acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain updated preset power;
setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
A reader transmit power control apparatus, the apparatus comprising:
the acquisition module is used for acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
the updating module is used for updating the preset power according to a preset size adjusting rule if the reading times do not fall into a preset range, so as to obtain the updated preset power;
and the adjusting module is used for setting the transmitting power of the reader-writer to be the updated preset power, controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, and taking the updated preset power obtained by at least one updating as the target transmitting power of the reader-writer.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain updated preset power;
setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain updated preset power;
setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
The embodiment of the invention has the following beneficial effects:
the method, the device, the computer equipment and the storage medium for controlling the transmitting power of the reader-writer are used for acquiring the reading times of reading information of the radio frequency identification card in the radio frequency identification card by the reader-writer when the transmitting power is the preset power, and ensuring that the radio frequency identification card with various signal strengths can be read by adaptively regulating and controlling the transmitting power, namely if the reading times do not fall into the preset range, updating the preset power according to the preset size regulation rule, then setting the transmitting power of the reader-writer as the updated preset power, repeating the operation until the reading times fall into the preset range, and at the moment, the updated preset power corresponding to the reading times is the target transmitting power. And because the read-write times are in the preset range, the interference and other adverse effects on other equipment caused by the larger transmitting power of the reader-writer are effectively avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a flowchart of a method for controlling transmission power of a reader/writer in one embodiment;
FIG. 2 is a flow chart of a method for controlling the transmission power of a reader/writer according to an embodiment;
fig. 3 is a flowchart illustrating determining a preset power of the reader/writer according to a transmission power range of the reader/writer in an embodiment;
fig. 4 is a block diagram showing the structure of a transmission power control device of the reader/writer according to an embodiment;
FIG. 5 is a block diagram of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment, an execution subject of the reader-writer transmission power control method is a device capable of implementing the reader-writer transmission power control method according to the embodiment of the present invention, where the device needs to include a reader-writer, and the device includes, for example, but is not limited to, a financial self-service device and a ticket issuing device.
As shown in fig. 1, a method for controlling transmission power of a reader/writer according to an embodiment of the present invention specifically includes:
step 102: and acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power.
The reader-writer is a non-contact IC card reader-writer, and transmits data with the radio frequency identification card through electromagnetic waves during communication.
The radio frequency identification card is a non-contact IC card and consists of an IC chip and an induction antenna, and the IC chip and the induction antenna are packaged in a standard PVC card, and the chip and the antenna have no exposed part. When the reader-writer performs reading and writing operation on the radio frequency identification card, the reader-writer transmits a group of electromagnetic waves with fixed frequency to the radio frequency identification card, and the transmitted signal is formed by superposing two parts: one part is a power supply signal, and after the signal is received by the radio frequency identification card, the signal and an LC series resonance circuit of the radio frequency identification card generate instantaneous energy to supply the IC chip to work. The other part is command and data signals to command the IC chip to complete data reading, modification, storage, etc. and return signals to the reader-writer to complete one read-write operation.
The rfid card information is information in the rfid card, and the rfid card information includes a Tag Identification (TID) of the rfid card. The reader-writer reads the information of the radio frequency identification card in the radio frequency identification card by transmitting a group of electromagnetic waves with fixed frequency.
The reading times refer to the times of reading the radio frequency identification card information in the radio frequency identification card in unit time after the reader-writer transmits a group of electromagnetic waves with fixed frequency at a certain transmitting power. Generally speaking, the larger the transmission power of the reader-writer is, the larger the reading times are; conversely, the smaller the transmission power of the reader/writer, the smaller the number of readings.
The preset power refers to the preset initial transmitting power of the reader-writer during each use. For example, if the reader-writer stores the transmission power after the last use, the preset power is the transmission power stored by the reader-writer after the last use; if the transmission power of the reader-writer after the last use is cleared for some reason, the preset power is the default power, for example, the default power is the power set by the reader-writer from the factory.
Step 104: and if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power.
The preset range is a preset value range of the number of times of reading the information of the radio frequency identification card in the radio frequency identification card by the reader-writer in unit time, and is used for ensuring that the reader-writer can effectively read the radio frequency identification cards with various signal strengths by using relatively small transmitting power, so that the transmitting power is not too large to cause interference on communication signals of other surrounding equipment, and the transmitting power is not too small to identify the radio frequency identification card with poor signals.
The size adjusting rule is a rule for adjusting the transmitting power of the reader-writer. The size adjustment rule is used for adjusting the size of the transmitting power of the reader-writer so that the reader-writer can read the radio frequency identification card with relatively small transmitting power.
The updated preset power refers to the transmitting power of the reader-writer obtained after the original preset power is adjusted according to a preset size adjustment rule.
If the reading times do not fall into the preset range, it is indicated that the current transmitting power, that is, the preset power, cannot guarantee that the reader-writer reads the radio frequency identification card with relatively small transmitting power, and therefore the size of the preset power needs to be adjusted according to a preset size adjustment rule, and the preset power is updated to obtain updated preset power, so that the updated preset power can read the radio frequency identification card with relatively small transmitting power.
Step 106: setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
The target transmitting power is the transmitting power required by the reader-writer for reading the radio frequency identification card information in the radio frequency identification card in unit time, wherein the number of times of reading the radio frequency identification card information in the radio frequency identification card in unit time is within the preset range. The target transmission power may be used as a preset power for the next use of the reader/writer.
Setting the transmitting power of the reader-writer to be the updated preset power, re-acquiring the reading times obtained by the reader-writer under the updated preset power, and taking the updated preset power as the target transmitting power of the reader-writer if the re-acquired reading times fall into the preset range; and if the reacquired reading times do not fall into the preset range, updating the updated preset power according to the size adjustment rule, repeating the operation until the obtained reading times fall into the preset range, and taking the transmission power corresponding to the current reading times falling into the preset range, namely the updated preset power obtained through multiple updates as the target transmission power of the reader-writer.
The method for controlling the transmitting power of the reader-writer comprises the steps of obtaining the reading times of the radio frequency identification card information in the radio frequency identification card obtained when the transmitting power of the reader-writer is the preset power, updating the preset power according to a preset size adjustment rule if the reading times do not fall into a preset range, setting the transmitting power of the reader-writer to be the updated preset power, repeating the operation until the reading times fall into the preset range, and determining the updated preset power corresponding to the reading times as the target transmitting power. Therefore, the radio frequency identification cards with various signal strengths can be read by adaptively regulating and controlling the transmitting power, and the interference and other adverse effects on other equipment caused by the larger transmitting power of the reader-writer are effectively avoided because the reading and writing times are within the preset range.
As shown in fig. 2, in an embodiment, before the obtaining the number of reads obtained by the reader/writer, the method further includes:
step 1001: acquiring the transmitting power range of the reader-writer;
the transmission power range refers to the range of power required by the reader-writer to transmit a set of electromagnetic waves with fixed frequency on the premise of working or normal working.
Step 1002: and determining the preset power of the reader-writer according to the transmitting power range of the reader-writer.
The preset power may be any transmission power in the transmission power range of the reader/writer, and in order to shorten the adjustment time for obtaining the target transmission power, a middle value of the transmission power range of the reader/writer or a transmission power corresponding to a middle gear may be selected as the preset power.
The middle gear refers to that the transmission power range of the reader-writer includes a plurality of gears divided in the order from small to large, and the gear at the middle position is the middle gear, and for example, the transmission power range of the reader-writer is [30dB, 60dB ], and includes three gears of [30dB, 40dB), [40dB, 50dB) and [50dB, 60dB ], and then the middle gear is [40dB, 50dB ].
And determining the preset power of the reader-writer according to the transmitting power range of the reader-writer, so that the preset power of the reader-writer can be ensured to be within the transmitting power range of the reader-writer, and the reader-writer can be ensured to work normally.
As shown in fig. 3, in one embodiment, the transmit power range includes a minimum transmit power and a maximum transmit power; step 1002, determining the preset power of the reader-writer according to the transmitting power range of the reader-writer includes:
The minimum transmitting power is the minimum power required by the reader-writer to transmit a group of electromagnetic waves with fixed frequency on the premise that the reader-writer can work or normally work.
The maximum transmitting power refers to the maximum power which the reader-writer transmits a group of electromagnetic waves with fixed frequency to allow transmission on the premise that the reader-writer can work or normally work.
The power sum is the sum of the minimum transmitting power and the maximum transmitting power and is used for determining the preset power of the reader-writer.
If the preset power setting value is too large or too small, the updated preset power may need to be adjusted for many times according to the size adjustment rule to serve as the target transmitting power of the reader-writer. Therefore, in order to shorten the time for adjusting the preset power, half of the sum of the powers is used as the preset power of the reader-writer, and the working efficiency of the reader-writer can be further improved.
Illustratively, the transmission power range of the reader-writer is [ P ]min,Pmax]The minimum transmitting power is PminThe maximum transmitting power is PmaxThen power and Padd=(Pmin+Pmax) The preset power P ═ P of the reader-writeradd/2。
In one embodiment, the method further comprises: and if the updated preset power is larger than or equal to the maximum transmitting power and the reading times obtained by the reader-writer are smaller than the minimum times in the preset range according to a preset size adjustment rule, generating error reporting information.
The error reporting information is used for prompting that the transmission power regulation of the reader-writer fails or the reader-writer has a fault.
In a normal situation, the larger the transmission power of the reader/writer is, the larger the reading frequency is, or the smaller the transmission power of the reader/writer is, the smaller the reading frequency is, when the updated preset power obtained according to the size adjustment rule is greater than or equal to the maximum transmission power, it is indicated that the transmission power of the reader/writer cannot be continuously increased, if the reading frequency obtained by the reader/writer at this time is still less than the minimum frequency in the preset range, it indicates that the read/write request for reading the radio frequency identification card with relatively small transmission power cannot be realized in the transmission power range of the reader/writer, and at this time, it is likely that the reader/writer or other devices in the system have a fault.
In one embodiment, to effectively remind the user, the generating of the error report information includes: acquiring a fault reason; and generating error reporting information according to the fault reason.
There are several possibilities for a fault to occur: firstly, the radio frequency identification card is damaged or is not a real radio frequency identification card and is not identified by the reader-writer all the time; secondly, the transmitting module of the reader-writer is damaged or damaged, and the actual transmitting power is inconsistent with the set transmitting power; thirdly, other peripheral equipment interferes with the reader-writer to influence the normal work of the reader-writer; and other reasons. No matter which reason needs to be confirmed and maintained manually, error reporting information is generated according to the fault reason, and a user can be reminded to confirm and maintain in time so as to guarantee normal use of the reader-writer.
Illustratively, the maximum transmitting power of the reader-writer is PmaxThe predetermined range is [40, 50]]The preset power of the reader-writer is P (P < P)max) When the transmitting power of the reader-writer is P, the reading frequency is 10 and does not fall into the preset range, and the larger the transmitting power of the reader-writer is, the larger the reading frequency correspondingly is, so that the preset power is increased to P according to the size adjustment rule1(P1<Pmax) Setting the transmitting power of the reader-writer to be P1Obtaining the reading times at the moment still being 10, adjusting the updated preset power again according to the size adjustment rule until the updated preset power is increased to P according to the size adjustment rulen(Pn≥Pmax) And if the reading times of the reader-writer are still less than 40, generating error report information to remind a user that the transmission power of the reader-writer fails to be adjusted and whether a hardware fault exists needs to be confirmed.
In an embodiment, before the updating the preset power according to a preset size adjustment rule if the number of times of reading does not fall within a preset range, and obtaining an updated preset power, the method further includes:
and if the reading times fall into the preset range, taking the preset power as the target transmitting power.
When the transmitting power of the reader-writer is preset power, when the reading times obtained according to the preset power directly fall into the preset range, the preset power set at the moment is shown to ensure that the reader-writer reads the radio frequency identification card with relatively small transmitting power, and the preset power does not need to be adjusted, so that the preset power can be directly used as target transmitting power.
In one embodiment, the preset range includes a minimum number of times, and the size adjustment rule includes an increase rule for increasing a preset power; if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps:
and if the reading times are less than the minimum times, updating the preset power according to the increasing rule to obtain the updated preset power.
The step-up rule refers to a rule for step-up the preset power.
The minimum number is the minimum value in the preset range, and the minimum value is the minimum number.
If the reading times are smaller than the minimum times, the preset power of the reader-writer is smaller, and some radio frequency identification cards with poor signals may not be read, and at this time, the preset power of the reader-writer is increased according to the increasing rule so as to update the preset power, so that the updated preset power is obtained.
Illustratively, the tuning-up rule is a rule for tuning the preset power according to a fixed tuning parameter. The adjustment of the parameters can be determined according to the transmission power range of the reader-writer and/or the rule of the general transmission power required by the reader-writer to read the radio frequency identification card. For example, the adjustment parameter is 1dB, the preset power is 10dB, the transmission power of the reader/writer is set to the preset power, and if the corresponding read frequency (for example, the read frequency is 30 times/second) is smaller than the preset range (for example, the preset range is [40, 50] times/second), the preset power is updated according to the turn-up rule, and the updated preset power is 11 dB.
Illustratively, the tuning rule is a rule for tuning the preset power according to a dichotomy and the transmission power range of the reader/writer. The bisection method is a method of dividing data or parameters into two parts. Is provided with [ a, b]For a closed interval of R, successive dichotomy is to create the following sequence of intervals ([ an, bn ]]):a0=a,b0B and for any natural number n, [ an+1,bn+1]Or is equal to [ an,cn]Or is equal to [ cn,bn]Wherein c isnIs represented by [ a ]n,bn]The midpoint of (a). For example, the preset power is 20dB, and the transmission power range of the reader-writer is [10dB, 30dB ]]Setting the transmitting power of the reader-writer to the preset power, and if the corresponding reading times (for example, the reading times is 30 times/second) are smaller than a preset range (for example, the preset range is [40, 50]]Time/second), the preset power needs to be increased, and the preset power is increased at the timeSetting the selectable transmission power range as [20dB, 30dB ]]Updating the preset power according to an up regulation rule, and taking [20dB, 30 dB)]25dB, the updated preset power is 25 dB. If the transmitting power of the reader-writer is set to be the updated preset power and the corresponding reading times are still smaller than the preset range, the selectable transmitting power range for increasing the updated preset power is 25dB or 30dB]Updating the updated preset power according to an up regulation rule, and taking [25dB, 30dB ]]If the accuracy of the reader-writer can only be accurate to one bit, the midpoint 27.5dB of the value can be updated according to common counting methods such as rounding, a carry-in method or a tail-removing method to meet the accuracy requirement of the reader-writer.
In one embodiment, the preset range includes a maximum number of times, and the size adjustment rule further includes a reduction rule for reducing preset power; if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps:
and if the reading times are larger than the maximum times, updating the preset power according to the turn-down rule to obtain the updated preset power.
The reduction rule refers to a rule for reducing the preset power.
The maximum number of times is the maximum value in the preset range, and the maximum value is the maximum number of times.
If the reading times are greater than the maximum times, it is indicated that the preset power of the reader-writer is larger, which may cause interference to communication signals of other surrounding devices, especially when there are more surrounding metal devices, which may cause a severe electromagnetic reflection phenomenon to affect normal operation of the reader-writer, and at this time, according to the turn-down rule, the preset power of the reader-writer is turned down to update the preset power, so as to obtain the updated preset power.
Illustratively, the turn-down rule is a rule for adjusting the preset power according to a fixed adjustment parameter. For example, the parameter is adjusted to 1dB, the preset power is 10dB, the transmitting power of the reader/writer is set to the preset power, and if the corresponding reading times (for example, the reading times is 60 times/second) are greater than the preset range (for example, the preset range is [40, 50] times/second), the preset power is updated according to the turn-down rule, and the updated preset power is 9 dB.
As shown in fig. 4, there is provided an apparatus for controlling transmission power of a reader/writer, the apparatus comprising:
an obtaining module 402, configured to obtain a reading frequency obtained by the reader, where the reading frequency is a frequency of reading, by the reader, radio frequency identification card information in a radio frequency identification card in a unit time, and a transmission power of the reader is a preset power.
An updating module 404, configured to update the preset power according to a preset size adjustment rule if the reading frequency does not fall within a preset range, so as to obtain an updated preset power.
An adjusting module 406, configured to set the transmission power of the reader-writer to the updated preset power, and control the reader-writer, whose transmission power is the updated preset power, to read the rfid card information in the rfid card until the reading times obtained by the reader-writer fall within the preset range, so that the updated preset power obtained through at least one update is used as the target transmission power of the reader-writer.
The reader-writer transmission power control device obtains the reading times of the radio frequency identification card information in the radio frequency identification card obtained when the transmission power of the reader-writer is the preset power, if the reading times do not fall into the preset range, the preset power is updated according to the preset size adjustment rule, then the transmission power of the reader-writer is set as the updated preset power, the operation is repeated until the reading times fall into the preset range, and at the moment, the updated preset power corresponding to the reading times is the target transmission power. Therefore, the radio frequency identification cards with various signal strengths can be read by adaptively regulating and controlling the transmitting power, and the interference and other adverse effects on other equipment caused by the larger transmitting power of the reader-writer are effectively avoided because the reading and writing times are within the preset range.
In an embodiment, before the obtaining module 402 is configured to obtain the number of times of reading obtained by the reader, the apparatus further includes a preset power module, where the preset power module is configured to obtain a transmission power range of the reader; and determining the preset power of the reader-writer according to the transmitting power range of the reader-writer.
In one embodiment, the transmission power range includes a minimum transmission power and a maximum transmission power, and the preset power module is configured to determine a preset power of the reader-writer according to the transmission power range of the reader-writer, and specifically is configured to calculate a sum of the minimum transmission power and the maximum transmission power to obtain a power sum; and taking half of the power sum as the preset power of the reader-writer.
In an embodiment, the apparatus further includes an error reporting module, where the error reporting module is configured to generate error reporting information if the updated preset power obtained according to a preset size adjustment rule is greater than or equal to the maximum transmission power and the number of times of reading by the reader/writer is less than the minimum number of times in the preset range.
In an embodiment, before the updating module 404 is configured to update the preset power according to a preset size adjustment rule if the reading times do not fall within a preset range, so as to obtain an updated preset power, the apparatus further includes a setting module, where the setting module is configured to take the preset power as the target transmission power if the reading times fall within the preset range.
In an embodiment, the preset range includes a minimum number of times, the size adjustment rule includes an increase rule for increasing a preset power, the updating module 404 is configured to update the preset power according to the preset size adjustment rule if the read number of times does not fall within the preset range, to obtain an updated preset power, and specifically, is configured to update the preset power according to the increase rule if the read number of times is less than the minimum number of times, to obtain the updated preset power.
In an embodiment, the preset range includes a maximum number of times, the size adjustment rule further includes a reduction rule for reducing a preset power, and the updating module 404 is configured to update the preset power according to the preset size adjustment rule to obtain an updated preset power if the read number of times does not fall within the preset range, and specifically, is configured to update the preset power according to the reduction rule to obtain the updated preset power if the read number of times is greater than the maximum number of times.
FIG. 5 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may be a financial self-service device, or may be a bill issuing device, and is not limited specifically herein. As shown in fig. 5, the computer apparatus includes a processor, a memory, a network interface, and a reader/writer connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the reader/writer transmission power control method. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to perform the reader/writer transmission power control method. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is proposed, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain updated preset power;
setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
The computer device obtains the reading times of the radio frequency identification card information in the radio frequency identification card obtained by the reader-writer when the transmission power is the preset power, if the reading times do not fall into the preset range, the preset power is updated according to the preset size adjustment rule, then the transmission power of the reader-writer is set as the updated preset power, the operation is repeated until the reading times fall into the preset range, and at the moment, the updated preset power corresponding to the reading times is the target transmission power. Therefore, the radio frequency identification cards with various signal strengths can be read by adaptively regulating and controlling the transmitting power, and the interference and other adverse effects on other equipment caused by the larger transmitting power of the reader-writer are effectively avoided because the reading and writing times are within the preset range.
In one embodiment, before the obtaining the number of reads obtained by the reader/writer, the method further includes: acquiring the transmitting power range of the reader-writer; and determining the preset power of the reader-writer according to the transmitting power range of the reader-writer.
In one embodiment, the transmit power range includes a minimum transmit power and a maximum transmit power; the determining the preset power of the reader-writer according to the transmitting power range of the reader-writer comprises the following steps: calculating the sum of the minimum transmitting power and the maximum transmitting power to obtain a power sum; and taking half of the power sum as the preset power of the reader-writer.
In one embodiment, further comprising: and if the updated preset power is larger than or equal to the maximum transmitting power and the reading times obtained by the reader-writer are smaller than the minimum times in the preset range according to a preset size adjustment rule, generating error reporting information.
In an embodiment, before the updating the preset power according to a preset size adjustment rule if the number of times of reading does not fall within a preset range, and obtaining an updated preset power, the method further includes: and if the reading times fall into the preset range, taking the preset power as the target transmitting power.
In one embodiment, the preset range includes a minimum number of times, and the size adjustment rule includes an increase rule for increasing a preset power; if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps: and if the reading times are less than the minimum times, updating the preset power according to the increasing rule to obtain the updated preset power.
In one embodiment, the preset range includes a maximum number of times, and the size adjustment rule further includes a reduction rule for reducing preset power; if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps: and if the reading times are larger than the maximum times, updating the preset power according to the turn-down rule to obtain the updated preset power.
In one embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of:
acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain updated preset power;
setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
The computer device readable storage medium obtains the number of times of reading the radio frequency identification card information in the radio frequency identification card obtained by the reader/writer when the transmission power is the preset power, updates the preset power according to a preset size adjustment rule if the number of times of reading does not fall within a preset range, then sets the transmission power of the reader/writer to the updated preset power, repeats the above operation until the number of times of reading falls within the preset range, and at this time, the updated preset power corresponding to the number of times of reading is the target transmission power. Therefore, the radio frequency identification cards with various signal strengths can be read by adaptively regulating and controlling the transmitting power, and the interference and other adverse effects on other equipment caused by the larger transmitting power of the reader-writer are effectively avoided because the reading and writing times are within the preset range.
In one embodiment, before the obtaining the number of reads obtained by the reader/writer, the method further includes: acquiring the transmitting power range of the reader-writer; and determining the preset power of the reader-writer according to the transmitting power range of the reader-writer.
In one embodiment, the transmit power range includes a minimum transmit power and a maximum transmit power; the determining the preset power of the reader-writer according to the transmitting power range of the reader-writer comprises the following steps: calculating the sum of the minimum transmitting power and the maximum transmitting power to obtain a power sum; and taking half of the power sum as the preset power of the reader-writer.
In one embodiment, further comprising: and if the updated preset power is larger than or equal to the maximum transmitting power and the reading times obtained by the reader-writer are smaller than the minimum times in the preset range according to a preset size adjustment rule, generating error reporting information.
In an embodiment, before the updating the preset power according to a preset size adjustment rule if the number of times of reading does not fall within a preset range, and obtaining an updated preset power, the method further includes: and if the reading times fall into the preset range, taking the preset power as the target transmitting power.
In one embodiment, the preset range includes a minimum number of times, and the size adjustment rule includes an increase rule for increasing a preset power; if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps: and if the reading times are less than the minimum times, updating the preset power according to the increasing rule to obtain the updated preset power.
In one embodiment, the preset range includes a maximum number of times, and the size adjustment rule further includes a reduction rule for reducing preset power; if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps: and if the reading times are larger than the maximum times, updating the preset power according to the turn-down rule to obtain the updated preset power.
It should be noted that the reader/writer transmission power control method, the reader/writer transmission power control apparatus, the computer device, and the computer readable storage medium described above belong to a general inventive concept, and the contents in the reader/writer transmission power control method, the reader/writer transmission power control apparatus, the computer device, and the computer readable storage medium embodiments are mutually applicable.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for controlling transmission power of a reader/writer, the method comprising:
acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain updated preset power;
setting the transmitting power of the reader-writer to be the updated preset power, and controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, so that the updated preset power obtained by at least one updating is used as the target transmitting power of the reader-writer.
2. The method according to claim 1, further comprising, before said obtaining the number of reads obtained by the reader/writer:
acquiring the transmitting power range of the reader-writer;
and determining the preset power of the reader-writer according to the transmitting power range of the reader-writer.
3. The method of claim 2, wherein the transmit power range comprises a minimum transmit power and a maximum transmit power;
the determining the preset power of the reader-writer according to the transmitting power range of the reader-writer comprises the following steps:
calculating the sum of the minimum transmitting power and the maximum transmitting power to obtain a power sum;
and taking half of the power sum as the preset power of the reader-writer.
4. The method of claim 3, further comprising:
and if the updated preset power is larger than or equal to the maximum transmitting power and the reading times obtained by the reader-writer are smaller than the minimum times in the preset range according to the preset size adjustment rule, generating error reporting information.
5. The method of claim 1, wherein before the updating the preset power according to a preset size adjustment rule if the number of times of reading does not fall within a preset range to obtain an updated preset power, the method further comprises:
and if the reading times fall into the preset range, taking the preset power as the target transmitting power.
6. The method of claim 1, wherein the preset range comprises a minimum number of times, and the size adjustment rule comprises an increase rule for increasing a preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps:
and if the reading times are less than the minimum times, updating the preset power according to the increasing rule to obtain the updated preset power.
7. The method of claim 1, wherein the preset range comprises a maximum number of times, and wherein the size adjustment rule further comprises a power reduction rule for reducing a preset power;
if the reading times do not fall into a preset range, updating the preset power according to a preset size adjustment rule to obtain the updated preset power, and the method comprises the following steps:
and if the reading times are larger than the maximum times, updating the preset power according to the turn-down rule to obtain the updated preset power.
8. An apparatus for controlling transmission power of a reader/writer, the apparatus comprising:
the acquisition module is used for acquiring the reading times obtained by the reader-writer, wherein the reading times are the times of reading the radio frequency identification card information in the radio frequency identification card in unit time by the reader-writer, and the transmitting power of the reader-writer is preset power;
the updating module is used for updating the preset power according to a preset size adjusting rule if the reading times do not fall into a preset range, so as to obtain the updated preset power;
and the adjusting module is used for setting the transmitting power of the reader-writer to be the updated preset power, controlling the reader-writer with the transmitting power of the updated preset power to read the radio frequency identification card information in the radio frequency identification card until the reading times obtained by the reader-writer fall into the preset range, and taking the updated preset power obtained by at least one updating as the target transmitting power of the reader-writer.
9. A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to execute the steps of the reader/writer transmission power control method according to any one of claims 1 to 7.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the reader/writer transmission power control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010146569.4A CN113260035A (en) | 2020-03-05 | 2020-03-05 | Method and device for controlling transmission power of reader-writer, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010146569.4A CN113260035A (en) | 2020-03-05 | 2020-03-05 | Method and device for controlling transmission power of reader-writer, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113260035A true CN113260035A (en) | 2021-08-13 |
Family
ID=77219931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010146569.4A Pending CN113260035A (en) | 2020-03-05 | 2020-03-05 | Method and device for controlling transmission power of reader-writer, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113260035A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060049946A1 (en) * | 2004-09-09 | 2006-03-09 | Sullivan Michael S | RFID tag sensitivity |
US20080174410A1 (en) * | 2007-01-08 | 2008-07-24 | Jagannathan Sarangapani | Decentralized radio frequency identification system |
CN102890765A (en) * | 2011-07-20 | 2013-01-23 | 富士通株式会社 | Method and device for locating radio frequency identification tags |
CN104661295A (en) * | 2015-01-24 | 2015-05-27 | 杭州敦崇科技股份有限公司 | Packet-by-packet power control method based on rate set |
CN105491650A (en) * | 2015-12-29 | 2016-04-13 | 深圳市海云天科技股份有限公司 | Method and system of power adaptive adjustment of radio frequency reader |
CN105848273A (en) * | 2016-01-20 | 2016-08-10 | 深圳迈瑞生物医疗电子股份有限公司 | Electronic device, wireless sensor and power adjusting method of the wireless sensor |
CN106663181A (en) * | 2014-07-07 | 2017-05-10 | 美卓流体控制有限公司 | Adaptive Rfid Reader |
CN107682920A (en) * | 2017-09-15 | 2018-02-09 | 美的智慧家居科技有限公司 | Method of adjustment, device, intelligent door lock and the storage medium of Zigbee chip emission power |
CN109492443A (en) * | 2018-11-27 | 2019-03-19 | 北京千方科技股份有限公司 | A kind of reader power calibrating method and power calibration method |
CN110830128A (en) * | 2018-08-07 | 2020-02-21 | 航天信息股份有限公司 | Signal receiving sensitivity detection system and method |
-
2020
- 2020-03-05 CN CN202010146569.4A patent/CN113260035A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060049946A1 (en) * | 2004-09-09 | 2006-03-09 | Sullivan Michael S | RFID tag sensitivity |
US20080174410A1 (en) * | 2007-01-08 | 2008-07-24 | Jagannathan Sarangapani | Decentralized radio frequency identification system |
CN102890765A (en) * | 2011-07-20 | 2013-01-23 | 富士通株式会社 | Method and device for locating radio frequency identification tags |
CN106663181A (en) * | 2014-07-07 | 2017-05-10 | 美卓流体控制有限公司 | Adaptive Rfid Reader |
CN104661295A (en) * | 2015-01-24 | 2015-05-27 | 杭州敦崇科技股份有限公司 | Packet-by-packet power control method based on rate set |
CN105491650A (en) * | 2015-12-29 | 2016-04-13 | 深圳市海云天科技股份有限公司 | Method and system of power adaptive adjustment of radio frequency reader |
CN105848273A (en) * | 2016-01-20 | 2016-08-10 | 深圳迈瑞生物医疗电子股份有限公司 | Electronic device, wireless sensor and power adjusting method of the wireless sensor |
CN107682920A (en) * | 2017-09-15 | 2018-02-09 | 美的智慧家居科技有限公司 | Method of adjustment, device, intelligent door lock and the storage medium of Zigbee chip emission power |
CN110830128A (en) * | 2018-08-07 | 2020-02-21 | 航天信息股份有限公司 | Signal receiving sensitivity detection system and method |
CN109492443A (en) * | 2018-11-27 | 2019-03-19 | 北京千方科技股份有限公司 | A kind of reader power calibrating method and power calibration method |
Non-Patent Citations (2)
Title |
---|
李建雄;袁文东;张奇龙;邢梅恩;邢炳雷;: "功率可程控的UHF RFID读写器的研制", 天津工业大学学报, no. 06 * |
郭振军;孙应飞;: "UHF RFID读写器***的设计与实现", 中国科学院大学学报, no. 01 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Su et al. | A time and energy saving-based frame adjustment strategy (TES-FAS) tag identification algorithm for UHF RFID systems | |
US9165170B1 (en) | RFID tag dynamically adjusting clock frequency | |
CN101286192B (en) | Time slot ALOHA anticollision algorithm suitable for dynamic environment | |
CN108711047B (en) | Automatic repayment method, system and terminal equipment | |
US8193912B1 (en) | RFID tag dynamically adjusting clock frequency | |
CN108615096A (en) | Server, the processing method of Financial Time Series and storage medium | |
Chen et al. | An efficient and easy-to-implement tag identification algorithm for UHF RFID systems | |
US7011250B2 (en) | IC card reader/writer, identification method and program | |
CN110489622A (en) | Sharing method, device, computer equipment and the storage medium of object information | |
CN109213448B (en) | Method, device, equipment and storage medium for erasing and writing data of smart card | |
CN112669158A (en) | Transaction system and control method and device of transaction service thereof | |
CN113260035A (en) | Method and device for controlling transmission power of reader-writer, computer equipment and storage medium | |
US20100073144A1 (en) | Method and Circuit for Accessing RFID Tag | |
US9824246B2 (en) | Radio frequency identification tag having input device | |
US7830719B2 (en) | Power dependent memory access | |
US20170200071A1 (en) | Ic card, portable electronic apparatus, and processing apparatus | |
US8665070B2 (en) | Mobile electronic device | |
CN109217902B (en) | Radio frequency attenuator control method and device based on temperature compensation and reader-writer | |
CN113825221B (en) | Power control method and device | |
Zalbide et al. | Power and energy optimization of the digital core of a Gen2 long range full passive RFID sensor tag | |
CN110190874B (en) | NFC detection control method of mobile terminal, mobile terminal and storage medium | |
CN112949329A (en) | Method for monitoring and controlling the power level transmitted by an antenna of a contactless communication device | |
KR20080075323A (en) | System and method for processing data of rfid tag memory | |
JP6828246B2 (en) | Electronic information storage media, information processing methods, and information processing programs | |
CN109918958A (en) | Method, apparatus, system and the chip card of the position of identification chip card in space |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |