CN117544186A - Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field - Google Patents

Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field Download PDF

Info

Publication number
CN117544186A
CN117544186A CN202311547846.2A CN202311547846A CN117544186A CN 117544186 A CN117544186 A CN 117544186A CN 202311547846 A CN202311547846 A CN 202311547846A CN 117544186 A CN117544186 A CN 117544186A
Authority
CN
China
Prior art keywords
equipment
transmitting power
power
connection
radio frequency
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
Application number
CN202311547846.2A
Other languages
Chinese (zh)
Inventor
马修·鲍威尔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to CN202311547846.2A priority Critical patent/CN117544186A/en
Publication of CN117544186A publication Critical patent/CN117544186A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • H04B2001/0408Circuits with power amplifiers
    • H04B2001/0416Circuits with power amplifiers having gain or transmission power control

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for adjusting the transmitting power of a radio frequency field, which are applied to first equipment in near field communication, wherein the first equipment and second equipment are connected in near field communication, the first equipment provides power for the second equipment through the radio frequency field, and the method comprises the following steps: generating the radio frequency field, wherein the transmitting power of the radio frequency field is initial transmitting power, and enabling the second equipment to send a response signal to the first equipment by inducing the radio frequency field; and adjusting the initial transmitting power to target transmitting power according to the connection condition between the response signal sent by the second equipment and the second equipment, wherein the target transmitting power is used for enabling the second equipment to be connected with the first equipment at the current connection distance. According to the embodiment of the application, the transmitting power of the radio frequency field can meet the requirement of the connection distance between near field communication devices, and the communication performance between the near field communication devices is improved.

