A frequency determination method, device, printing device and storage medium

Through the frequency point adjustment method, the target frequency point of RFID is determined, which solves the problem of low read and write success rate of RFID in the printer, improves recognition stability, reduces cost, and increases practicality.

CN117081628BActive Publication Date: 2024-11-15XIAMEN HANIN CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311119898.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2024-11-15
Estimated Expiration
2043-08-31

AI Technical Summary

Technical Problem

Due to the non-contact communication characteristics of radio frequency identification, it is difficult to ensure the success rate of reading and writing in printers, which easily leads to misreading and serial reading of labels with similar distances. The existing improved methods increase design cost and complexity.

Method used

Through a frequency point determination method, the tag is identified based on the current frequency point, the frequency point is adjusted to determine the target frequency point, and the power value of the received tag information is compared with the preset power, and the frequency point adjustment times and threshold limits. Ensure the recognition success rate.

Benefits of technology

It improves the read and write success rate of RFID, reduces the misread rate, reduces the design cost, increases practicality, and avoids the problem of increasing the complexity of circuit and structural design in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117081628B_ABST
    Figure CN117081628B_ABST
Patent Text Reader

Abstract

The present invention discloses a frequency determination method, device, printing equipment and storage medium, and relates to the field of radio frequency identification technology. The method includes: identifying a tag based on the current frequency and determining the identification result; when the identification result is determined to be successful, determining the power value of the received tag information, and when it is determined that the power value of the tag information is greater than the preset power, determining the current frequency as the target frequency; when the identification result is determined to be a recognition failure, or when it is determined that the identification result is successful and the power value of the received tag information is not greater than the preset power, adjusting the current frequency based on the frequency adjustment value to obtain the next frequency; when it is determined that the number of frequency adjustments is not greater than the number threshold and the next frequency is not greater than the frequency threshold, taking the next frequency as the current frequency, returning to execute identification of the tag based on the current frequency until the target frequency is determined. The optimal radio frequency reading and writing frequency is determined, and the reading and writing success rate of radio frequency identification is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of radio frequency identification technology, and in particular to a frequency determination method, device, printing equipment and storage medium. Background Art

[0002] Radio frequency identification is a contactless near-field communication method with the characteristics of flexible installation, few structural restrictions, and high communication efficiency. At present, radio frequency identification is widely used in printers, especially thermal printers. For example, it is used for consumables identification and management, label printing, identification and calibration, etc. Due to the characteristics of contactless communication, radio frequency identification is difficult to achieve the same reliability as contact communication. In order to ensure the stability of radio frequency identification and to maximize the success rate of reading and writing, the reading and writing frequency of the card reader chip can be set to a larger value. However, this is easy to cause misreading and cross-reading of tags at close distances.

[0003] In the prior art, the circuit design and / or structural design can be improved to improve the read and write success rate while reducing the tag misreading rate, for example, multiple antennas can be used, or a shielding structure can be added to the identification area, etc. However, such methods will increase the design cost and are not very practical. Summary of the invention

[0004] The present invention provides a frequency determination method, device, printing equipment and storage medium, which can determine the best radio frequency reading and writing frequency points and improve the reading and writing success rate of radio frequency identification.

[0005] In a first aspect, an embodiment of the present invention provides a frequency determination method, apparatus, printing device and storage medium, the method comprising:

[0006] Identify the tag based on the current frequency point and determine the identification result;

[0007] When it is determined that the recognition result is successful, a power value of the received tag information is determined, and when it is determined that the power value of the tag information is greater than a preset power, the current frequency point is determined as a target frequency point;

[0008] When determining that the recognition result is a recognition failure, or determining that the recognition result is a recognition success and the power value of the received tag information is not greater than the preset power, adjusting the current frequency point based on the frequency point adjustment value to obtain the next frequency point;

[0009] When it is determined that the number of frequency adjustment times is not greater than the number threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the process returns to execute tag identification based on the current frequency until the target frequency is determined.

[0010] The technical solution of the embodiment of the present invention provides a frequency determination method, including: identifying a tag based on the current frequency and determining the identification result; when the identification result is determined to be successful, determining the power value of the received tag information, and when it is determined that the power value of the tag information is greater than the preset power, determining the current frequency as the target frequency; when the identification result is determined to be a recognition failure, or when it is determined that the identification result is successful and the power value of the received tag information is not greater than the preset power, adjusting the current frequency based on the frequency adjustment value to obtain the next frequency; when it is determined that the number of frequency adjustments is not greater than the number threshold and the next frequency is not greater than the frequency threshold, taking the next frequency as the current frequency, returning to perform identification of the tag based on the current frequency until the target frequency is determined. The above technical solution, by determining whether the identification result is successful, continuously adjusting the current frequency value, and comparing the power value of the received tag information with the preset power value to determine the final target frequency, solves the problem that the prior art can only be improved by setting the card reading power to be larger or taking multiple measures in circuit design and structural design, and achieves the effect of ensuring the stability of identification, thereby reducing the cost increase and increasing the practicality.

