CN117744676A - RFID reader power control method, electronic equipment and storage medium - Google Patents
RFID reader power control method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117744676A CN117744676A CN202311604662.5A CN202311604662A CN117744676A CN 117744676 A CN117744676 A CN 117744676A CN 202311604662 A CN202311604662 A CN 202311604662A CN 117744676 A CN117744676 A CN 117744676A
- Authority
- CN
- China
- Prior art keywords
- rfid reader
- rfid
- output power
- executing
- rfid tag
- 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 54
- 230000001960 triggered effect Effects 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 13
- 230000009467 reduction Effects 0.000 claims description 3
- 230000006978 adaptation Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Near-Field Transmission Systems (AREA)
Abstract
The invention relates to an RFID reader power control method, electronic equipment and a storage medium. The method comprises the following steps: s1, when the RFID reader is triggered to start to read the RFID tag, setting the RFID reader to read the RFID tag at maximum output power, and executing a step S2 when the RFID reader is unsuccessful in reading the RFID tag; s2, reducing the output power of the RFID reader, judging whether the RFID reader can successfully read the RFID tag, if so, executing a step S3, otherwise, executing a step S4; s3, maintaining the current output power of the RFID reader to finish reading the RFID tag, and executing a step S5; s4, judging whether the output power of the RFID reader is the minimum output power of the RFID reader, if so, executing the step S5, otherwise, executing the step S2; s5, setting the RFID reader to be in a default state, and executing step S1. By implementing the invention, good adaptation under long and short distances can be realized, and RFID reading requirements of different scenes can be met.
Description
Technical Field
The present invention relates to the field of RFID technologies, and in particular, to a method for controlling power of an RFID reader, an electronic device, and a storage medium.
Background
The wireless radio frequency identification technology (Radio Frequency Idenfication, RFID) is a non-contact automatic identification technology, and the basic principle is to utilize the transmission characteristics of radio frequency signals and spatial coupling (inductive or electromagnetic coupling) or radar reflection to realize automatic identification of an identified object. The RFID system at least comprises an electronic tag and a reader. The electronic tag is a data carrier of a radio frequency identification system and consists of a tag antenna and a tag special chip.
The RFID reader has the use requirements in different scenes of long distance and short distance, generally works under the maximum power, has a good long-distance reading effect, and can possibly have poor reading and writing or even can not read at a short distance.
Disclosure of Invention
The invention aims to solve the technical problems of the prior art and provides an RFID reader power control method, electronic equipment and a storage medium.
The technical scheme adopted for solving the technical problems is as follows: a power control method of an RFID reader is constructed, which comprises the following steps:
s1, when an RFID reader is triggered to start to read an RFID tag, setting the RFID reader to read the RFID tag at maximum output power, and executing a step S2 when the RFID reader is unsuccessful in reading the RFID tag;
s2, reducing the output power of the RFID reader, judging whether the RFID reader can successfully read the RFID tag, if so, executing a step S3, otherwise, executing a step S4;
s3, maintaining the current output power of the RFID reader to finish reading the RFID tag, and executing a step S5;
s4, judging whether the output power of the RFID reader is the minimum output power of the RFID reader, if so, executing the step S5, otherwise, executing the step S2;
s5, setting the RFID reader to be in a default state, and executing the step S1.
Preferably, in the RFID reader power control method according to the present invention, in the step S2, the output power of the RFID reader is reduced; comprising the following steps:
and reducing the output power of the RFID reader according to a preset step.
Preferably, in the method for controlling power of an RFID reader according to the present invention, the output power of the RFID reader is reduced according to a preset step; comprising the following steps:
the output power of the RFID reader is reduced in 3dB steps.
Preferably, in the RFID reader power control method according to the present invention, in the step S1, the method further includes:
and when the RFID reader successfully reads the RFID tag, executing a step S3.
Preferably, in the method for controlling power of an RFID reader according to the present invention, in the step S5, the setting the RFID reader to a default state includes:
and setting the RFID reader to be in a maximum power output state.
Preferably, in the RFID reader power control method according to the present invention, in the step S4, the method further includes:
and when the output power of the RFID reader is the minimum output power of the RFID reader, generating prompt information to prompt the reduction of the distance between the RFID reader and the RFID tag.
Preferably, in the RFID reader power control method according to the present invention, the method further includes:
and when the distance between the RFID reader and the RFID tag is changed, the RFID reader is triggered again to read the RFID tag, and the step S1 is executed.
The present invention also constructs an electronic device including: means for performing the method of any of the above.
The invention also constructs an electronic device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement a method as claimed in any one of the preceding claims.
The present invention also constructs a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the above.
The RFID reader power control method, the electronic equipment and the storage medium have the following beneficial effects: the RFID reader can realize good adaptation under long and short distances and meet RFID reading requirements of different scenes.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a program flow chart of a method of RFID reader power control according to the present invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
As shown in fig. 1, in a first embodiment of a method for controlling power of an RFID reader of the present invention, the method includes: the method comprises the following steps: s1, when an RFID reader is triggered to start to read an RFID label, setting the RFID reader to read the RFID label at maximum output power, and executing step S2 when the RFID reader is unsuccessful in reading the RFID label. Specifically, when the RFID reader is triggered to start working, the RFID reader may be set to work with maximum output power, that is, the RFID reader is made to read the RFID tag with maximum output power, which is also called maximum transmitting power. And judging the reading action of the RFID reader on the RFID tag, and confirming whether the RFID reader can identify the content of the RFID tag, namely whether the RFID tag is successfully identified or not is also read. When the RFID reader cannot read the content of the RFID tag, the fact that the RFID reader is unsuccessful in reading the RFID tag can be judged, and at the moment, the fact that the output power of the current RFID reader is unsuitable is judged to be likely to occur. The latter action is performed for further confirmation.
S2, reducing the output power of the RFID reader, judging whether the RFID reader can successfully read the RFID tag, if so, executing a step S3, otherwise, executing a step S4; s3, maintaining the current output power of the RFID reader to finish reading the RFID tag, and executing a step S5; s4, judging whether the output power of the RFID reader is the minimum output power of the RFID reader, if so, executing the step S5, otherwise, executing the step S2; s5, setting the RFID reader to be in a default state, and executing the step S1. Specifically, when the RFID reader is unsuccessful in reading the RFID tag, the output power of the RFID reader, that is, the emission power, may be reduced first, and after the output power is reduced, it is determined whether the RFID reader can successfully identify the RFID tag. When the RFID reader can successfully identify the RFID tag, the output power of the RFID reader can be kept as the current output power, and the reading task of the whole RFID tag is completed under the output power. I.e. the tag information of the RFID tag is obtained. After the entire reading task of the RFID tag is completed, the RFID reader may be set to a default state. So that the RFID reader may be triggered from a default state to perform the next reading task of the RFID tag. If the output power of the RFID reader is reduced, the RFID reader is judged to still not successfully identify the RFID tag. It is first determined whether the current output power of the RFID reader is the minimum output power of the RFID reader. If it is not the minimum output power of the RFID reader, the description may proceed with decreasing the output power of the RFID reader. And continues to determine if the RFID reader can successfully identify the RFID tag during the power reduction process. If the RFID tag can be identified, the output power of the RFID reader is stopped from being reduced, and the reading operation and the subsequent operation of the RFID tag are performed. If the output power of the RFID reader has been reduced to the minimum output power of the RFID reader, the RFID reader still fails to successfully identify the RFID tag. It may be stated that the failure of the RFID reader to recognize the RFID tag is not caused by an improper output power of the RFID reader. The RFID reader's identification process of the RFID tag may be stopped at this point. Restoring the RFID reader to a default state so that the RFID reader can be triggered from the default state to perform the next reading task of the RFID tag.
Optionally, in the method for controlling power of an RFID reader of the present invention, in the step S2, the output power of the RFID reader is reduced; comprising the following steps: and reducing the output power of the RFID reader according to a preset step. Specifically, in the process of reducing the output power of the RFID reader, the output power of the RFID reader may be gradually reduced according to a certain step. In one embodiment, the output power of the RFID reader may be gradually reduced in 3dB steps. That is, the output power of the RFID reader is reduced by half at a time.
Optionally, in the method for controlling power of an RFID reader of the present invention, in the step S1, the method further includes: and when the RFID reader successfully reads the RFID tag, executing a step S3. Specifically, when the RFID reader is set to read the RFID tag at the maximum output power, if the RFID reader can successfully read the RFID tag, it can be stated that the output power of the RFID reader is appropriate in this case. The current output power of the RFID reader may be maintained so that the RFID reader reads the contents of the entire RFID tag to obtain tag information of the RFID tag.
Optionally, in the method for controlling power of an RFID reader of the present invention, in step S5, the setting the RFID reader to a default state includes: and setting the RFID reader to be in a maximum power output state. Specifically, when the RFID reader is set to a default state, the RFID reader may be set to a maximum output power state, and in this state, when the RFID reader is in a working state, the output power of the RFID reader is directly the maximum output power. It can also be understood that if the RFID reader is set to be in a default state when the scan switch is turned on, the output power of the RFID reader can be set to be the maximum output power directly.
Optionally, in the method for controlling power of an RFID reader of the present invention, in the step S4, the method further includes: and when the output power of the RFID reader is the minimum output power of the RFID reader, generating prompt information to prompt the reduction of the distance between the RFID reader and the RFID tag. Specifically, when the output power of the RFID reader is reduced to the minimum output power of the RFID reader, the RFID tag still cannot be successfully read, and then it can be determined that the distance between the current RFID reader and the RFID tag is too large, and prompt information is generated to prompt the user that the distance between the current RFID reader and the RFID tag is too large, so that the user can properly adjust the distance between the RFID reader and the RFID tag.
Optionally, in the RFID reader power control method of the present invention, the method further includes: and when the distance between the RFID reader and the RFID tag is changed, the RFID reader is triggered again to read the RFID tag, and the step S1 is executed. Specifically, in the working process of the RFID reader, if it is determined that the distance between the RFID reader and the RFID changes, the RFID reader may be triggered to re-read the RFID tag, and the above step S1 and the following actions are performed.
In addition, the electronic equipment has the function of realizing the corresponding steps executed in the method. Wherein each function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The corresponding hardware or software includes one or more modules corresponding to the functions described above. I.e. the steps in the above method are performed separately by one or more modules. The specific cooperation operation between each module may refer to the specific process of the above method, and will not be described herein.
In addition, the electronic device of the invention can also comprise a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program to implement the method of any of the above. In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may perform the above-described functions defined in the methods of embodiments of the present invention when downloaded and installed and executed by an electronic device. The electronic equipment in the invention can be a terminal such as a notebook, a desktop, a tablet computer, a smart phone and the like, and also can be a server.
In addition, a computer storage medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the method of any of the above. In particular, it should be noted that the computer readable medium of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
It is to be understood that the above examples only represent preferred embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the invention; it should be noted that, for a person skilled in the art, the above technical features can be freely combined, and several variations and modifications can be made without departing from the scope of the invention; therefore, all changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims (10)
1. A method for controlling power of an RFID reader, comprising the steps of:
s1, when an RFID reader is triggered to start to read an RFID tag, setting the RFID reader to read the RFID tag at maximum output power, and executing a step S2 when the RFID reader is unsuccessful in reading the RFID tag;
s2, reducing the output power of the RFID reader, judging whether the RFID reader can successfully read the RFID tag, if so, executing a step S3, otherwise, executing a step S4;
s3, maintaining the current output power of the RFID reader to finish reading the RFID tag, and executing a step S5;
s4, judging whether the output power of the RFID reader is the minimum output power of the RFID reader, if so, executing the step S5, otherwise, executing the step S2;
s5, setting the RFID reader to be in a default state, and executing the step S1.
2. The RFID reader power control method according to claim 1, wherein in the step S2, the output power of the RFID reader is reduced; comprising the following steps:
and reducing the output power of the RFID reader according to a preset step.
3. The method of claim 2, wherein the reducing the output power of the RFID reader is performed in a predetermined step; comprising the following steps:
the output power of the RFID reader is reduced in 3dB steps.
4. The RFID reader power control method according to claim 1, further comprising, in the step S1:
and when the RFID reader successfully reads the RFID tag, executing a step S3.
5. The method according to claim 1, wherein in the step S5, the setting the RFID reader to a default state includes:
and setting the RFID reader to be in a maximum power output state.
6. The RFID reader power control method of claim 1, further comprising, in the step S4:
and when the output power of the RFID reader is the minimum output power of the RFID reader, generating prompt information to prompt the reduction of the distance between the RFID reader and the RFID tag.
7. The method of claim 1, further comprising:
and when the distance between the RFID reader and the RFID tag is changed, the RFID reader is triggered again to read the RFID tag, and the step S1 is executed.
8. An electronic device, the electronic device comprising: means for performing the method of any of claims 1 to 7.
9. An electronic device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the method of any one of claims 1 to 7.
10. A computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311604662.5A CN117744676A (en) | 2023-11-27 | 2023-11-27 | RFID reader power control method, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311604662.5A CN117744676A (en) | 2023-11-27 | 2023-11-27 | RFID reader power control method, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117744676A true CN117744676A (en) | 2024-03-22 |
Family
ID=90276600
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311604662.5A Pending CN117744676A (en) | 2023-11-27 | 2023-11-27 | RFID reader power control method, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117744676A (en) |
-
2023
- 2023-11-27 CN CN202311604662.5A patent/CN117744676A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8174365B2 (en) | IC tag, method of controlling the IC tag, and IC tag system | |
| US11562322B1 (en) | RFID systems with session-dependent replies | |
| EP3457580B1 (en) | Nfc controller | |
| US7016924B2 (en) | Contactless IC card, responding method, and program therefor | |
| CN102044028A (en) | Mobile payment realizing method and mobile payment system | |
| CN113361293A (en) | Card swiping method, card controller, electronic device and storage medium | |
| US20250274163A1 (en) | System and method for distinguishing between active and passive nfc devices | |
| US10123369B2 (en) | Communication terminal, computer-readable storage medium, and communication method | |
| KR20250122420A (en) | Methods for assisting card reader in card searching, card searching methods, and nfc tags | |
| US20100240318A1 (en) | Mobile electronic device and control method of mobile electronic device | |
| US9384375B2 (en) | Radio tag communication apparatus, radio tag communication system, and a non-transitory computer-readable recording medium | |
| CN112528688B (en) | Radio frequency tag control method, response method and device, storage medium, reader and radio frequency tag | |
| US20190019073A1 (en) | Radio tag reading device and radio tag reading method | |
| TWI384402B (en) | Method of accessing rfid tag and circuit for determining whether to reply command sent from reader or not | |
| CN117744676A (en) | RFID reader power control method, electronic equipment and storage medium | |
| US9007176B2 (en) | Portable electronic apparatus and control method of portable electronic apparatus | |
| CN102255999B (en) | Method for determining communication protocol between terminal and smart card and expansion card | |
| EP2717193B1 (en) | IC card, portable electronic device, and reader/ writer | |
| CN116454592A (en) | Automatic control antenna switching device, method and equipment combined with positioning information | |
| CN112822666B (en) | Communication method, communication device, electronic equipment and storage medium | |
| US12001908B2 (en) | Method for identifying a passive RFID card | |
| JP2011065477A (en) | Mobile electronic device | |
| US20150161421A1 (en) | Apparatus and method for controlling supply of power to radio frequency identification tag | |
| EP2797025A1 (en) | Mobile proximity coupling device with display | |
| KR101617880B1 (en) | Handheld Phone for Controlling Near Field Communication |
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 |