Description

Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field
Technical Field
Embodiments of the present application relate to near field communication technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting transmission power of a radio frequency field.
Background
Near field communication (NFC, near Field Communication) is a technology of wireless data transmission over short distances (typically less than 10 cm). Near field communication is wireless data transmission between two electronic devices through signals with the frequency close to 13.56MHz, and the electronic devices conforming to the near field communication standard are called near field communication devices. On the one hand, near field communication is safer than long distance communication. On the other hand, one electronic device (e.g., a card reader) may provide power to another electronic device (e.g., a card) through its radio frequency field, so an electronic device without an internal power source may also function as a near field communication device. Based on the advantages, the near field communication device is widely applied to application scenes such as subways and buses.
However, when the electronic device providing the power supply in the near field communication provides the power supply for another electronic device through the radio frequency field, if the transmitting power of the radio frequency field does not meet the requirement of the connection distance between the near field communication devices, the devices cannot be connected, and the communication performance between the near field communication devices is further affected.
Therefore, how to make the transmitting power of the radio frequency field meet the requirement of the connection distance between the near field communication devices becomes a technical problem to be solved.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, apparatus, device, and storage medium for adjusting the transmission power of a radio frequency field, which can make the transmission power of the radio frequency field meet the requirement of the connection distance between near field communication devices, and improve the communication performance between near field communication devices.
According to a first aspect of embodiments of the present application, there is provided a method for adjusting a transmission power of a radio frequency field, which is applied to a first device in near field communication, where the first device and a second device implement near field communication connection, and the method includes: generating the radio frequency field, wherein the transmitting power of the radio frequency field is initial transmitting power, and enabling the second equipment to send a response signal to the first equipment by inducing the radio frequency field; and adjusting the initial transmitting power to target transmitting power according to the connection condition between the response signal sent by the second equipment and the second equipment, wherein the target transmitting power is used for enabling the second equipment to be connected with the first equipment at the current connection distance.
According to a second aspect of embodiments of the present application, there is provided a transmit power adjustment device of a radio frequency field, applied to a first device of near field communication, where the first device and a second device implement near field communication connection, the device including: the generating module is used for generating the radio frequency field, the transmitting power of the radio frequency field is initial transmitting power, and the second equipment transmits a response signal to the first equipment by inducing the radio frequency field; the adjusting module is used for adjusting the initial transmitting power to target transmitting power according to the connection condition between the response signal sent by the second equipment and the second equipment, and the target transmitting power is used for enabling the second equipment to be connected with the first equipment under the current connection distance.
According to a third aspect of embodiments of the present application, there is provided an electronic device, including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus; the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform operations corresponding to the method according to the first aspect.
According to a fourth aspect of embodiments of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, performs the operations corresponding to the method according to the first aspect.
According to the method and the device for transmitting the radio frequency field, the first device provides the radio frequency field with initial transmitting power, and the initial transmitting power is adjusted to target transmitting power according to the connection condition between the first device and the second device, so that the first device and the second device are connected under the current connection distance. According to the method and the device, the transmitting power of the radio frequency field of the first device is adjusted, so that the transmitting power of the radio frequency field of the first device can meet the requirements of connection distances between the first device and various second devices, and the communication performance between the first device and the second device is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings may also be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a schematic diagram illustrating interaction between a first device and a second device according to an embodiment of the present application;
FIG. 2 is a flow chart of an embodiment of a method for adjusting the transmit power of a RF field according to the present application;
FIG. 3 is a schematic diagram of a card discovery process according to the method for adjusting the transmit power of the RF field of the present application;
FIG. 4 is a flow chart of another embodiment of a method for adjusting the transmit power of a RF field of the present application;
FIG. 5 is a flow chart of another embodiment of a method for adjusting the transmit power of a RF field according to the present application;
FIG. 6 is a flow chart of another embodiment of a method for adjusting the transmit power of a RF field according to the present application;
FIG. 7 is a flow chart of another embodiment of a method for adjusting the transmit power of a RF field according to the present application;
FIG. 8 is a flowchart illustrating steps performed by a specific application scenario according to an embodiment of the present disclosure;
FIG. 9 is a flowchart illustrating steps performed in another embodiment of the present application;
FIG. 10 is a block diagram of an apparatus for adjusting the transmit power of a RF field according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings. For convenience of explanation, in the embodiments of the present application, the same reference numerals denote the same components, and in the different embodiments, detailed explanation of the same components is omitted for brevity. It should be understood that the thickness, length, width, etc. dimensions of the various components in the embodiments of the present application, as well as the overall thickness, length, width, etc. dimensions of the integrated device, are illustrative only and should not be construed as limiting the present application in any way.
It should be noted that, on the premise of no conflict, the embodiments described in the present application and/or the technical features in the embodiments may be arbitrarily combined with each other, and the technical solutions obtained after the combination should also fall into the protection scope of the present application.
It should be understood that the specific examples in the embodiments of the present application are intended only to help those skilled in the art to better understand the embodiments of the present application and are not intended to limit the scope of the embodiments of the present application.
It should also be understood that, in various embodiments of the present application, the size of the sequence number of each process does not mean that the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
It is also to be understood that the terminology used in the embodiments of the present application and the appended claims is for the purpose of describing particular embodiments only, and is not intended to be limiting of the embodiments of the present application. For example, as used in the examples of this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used herein, terms such as "first," "second," and "third" describe various components, regions, layers and/or sections, but such components, regions, layers and/or sections should not be limited by such terms. Such terms may be used only to distinguish one component, region, layer or section from another. The terms such as "first," "second," and "third" when used herein do not imply a sequence or order unless clearly indicated by the context.
Moreover, for ease of description, spatially relative terms such as "below" … …, "" lower, "" above "… …," "upper," and the like may be used herein to describe one component or member's relationship to another component or member as illustrated in the figures. In addition to the orientations depicted in the drawings, the spatially relative terms are intended to encompass different orientations of the device in use or operation. The apparatus may be otherwise oriented (rotated 90 degrees or otherwise) and thus the spatially relative descriptors used herein interpreted as such.
Near field communication is an asymmetric radio frequency standard and near field communication devices typically include a first device that provides power and a second device. The first device provides power to the second device through the radio frequency field, and whether the second device has an internal power supply is not limited. For example, in an application scenario of subway, bus, etc., the first device is typically a card reader, and the second device is a card without an internal power supply. In addition, the second device may be a card with an internal power supply provided on an intelligent mobile device such as a mobile phone.
The following description will be given by taking a card reader as a first device and taking a card as a second device. The card can be an entity card or a card arranged on intelligent mobile equipment such as a mobile phone and the like.
The card reader generates a radio frequency field of 13.56MHz, and modulates the radio frequency field to realize data transmission. The card senses the rf field and sends a response signal by modulating the load or analog load of the rf field.
In order to establish a connection between a card reader and a card, the card reader needs to meet the following conditions:
first, a sufficiently powerful radio frequency field needs to be generated. The power amplifier of the reader transmitter outputs a sufficiently powerful radio frequency field that provides power to the card so that the card can send a response signal to the reader by sensing the radio frequency field. And, the sufficiently powerful radio frequency field output by the power amplifier of the reader transmitter can provide power to the reader itself in addition to the card.
Second, the receiver of the card reader must also be able to accurately sense the response signal sent by the card. The receiver of the reader senses both the response signal transmitted by the card and the radio frequency field generated by the Power Amplifier (PA) of the reader transmitter. The reader receiver may adjust the sensitivity based on the strength of the sensed signal and decrease its sensitivity if the sensed signal strength is greater. Therefore, when the radio frequency field output by the power amplifier is quite strong and far greater than the response signal sent by the card, the receiver of the card reader can reduce the sensitivity of the receiver. This can result in the receiver of the reader not accurately sensing the response signal sent by the card. That is, as the rf field output by the power amplifier increases, the sensitivity of the reader receiver decreases.
Therefore, the card reader can generate a strong enough radio frequency field for supplying power to the card, and the strength of the radio frequency field of the card reader cannot be too large to influence the sensitivity of a receiver of the card reader.
For cards that require the rf field of the reader to provide power, some require less power to operate and some require more power to operate. For a card requiring less power supplied by the radio frequency field, when the transmitting power of the radio frequency field of the card reader is higher, the strength of the radio frequency field of the card reader is too high, which adversely affects the sensitivity of a receiver of the card reader, and only a closer connection distance between the card reader and the card can be selected. For cards requiring more power supplied by the rf field, when the transmission power of the rf field of the card reader is low, the card cannot obtain the power by sensing the rf field, which also results in that only a relatively short connection distance between the card reader and the card can be selected. Therefore, it is difficult for the card reader to increase the connection distance to various cards at the same time.
In view of the foregoing, an embodiment of the present application provides a method for adjusting transmit power of a radio frequency field, which is applied to a first device in near field communication. Referring to fig. 1, the first device and the second device implement a near field communication connection. The first device provides power to the second device via a radio frequency field. Whether the second device has an internal power supply is not limited.
Illustratively, the first device is a card reader and the second device is a card.
Referring to fig. 2, the method includes:
step S1: and generating the radio frequency field, wherein the transmitting power of the radio frequency field is initial transmitting power, and enabling the second equipment to send a response signal to the first equipment by inducing the radio frequency field.
Step S2: and adjusting the initial transmitting power to target transmitting power according to the connection condition between the response signal sent by the second equipment and the second equipment, wherein the target transmitting power is used for enabling the second equipment to be connected with the first equipment at the current connection distance.
According to the method and the device for transmitting the radio frequency field, the first device provides the radio frequency field with initial transmitting power, and the initial transmitting power is adjusted to target transmitting power according to the connection condition between the first device and the second device, so that the first device and the second device are connected under the current connection distance. According to the method and the device, the transmitting power of the radio frequency field of the first device is adjusted, so that the transmitting power of the radio frequency field of the first device can meet the requirements of connection distances between the first device and various second devices, and the communication performance between the first device and the second device is improved.
In a specific implementation of the present application, the initial transmit power is determined according to a type of the second device.
Specifically, when the first device is a card reader and the second device is a card without an internal power supply, the card in near field communication includes: NFC a card, NFC B card, NFC F and NFC V card.
Typically, a card reader attempts to establish a connection with each card it supports, and the card reader cannot learn the type of card before establishing a connection. Therefore, before the card reader establishes connection with the card, the card reader cannot know which card of the NFC a card, the NFC B card, the NFC F card and the NFC V card the type of the card belongs to.
The NFC card types defined by the near field communication comprise four types, wherein the four card technologies define respective initialization processes, and also define a basic data format, a transmission rate, a coding mode and a modulation mode of NFC communication. The card reader (polling device) discovers a card (listening device) by sending a polling command for that card. For example, when a card reader (polling device) transmits a polling command of an NFC a card, only the NFC a card (listening device) will respond, and other cards (listening devices) will not respond. The card reader (polling device) transmits a polling command according to a configured parameter, which is set by one skilled in the art as needed. Illustratively, referring to fig. 3, the order of the polling commands is set to NFC a card, NFC B card, NFC F and NFC V card, and other orders may be used by those skilled in the art to set the polling commands, or to poll only a portion of the four cards.
Specifically, the card reader discovers the type of the existing card according to the polling command, and further sets initial transmitting power according to the type of the card, and the card reader tries to establish connection with cards of different types through the initial transmitting power.
The card reader not only generates a strong enough radio frequency field for supplying power to the card, but also cannot influence the sensitivity of a receiver of the card reader due to the fact that the radio frequency field strength of the card reader is too large. The reader establishes connection with different types of cards, and different requirements are often imposed on the strength of the radio frequency field generated by the reader and the sensitivity of the reader receiver.
For example, the card reader establishes a connection with the NFC B card, and typically requires a high power of the rf field output by the power amplifier of the card reader transmitter to be able to power the NFC B card. The card reader is connected with the NFC A card, and before the sensitivity of a receiver of the card reader is met, the power of a radio frequency field output by a power amplifier of a transmitter of the card reader is required to be low, so that a power supply can be provided for the NFC A card. The card reader is connected with the NFC F card and the NFC V card, the sensitivity requirements on a receiver of the card reader in the connection process are higher, but the requirements on a power supply are lower.
In another specific implementation of the present application, the initial transmit power is determined according to a location of the first device.
There are also different requirements on the transmit power of the radio frequency field that the first device needs to generate, due to the different locations of the first device. According to the embodiment of the application, the initial transmitting power is set according to the position of the first equipment, so that the initial transmitting power is closer to the target transmitting power, and the transmitting power can be conveniently and quickly adjusted to the target transmitting power.
For example, a reader on a Beijing subway would require a higher rf field transmit power, and then a higher initial transmit power would be set to adjust the initial transmit power to the target transmit power as soon as possible.
Specifically, the location of the first device is obtained by an external device in communication with the first device.
For example, the external device may be a mobile phone, i.e. a location from which the card reader is received from the mobile phone. For example, the map application program of the mobile phone or other application programs with positioning functions of the mobile phone can obtain the position of the card reader.
If the second device is a fixed device, i.e. the installation location is fixed, it is not necessary to set the initial transmit power by the location of the first device.
In yet another specific implementation of the present application, the initial transmit power is determined according to a type of the second device and a location of the first device.
According to the method and the device for determining the initial transmitting power, the initial transmitting power is determined through the type of the second device and the position of the first device, so that the initial transmitting power is closer to the target transmitting power, and the transmitting power can be adjusted to the target transmitting power conveniently and quickly.
In yet another specific implementation of the present application, the initial transmit power is set to a maximum transmit power selectable by the first device.
For example, when the card reader and the NFC B card are connected, the card reader is used for adjusting the initial transmitting power according to the maximum transmitting power selectable by the NFC B card, so that the transmitting power is prevented from being increased or decreased in a reciprocating manner during the transmitting power adjustment.
For another example, when the card reader located in beijing is connected with the card, the maximum transmission power selectable by the card reader located in beijing is used as the initial transmission power, and the initial transmission power is adjusted, so that the transmission power is prevented from being increased or decreased in a reciprocating manner during adjustment.
Specifically, the embodiment of the application may determine the initial transmission power according to at least one of the type of the second device and the position of the first device, and then may select the maximum transmission power therein as the initial transmission power. The embodiment of the application can also directly select the maximum transmitting power of the first equipment as the initial transmitting power.
For example, the embodiment of the application may directly use the maximum transmitting power that can be set by the card reader as the initial transmitting power, without considering the card type and the position of the card reader.
In still another specific implementation of the present application, referring to fig. 4, the step S2 includes:
step S21: and if the first equipment and the second equipment cannot establish connection, adjusting the initial transmitting power by a first preset amount until the first equipment and the second equipment establish connection, and taking the transmitting power for establishing connection as the target transmitting power.
In particular, if the first device fails to establish a connection with the second device, then the attempt to establish a connection between the first device and the second device continues using a different transmit power, and the first predetermined amount may be a fixed value or a variable value. The adjusting the initial transmission power by the first predetermined amount may be that the initial transmission power is gradually decreased by the first predetermined amount of adjustment, or the initial transmission power is gradually increased by the first predetermined amount of adjustment, or the initial transmission power is increased by the first predetermined amount of adjustment and then decreased, or the initial transmission power is decreased by the first predetermined amount of adjustment and then increased.
For example, when the transmission power of the radio frequency field generated by the first device is the maximum transmission power, the transmission power is gradually reduced by a first predetermined amount, and each time the transmission power is reduced by 20% may be selected until the first device establishes a connection with the second device, and the target transmission power is obtained. Or, the method comprises the steps of firstly reducing by 50% and then reducing by 25% until the first equipment and the second equipment are connected, and obtaining the target transmitting power.
According to the method and the device, the transmitting power of the radio frequency field generated by the first equipment is the maximum transmitting power, and the transmitting power can be adjusted more simply and conveniently in a mode of reducing the transmitting power according to the first preset quantity each time.
The first predetermined amount may be set as desired by a person skilled in the art, and the manner in which the initial transmit power is adjusted by the first predetermined amount.
Specifically, the first predetermined amount is determined according to at least one of the type of the second device and the location of the first device.
According to the method and the device for adjusting the transmitting power, the first preset amount is determined through at least one of the type of the second device and the position of the first device, so that the adjusting process of the transmitting power can be simplified.
Setting the initial transmit power and the first predetermined amount according to the type of the second device is described below by way of a specific example.
Referring to fig. 5, the present embodiment is applied to a card reader as a first device and a card as a second device, and the method includes the following steps.
Step 501: the card reader generates a radio frequency field with the maximum transmitting power which can be selected by the card reader, or selects the radio frequency field with the maximum transmitting power according to the type of the connectable card or the position of the card reader.
Wherein the maximum transmit power is an initial transmit power.
Step 502: and judging whether the card reader is connected with the card or not.
Step 503: if the card reader is not connected with the card, the card reader adjusts the initial transmitting power by a first preset amount until the connection with the card is established.
And the card reader adjusts the initial transmitting power by a first preset amount until the first equipment and the second equipment are connected, and the transmitting power for establishing the connection is taken as the target transmitting power.
Illustratively, the reader needs to establish a connection with card B at a connection distance of 24 mm. The reader makes a first connection attempt using a radio frequency field generated with 2.5W as the initial transmit power. If the card type of card B at this time is NFC B card, the card reader may successfully establish a connection with card B over a connection distance of 24 mm.
The card reader needs to establish a connection with card B at a connection distance of 45 mm. The reader makes a first connection attempt using a radio frequency field generated with 2.5W as the initial transmit power. If the card type of the card B at this time is an NFC B card, the card reader cannot establish a connection with the card B over a connection distance of 45 mm. At this time, the transmitting power of the card reader is adjusted to be respectively 10%, 20% or 30% according to the first preset amount, that is, the transmitting power is adjusted to be 2.25W (2.5×90%), 1.8W (2.25×80%), and 1.44W (1.8×80%), until the transmitting power is adjusted to be 1.44W, and the card reader can successfully establish connection with the card B at a connection distance of 45 mm.
The first preset amount is set by a person skilled in the art according to the need, and if the first preset amount is set too large, the transmitting power can be quickly reduced, but the adjustment can be too low to provide a sufficiently strong radio frequency field for the card. If the first preset amount is too small, the transmit power is slowly adjusted down, possibly resulting in a slower adjustment speed.
In addition, the first predetermined amount may also be determined by the position of the card reader, if it needs a larger rf field emission power according to the position of the card reader, the first predetermined amount may be set to a smaller value, so as to avoid that in the process of adjusting the maximum emission power to the target emission power, the first predetermined amount adjusted once is too large, which may cause that the rf field emission power is adjusted too low to provide a sufficiently strong rf field to the card.
The first preset quantity can be set by the type of the card and the position of the card reader, so that the target transmitting power can be more quickly and accurately achieved, and the adjusting process of the transmitting power is simplified.
In still another specific implementation of the present application, referring to fig. 6, the step S2 includes:
step S22: and if the first equipment and the second equipment fail to establish connection, adjusting the initial transmitting power according to the power of the response signal sent by the second equipment and historical connection data until the first equipment and the second equipment establish connection, taking the transmitting power for establishing connection as the target transmitting power, wherein the historical connection data is the power of the response signal sent by the second equipment when the first equipment and the second equipment establish previous connection.
Near field communication technology has no method of forward error correction or retry request. Therefore, the near field communication technology has quite low tolerance to Bit Error probability (BER). This requires that a connection be established between the first device and the second device in near field communication, the ratio of the required bit energy to the power spectral density of white noise (Eb/No) may be 20dB or higher. The ratio of the response signal power sensed by the first device (e.g., the receiver of the reader) to the noise power sensed must be greater than 100 times to establish a connection between the first device and the second device.
Typically, the first device (e.g., the receiver of the reader) may determine the ambient noise conditions during the design process by simulation and calculation or by measurement of the product in a laboratory environment. Furthermore, the ratio of the required bit energy to the power spectral density of the white noise can also be determined by simulation and calculation or measurement in the laboratory. Since the noise energy is relatively known and the response signal power required for establishing a connection is so large as to noise, the power of the response signal that may be measured is significantly higher than the noise level, but still much lower than the power of the response signal required for establishing a connection.
Thus, although the first device fails to establish a connection with the second device, the response signal sent by the second device may still be sensed, but the first device cannot successfully decode the response signal because the response signal is not large enough compared to the noise level. In this case, the power of the response signal for which the connection cannot be established and the transmission power of the radio frequency field of the first device to which the response signal corresponds may be determined. The method and the device for transmitting the response signal can be used for comparing the determined power of the response signal with the power of the response signal when the first device and the second device are connected, so that the initial transmitting power corresponding to the response signal can be adjusted at least once until the first device and the second device are connected, and the transmitting power for establishing the connection is used as the target transmitting power.
According to the method and the device for adjusting the initial transmitting power, the initial transmitting power can be directly adjusted to the target transmitting power, repeated adjustment for many times is avoided, the adjusting process is simplified, and the adjusting speed is increased.
According to the method and the device for adjusting the initial transmitting power, the initial transmitting power can be adjusted to the target transmitting power as soon as possible according to the power of the response signal sent by the second device and the historical connection data, and the first device and the second device are connected.
In still another specific implementation of the present application, referring to fig. 7, step S2 further includes:
step S23: and if the first equipment establishes connection with the second equipment and the power of the response signal sent by the second equipment is greater than or equal to a power threshold value, adjusting the target transmitting power to stable transmitting power.
The stable transmitting power is used for enabling the second equipment and the first equipment to enter a stable connection state. The power threshold is set according to a ratio of bit energy of the second device to a power spectral density of white noise.
If the first device is capable of establishing a connection with the second device and the power of the response signal transmitted by the second device is greater than or equal to the power threshold, it is indicated that the ratio of the response signal transmitted by the second device to the noise level is close to or exceeds the ratio of the bit energy required by the second device to the power spectral density of white noise. But at this time, the connection between the first device and the second device may not enter a stable state, and the reliability of the connection between the first device and the second device is further improved by adjusting the target transmission power to the stable transmission power.
Specifically, step S23 is specifically: and regulating down the target transmitting power to stable transmitting power at a safe opportunity.
If the ratio of the response signal to the noise level sent by the second device is close to the ratio of the bit energy required by the second device to the power spectral density of the white noise, the target transmission power is reduced to the stable transmission power at the safe moment, so that the sensitivity of the card reader receiver is further improved, and the connection between the first device and the second device can be more reliable.
In still another specific implementation of the present application, referring to fig. 8, step S2 further includes:
step S24: and if the first equipment and the second equipment fail to establish connection and the response signal sent by the second equipment is not received, the initial transmitting power is reduced by a second preset amount until the first equipment and the second equipment establish connection, the transmitting power for establishing connection is used as the target transmitting power, or the connection between the first equipment and the second equipment is abandoned.
Specifically, if the first device fails to establish a connection with the second device, the first device cannot receive the response signal sent by the second device, two reasons may exist.
The reason is that: the sensitivity of the first device (e.g., the receiver of the card reader) cannot receive the response signal. In this case, the initial transmitting power needs to be reduced to enable the sensitivity of the first device to receive the response signal, so that the connection between the first device and the second device is established, and the situation that the first device cannot establish connection with the second device is avoided. The embodiment of the application adjusts the initial transmit power by a second predetermined amount, the second predetermined amount being greater than the first predetermined amount. Since the initial transmission power has already affected the sensitivity of the first device at this time, it is necessary to greatly lower the initial transmission power by a second predetermined amount larger than the first predetermined amount, thereby determining whether it is a cause of the sensitivity of the first device being too low to receive the response signal.
Another reason is that: the rf field of the first device (e.g., the receiver of the reader) cannot meet the power requirements of the second device, i.e., the first device cannot provide a sufficiently powerful rf field. In order to solve the problem, the connection between the first device and the second device is required to be abandoned, so that the resource waste caused by the fact that the first device is continuously connected with the second device is avoided.
The implementation of the embodiments of the present application is described below by way of another specific example.
Referring to fig. 9, the present embodiment is applied to a card reader as a first device and a card as a second device, and the method includes the following steps.
Step 901: the card reader generates a radio frequency field with the maximum transmitting power which can be selected by the card reader, or selects the radio frequency field with the maximum transmitting power according to the type of the connectable card or the position of the card reader.
Wherein the maximum transmit power is an initial transmit power.
Step 902: and judging whether the card reader is connected with the card or not.
Step 903: if the card reader is not connected with the card, judging whether the card reader receives a response signal sent by the card.
Step 904: if the card reader does not receive the response signal sent by the card, the card reader reduces the initial transmitting power by a second preset amount until the connection with the card is established or the connection with the card is abandoned.
Step 905: if the card reader is not connected with the card, the card reader receives a response signal sent by the card, and the initial transmitting power is adjusted according to the power of the response signal of the card and the historical connection data until connection with the card is established.
Step 906: if the card reader establishes connection with the card and the power of the response signal of the card is equal to the power threshold, the transmitting power is reduced to the stable transmitting power at a safe time, and stable connection with the card is established.
Illustratively, the reader needs to establish a connection with card B at a connection distance of 24 mm. The reader makes a first connection attempt using a radio frequency field generated with 2.5W as the initial transmit power. If the card type of card B at this time is an NFC B card, a connection can be successfully established with card B over a connection distance of 24 mm. And if the power of the response signal of the card B is greater than or equal to (close to) the power threshold, reducing the transmitting power to the stable transmitting power at a safe opportunity, and establishing stable connection between the card reader and the card B.
However, if the connection distance is 33mm, the card reader cannot establish a connection with the card B, and cannot receive a response signal sent by the card B. The card reader may employ a second predetermined amount to reduce the initial transmit power to about 1.5W, which may cause the card reader to establish a connection with card B, or the card reader may forgo establishing a connection with card B.
If the card reader needs to establish a connection with card a between a connection distance of 33mm and 45 mm. The reader makes a first connection attempt using a radio frequency field generated with 2.5W as the initial transmit power. If the card type of the card a at this time is an NFC a card, a connection cannot be established with the card a over a connection distance of 24mm, but a response signal sent by the card a can be received well above the noise level (at least 25 times). At this time, the initial transmitting power is adjusted according to the power of the response signal of the card and the historical connection data, and the initial transmitting power of the card reader is directly adjusted to the target transmitting power.
Corresponding to the above method, referring to fig. 10, the present application further provides a transmit power adjustment device of a radio frequency field, which is applied to a first device of near field communication, where the first device and a second device implement near field communication connection, and the first device provides power for the second device through the radio frequency field, and the device includes:
the generating module 1001 is configured to generate the radio frequency field, where the transmission power of the radio frequency field is an initial transmission power, and enable the second device to send a response signal to the first device by sensing the radio frequency field.
And an adjusting module 1002, configured to adjust the initial transmit power to a target transmit power according to a connection condition between the second device and a response signal sent by the second device, where the target transmit power is used to enable the second device to establish a connection with the first device under a current connection distance.
According to the method and the device for transmitting the radio frequency field, the first device provides the radio frequency field with initial transmitting power, and the initial transmitting power is adjusted to target transmitting power according to the connection condition between the first device and the second device, so that the first device and the second device are connected under the current connection distance. According to the method and the device, the transmitting power of the radio frequency field of the first device is adjusted, so that the transmitting power of the radio frequency field of the first device can meet the requirements of connection distances between the first device and various second devices, and the communication performance between the first device and the second device is improved.
Based on the above-described method, the embodiment of the present application further provides an electronic device, which is configured to perform the method described in the above-described embodiment, and referring to fig. 11, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, where specific embodiments of the present application do not limit specific implementations of the electronic device.
As shown in fig. 11, the electronic device 110 may include: a processor 1102, a communication interface (Communications Interface), a memory 1106, and a communication bus 1108.
Wherein:
processor 1102, communication interface 1104, and memory 1106 communicate with each other via a communication bus 1108.
A communication interface 1104 for communicating with other electronic devices or servers.
The processor 1102 is configured to execute the program 1111 and may specifically perform relevant steps in the above-described data processing method embodiment.
In particular, the program 1111 may include program code comprising computer operation instructions.
The processor 1102 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors comprised by the smart device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 1106 for storing program 1111. Memory 1106 comprises SRAM memory.
The program 1110 is specifically operable to cause the processor 1102 to execute to implement the steps described in any of the methods of the embodiments described above.
The specific implementation of each step in the procedure 1110 may refer to the corresponding description in the corresponding step in the above method embodiment, which is not repeated herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
Based on the methods described in the above embodiments, the present embodiments provide a computer storage medium having a computer program stored thereon, which when executed by a processor, implements the methods described in the above embodiments.
Based on the methods described in the above embodiments, the present application provides a computer program product that, when executed by a processor, implements the methods described in the above embodiments.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present application may be split into more components/steps, and two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the purposes of the embodiments of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be stored on such software processes on a recording medium using a general purpose computer, special purpose processor, or programmable or special purpose hardware such as an ASIC or FPGA. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a memory component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the navigation methods described herein. Further, when the general-purpose computer accesses code for implementing the navigation method shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the navigation method shown herein.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The embodiments of the present application are described, but not limited thereto, and various changes and modifications may be made by those skilled in the art without departing from the spirit and scope of the embodiments of the present application, so that all equivalent technical solutions are also within the scope of the embodiments of the present application, and the scope of the embodiments of the present application is defined by the claims.