[0011] Furthermore, the tag is identified based on the current frequency point, and the identification result is determined, including:

[0012] Based on the current frequency point, the radio frequency signal is transmitted to determine whether the tag information sent after the tag is activated by the radio frequency signal is received within a preset time;

[0013] If the tag information is received within the preset time, the recognition result is determined to be a recognition success; otherwise, the recognition result is determined to be a recognition failure.

[0014] Further, determining the power value of the received tag information includes:

[0015] The power value of the tag information is determined according to the information strength of the received tag information.

[0016] Furthermore, it also includes:

[0017] It is determined that the number of frequency adjustments is greater than the number threshold or the next frequency is greater than the frequency threshold, and label information is received during the historical frequency adjustment process, and the current frequency corresponding to the maximum power value in the historical frequency adjustment process is determined as the target frequency.

[0018] Furthermore, it also includes:

[0019] It is determined that the number of frequency adjustment times is greater than the number threshold or the next frequency is greater than the frequency threshold, and no label information is received during the historical frequency adjustment process, and the recognition result is determined to be recognition failure.

[0020] Furthermore, the frequency determination method is characterized in that the current frequency is the minimum frequency in the read-write frequency band corresponding to the current region, and the frequency threshold is the maximum frequency in the read-write frequency band corresponding to the current region.

[0021] In a second aspect, a frequency determination device is provided, the device comprising:

[0022] The recognition module is used to recognize the tag based on the current frequency point and determine the recognition result;

[0023] A determination module, configured to determine the power value of the received tag information when the identification result is determined to be successful, and determine the current frequency point as the target frequency point when it is determined that the power value of the tag information is greater than a preset power;

[0024] An adjustment module, configured to adjust the current frequency point based on the frequency point adjustment value to obtain a next frequency point when determining that the recognition result is a recognition failure, or determining that the recognition result is a recognition success and the power value of the received tag information is not greater than a preset power;

[0025] The execution module is used to determine that when the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and returns to execute the identification of the label based on the current frequency until the target frequency is determined.

[0026] In a third aspect, an embodiment of the present invention provides a printing device, including:

[0027] one or more processors;

[0028] A storage device for storing one or more programs;

[0029] A card reader chip and an antenna, wherein the card reader chip is used to transmit a radio frequency signal through the antenna;

[0030] When one or more programs are executed by one or more processors, the one or more processors implement any frequency point determination method in the first aspect.

[0031] Furthermore, the card reader chip is also used to read and write the tag at a target frequency through the antenna.

[0032] In a fourth aspect, an embodiment of the present invention provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to perform any frequency point determination method as described in the first aspect when executed by a computer processor.

[0033] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the frequency determination device, or may be packaged separately from the processor of the frequency determination device, which is not limited in the present invention.

[0034] The description of the second, third, fourth and fifth aspects of the present invention can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0035] In the present invention, the name of the frequency determination device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present invention, they belong to the scope of the claims of the present invention and their equivalent technologies.

[0036] These and other aspects of the present invention will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 It is a structural schematic diagram of a radio frequency identification system;

[0039] Figure 2 A first flow chart of a frequency determination method proposed in an embodiment of the present invention;

[0040] Figure 3 A second flow chart of a frequency determination method proposed in an embodiment of the present invention;

[0041] Figure 4 A schematic diagram of the structure of a frequency determination device proposed in an embodiment of the present invention;

[0042] Figure 5 A schematic diagram of the structure of a printing device proposed in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0044] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0045] The terms “first”, “second” and the like in the specification and drawings of the present invention are used to distinguish different objects, or to distinguish different processing on the same object, rather than to describe a specific order of the objects.

[0046] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0047] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the embodiments in the present invention and the features in the embodiments can be combined with each other without conflict.

[0048] It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0049] In the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0050] Figure 1 It is a structural diagram of the radio frequency identification system. Figure 1As shown, the radio frequency identification system may include: an identification device and a tag, and the identification device may include a controller, a card reader chip and an antenna. Among them, the controller communicates with the card reader chip through a common communication interface such as a serial port, SPI or I2C to realize the control of the card reader chip. The card reader chip is connected to the antenna and can send a radio frequency signal through the antenna. When the antenna and the tag are successfully coupled, the tag can sense the radio frequency signal and be activated. At this time, the tag is powered and can send the information stored in the tag to the card reader chip through the antenna, and then the card reader chip sends it to the controller to realize the identification of the tag to be identified.

[0051] In order to ensure the stability of radio frequency identification and to maximize the reading and writing success rate, the reading and writing frequency of the card reader chip can be set to a larger value. However, this can easily cause misreading and cross-reading of tags that are close in distance.

[0052] Therefore, the present application proposes a frequency determination method to determine the target frequency of the card reader chip and improve the reading and writing success rate.