Claims (14)

1. A method for adjusting the transmission power of a radio frequency field, which is applied to a first device in near field communication, wherein the first device and a second device realize near field communication connection, the method comprising:
generating the radio frequency field, wherein the transmitting power of the radio frequency field is initial transmitting power, and enabling the second equipment to send a response signal to the first equipment by inducing the radio frequency field;
and adjusting the initial transmitting power to target transmitting power according to the connection condition between the response signal sent by the second equipment and the second equipment, wherein the target transmitting power is used for enabling the second equipment to be connected with the first equipment at the current connection distance.
2. The method of claim 1, wherein the initial transmit power is determined based on at least one of a type of the second device, a location of the first device.
3. The method of claim 1 or 2, wherein the initial transmit power is set to a maximum transmit power selectable by the first device.
4. A method according to any one of claims 1-3, wherein said adjusting the initial transmit power to a target transmit power according to a connection condition between a response signal sent by the second device and the second device comprises:
and if the first equipment and the second equipment cannot establish connection, adjusting the initial transmitting power by a first preset amount until the first equipment and the second equipment establish connection, and taking the transmitting power for establishing connection as the target transmitting power.
5. The method of claim 4, wherein the first predetermined amount is determined based on at least one of a type of the second device, a location of the first device.
6. The method according to any one of claims 1-3, wherein the adjusting the initial transmit power to a target transmit power according to a connection condition between the response signal sent by the second device and the second device further comprises:
and if the first equipment and the second equipment fail to establish connection, adjusting the initial transmitting power according to the power of the response signal sent by the second equipment and historical connection data until the first equipment and the second equipment establish connection, taking the transmitting power for establishing connection as the target transmitting power, wherein the historical connection data is the power of the response signal sent by the second equipment when the first equipment and the second equipment previously establish connection.
7. The method of claim 6, wherein the adjusting the initial transmit power to a target transmit power according to a connection between the response signal sent by the second device and the second device further comprises:
and if the first equipment and the second equipment are connected, and the power of the response signal sent by the second equipment is larger than or equal to a power threshold, adjusting the target transmitting power to stable transmitting power, wherein the stable transmitting power is used for enabling the second equipment and the first equipment to enter a stable connection state, and the power threshold is set according to the ratio of the bit energy of the second equipment to the power spectral density of white noise.
8. The method of claim 7, wherein the adjusting the target transmit power to a stable transmit power comprises: and regulating the initial transmitting power to the target transmitting power at a safe occasion.
9. The method of claim 6, wherein the adjusting the initial transmit power to a target transmit power according to a connection between the response signal sent by the second device and the second device further comprises:
and if the first equipment and the second equipment fail to establish connection and the response signal sent by the second equipment is not received, the initial transmitting power is reduced by a second preset amount until the first equipment and the second equipment establish connection, the transmitting power for establishing connection is used as the target transmitting power, or the connection between the first equipment and the second equipment is abandoned.
10. The method of claim 5, wherein the type of the second device comprises NFC a cards, NFC B cards, NFC F, and NFC V cards.
11. The method of claim 5, wherein the location of the first device is obtained by an external device in communication with the first device.
12. A transmit power adjustment apparatus for a radio frequency field, applied to a first device for near field communication, the first device implementing near field communication connection with a second device, the apparatus comprising:
the generating module is used for generating the radio frequency field, the transmitting power of the radio frequency field is initial transmitting power, and the second equipment transmits a response signal to the first equipment by inducing the radio frequency field;
the adjusting module is used for adjusting the initial transmitting power to target transmitting power according to the connection condition between the response signal sent by the second equipment and the second equipment, and the target transmitting power is used for enabling the second equipment to be connected with the first equipment under the current connection distance.
13. An electronic device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
The memory is configured to store at least one executable instruction that causes the processor to perform operations corresponding to the method according to any one of claims 1-11.
14. A storage medium having stored thereon a computer program which, when executed by a processor, performs the operations corresponding to the method of any of claims 1-11.
CN202311547846.2A 2023-11-16 2023-11-16 Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field Pending CN117544186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311547846.2A CN117544186A (en) 2023-11-16 2023-11-16 Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311547846.2A CN117544186A (en) 2023-11-16 2023-11-16 Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field