[0053] A frequency determination method proposed in the present application will be described in detail below with reference to diagrams and embodiments.

[0054] Embodiment 1

[0055] Figure 2 This is a first flow chart of a frequency determination method proposed in an embodiment of the present invention. This embodiment can be used as a method for ensuring the stability of radio frequency identification and thus improving the success rate of reading and writing. The method can be executed by a frequency determination device, such as Figure 2 As shown, the specific steps include:

[0056] S201: Identify the tag based on the current frequency point and determine the identification result.

[0057] The current frequency point is any frequency point in the read / write frequency band corresponding to the current region. The current frequency point will change depending on the region and the current read / write frequency band.

[0058] In practical applications, the current frequency point is the minimum frequency point in the read / write frequency band corresponding to the current region.

[0059] Specifically, the tag can be identified based on the minimum frequency point in the read-write frequency band corresponding to the current area, and the identification result can be determined as a successful identification or a failed identification. Specifically, when the tag needs to be identified, the controller issues an instruction, controls the card reader chip, and sends a radio frequency signal through the antenna; when the tag is identified based on the current frequency point, the result of the tag identification is a successful identification, then the antenna and the tag are successfully coupled, the tag can sense the radio frequency signal and be activated, the tag is powered, and the tag information stored in the tag is sent to the card reader chip through the antenna and then returned to the controller. At this time, the controller can receive the tag information. When the tag is identified based on the current frequency point, the result of the tag identification is a failed identification, then the antenna and the tag fail to couple, the tag cannot sense the radio frequency signal and cannot be activated, and the tag will not be able to send the tag information to the card reader chip, that is, the controller cannot receive the tag information at this time.

[0060] In the embodiment of the present invention, the recognition result of the current frequency point to the label is determined to determine whether the current frequency point can be used as the target frequency point, thereby providing a frequency point data basis for quickly determining the target frequency point.

[0061] S202: When it is determined that the recognition result is successful, determine the power value of the received tag information, and when it is determined that the power value of the tag information is greater than a preset power, determine the current frequency point as the target frequency point.

[0062] The preset power is a power threshold set by the user according to his / her own situation, which is used as an indicator to judge the coupling degree between the antenna and the tag. If the power value of the tag information is greater than the power threshold, it can be said that the coupling between the antenna and the tag is at a good level at this time.

[0063] Specifically, when it is determined that the recognition result of the tag recognition at the current frequency point is successful, the antenna can receive the tag information sent by the tag, and the antenna can also send the tag information to the card reader chip, and the card reader chip can further send the tag information to the controller. Through the tag information returned by the tag, the controller can determine the power value of the tag information, and then the controller can compare the preset power value with the power value of the received tag information. When it is determined that the power value of the tag information is greater than the preset power value, the current frequency point can be determined as the target frequency point.

[0064] In this embodiment, under the premise that the recognition result of the tag recognition at the current frequency point is successful, it is determined that the power value of the tag information returned by the tag is greater than the power threshold, and the current frequency point can be determined as the target frequency point to achieve the determination of the target frequency point.

[0065] S203: When it is determined that the recognition result is a recognition failure, or when it is determined that the recognition result is a recognition success and the power value of the received tag information is not greater than a preset power, the current frequency is adjusted based on the frequency adjustment value to obtain a next frequency.

[0066] The frequency adjustment value is used to fine-tune the reading and writing frequencies and can be defined by the user according to actual conditions.

[0067] Specifically, after determining that the recognition result of the tag identification at the current frequency point is a failure, it is determined that the current frequency point cannot be used to identify the tag, that is, the antenna cannot receive the tag information sent by the tag when the tag is identified based on the current frequency point. At this time, the current frequency point needs to be adjusted; after determining that the recognition result of the tag identification at the current frequency point is a success, and the power value of the tag information is not greater than the preset power, it is determined that when the current frequency point is used to identify the tag, the reading and writing success rate is not high, that is, the success rate of the antenna receiving the tag information sent by the tag when the tag is identified based on the current frequency point is not high.

[0068] Therefore, when it is determined that the recognition result of the tag identification at the current frequency point is a recognition failure, or when it is determined that the recognition result of the tag identification at the current frequency point is a recognition success and the power value of the received tag information is not greater than the preset power, the current frequency point can be adjusted based on the frequency adjustment value to obtain the next frequency point. Specifically, the read and write frequency band of the current area is 922-928MHz. When the current frequency point is 922MHz, it is determined that the recognition result of the tag identification at 922MHz is a recognition failure, or when it is determined that the recognition result of the tag identification at 922MHz is a recognition success, but the power value of the received tag information is not greater than the preset power. At this time, 922MHz can be adjusted based on the frequency adjustment value to obtain the next frequency point. For example, the next frequency point can be determined to be (922+x)MHz, where x is the frequency adjustment value. The specific value of x can be determined according to actual needs. When x is 0.5, the next frequency point can be determined to be 922.5MHz.

[0069] In this embodiment, after determining that the current frequency point cannot be used as the target frequency point, the current frequency point can be adjusted based on the frequency adjustment value to obtain the next frequency point, so as to facilitate the rapid determination of the target frequency point based on determining whether the next frequency point can be used as the target frequency point.

[0070] S204: When it is determined that the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the process returns to execute tag identification based on the current frequency until the target frequency is determined.

[0071] The times threshold refers to the maximum number of times the frequency can be adjusted, which is set by the user according to their actual situation. The frequency threshold is the maximum frequency in the read / write frequency band corresponding to the current region, which is used to limit the maximum degree of frequency adjustment. The times threshold and the frequency threshold can be used to determine whether the frequency can be adjusted further. If the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, the frequency can be adjusted further. Otherwise, the frequency cannot be adjusted further.

[0072] Specifically, the number of frequency adjustments before the current frequency point is obtained is recorded. When the next frequency point is obtained, the number of frequency adjustments for the next frequency point is determined and compared with the set current threshold. If the number of frequency adjustments this time is not greater than the number threshold, and the next frequency point determined based on the current frequency point and the frequency adjustment value is not greater than the set frequency threshold, the next frequency point can be used as the current frequency point, and the label continues to be identified based on the current frequency point until the target frequency point is determined.

[0073] In this embodiment, when it is determined that the frequency can be further adjusted, the next frequency is used as the current frequency, and the target frequency is further determined to achieve the determination of the target frequency.

[0074] A frequency determination method proposed in an embodiment of the present invention first identifies a tag based on a current frequency and determines a recognition result; if the recognition result is determined to be a successful recognition, the power value of the received tag information is determined, and when it is determined that the power value of the tag information is greater than a preset power, the current frequency is determined as a target frequency; if the recognition result is determined to be a failed recognition, or when it is determined that the recognition result is a successful recognition and the power value of the received tag information is not greater than the preset power, the current frequency is adjusted based on a frequency adjustment value to obtain a next frequency; finally, when it is determined that the number of frequency adjustments is not greater than a number threshold and the next frequency is not greater than a frequency threshold, the next frequency is used as the current frequency, and the process returns to executing the tag recognition based on the current frequency until the target frequency is determined. That is, in the technical solution of the present invention, when it is determined that the recognition result of the current frequency point for the tag is a recognition failure, or when the recognition result is a recognition success but the power value of the received tag information is not greater than the preset power value, the current frequency point is updated based on the frequency point adjustment value to obtain the next frequency point, so as to gradually update the frequency point. When it is determined that the adjustment times of the comparison frequency point is not greater than the times threshold and the next frequency point is not greater than the frequency point threshold, the next frequency point is used as the current frequency point, and the tag of the frequency point is continuously recognized. After the current frequency point is updated within a certain adjustment range, the tag is continuously recognized based on the updated current frequency point until the target frequency point is determined, so as to quickly determine the final target frequency point. Compared with the existing technology, the frequency point determination method proposed in the embodiment of the present invention not only does not need to take multiple measures to improve the circuit design and structural design, but also can determine the target frequency point by fine-tuning the frequency point value to ensure the stability of recognition, thereby reducing the cost increase and increasing the practicality.

[0075] Embodiment 2

[0076] Figure 3 This is a second flow chart of a frequency determination method proposed in an embodiment of the present invention. This embodiment is specific based on the above embodiments. Figure 3 As shown, in this embodiment, the method includes:

[0077] S301, transmitting a radio frequency signal based on a current frequency point, and determining whether tag information sent after the tag is activated by the radio frequency signal is received within a preset time.

[0078] The preset time can be understood as the maximum time after the controller sends the RF signal, the tag is activated by the RF signal, and the tag information is sent to the card reader chip through the antenna. If the card reader chip does not receive the tag information within the preset time, it indicates that the tag is not activated, that is, the current frequency point fails to identify the tag. The tag information is the storage information inside the tag.

[0079] Specifically, the controller controls the card reader chip and sends out a radio frequency signal of the current frequency through the antenna. Under normal circumstances, within a preset time, the tag is powered on and activated after receiving the radio frequency signal. After activation, the tag information can be sent back to the card reader chip, and it can be determined that the tag information is received. Otherwise, it can be determined that the tag information is not received.

[0080] In this embodiment, by determining whether the tag information sent after the tag is activated is received within a preset time, it is possible to determine whether the current frequency point can successfully activate the tag, thereby quickly determining whether the current frequency point can be used as the target frequency point.

[0081] S302: If the tag information is received within a preset time, the recognition result is determined to be a recognition success; otherwise, the recognition result is determined to be a recognition failure.

[0082] Specifically, if the tag information returned after the tag is activated is received within the preset time, the recognition result of the current frequency point is determined to be a successful recognition. If the tag information is not received within the preset time, the recognition result of the current frequency point is determined to be a failed recognition.