Publications (1)

Publication Number Publication Date
CN117544186A true CN117544186A (en) 2024-02-09

Family

ID=89783770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311547846.2A Pending CN117544186A (en) 2023-11-16 2023-11-16 Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field

Country Status (1)

Country Link
CN (1) CN117544186A (en)

Similar Documents

Publication Publication Date Title
CN112399542B (en) Backscattering communication method and related equipment
KR101136314B1 (en) Mobile communication terminal and transmission power control method employed in mobile communication terminal
WO2021171723A1 (en) Communication device and control method
US8493901B2 (en) Wireless communication system, wireless communication apparatus, and method of control thereof
US9912567B2 (en) Method of handling NFC device with non-fixed low power polling number and NFC device using the same
US10104499B2 (en) Motor vehicle key location system using wireless signal
US9826364B2 (en) Systems and methods for location-based tuning
US20150098348A1 (en) Wireless communicaton device, wireless communication system, wireless communication method, and wireless apparatus
US20230107204A1 (en) Communication method and device, and storage medium
US11064445B2 (en) Method and device for power control
CN107438283B (en) Personal hotspot device and method with WiFi power control function
CN104039001A (en) Power control method and device
CN108289304B (en) Information processing method, intelligent gateway and storage medium
US8583074B2 (en) Wireless security messaging model
CN117544186A (en) Method, device, equipment and storage medium for adjusting transmitting power of radio frequency field
JP2006279855A (en) Wireless communication system and communication control method thereof
US11070172B2 (en) Method and device for reducing power consumption of PA
JP2003078470A (en) Battery saving method, mobile equipment, storage medium with battery save processing program recorded thereon
US20190110258A1 (en) Method for Adjusting Radio-Frequency Power, Zigbee Router, Sensor and System
JP2005175890A (en) Wireless communication equipment and its program
EP2685631A2 (en) System and method for quick power amplifier control
KR102297144B1 (en) Electronic apparatus for controlling power of rf signal and operating method thereof
CN109819504B (en) Wireless communication system, apparatus and method thereof
US10461811B2 (en) Method and system for automatic power control (APC) in a communications device that communicates via inductive coupling
EP4199381A1 (en) Electronic device for detecting error and operation method thereof

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