[0083] Exemplarily, assuming the preset time is 5 seconds, if the card reader chip receives the tag information within 5 seconds, it can be determined that the recognition result of the current frequency point is successful recognition; if the card reader chip does not receive the tag information within 5 seconds, it can be determined that the recognition result of the current frequency point is failed recognition.

[0084] In this embodiment, whether the recognition of the current frequency point is successful is determined by determining whether the tag information returned after the tag is activated is received within a preset time.

[0085] S303: When the recognition result is determined to be successful, determine the power value of the tag information according to the information strength of the received tag information, and when it is determined that the power value of the tag information is greater than a preset power, determine the current frequency point as the target frequency point.

[0086] Specifically, when it is determined that the recognition result of the tag identification at the current frequency point is successful, the power value of the tag information can be determined based on the information strength of the tag information, and by comparing the power value of the tag information with the preset power value, it can be determined whether the power value of the tag information is greater than the preset power value. When it is determined that the power value of the tag information is greater than the preset power value, the current frequency point is determined to be the target frequency point.

[0087] For example, when the preset power is 2W, if the power value of the tag information returned by the tag is 3W, it can be determined that the current power value is greater than the preset power value, and the current frequency point can be used as the target frequency point.

[0088] In this embodiment, when it is determined that the recognition result of the tag recognition at the current frequency point is successful, the power value of the tag information returned by the tag is compared with the preset power to quickly determine whether the current frequency point can be used as the target frequency point.

[0089] S304: When it is determined that the recognition result is a recognition failure, or when it is determined that the recognition result is a recognition success and the power value of the received tag information is not greater than a preset power, the current frequency is adjusted based on the frequency adjustment value to obtain a next frequency.

[0090] Specifically, when it is determined that the recognition result of the tag recognition at the current frequency point is a recognition failure, or when it is determined that the recognition result of the tag recognition at the current frequency point is a recognition success, but the power value of the tag information is not greater than the preset power, it can be determined that when the tag is recognized at the current frequency point, the antenna cannot receive the tag information sent by the tag or the antenna has a low success rate in receiving the tag information sent by the tag. Specifically, when the tag is recognized based on the current frequency point, the card reader chip does not receive the tag information returned by the tag within a preset time, or after receiving the tag information returned by the tag, it is determined that the power value of the tag information is not greater than the preset power value, then it is determined that the current frequency point value needs to be adjusted.

[0091] Exemplarily, the read and write frequency bands in the current area are 840-845MHz and 920-925MHz. In order to accurately obtain the target frequency for identifying the tag in the two read and write frequency bands, the current frequency needs to be adjusted. For example, after the fine-tuning of the current frequency in the first frequency band 840-845MHz is completed, that is, when the current frequency reaches the maximum value of 845MHz in the 840-845MHz frequency band, if no tag information is received within the preset time, or the power value of the received tag information is not greater than the preset power value, the current frequency can be adjusted to the minimum value of 920MHz in the second frequency band 920-925MHz, and the current frequency can continue to be fine-tuned until the target frequency is obtained.

[0092] It should be noted that all the above numerical values ​​are only for illustrative explanations and are not intended to limit the protection scope of this embodiment. The specific numerical values ​​and frequency adjustment values ​​can be set according to the current region and the user.

[0093] In this embodiment, after determining that the current frequency point cannot be used as the target frequency point, the current frequency point can be adjusted based on the frequency adjustment value to obtain the next frequency point, so as to facilitate the rapid determination of the target frequency point based on determining whether the next frequency point can be used as the target frequency point.

[0094] S305: When it is determined that the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the process returns to execute tag identification based on the current frequency until the target frequency is determined.

[0095] Specifically, in the process of adjusting the current frequency point, the number of frequency adjustments is recorded. After determining the next frequency point, the number of frequency adjustments at this time is determined, and the number of frequency adjustments at this time is compared with the number threshold. When it is determined that the number of frequency adjustments is not greater than the number threshold, the next frequency point and the frequency threshold are continued to be compared. When it is determined that the next frequency point is not greater than the frequency threshold, it indicates that the next frequency point can continue to be adjusted. Therefore, the next frequency point is used as the current frequency point, and the label is continued to be identified based on the current frequency point.

[0096] In this embodiment, by determining the frequency adjustment times of the next frequency and the frequency value of the next frequency, it is determined that the next frequency can be used as the current frequency to continue to identify the tag until the target frequency is determined.

[0097] S306: Determine if the frequency adjustment times are greater than the times threshold or the next frequency is greater than the frequency threshold, and if label information is received during the historical frequency adjustment process, determine the current frequency corresponding to the maximum power value during the historical frequency adjustment process as the target frequency.

[0098] Specifically, after determining the next frequency point, if it is determined that the number of frequency adjustments at this time is greater than the number threshold, or if the next frequency point is greater than the frequency threshold, it can be determined whether label information has been received during the historical frequency adjustment process. If label information has been received during the historical frequency adjustment process, the power value of the label information received during the historical frequency adjustment process is determined, and the current frequency point corresponding to the maximum power value is determined as the target frequency point.

[0099] In this embodiment, when it is determined that the number of frequency adjustments is greater than the number threshold or the next frequency is greater than the frequency threshold, it is determined that label information has been received during the historical frequency adjustment process, and the maximum power value of the label information is selected as the target frequency, ensuring that the target frequency can receive the label information and determine the target frequency.

[0100] S307: Determine that the frequency adjustment times are greater than the times threshold or the next frequency is greater than the frequency threshold, and that no tag information is received during the historical frequency adjustment process, and determine that the recognition result is recognition failure.

[0101] Specifically, after determining the next frequency point, it is determined that the number of frequency adjustments at this time is greater than the number threshold, or, when the next frequency point is greater than the frequency threshold, it is determined that no tag information is received during the historical frequency adjustment process, and it is determined that both the reading and writing frequency bands cannot recognize the tag, and then it can be determined that the recognition result for the tag is a recognition failure.

[0102] In this embodiment, after determining that the number of frequency adjustments is greater than the number threshold or the next frequency is greater than the frequency threshold, and if it is determined that no label information is received during the historical frequency adjustment process, it can be determined that there is no target frequency in the read-write frequency band, thereby accurately judging whether there is a target frequency in the read-write frequency band during the rapid traversal of the entire frequency band.

[0103] A frequency determination method proposed in an embodiment of the present invention transmits a radio frequency signal based on a current frequency point, determines whether tag information sent by a tag after being activated by a radio frequency signal is received within a preset time; if the tag information is received within the preset time, determines that the recognition result is a successful recognition; otherwise, determines that the recognition result is a failed recognition; when it is determined that the recognition result is a successful recognition, determines the power value of the tag information according to the information strength of the received tag information, and when it is determined that the power value of the tag information is greater than the preset power, determines the current frequency point as the target frequency point; when it is determined that the recognition result is a failed recognition, or when it is determined that the recognition result is a successful recognition and the power value of the received tag information is not greater than the preset power, determines the current frequency point as the target frequency point; Adjust the current frequency by an integer value to obtain the next frequency; if it is determined that the number of frequency adjustments is not greater than the number threshold and the next frequency is not greater than the frequency threshold, take the next frequency as the current frequency, and return to execute the tag identification based on the current frequency until the target frequency is determined; if it is determined that the number of frequency adjustments is greater than the number threshold or the next frequency is greater than the frequency threshold, and there is a situation where tag information is received during the historical frequency adjustment process, the current frequency corresponding to the maximum power value in the historical frequency adjustment process is determined as the target frequency; if it is determined that the number of frequency adjustments is greater than the number threshold or the next frequency is greater than the frequency threshold, and there is no situation where tag information is received during the historical frequency adjustment process, determine the identification result as identification failure. That is to say, in the technical solution of the present invention, it is first determined whether the tag information sent after the tag is activated is received within the preset time to determine whether the current frequency point successfully recognizes the tag: if the recognition is successful, and the power value of the received tag information is greater than the preset power value, the current frequency point can be determined as the target frequency point; if the recognition is successful, but the power value of the received tag information is not greater than the preset power value, or the recognition fails, then the next frequency point value is determined; at this time, it is determined whether the number of frequency adjustment times is greater than the number threshold, and whether the frequency value of the next frequency point is greater than the frequency threshold. If the number of frequency adjustment times is not greater than the number threshold, and the next frequency point is not greater than the frequency threshold, it means that this frequency band is successfully identified. If the frequency traversal is not completed, the next frequency can be used as the current frequency, and the tag can continue to be identified based on the current frequency until the target frequency is determined; if the frequency adjustment times are greater than the times threshold, and the next frequency is greater than the frequency threshold, it means that the frequency traversal for this frequency band has ended. At this time, it is necessary to confirm whether tag information has been received during the historical frequency adjustment process; if tag information has been received during the historical frequency adjustment process, the power values ​​of the received tag information are compared, and the frequency corresponding to the maximum power value is determined as the target frequency; if tag information has not been received during the historical frequency adjustment process, the identification result is directly determined to be a failure. By repeating the above operations, the final target frequency can be quickly determined.In the existing technology, in order to ensure the stability of recognition, the card reading power is usually controlled to be set as high as possible, or various measures are taken in circuit design and structural design to improve, which leads to an increase in design cost and low practicality. Therefore, compared with the existing technology, a frequency determination method proposed in the embodiment of the present invention not only does not need to take various measures in circuit design and structural design to improve, but also can determine the target frequency by fine-tuning the frequency value to ensure the stability of recognition, thereby reducing the cost increase and increasing practicality.

[0104] Embodiment 4

[0105] Figure 4 This is a schematic diagram of the structure of a frequency determination device proposed in an embodiment of the present invention. The device can be used in various electronic devices. The device can be implemented by software and / or hardware, and is generally integrated in any intelligent device with network communication function. Figure 4 As shown, the device comprises:

[0106] The identification module 401 is used to identify the tag based on the current frequency point and determine the identification result;

[0107] The determination module 402 is used to determine the power value of the received tag information when the identification result is determined to be successful, and determine the current frequency point as the target frequency point when it is determined that the power value of the tag information is greater than a preset power;

[0108] The adjustment module 403 is used to adjust the current frequency point based on the frequency point adjustment value to obtain the next frequency point when determining that the recognition result is a recognition failure, or determining that the recognition result is a recognition success and the power value of the received tag information is not greater than the preset power;

[0109] The execution module 404 is used to determine that when the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, take the next frequency as the current frequency and return to execute the tag identification based on the current frequency until the target frequency is determined.

[0110] The present embodiment proposes a frequency determination device, which identifies a tag based on the current frequency and determines the identification result; when the identification result is determined to be a successful identification, the power value of the received tag information is determined, and when the power value of the tag information is determined to be greater than the preset power, the current frequency is determined as the target frequency; when the identification result is determined to be a failed identification, or when the identification result is determined to be a successful identification and the power value of the received tag information is not greater than the preset power, the current frequency is adjusted based on the frequency adjustment value to obtain the next frequency; when it is determined that the number of frequency adjustments is not greater than the number threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the identification of the tag based on the current frequency is returned to be executed until the target frequency is determined. The current frequency can be quickly identified and the identification result can be determined, thereby effectively and quickly determining the target frequency.

[0111] Based on the above embodiment, the identification module 401 is specifically used for:

[0112] Transmitting a radio frequency signal based on the current frequency point, determining whether the tag information sent after the tag is activated by the radio frequency signal is received within a preset time;

[0113] If the tag information is received within a preset time, the recognition result is determined to be a recognition success; otherwise, the recognition result is determined to be a recognition failure.

[0114] Based on the above embodiment, the determination module 402 is specifically used for:

[0115] When it is determined that the recognition result is successful, the power value of the tag information is determined according to the information strength of the received tag information; when it is determined that the power value of the tag information is greater than the preset power, the current frequency point is determined as the target frequency point.

[0116] Based on the above embodiment, the execution module 404 is further used for:

[0117] Determine that the number of frequency adjustment times is greater than the number threshold or the next frequency is greater than the frequency threshold, and that label information is received during the historical frequency adjustment process, and determine the current frequency corresponding to the maximum power value during the historical frequency adjustment process as the target frequency;

[0118] It is determined that the number of frequency adjustment times is greater than the number threshold or the next frequency is greater than the frequency threshold, and no label information is received during the historical frequency adjustment process, and the recognition result is determined to be recognition failure.

[0119] In one implementation, the current frequency point is the minimum frequency point in the read-write frequency band corresponding to the current region, and the frequency point threshold is the maximum frequency point in the read-write frequency band corresponding to the current region.

[0120] The frequency determination device can execute the method proposed in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the frequency determination method. For technical details not described in detail in this embodiment, please refer to the frequency determination method proposed in any embodiment of the present application.

[0121] It is worth noting that in the embodiment of the above-mentioned frequency determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0122] Embodiment 5

[0123] Figure 5 A schematic diagram of the structure of a printing device proposed in an embodiment of the present invention. Figure 5 A block diagram of an exemplary printing device 5 suitable for use in implementing embodiments of the present invention is shown. Figure 5 The printing device 5 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0124] like Figure 5 As shown, the printing device 5 is in the form of a general purpose computing printing device. The components of the printing device 5 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting various system components (including the system memory 28 and the processing unit 16).

[0125] In addition, the printing device 12 also includes a card reader chip that is communicatively connected to the processor via a common communication interface such as a serial port, SPI or I2C, and an antenna connected to the card reader chip.

[0126] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0127] Printing device 5 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by printing device 5, including volatile and non-volatile media, removable and non-removable media.

[0128] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The printing device 5 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0129] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0130] The printing device 5 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the printing device 5, and / or any device that enables the printing device 5 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the printing device 5 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. Figure 5 As shown, the network adapter 20 communicates with other modules of the printing device 5 via the bus 18. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the printing device 5, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0131] The processing unit 16 executes various functional applications and page displays by running the program stored in the system memory 28, for example, implementing a frequency point determination method proposed in the embodiment of the present invention, the method comprising:

[0132] Identify the tag based on the current frequency point and determine the identification result;

[0133] When it is determined that the recognition result is successful, a power value of the received tag information is determined, and when it is determined that the power value of the tag information is greater than a preset power, the current frequency point is determined as a target frequency point;

[0134] When determining that the recognition result is a recognition failure, or determining that the recognition result is a recognition success and the power value of the received tag information is not greater than the preset power, adjusting the current frequency point based on the frequency point adjustment value to obtain the next frequency point;

[0135] When it is determined that the number of frequency adjustment times is not greater than the number threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the process returns to execute tag identification based on the current frequency until the target frequency is determined.

[0136] Of course, those skilled in the art can understand that the processor can also implement the technical solution of a frequency point determination method proposed in any embodiment of the present invention.

[0137] Embodiment 6

[0138] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a frequency point determination method provided in an embodiment of the present invention is implemented, for example, and the method includes:

[0139] Identify the tag based on the current frequency point and determine the identification result;

[0140] When it is determined that the recognition result is successful, a power value of the received tag information is determined, and when it is determined that the power value of the tag information is greater than a preset power, the current frequency point is determined as a target frequency point;

[0141] When determining that the recognition result is a recognition failure, or determining that the recognition result is a recognition success and the power value of the received tag information is not greater than the preset power, adjusting the current frequency point based on the frequency point adjustment value to obtain the next frequency point;

[0142] When it is determined that the number of frequency adjustment times is not greater than the number threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the identification of the tag based on the current frequency is returned to be performed until the target frequency is determined. The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0143] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0144] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0145] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0146] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0147] In addition, the acquisition, storage, use, and processing of data in the technical solution of the present invention are in compliance with the relevant provisions of national laws and regulations.

[0148] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A frequency determination method, characterized in that: include: Identify the tag based on the current frequency point and determine the identification result; When it is determined that the recognition result is successful, determining a power value of the received tag information, and when it is determined that the power value of the tag information is greater than a preset power, determining the current frequency point as a target frequency point; When it is determined that the recognition result is a recognition failure, or when it is determined that the recognition result is a recognition success and the power value of the received tag information is not greater than the preset power, adjusting the current frequency point based on the frequency adjustment value to obtain a next frequency point; When it is determined that the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and the process returns to execute tag identification based on the current frequency until the target frequency is determined.

2. The frequency determination method according to claim 1, characterized in that: Identify the tag based on the current frequency point and determine the identification result, including: Transmitting a radio frequency signal based on the current frequency point, determining whether the tag information sent by the tag after being activated by the radio frequency signal is received within a preset time; If the tag information is received within a preset time, the recognition result is determined to be a recognition success; otherwise, the recognition result is determined to be a recognition failure.

3. The frequency determination method according to claim 1, characterized in that: Determine the power value of the received tag information, including: The power value of the tag information is determined according to the information strength of the received tag information.

4. The frequency determination method according to claim 1, characterized in that: Also includes: Determine that the frequency adjustment times is greater than the times threshold or the next frequency is greater than the frequency threshold, and that label information is received during the historical frequency adjustment process, and determine the current frequency corresponding to the maximum power value during the historical frequency adjustment process as the target frequency.

5. The frequency determination method according to claim 1, characterized in that: Also includes: It is determined that the frequency adjustment times are greater than the times threshold or the next frequency is greater than the frequency threshold, and no label information is received during the historical frequency adjustment process, and the recognition result is determined to be recognition failure.

6. The frequency determination method according to claim 1, characterized in that: The current frequency point is the minimum frequency point in the read-write frequency band corresponding to the current region, and the frequency point threshold is the maximum frequency point in the read-write frequency band corresponding to the current region.

7. A frequency determination device, characterized in that: include: The recognition module is used to recognize the tag based on the current frequency point and determine the recognition result; A determination module, configured to determine a power value of the received tag information when it is determined that the recognition result is successful, and determine the current frequency point as a target frequency point when it is determined that the power value of the tag information is greater than a preset power; An adjustment module, configured to adjust the current frequency point based on the frequency adjustment value to obtain a next frequency point when determining that the recognition result is a recognition failure, or determining that the recognition result is a recognition success and the power value of the received tag information is not greater than the preset power; The execution module is used to determine that when the frequency adjustment times are not greater than the times threshold and the next frequency is not greater than the frequency threshold, the next frequency is used as the current frequency, and returns to execute the identification of the label based on the current frequency until the target frequency is determined.

8. A printing device, characterized in that: The printing device comprises: one or more processors; A storage device for storing one or more programs; A card reader chip and an antenna, wherein the card reader chip is used to transmit a radio frequency signal through the antenna; When the one or more programs are executed by the one or more processors, the one or more processors implement the frequency point determination method as described in any one of claims 1-6.

9. The printing device according to claim 8, characterized in that: The card reader chip is also used to read and write tags at a target frequency through the antenna.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the frequency point determination method as described in any one of claims 1 to 6 when executed by a computer processor.

Citation Information

Patent Citations

  • Method and system for evaluating radio frequency identification electronic label

    CN101655899A

  • Method for increasing identification rate of RFID label by adopting frequency-hopping scanning

    CN103902945A

  • Adaptive setting method and system for radio frequency identification frequency point, and control device

    CN107733472A

  • Method capable of automatically searching optimal working frequency point of electronic tag and reading device

    CN113283258A

  • Rapid frequency sweeping method and device and medium

    CN114727368A