An antenna position adjustable near field communication module, method and device
By incorporating moving and driving components into the near-field communication module and adjusting the position of the near-field antenna using control components, the problem of communication instability caused by differences in signal strength between different devices is solved, resulting in higher communication success rate and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
- Filing Date
- 2025-10-29
- Publication Date
- 2026-05-19
AI Technical Summary
Differences in signal strength between different near-field communication devices lead to unstable communication success rates and affect communication performance.
By setting up moving and driving components in the near-field communication module, and using control components to adjust the position of the near-field antenna, the signal strength can be made to meet the communication requirements.
It improves the stability and success rate of near-field communication, reduces the impact of external interference on communication, and ensures stable connections between devices.
Smart Images

Figure CN121055984B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to one or more embodiments in the field of near-field communication technology, and particularly to a near-field communication module with adjustable antenna position. This specification also relates to a near-field communication method, a near-field communication device, and a computing device. Background Technology
[0002] With the development of communication technology, Near Field Communication (NFC), as a short-range wireless communication protocol, has been widely used in various fields such as mobile payment, information exchange, smart home control, access control, identity authentication and recognition, electronic ticketing, and anti-counterfeiting. Devices participating in NFC can include initiating devices and target devices, also known as master devices and slave devices. In practical applications, different initiating devices may emit different signal strengths due to hardware or software settings. For the same target device, the strength of the signal emitted by different initiating devices may affect the success rate of communication with the target device. Therefore, a solution is needed to improve the stability of NFC. Summary of the Invention
[0003] In view of this, one or more embodiments of this specification provide a near-field communication module, method, and device to improve the stability of near-field communication.
[0004] According to a first aspect of one or more embodiments of this specification, a near-field communication module is provided, comprising: a near-field antenna, a moving part, a driving part, and a control part; the near-field antenna is fixed to the moving part; the moving part is connected to the driving part, and the driving part is used to drive the moving part to move in a preset direction, such that the near-field antenna moves to a target position; the signal strength of the near-field antenna at the target position meets the near-field communication requirements; the driving part is connected to the control part, and the control part is used to control the operating state of the driving part.
[0005] According to a second aspect of one or more embodiments of this specification, a method for near-field communication is provided, the method being applied to a near-field communication module with an adjustable antenna position, the near-field communication module including a near-field antenna for near-field communication, a moving component, a driving component, and a control component; the method includes: acquiring the signal strength of the near-field antenna; determining whether the signal strength meets a preset threshold, and obtaining a determination result; if the determination result indicates that the signal strength does not meet the preset threshold, generating a driving control signal and sending it to the driving component, so that the driving component drives the moving component to move the near-field antenna to a target position.
[0006] According to a third aspect of one or more embodiments of this specification, a near-field communication device is provided, the near-field communication device including the above-described near-field communication module, or a method capable of performing the above-described near-field communication.
[0007] According to a fourth aspect of one or more embodiments of this specification, a computing device is provided, including a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor, when executing the computer instructions, implements the steps of the above-described near-field communication method.
[0008] According to a fifth aspect of one or more embodiments of this specification, a computer-readable storage medium is provided that stores computer instructions which, when executed by a processor, implement the steps of the near-field communication method described above.
[0009] According to a sixth aspect of one or more embodiments of this specification, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the steps of the near-field communication method described above.
[0010] One embodiment of this specification can achieve at least the following beneficial effects: by setting a moving part that enables the near-field antenna to move, under the action of the control part and the drive part, the moving part can move the near-field antenna to a target position where the signal strength meets the requirements of near-field communication. This can enable the device performing near-field communication to maintain stable communication, improve communication stability, and also improve the success rate of near-field communication. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a schematic diagram illustrating an application scenario of a near-field communication module with an adjustable antenna position, provided as an embodiment of this specification.
[0013] Figure 2 This is a schematic diagram of the structure of a near-field communication module with adjustable antenna position, provided as an embodiment of this specification.
[0014] Figure 3 This is a schematic diagram of the structure of a near-field communication module with adjustable antenna position, provided as an embodiment of this specification.
[0015] Figure 4This is a schematic diagram of the structure of a near-field communication module with adjustable antenna position, provided as an embodiment of this specification.
[0016] Figure 5 This is a schematic diagram of the structure of a near-field communication module with adjustable antenna position, provided as an embodiment of this specification.
[0017] Figure 6 This is a schematic diagram of the structure of a near-field communication module with adjustable antenna position, provided as an embodiment of this specification.
[0018] Figure 7 This is a schematic diagram of the structure of a near-field communication module with adjustable antenna position, provided as an embodiment of this specification.
[0019] Figure 8 A flowchart illustrating a near-field communication method provided in one embodiment of this specification;
[0020] Figure 9 A flowchart illustrating a near-field communication method provided in one embodiment of this specification;
[0021] Figure 10 This is a structural block diagram of a computing device provided for one embodiment of this specification. Detailed Implementation
[0022] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.
[0023] This specification uses specific terms to describe embodiments thereof. Terms such as "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of this specification. Therefore, it should be emphasized and noted that references to "an embodiment," "one embodiment," or "an alternative embodiment" in different locations throughout this specification do not necessarily refer to the same embodiment. Furthermore, those skilled in the art can combine and integrate the different embodiments or examples described herein, as well as the features of those different embodiments or examples, without contradiction.
[0024] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this specification. The singular forms “a,” “an,” “an,” “the,” and “the” used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this specification includes any or all possible combinations of one or more associated listed items. The terms “comprising,” “including,” or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, product, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, product, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, product, or apparatus that includes said elements is not excluded.
[0025] Although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second, and similarly, second may also be referred to as first, without departing from the scope of one or more embodiments of this specification. Ordinal numbers such as first and second do not necessarily indicate order; often they are used to distinguish objects. For example, first server and second server usually refer to two servers. To distinguish these two servers, they are described as first server and second server. Of course, sometimes these two servers may be the same server. Depending on the context, the word "if" as used herein can be interpreted as "when," "when," or "in response to a determination."
[0026] In this specification, unless explicitly stated otherwise, "receiving and sending data" does not necessarily mean direct receiving and sending; it can also mean indirect receiving and sending. For example, A receiving data sent by B can be understood as A directly receiving the data sent by B, or it can be understood as A indirectly receiving the data sent by B through other entities such as C. Similarly, B sending data to A can be understood as B sending the data directly to A, or it can be understood as B indirectly sending the data to A through other entities such as C. Here, C can be one entity, or it can be two or more entities.
[0027] In this specification, unless explicitly stated otherwise, the relationships between structures can be direct or indirect. For example, when describing "A is connected to B," unless it is explicitly stated that A and B are directly connected, it should be understood that A can be directly connected to B or indirectly connected to B. Similarly, when describing "A is on top of B," unless it is explicitly stated that A is directly above B (AB is adjacent and A is above B), it should be understood that A can be directly above B or indirectly above B (AB is separated by other elements, and A is above B). And so on.
[0028] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties. The collection, use and processing of related data shall comply with the relevant laws, regulations and standards of the relevant regions, and corresponding operation entry points shall be provided for users to choose to authorize or refuse.
[0029] The following explains the terms and concepts used in one or more embodiments of this specification.
[0030] NFC (Near Field Communication) is a short-range wireless communication technology with a typical operating distance of less than 10cm, used in scenarios such as mobile payments, access control cards, and public transport cards. In NFC, the device that actively transmits signals can be called the master device or the transmitting device, such as an NFC card reader or a device in card reader mode. The device that passively responds to the signals transmitted by the master device can be called the slave device or the target device, such as an NFC tag, a device in card emulation mode, or a device with an NFC tag.
[0031] Figure 1 This diagram illustrates an application scenario of a near-field communication module with an adjustable antenna position, as provided in one embodiment of this specification. Figure 1As shown, the first device 1 may include a near-field communication module 102 with an adjustable antenna position. During near-field communication with a second device 2 that also has near-field communication capabilities, the near-field communication module 102 can adjust the position of the near-field antenna in the first device 1 to ensure that the signal strength of the near-field antenna meets the requirements of near-field communication. This ensures the communication stability between the antennas of the first device 1 and the second device 2 during near-field communication via electromagnetic coupling and other methods, and also improves the communication success rate. Alternatively, before engaging in near-field communication with the second device, the first device can adjust the antenna position based on the intensity of the sensed external interference signal, placing the near-field communication in a position less affected by external interference and reducing the impact of external interference on the first device. For details on the various components and specific communication processes involved in near-field communication between the first and second devices, please refer to relevant technologies; further details are omitted here.
[0032] In one implementation, the first device 1 can be a slave device for near-field communication (NFC), also known as a tag device; the second device 2 can be a master device for NFC, also known as a reader / writer device. The first device 1 can be a device with an NFC tag, or a device in card emulation mode; the second device 2 can be a device in card reader mode. The second device 2 can transmit radio frequency signals through its NFC antenna to detect the presence of a slave device nearby. After confirming the presence of a slave device, it can acquire tag information provided by the slave device, or write tag information to the slave device, etc. The first device 1 can sense or respond to the radio frequency signals emitted by the second device 2 through its NFC antenna, or the first device 1 can actively emit radio frequency excitation signals to encourage the second device 2 to wake up its normal communication mode, or to facilitate the communication process with the second device 2.
[0033] In another implementation, the first device 1 can be a master device for near-field communication (NFC), also known as a reader / writer device; the second device 2 can be a slave device for NFC, also known as a tag device. The second device 2 can be a device with an NFC tag, or a device in card emulation mode; the first device 1 can be a device in card reader mode. The first device 1 can emit radio frequency signals through its near-field antenna to detect the presence of a slave device nearby. After confirming the presence of a slave device, it can acquire tag information provided by the slave device, or write tag information to the slave device, etc. The second device 2 can sense or respond to the radio frequency signals emitted by the first device 1 through its near-field communication antenna, or the second device 2 can actively emit radio frequency excitation signals to encourage the first device 1 to wake up its normal communication mode, or to facilitate the communication process with the first device 1.
[0034] In practical applications, the two devices performing near-field communication can also communicate in a point-to-point manner. As one implementation method, the first device 1 and the second device 2 can be in point-to-point mode.
[0035] The first device 1 and / or the second device 2 may include devices with near-field communication (NFC) functionality, such as portable terminal devices like smartphones, smartwatches, wristbands, laptops, and tablets; smart home devices; in-vehicle devices; payment devices like POS machines and self-service checkout machines; or devices used for processing payment transactions, such as payment devices used at cash registers or self-service checkouts; or devices used for processing check-in, login, access control, and turnstiles, such as devices used for check-in via NFC for going to work, school, or participating in activities; devices for member login or application login via NFC; access control devices for residential or office buildings; card readers for public transportation such as buses and subways; or devices for identity or ticket verification at tourist attractions, events, or concerts. The device acting as a slave device in either the first or second device may also be a near-field communication tool such as an NFC tag or card. The first device and the second device can be of the same type, such as both being smartphones; or the first device and the second device can be of different types, such as the first device being a cash register and the second device being a smartphone, or the first device being a POS machine and the second device being a bank card, etc.
[0036] In practical applications, a device with an adjustable antenna position near-field communication module can be either one of the devices participating in near-field communication, or both communicating parties can have near-field communication modules with adjustable antenna positions. For details on the specific near-field communication process, please refer to relevant technologies; they will not be elaborated upon here.
[0037] This application provides a near-field communication module with adjustable antenna position. This application also relates to a near-field communication method and a near-field communication device, which will be described in detail in the following embodiments.
[0038] Figure 2 This is a schematic diagram of a near-field communication module with an adjustable antenna position, provided as an embodiment of this specification.
[0039] like Figure 2As shown, the near-field communication module may include a near-field antenna 202, a moving component 204, a driving component 206, and a control component 208. The near-field antenna 202 can be fixed to the moving component 204 and can move with the moving component. The moving component 204 is connected to the driving component 206, which can drive the moving component 204 to move in a preset direction, causing the near-field antenna 208 to move to a target position. At the target position, the signal strength of the near-field antenna 202 meets the near-field communication requirements. The driving component 206 can be connected to the control component 208, which controls the operating state of the driving component 206, thereby driving the moving component 204 to move in the preset direction.
[0040] The near-field antenna 202 can be a near-field antenna for near-field communication, which can be connected to an NFC near-field communication chip, and can also be called a near-field communication NFC antenna. The near-field antenna can include metal components such as metal coils or metal sheets that can generate electromagnetic induction. If the near-field communication module is a module in a near-field communication reader / writer device, the near-field antenna can be an antenna for the reader / writer device to transmit radio frequency signals. If the near-field communication module is a module in a near-field communication tag-side device, the near-field antenna can be a tag antenna for sensing or responding to radio frequency signals emitted by the reader device; or, if the near-field communication tag-side device has the function of actively transmitting excitation signals, the near-field antenna can also be an excitation antenna for transmitting excitation signals.
[0041] The movable component 204 can be a movable part that can move relative to the main body of the near-field communication module or the main body of the first device having the near-field communication module. For example, the movable component can include a movable support, platform, etc., and can move in directions such as up and down, left and right, or front and back. The near-field antenna can be fixed to the movable component, and the movable component can carry the near-field antenna to move.
[0042] The driving component 206 can be a component capable of driving the moving component to move; for example, the driving component can include a component capable of providing driving force, such as a motor. The driving component can be connected to the moving component and can drive the moving component to move, thereby enabling the near-field antenna to be positioned.
[0043] The control unit 208 may be a component with logic processing capabilities, capable of sending control signals to the driving unit to control the operating state of the driving unit. For example, the control unit may include a printed circuit board with multiple components, a microcontroller unit (MCU), etc. If the driving unit includes components such as a motor, the control unit can be used to control the rotation direction of the motor, thereby controlling the position of the moving near-field antenna.
[0044] The target location can represent the position where the signal strength of the near-field antenna meets the requirements of near-field communication. The signal strength of the near-field antenna at this target location must meet a preset threshold or be within a preset signal range. The specific preset threshold or range can be set according to actual service requirements. For example, by statistically analyzing the near-field communication success rate at different locations, the signal strength of the near-field antenna at a success rate greater than 90% or 95% can be set as the preset threshold. Alternatively, a range including this signal strength can be selected as the preset signal range. Another example is determining the preset threshold or preset signal range based on the requirements or regulations of the near-field communication protocol used by both devices conducting near-field communication. The specific method for determining the target location is not limited here, as long as it meets the actual service requirements.
[0045] In at least one embodiment of this specification, the control component can acquire signal strength information at the near-field antenna according to a preset period or frequency, and then control the working state of the driving component based on the signal strength information, thereby driving the moving component to move so that the near-field antenna can move to the target position.
[0046] In one implementation, the control component can be used to acquire the signal strength of the near-field antenna. If the signal strength acquired by the control component is greater than or equal to a first preset threshold, the control component controls the driving component to move in a first direction, causing the moving component to move away from the second device. Alternatively, if the signal strength acquired by the control component is less than or equal to a second preset threshold, the control component controls the driving component to move in a second direction, causing the moving component to move closer to the second device. The second device can be another device that performs near-field communication with the first device having the near-field communication module.
[0047] The control unit can be connected to the near-field antenna to acquire the signal at the near-field antenna. The control unit may include signal judgment or signal conversion circuitry to determine the signal strength at the near-field antenna. Alternatively, the control unit can be connected to the NFC chip of the near-field antenna to acquire the signal strength from the NFC chip. The driving unit may include driving elements such as a motor, and the movement of the near-field antenna can be achieved by controlling the forward or reverse rotation of the motor.
[0048] In practical applications, the signal strength of a near-field antenna can be represented by electric field strength, magnetic field strength, current value, voltage value, etc. The first preset threshold and the second preset threshold can be the same or different. For example, the first preset threshold can be the right endpoint of the signal range that meets the requirements of near-field communication, and the second preset threshold can be the left endpoint, etc.
[0049] In one implementation, the outer casing surface of the first device near the second device can be used as a reference position. The control component can control the driving component to move the moving component away from or near the reference position, so that the near-field antenna in the first device moves away from or near the second device, thereby ensuring the communication stability between the first device and the second device.
[0050] In practical applications, different second devices may emit radio frequency signals with varying strengths due to differences in hardware or software. If the signal strength emitted by the second device is weak, the signal strength sensed by the near-field antenna of the first device will also be weak. If the signal strength is below a second preset threshold, the control component in the first device can generate a control signal to move the near-field antenna closer to the second device, thereby increasing the near-field communication signal strength between the first and second devices. Conversely, if the signal strength emitted by the second device is strong, or if the coupling between the first and second devices is too large, the signal strength sensed by the near-field antenna of the first device will be strong. If the signal strength exceeds the first preset threshold, the control component in the first device can generate a control signal to move the near-field antenna away from the second device, thereby weakening the near-field communication signal strength between the first and second devices. This improves the stability and success rate of communication.
[0051] To facilitate communication, the first device may include a unit for transmitting excitation signals, and the near-field antenna may be an antenna for transmitting excitation signals. Assuming the strength of the excitation signal emitted by the first device remains constant, some second devices may experience excessive coupling, leading to the ejection of the card packet. For example, if the first device acts as the tag side, the second device should ideally be in reader mode, but excessive coupling might cause the second device to enter card emulation mode, preventing near-field communication between the first and second devices. To address this, in at least one embodiment of this specification, the near-field antenna can be moved away from the second device. Even if the strength of the excitation signal emitted by the second device remains constant, this reduces the coupling between the first and second devices, weakening the effect of the excitation signal from the first device on the second device and preventing accidental card ejection. Similarly, there may be situations where the excitation signal emitted by the first device cannot effectively reach the second device. The movable near-field antenna in the first device can sense the signal from the second device during the transmission of the excitation signal or during the pulse interval. Based on the signal strength, it can be determined whether to move the near-field antenna away from or closer to the second device.
[0052] The near-field antenna in the near-field communication module described in this specification may include one near-field antenna, or it may include two or more near-field antennas. As one implementation, such as... Figure 3As shown, the near-field antenna includes a first near-field antenna 302 and a second near-field antenna 304, and the moving component includes a first bracket 306 and a second bracket 308; the first near-field antenna 302 is fixed on the first bracket 306, and the second near-field antenna 304 is fixed on the second bracket 308.
[0053] Optionally, the first bracket 306 can be a movable bracket, and the driving component is used to drive the first bracket to move in a preset direction, so that the first near-field antenna 302 moves to the target position. The second bracket 308 can be a fixed bracket, and the second near-field antenna is in a fixed state. The near-field communication module can improve communication stability by moving the position of the first near-field antenna. The second bracket can be fixed to a fixed base for mounting the near-field communication module, or it can be fixed to a mounting component of the first device where the near-field communication module is located. The driving component can drive the first bracket to move, but does not drive the second bracket to move.
[0054] For example, assuming the first device with the aforementioned near-field communication module is in an idle or initial state, the first near-field antenna and the second near-field antenna are located on the same horizontal plane, for example, the first near-field antenna is located within the loop formed by the second near-field antenna. When a second near-field communication device is present nearby, the first near-field antenna and / or the second near-field antenna can electromagnetically couple with the antenna of the second device. The control unit can obtain the signal strength information of the first near-field antenna and determine whether the signal strength of the first near-field antenna meets the requirements. For example, if the signal strength of the first near-field antenna is greater than or equal to a first preset threshold, the control unit can control the drive unit to move, causing the first bracket to carry the first near-field antenna to move away from the second device until it moves to a target position less than or equal to the first preset threshold. Alternatively, if the signal strength of the first near-field antenna is less than or equal to a second preset threshold, the control unit can control the drive unit to move, causing the first bracket to carry the first near-field antenna to move closer to the second device until it moves to a target position greater than or equal to the second preset threshold.
[0055] Optionally, both the first and second supports can be movable supports, and the driving component can drive the first and second supports to move synchronously or asynchronously. Specifically, the driving component can drive the first support to move in a first preset direction, so that the first near-field antenna moves to a first target position; and / or, the driving component can drive the second support to move in a second preset direction, so that the second near-field antenna moves to a second target position. In practical applications, the driving component used to drive the first support to move and the driving component used to drive the second support to move can be the same driving component or different driving components. The first target position and the second target position can be at the same height or at different heights.
[0056] For example, when the first device with the aforementioned near-field communication module is in an idle or initial state, the first near-field antenna and the second near-field antenna are located on the same horizontal plane or at different horizontal positions. When a second near-field communication device is present nearby, the first and second near-field antennas can electromagnetically couple with the antenna of the second device. One implementation method is as follows: the control unit can acquire the signal strength information of the first near-field antenna, determine whether the signal strength of the first near-field antenna meets the requirements, and if it does not meet the requirements, adjust the position of the first near-field antenna. If the signal strength of the first near-field antenna still does not meet the requirements when it is adjusted to a preset limit position, the control unit can control the second bracket to move the second near-field antenna until the signal strength of the first near-field antenna meets the requirements. Alternatively, the position of the second near-field antenna can be adjusted first, and if the requirements are still not met after the second near-field antenna is adjusted to the preset limit position, then the position of the first near-field antenna can be adjusted. Another implementation method is as follows: If the signal strength of the first near-field antenna does not meet the requirements, the position of the first near-field antenna can be adjusted once or multiple times according to the first step size. If the requirements are still not met after adjustment, the position of the second near-field antenna can be adjusted once or multiple times according to the second step size. This process of alternatingly adjusting the positions of the first and second near-field antennas continues until the requirements are met. Another implementation method is as follows: If the signal strength of the first near-field antenna does not meet the requirements, the positions of the first and second near-field antennas can be adjusted simultaneously, moving the antenna positions according to the same or different step sizes.
[0057] For example, the control unit can acquire signal strength information of both the first and second near-field antennas, or different control units can be used to acquire the signal strength information of the first and second near-field antennas separately. If the signal strength of the first near-field antenna does not meet a first preset range or the signal strength of the second near-field antenna does not meet a second preset range, the position of the first and / or second near-field antenna can be adjusted. During the adjustment process, the control unit can continuously acquire the signal strength information of the first and / or second near-field antennas at the new positions and then make a judgment until the signal strength of the first and second near-field antennas meets the first and second preset ranges respectively. The movement rules of the first and second near-field antennas can be set according to actual needs, which will not be elaborated here.
[0058] In one or more embodiments of this specification, when the near-field communication module is in its initial state, such as when the first device with the near-field communication module is idle, or when there are no other near-field communication devices nearby for interaction, the first near-field antenna 302 and the second near-field antenna 304 may be at the same horizontal position, or the first near-field antenna 302 and the second near-field antenna 304 may be at different horizontal positions. For example, the first near-field antenna may be above the second near-field antenna, or the second near-field antenna may be above the first near-field antenna. The first near-field antenna and the second near-field antenna may be antennas with similar shapes but different sizes. For example, the first near-field antenna may be circular, square, or other shapes, and the second near-field antenna may be a ring. The first near-field antenna may be located inside the ring of the second near-field antenna, and the centers of the first near-field antenna and the center lines of the second near-field antenna may coincide. Alternatively, the first near-field antenna may be located to the side of the second near-field antenna, or the first near-field antenna and the second near-field antenna may be symmetrically arranged, and so on.
[0059] In practical applications, if the first near-field antenna can be located within the loop of the second near-field antenna, the diameter of the first support can be smaller than the inner loop diameter of the second near-field antenna. The second support can be a ring that matches the shape of the second near-field antenna, or it can have a hollow area so that the first support carrying the first near-field antenna can move above or below the second near-field antenna. The specific shape and positional relationship of the first and second supports can be set according to actual needs, and will not be elaborated here.
[0060] The first near-field antenna can be connected to a chip or control component for controlling the first near-field antenna, and the second near-field antenna can be connected to a chip or control component for controlling the second near-field antenna; alternatively, the first and second near-field antennas can be connected to the same chip or control component. For example, the first near-field antenna can be connected to an excitation signal control component (such as a control unit) for transmitting an excitation signal; the second near-field antenna can be connected to a near-field communication control component (such as an NFC tag chip or a reader chip) for sending information to be transmitted to a second device. Alternatively, the second near-field antenna can be connected to an excitation signal control component for transmitting an excitation signal; the first near-field antenna can be connected to a near-field communication control component (such as an NFC tag chip or a reader chip) for sending information to be transmitted or actively transmitting radio frequency signals to a second device. Furthermore, both the first and second near-field antennas can be connected to a near-field communication control component and can both serve as antennas for transmitting information via near-field communication. Finally, both the first and second near-field antennas can be connected to an excitation signal control component and can both be used to transmit excitation signals. For example, the first and second near-field antennas can be connected to both the near-field communication control component and the excitation signal control component, thus enabling them to be used for both information transmission and excitation signal transmission. The connection relationships of the various near-field antennas can be set according to actual needs; please refer to relevant technologies for details.
[0061] For example, a first near-field antenna provides an excitation signal, a first device is a slave device in near-field communication, and a second device is a master device in near-field communication. As the second device approaches the first device, the first near-field antenna can sense the radio frequency (RF) signal emitted by the second device. If the sensed RF signal strength is weak, the control unit of the first near-field antenna can control it to emit an excitation signal to facilitate communication with the second device. Alternatively, the first near-field antenna can emit an excitation signal as soon as it senses the RF signal emitted by the second device, regardless of the sensed signal strength. It is assumed that the strength of the excitation signal emitted by the first near-field antenna is fixed, providing the same strength excitation signal to different second devices. However, in practical applications, the signal strength emitted by different second devices may differ. Under the influence of the same excitation signal, some second devices may mistakenly enter card emulation mode, preventing near-field communication with the first device and affecting the user experience. In one embodiment of this specification, after the first near-field antenna emits an excitation signal or during the transmission of the excitation signal, the first near-field antenna or the second near-field antenna can also sense the feedback from the second device under the influence of the excitation signal. The control component can adjust the position of the first near-field antenna emitting the excitation signal based on the signal strength of the first or second near-field antenna. For example, if the signal strength of the second device detected by the first or second near-field antenna under the influence of the excitation signal is greater than or equal to a first preset threshold, the first near-field antenna can be moved away from the second device to weaken the excitation signal strength sensed by the second device and prevent the second device from accidentally ejecting a card. If the signal strength is less than or equal to the second preset threshold, the first near-field antenna can be moved closer to the second device to enhance the excitation signal strength sensed by the second device, promoting the second device to enter the normal card-finding mode from the power consumption mode, or improving the near-field communication efficiency between the second device and the first device and reducing energy loss. In practical applications, if the first near-field antenna is not required to emit an excitation signal, the position of the first near-field antenna may not be adjusted. Alternatively, in order to improve the communication efficiency between the first device and the second device, even if the first near-field antenna does not transmit an excitation signal, the position of the first near-field antenna can be adjusted according to the signal strength after the first device obtains the radio frequency signal of the first device.
[0062] In at least one embodiment of this specification, the near-field communication module may employ mechanical structures such as lead screws, rack and pinion gears, or cam push rods to move the near-field antenna. Alternatively, shape memory metals may be used to move the near-field antenna through deformation.
[0063] As one implementation method, such as Figure 4As shown, the moving part 204 may include an antenna bracket 402 and a lead screw assembly. The lead screw assembly may include a lead screw shaft 404. The driving part 206 is connected to one end of the lead screw shaft 404 and is used to drive the lead screw shaft 404 to rotate. The near-field antenna 202 is fixed on the antenna bracket 402. The antenna bracket 402 has an internal thread that matches the external thread of the lead screw shaft 404. As the lead screw shaft 404 rotates, the antenna bracket 402 moves so that the near-field antenna 202 moves to the target position.
[0064] A lead screw assembly is a transmission component that converts rotational motion into linear motion. A drive component rotates the lead screw shaft, causing the nut to move linearly up and down. In the embodiments described in this specification, the antenna bracket has an internal thread that matches the external thread of the lead screw shaft. The antenna bracket can function as the nut portion of the lead screw assembly, moving up and down with the rotation of the lead screw shaft. Alternatively, an existing lead screw assembly can be used, with the antenna bracket fixed to the nut of the lead screw assembly, moving up and down with the up and down movement of the nut. Lead screw assemblies include, but are not limited to, sliding lead screws, ball screws, planetary ball screws, etc.
[0065] The near-field antenna is fixed to an antenna bracket, which has an internal thread that matches the external thread of a lead screw shaft. One end of the lead screw shaft is connected to a drive component; for example, one end of the lead screw shaft can be connected to a motor shaft, and the rotation of the motor drives the lead screw shaft to rotate. A control component generates a drive signal based on the signal strength in the near-field antenna, controlling the rotation of the drive component, such as controlling the motor to rotate forward or backward. The rotation of the drive component drives the lead screw shaft to rotate, and the antenna bracket engages with the lead screw shaft thread. The antenna bracket carries the near-field antenna, causing the near-field antenna to move away from or towards the second device.
[0066] In practical applications, a near-field communication module may include one near-field antenna, or it may include multiple near-field antennas. For example... Figure 4 As shown, the near-field antenna 202 in the near-field communication module may include a first near-field antenna 302 and a second near-field antenna 304, and the antenna bracket 402 includes a first bracket 306 and a second bracket 308; the first near-field antenna 302 is fixed on the first bracket 306, and the second near-field antenna 304 is fixed on the second bracket 308.
[0067] Optionally, the first bracket 306 includes an internal thread that matches the external thread of the lead screw shaft 404. As the lead screw shaft 404 rotates, the first bracket 306 moves to move the first near-field antenna 302 to a target position. The second bracket 308 is fixed to the base assembly of the near-field communication module and does not move with the rotation of the lead screw shaft 404.
[0068] The base assembly can refer to a base component used to fix at least some components in a near-field communication module. The base assembly is fixed relative to a first device having the near-field communication module. The base assembly may also include mounting parts in the first device for mounting various components, such as mounting parts on the housing of the first device. The second bracket may also be directly or indirectly mounted on the inner wall of the housing of the first device, as long as the stability of the second bracket can be ensured.
[0069] In one implementation, a driving component can be fixed below the base assembly. If the first near-field antenna and the second near-field antenna are arranged with their center lines coincident, the lead screw can rotate along the center line or in a direction parallel to the center line, thereby moving the first support. The first near-field antenna and the second near-field antenna can also be arranged horizontally, vertically, etc. The position of the moving component can be set according to the position of the antenna, so as to move the antenna without affecting the normal communication of the antenna.
[0070] To improve the stability of movement, the central area of the first support can be directly or indirectly connected to the lead screw shaft, allowing the first support to be subjected to a more balanced force and move more stably. The second support can be located below the first support. The second support or the base assembly used to fix the second support can have a hollow area through which the lead screw shaft can pass. Without moving the second support, the first support can move with the rotation of the lead screw shaft, achieving position adjustment of the first near-field antenna. The second support is fixed to the base assembly and does not move with the rotation of the lead screw shaft. Alternatively, the second support can be movably connected to the lead screw shaft, such as through a bearing, which also prevents the second support from moving with the rotation of the lead screw shaft.
[0071] The control unit can generate commands to control the rotation of the drive component based on the signal strength of the first or second near-field antenna. For example, the control chip can control the motor to rotate forward or backward, thereby driving the lead screw shaft to adjust the position of the first near-field antenna. The first near-field antenna is fixed on a first bracket, which has internal threads that mesh with the external threads of the lead screw shaft. When the drive component (such as a motor) rotates, it can drive the first bracket to move up and down. The second near-field antenna is fixed on a second bracket and remains stationary. The control unit may include an NFC sensing chip and a control chip. The NFC sensing chip can sense the NFC signal of the first or second near-field antenna. This NFC signal can reflect the signal strength of the second device that communicates with the first device in the near field. The control chip can control the forward and reverse rotation of the drive component such as the motor, and can also control parameters such as rotation speed.
[0072] Optionally, the second support can also be movable. Similar in structure to the first support, the second support can also be connected to the lead screw shaft via threads or other means, allowing the first and second supports to move synchronously. Alternatively, the second support and the lead screw shaft can be connected via a speed-converting component, resulting in different moving speeds for the first and second supports. Alternatively, the lead screw assembly can include a first lead screw assembly and a second lead screw assembly. The first support is connected to the lead screw shaft in the first lead screw assembly, allowing the first support to move as the lead screw shaft rotates; the second support is connected to the lead screw shaft in the second lead screw assembly, allowing the second support to move as the lead screw shaft rotates. In this way, the first and second near-field antennas can move synchronously or asynchronously.
[0073] As another implementation, the moving part can be a rack and pinion assembly to achieve the movement of the near-field antenna. For example... Figure 5 As shown, the moving component may include an antenna bracket 502, a gear assembly 504, and a rack assembly 506. The near-field antenna 202 is fixed on the antenna bracket 502. The antenna bracket 502 is fixed to one end of the rack assembly 506, and the other end of the rack assembly 506 is meshed with the gear assembly 504. The gear assembly 504 is connected to the driving component 206. The driving component 206 can drive the gear assembly 504 to rotate. As the gear assembly 504 rotates, the rack assembly 506 carries the antenna bracket 502 and moves it in a preset direction, causing the near-field antenna 204 to move to the target position.
[0074] A gear assembly and a rack assembly are used, where rotational motion is converted into linear motion through the meshing of the gear and rack. The near-field antenna is fixed to an antenna bracket, which has a rack structure, or the antenna bracket is connected to a rack assembly with a rack structure. The gear assembly can be fixed to the output shaft of a drive component (such as a motor). The gear and rack mesh, and when the drive component rotates, it drives the antenna bracket to move up and down. Assuming the near-field antenna can move vertically, the gear assembly 504 can rotate clockwise or counterclockwise under the action of the drive component. The rack assembly matches the gear assembly, and as the gear assembly rotates, the rack assembly can move vertically, allowing the antenna bracket fixed to the rack assembly to move the near-field antenna up and down. In practical applications, the position of the near-field communication module, gear assembly, or rack assembly can be determined according to the direction in which the near-field antenna needs to move.
[0075] A near-field communication module may include one near-field antenna, or it may include multiple near-field antennas. For example... Figure 5As shown, the near-field antenna 202 in the near-field communication module may include a first near-field antenna 302 and a second near-field antenna 304, and the antenna bracket 402 includes a first bracket 306 and a second bracket 308; the first near-field antenna 302 is fixed to the first bracket 306, and the second near-field antenna 304 is fixed to the second bracket 308. Optionally, the first bracket can be a movable bracket, and the second bracket can be a fixed bracket. Specifically, the first bracket is fixed to one end of the rack assembly, and as the rack assembly rotates, the rack assembly carries the first bracket to move in a preset direction, causing the first near-field antenna to move to the target position. The second bracket is fixed to the base assembly of the near-field communication module, and the second bracket does not move with the rotation of the gear assembly.
[0076] The base assembly can refer to a base component used to fix at least some components in a near-field communication module. The base assembly is fixed relative to a first device having the near-field communication module. The base assembly may also include mounting parts in the first device for mounting various components, such as mounting parts on the housing of the first device. The second bracket may also be directly or indirectly mounted on the inner wall of the housing of the first device, as long as the stability of the second bracket can be ensured.
[0077] In one implementation, a driving component such as a motor can be fixed below the base assembly. If the first near-field antenna and the second near-field antenna are arranged with their center lines coincident, the rack assembly can move along the direction of the center line or in a direction parallel to the center line, and the first near-field antenna can move away from or closer to the second device.
[0078] As one implementation, to improve the stability of movement, the central region of the first bracket can be directly or indirectly connected to one end of the rack assembly, allowing the first bracket to be subjected to a more balanced force and move more stably. The second bracket can be located below the first bracket, and the second bracket or the base assembly used to fix the second bracket can have a hollow region through which the rack assembly can pass. Without moving the second bracket, the first bracket can move with the rack assembly, thereby adjusting the position of the first near-field antenna.
[0079] In at least one embodiment of this specification, under certain conditions, the first near-field communication antenna and the second near-field antenna may be located in the same plane, or the height difference between the first near-field antenna and the second near-field antenna may be very small. In practical applications, the first near-field antenna may move in the region above the second near-field antenna, or it may move in the region below the second near-field antenna. The movement displacement region of the first near-field antenna can be set according to actual needs.
[0080] The control unit can generate commands to control the rotation of the drive components based on the signal strength from the first or second near-field antenna. For example, the control chip can control the motor to rotate forward or backward, thereby driving the gear to rotate. The gear meshes with the rack, and as the gear rotates, the rack moves up or down, adjusting the position of the first bracket so that the first near-field antenna can move away from or closer to the second device. The second near-field antenna is fixed on the second bracket and remains in a stationary position. The control unit may include an NFC sensing chip and a control chip. The NFC sensing chip can sense the NFC signal from the first or second near-field antenna. This NFC signal can reflect the signal strength of the second device that is communicating with the first device in the near field. The control chip can control the forward and reverse rotation of the drive components such as the motor, and can also control parameters such as rotation speed.
[0081] Optionally, the second support can also be movable, and its structure can be similar to that of the first support. The second support can also be connected to the rack assembly, allowing the first and second supports to move synchronously. Alternatively, the second support and the rack assembly can be connected via a speed-converting component, enabling the first and second supports to move at different speeds. Alternatively, the moving component can include two sets of gear assemblies and rack assemblies, controlling the movement of the first and second supports respectively. For example, the first gear assembly and the first rack assembly cooperate to move the first support, and the second gear assembly and the second rack assembly cooperate to move the second support. In this way, the first and second near-field antennas can move synchronously or asynchronously.
[0082] As another implementation, the moving part can be a cam-driven rod assembly to move the near-field antenna. Figure 6 and Figure 7 This is a schematic diagram of a near-field communication module with an adjustable antenna position, provided as an embodiment of this specification. Specifically, it can be a schematic diagram of a near-field communication module employing a cam-push-rod assembly. Figure 6 As shown, the moving component may include an antenna support 602 and a cam-push rod assembly 604; the cam-push rod assembly 604 includes a cam component 606 and a push rod component 608; one end of the push rod component 608 is fixedly connected to the antenna support 602, and the other end of the push rod component 608 contacts the cam component 606; the cam component 606 is connected to the driving component 206. The driving component 206 can drive the cam component 606 to rotate, and as the cam component 606 rotates, the push rod component 608 carries the antenna support 602 to move in a preset direction, so that the near-field antenna 202 moves to the target position.
[0083] A cam-push-rod assembly is used. A drive component rotates the cam, which in turn drives the push rod to move up and down, converting rotational motion into linear motion. The near-field antenna is fixed to an antenna bracket, which is connected to one end of the push rod assembly (specifically, a fixed connection). The antenna bracket can move along with the push rod assembly. Assuming the near-field antenna can move vertically, the cam component can rotate clockwise or counterclockwise under the action of the drive component. The push rod assembly can move along the outer surface of the cam component. As the cam component rotates, the push rod assembly can move vertically, allowing the antenna bracket on the fixed push rod assembly to move the near-field antenna up and down. In practical applications, the position of the near-field communication module or the cam-push-rod assembly can be determined according to the required direction of near-field antenna movement. The cam component can be selected based on requirements; for example, a disc cam, a sliding cam, or a cylindrical cam can be used.
[0084] To further improve the stability of near-field antenna movement, such as Figure 6 and Figure 7 As shown, the moving component may also include a spring 610 connected to the antenna support. One end of the spring can be connected to the antenna support, and the other end can be connected to the fixed base assembly. During the movement of the near-field antenna towards the second device, the spring can be gradually stretched, or extended to a greater extent; during the movement of the near-field antenna away from the second device, the spring can be gradually compressed, or its extension reduced. The base assembly can be located below the antenna support. The base assembly can also be used to limit the direction of movement of the push rod component. For example, if the near-field antenna needs to move vertically, the base assembly can be used to limit the push rod component to move vertically, but not in other directions. The base assembly may have a through hole that matches the push rod component. One end of the push rod component passes through this through hole and connects to the antenna support, while the other end contacts the cam component. Structurally, the base assembly can also be a frame component within the cam push rod assembly. The cam push rod assembly can use existing components; specific connection relationships and working principles can be found in related technologies.
[0085] A near-field communication module may include one near-field antenna, or it may include multiple near-field antennas. For example... Figure 6 and Figure 7 As shown, the near-field antenna 202 in the near-field communication module may include a first near-field antenna 302 and a second near-field antenna 304, and the antenna bracket 602 may include a first bracket 306 and a second bracket 308; the first near-field antenna 302 is fixed on the first bracket 306, and the second near-field antenna 304 is fixed on the second bracket 308.
[0086] Optionally, the first bracket 306 is fixedly connected to one end of the push rod component 608. As the cam component 606 rotates, the push rod component 608 carries the first bracket 306 to move in a preset direction, causing the first near-field antenna 302 to move to the target position. The second bracket 308 is fixed to the base assembly of the near-field communication module, and the second bracket 308 does not move with the rotation of the cam component 606.
[0087] The base assembly can refer to a base component used to fix at least some components in a near-field communication module. The base assembly is fixed relative to a first device having the near-field communication module. The second bracket and the base assembly can be the same device component; if the second bracket and the base assembly are the same device component, the second bracket can also be called the base assembly. Alternatively, they can be different device components, as long as they allow for the placement of the second near-field antenna. The base assembly may also include mounting parts in the first device for mounting various components, such as mounting parts on the housing of the first device. The second bracket may also be directly or indirectly mounted on the inner wall of the housing of the first device, as long as the stability of the second bracket is ensured. The spring can be located between the second bracket and the first bracket. The second bracket or the base assembly may have grooves for mounting the spring. Figure 6 This can be represented as a schematic diagram of the first near-field antenna at its upper limit position. Figure 7 This can be represented as a schematic diagram of the first near-field antenna at its lower limit position. For example... Figure 7 As shown, when the first near-field antenna is in the lower limit position, the first bracket can contact the second bracket or have a small gap. This can also reduce the length of the movable displacement of the first near-field antenna due to the spring height, which is beneficial for the near-field communication module to be adapted to a wider range of second devices.
[0088] In one implementation, a driving component such as a motor can be fixed below the base assembly. If the first near-field antenna and the second near-field antenna are arranged with their center lines coincident, the top rod component can move along the direction of the center line or in a direction parallel to the center line, and the first near-field antenna can move away from or closer to the second device.
[0089] In one implementation, to improve the stability of movement, the central region of the first bracket can be directly or indirectly connected to one end of the top rod component, allowing the first bracket to be subjected to a more balanced force and thus move more stably. The second bracket can be located below the first bracket, and the second bracket or the base assembly used to fix the second bracket can have a hollow region through which the top rod component can pass. Without moving the second bracket, the first bracket can move with the movement of the top rod component, thereby adjusting the position of the first near-field antenna.
[0090] The control unit can generate commands to control the rotation of the drive components based on the signal strength of the first or second near-field antenna. For example, the control chip can control the motor to rotate forward or backward, thereby driving the cam to rotate. The cam contacts the push rod, and under the action of the cam, the push rod moves up or down, adjusting the position of the first bracket so that the first near-field antenna can move away from or closer to the second device. The second near-field antenna is fixed on the second bracket and remains in a stationary position. The control unit may include an NFC sensing chip and a control chip. The NFC sensing chip can sense the NFC signal of the first or second near-field antenna. This NFC signal can reflect the signal strength of the second device that communicates with the first device in the near field. The control chip can control the forward and reverse rotation of the drive components such as the motor, and can also control parameters such as rotation speed.
[0091] Optionally, the second support can also be movable, and its structure can be similar to that of the first support. The second support can also be connected to the push rod component, allowing the first and second supports to move synchronously. Alternatively, the second support and the push rod component can be connected via a speed-converting component, enabling the first and second supports to move at different speeds. Alternatively, the moving component can include two sets of cam components and push rod components, controlling the movement of the first and second supports respectively. For example, the first cam component cooperates with the first push rod component to move the first support, and the second cam component cooperates with the second push rod component to move the second support. In this way, the first and second near-field antennas can move synchronously or asynchronously. The first and second cam components can be connected to the same drive component or to different drive components, depending on actual requirements.
[0092] As another implementation, the near-field communication module can use shape memory metal to achieve the movement of the near-field antenna. Shape memory metal, also known as shape memory alloy, is a smart material that can recover a preset shape within a specific temperature range. Optionally, the moving component may include a shape memory metal component; the driving component includes a current source; the current source is connected to the shape memory metal component to provide current to the shape memory metal component; and the control component is connected to the current source to control the current parameters output by the current source.
[0093] The shape memory metal component can include one or more types of shape memory metals, such as shape memory metal springs, shape memory metal drive wires, shape memory metal hyperelastic wires, and shape memory metal high-temperature wires. In at least one embodiment of this specification, the temperature of the shape memory metal component can be controlled by providing current to it, thereby achieving deformation control of the shape memory metal component. The shape memory metal component can be connected to an antenna support, and as the shape memory metal component deforms, the antenna support moves, realizing the movement of the near-field antenna. Assuming the length of the shape memory metal component at a first temperature is a first length, and the length at a second temperature is a second length, the first temperature is higher than the second temperature, and the first length is greater than the second length. As one implementation, the control component acquires the signal information of the near-field antenna. If the signal strength of the near-field antenna is greater than a preset threshold, a larger current can be provided to the shape memory metal component to increase its temperature, causing the length of the shape memory metal component to shorten, and the near-field antenna to move away from the second device; if the signal strength of the near-field antenna is greater than the preset threshold, a smaller current can be provided to the shape memory metal component to decrease its temperature, causing the length of the shape memory metal component to lengthen, and the near-field antenna to move closer to the second device.
[0094] If the near-field antenna includes multiple near-field antennas, such as a first near-field antenna and a second near-field antenna, and if the first near-field antenna is movable while the second near-field antenna is fixed, the shape memory metal component can be connected to the antenna support of the first near-field antenna to enable movement of the first near-field antenna. If both the first and second near-field antennas are movable, the same shape memory metal component can be used to move both the first and second near-field antennas, or different shape memory metal components can be used to move the first and second near-field antennas respectively.
[0095] In practical applications, the moving parts, lead screw assemblies, gear rack assemblies, and cam push rod assemblies may also include components such as limiting units, support units, and bases. The above description only outlines the main component structures from the perspective of primary functions; other components can be found in relevant technologies, as can their specific installation locations or connection methods, which will not be elaborated upon here. In practical applications, other moving parts capable of moving the near-field antenna can also be used, such as linear actuators.
[0096] If the near-field communication component includes a near-field communication antenna, for example, including a first near-field antenna, the above... Figures 4 to 6 The components related to the second bracket and the second near-field antenna can be removed from the structural diagram shown. The working principle can be found in the descriptions of the various embodiments.
[0097] In at least one embodiment of this specification, the stability of near-field communication is improved by adjusting the position of some near-field antennas in the near-field communication module. This allows for finer adjustment precision or granularity, making it easier to adjust to a position that meets the requirements of near-field communication.
[0098] In at least one embodiment of this specification, the stability of near-field communication is improved by adjusting the positions of multiple near-field antennas in the near-field communication module. This increases the adjustment range, allowing the near-field communication module to be adapted to more types of near-field communication devices. The movable distance of the near-field antenna can be on the order of millimeters; for example, the distance between the upper and lower limits of the near-field antenna's movement can be 10 millimeters or 20 millimeters, etc.
[0099] Based on the same idea, this specification also provides a near-field communication method. This method can be applied to the near-field communication modules in the foregoing embodiments, or to devices or equipment having the near-field communication modules in the foregoing embodiments. Figure 8 This is a flowchart illustrating a near-field communication method provided in one embodiment of this specification.
[0100] like Figure 8 As shown, the method may include:
[0101] Step 802: Obtain the signal strength of the near-field antenna.
[0102] A near-field antenna is an antenna that performs electromagnetic induction during near-field communication. It can be in the form of a metal coil, metal sheet, etc. A near-field antenna can include one or more antennas. If there are multiple near-field antennas, the aforementioned signal strength can be the signal strength of one or more of the antennas. The signal strength of a near-field antenna can represent its signal strength under the influence of external antenna devices or equipment. For example, if a near-field antenna is used as a near-field communication slave device, its signal strength can be the strength of the signal generated by electromagnetic induction after receiving a radio frequency signal emitted by the near-field communication master device (card reader device). Similarly, if a near-field antenna is used to transmit an excitation signal, its signal strength can be the strength of the excitation signal emitted by the near-field antenna, or it can represent the strength of the electromagnetic signal generated at the near-field antenna by the counterpart device or equipment (such as a card reader device) in response to the radio frequency signal emitted by the excitation signal after transmission.
[0103] Step 804: Determine whether the signal strength meets the preset threshold, and obtain the determination result.
[0104] Signal strength can be represented by data quantities such as voltage and current. The preset threshold can be a threshold that meets the requirements of near-field communication. Specifically, the preset threshold can represent a threshold that meets the communication requirements of the near-field communication process, or it can represent a preset threshold that ensures external interference signals do not affect the normal operation of the near-field communication module. For example, the value of the preset threshold can be determined based on information such as the near-field communication success rate and the near-field communication protocol used. The preset threshold can be a specific value or a range of values.
[0105] Step 806: If the judgment result indicates that the signal strength does not meet the preset threshold, a drive control signal is generated and sent to the drive component, so that the drive component drives the moving component to move the near-field antenna to the target position.
[0106] If the near-field communication module is installed inside the first device, the driving component can drive the moving component to move the near-field antenna closer to or further away from the housing, using the housing of the first device as a reference. The housing of the first device can be the limit position for the movement of the near-field antenna. If the housing of the first device is deformable, for example, it can extend inward or outward, the near-field antenna can also move a wider displacement with the deformation of the housing. The target position can represent a position that meets the near-field communication requirements, and the signal strength of the near-field antenna can meet a preset threshold. For example, when a second device exists near the first device with the near-field communication module, the signal strength of the near-field antenna at the target position meets the threshold for the second device to perform near-field communication. For example, if there is interference signal near the first device equipped with the near-field communication module, such as continuously receiving radio frequency signals emitted by the card reader device for a relatively long period of time, such as 5 seconds, 10 seconds, or 30 seconds, the first device can determine that there is interference signal in the vicinity. It can adjust the near-field antenna to the target position, where the near-field antenna will not receive interference signal, or the received signal strength will be less than or equal to the interference preset threshold, thereby reducing the impact of interference signal on the first device, or making the first device no longer affected by external interference signal.
[0107] As one implementation, the above-mentioned generation of a drive control signal if the judgment result indicates that the signal strength does not meet the preset threshold may include: if the judgment result indicates that the signal strength is less than or equal to a first preset threshold, generating a first drive control signal; the first drive control signal is used to move the drive component in a first direction, causing the moving component to move in a direction away from a reference position, so that the near-field antenna moves to a target position; the reference position is the outer surface of the housing of the near-field communication device having the near-field communication module. And / or, if the judgment result indicates that the signal strength is greater than or equal to a second preset threshold, generating a second drive control signal; the second drive control signal is used to move the drive component in a second direction, causing the moving component to move in a direction closer to the reference position, so that the near-field antenna moves to the target position.
[0108] The driving component may include components such as a motor, and the control component can control the forward or reverse rotation of the motor, thereby controlling the near-field antenna to move away from or closer to the second device.
[0109] In practical applications, there can be one or more near-field antennas. As one implementation, the near-field antenna may include a first near-field antenna and a second near-field antenna. The driving component driving the moving component to move the near-field antenna to the target position may include: the driving component driving the moving component to move the first near-field antenna to the target position.
[0110] As described in the foregoing embodiments, the second near-field antenna can be a fixed antenna, and the driving component will not drive the second near-field antenna to move. Alternatively, the second near-field antenna can also be movable, which can be set according to actual needs.
[0111] This explanation uses the example of a movable first near-field antenna and a fixed second near-field antenna. Figure 9As shown, assuming the near-field communication module is applied to a first device acting as a slave device in near-field communication, the near-field antenna can sense external near-field communication signals, including NFC signals emitted by a nearby second device, as well as interference signals from the external environment. At a certain moment or in the initial state, the first near-field antenna is located closest to the surface of the first device's casing. With the radiated signal strength of the first near-field antenna remaining constant, the signal coupling strength between the second device (such as a mobile phone) close to the first device and the near-field antennas (including the first and second near-field antennas) in the first device is the greatest. For some second devices, excessively high signal coupling strength can cause the second device to eject its card (the second device transitions from reader mode to card mode). Therefore, for this second device, the control unit obtains antenna signal strength information from the NFC chip. If the signal strength is greater than or equal to a first preset threshold (strong signal), it indicates that the NFC signal of the second device is strong. The control unit can then provide a first driving signal to the driving unit, causing the driving unit to move in a first direction (e.g., the control unit sends a signal indicating that the motor should rotate forward). This drives the first near-field antenna to move away from the second device. For example, if the motor rotates forward, the first near-field antenna moves downward, thus weakening the signal coupling strength between the second device and the first near-field antenna in the first device. When a better signal matching position is reached (e.g., the signal strength meets the preset threshold), the first near-field antenna stops moving. This achieves rapid signal matching while avoiding the problem of the second device ejecting its SIM card due to excessively strong signal strength, thereby improving the success rate of near-field communication.
[0112] For example, when the first near-field antenna is far from the outer surface of the first device housing, if the NFC signal of the second device is weak, it may affect the signal matching between the first near-field antenna and the second device. The control unit obtains antenna signal strength information from the NFC chip. If the signal strength is less than or equal to a second preset threshold (weak signal), it can also indicate that the NFC signal of the second device is strong. The control unit can then provide a second driving signal to the driving unit, causing the driving unit to move in a second direction (e.g., the control unit sends a signal indicating that the motor should reverse). If the motor reverses, the first near-field antenna moves upward, thereby driving the first near-field antenna to move closer to the second device. The signal of the near-field antenna becomes stronger. When a better signal matching position is reached (e.g., the signal strength meets the preset threshold), the first near-field antenna stops moving. This enables rapid matching between NFC signals, improving communication efficiency and success rate.
[0113] In at least one embodiment of this specification, the near-field antenna is controlled to move (e.g., move up and down) according to the signal strength of different near-field communication devices to match the two parties conducting near-field communication. This can achieve a better recognition success rate and avoid the problem of packet ejection, thereby improving the communication success rate.
[0114] The second device can also be a device that generates interference signals to the first device. For example, the first device could be a payment device used as an NFC tag-side device, and the second device could be another payment device located close to the first device, but used as a card reader. If the first and second devices are placed on the same checkout counter, the first device may be interfered with by the second device. In this case, the position of the near-field antenna can be adjusted based on the signal strength of the near-field antenna. In this situation, the preset threshold in step 804 can represent a threshold that prevents interference to the first device. This threshold can be set according to the near-field communication protocol used by the first device, or it can be determined experimentally to determine the interference threshold that affects the normal operation of the first device. If the signal strength of the near-field antenna is greater than the preset threshold, it indicates that the interference signal near the first device is strong enough to affect its operation. The impact of external interference on the first device needs to be reduced, which can be achieved by moving the near-field antenna away from the second device (the external interference source). For example, if the near-field antenna is far from the outer casing of the first device, to improve near-field communication service processing and communication with other devices or equipment requiring service processing, the near-field antenna can be moved appropriately closer to the outer casing of the first device, until the external interference signal is less than a preset threshold. While controlling the movement of the near-field antenna based on the external interference signal, the first device can be in an idle state, with no service processing required. For instance, after installing the first device, the position of the near-field antenna can be adjusted based on the external interference detected by the antenna, adjusting it to a position where the interference signal strength is less than or equal to a preset threshold. This position can be used as the initial position of the near-field antenna. During subsequent near-field communication between the first device and other devices or equipment requiring service processing, the first device can further adjust the antenna position based on the signal strength. After near-field communication or service processing is completed, the near-field antenna can be returned to its initial position, or it may remain in its initial position.
[0115] While one or more embodiments of this specification provide method steps as described in the embodiments or flowcharts, it is understood that the order of steps listed in the embodiments or flowcharts is merely one possible execution order among many steps and does not represent the only possible execution order. The order of some steps may be adjusted according to actual needs, or some steps may be omitted. When the claims involve method steps, changes in the order of such steps, or parallel execution between steps, are also within the scope of protection of the claims.
[0116] The various technical features in the above embodiments can be combined arbitrarily, as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they have not been described one by one. Therefore, the arbitrary combination of various technical features in the above embodiments is also within the scope of this specification.
[0117] The technical solution of this near-field communication method belongs to the same concept as the technical solution of the aforementioned near-field communication module. Details not described in detail in this near-field communication method can be found in the description of the aforementioned near-field communication module. The execution method of the near-field communication module can also be found in the description of the aforementioned near-field communication method.
[0118] Based on the same approach, embodiments of this specification also provide near-field communication devices corresponding to the above-described modules or methods. The near-field communication device provided in at least one embodiment of this specification can be the above-described near-field communication module, or can execute the above-described near-field communication method.
[0119] The technical solution of this near-field communication device belongs to the same concept as the technical solutions of the aforementioned near-field communication module and near-field communication method. For details not described in detail in the technical solution of the near-field communication device, please refer to the description of the technical solutions of the aforementioned near-field communication module and near-field communication method.
[0120] Based on the same idea, this specification also provides the computing devices corresponding to the above modules or methods.
[0121] Figure 10 A structural block diagram of a computing device 1000 provided according to one embodiment of this specification is shown.
[0122] The computing device 1000 includes:
[0123] Memory 1010 and processor 1020;
[0124] The memory 1010 is used to store computer programs / instructions, and the processor 1020 is used to execute the computer programs / instructions, which, when executed by the processor 1020, implement the steps of the near-field communication method.
[0125] Specifically, the components of the computing device 1000 include, but are not limited to, a memory 1010 and a processor 1020. The processor 1020 is connected to the memory 1010 via a bus 1030, and the database 1050 is used to store data.
[0126] The computing device 1000 also includes an access device 1040, which enables the computing device 1000 to communicate via one or more networks 1060. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 440 may include one or more of any type of wired or wireless network interface (e.g., a network interface card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.
[0127] In one embodiment of this specification, the above-described components of the computing device 1000 and Figure 10 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 10 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.
[0128] The computing device 1000 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 1000 can also be a mobile or stationary server.
[0129] The steps of the near-field communication method are as follows: when the processor 1020 executes the computer instructions.
[0130] The above is an illustrative scheme of a computing device according to this embodiment. The technical solution of this computing device belongs to the same concept as the technical solution of the near-field communication method described above. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the near-field communication method described above.
[0131] One embodiment of this specification also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the near-field communication method as described above.
[0132] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment.
[0133] The technical solution of this storage medium is based on the same concept as the technical solution of the aforementioned near-field communication method. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the aforementioned near-field communication method.
[0134] One embodiment of this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the near-field communication method described above.
[0135] The above is an illustrative scheme of a computer program product according to this embodiment. The technical solution of this computer program product belongs to the same concept as the technical solution of the near-field communication method described above. For details not described in detail in the technical solution of the computer program product, please refer to the description of the technical solution of the near-field communication method described above.
[0136] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments. For the same or similar parts, please refer to each other.
[0137] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0138] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program a digital system themselves to "integrate" it onto a PLD, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0139] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0140] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0141] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0142] Those skilled in the art will understand that one or more embodiments of this specification can be provided as a method, system, or computer program product. Therefore, the invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0143] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0144] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0145] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0146] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0147] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0148] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital character versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0149] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0150] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A near-field communication module with adjustable antenna position, comprising: Near-field antenna, moving parts, driving parts, and control parts; The near-field antenna is fixed to the moving component; The moving component is connected to the driving component, and the driving component is used to drive the moving component to move in a preset direction, so that the near-field antenna moves to the target position in a direction away from or close to the second device. The signal strength of the near-field antenna at the target location meets the requirements for near-field communication. The second device is another device that performs near-field communication with the first device having the near-field communication module; The driving component is connected to the control component, and the control component is used to control the working state of the driving component; wherein, if the signal strength of the near-field antenna is greater than or equal to a first preset threshold, the control component controls the driving component to move in a first direction, so that the moving component moves the near-field antenna in a direction away from the second device; If the signal strength of the near-field antenna is less than or equal to a second preset threshold, the control component controls the driving component to move in a second direction, so that the moving component moves the near-field antenna in a direction closer to the second device.
2. The near-field communication module according to claim 1, wherein the near-field antenna includes a first near-field antenna and a second near-field antenna, and the moving component includes a first bracket and a second bracket; the first near-field antenna is fixed on the first bracket, and the second near-field antenna is fixed on the second bracket; The first bracket is a movable bracket, and the driving component is used to drive the first bracket to move in a preset direction, so that the first near-field antenna moves to the target position; The second bracket is a fixed bracket, and the second near-field antenna is in a fixed state; Alternatively, both the first bracket and the second bracket are movable brackets, and the driving component is used to drive the first bracket to move in a first preset direction so that the first near-field antenna moves to the first target position; The driving component is used to drive the second bracket to move in a second preset direction so that the second near-field antenna moves to the second target position.
3. The near-field communication module according to claim 1, wherein the control component is used to acquire the signal strength of the near-field antenna; If the signal strength obtained by the control component is greater than or equal to a first preset threshold, the control component controls the driving component to move in a first direction, so that the moving component moves the near-field antenna in a direction away from the second device. Alternatively, if the signal strength obtained by the control component is less than or equal to a second preset threshold, the control component controls the driving component to move in a second direction, so that the moving component moves the near-field antenna in a direction closer to the second device.
4. The near-field communication module according to claim 1, wherein the moving component includes an antenna bracket and a lead screw assembly, the lead screw assembly includes a lead screw shaft, the driving component is connected to one end of the lead screw shaft for driving the lead screw shaft to rotate; the near-field antenna is fixed on the antenna bracket, the antenna bracket has an internal thread that matches the external thread of the lead screw shaft, and the antenna bracket moves as the lead screw shaft rotates, so that the near-field antenna moves to the target position.
5. The near-field communication module according to claim 4, wherein the near-field antenna includes a first near-field antenna and a second near-field antenna, and the antenna bracket includes a first bracket and a second bracket; the first near-field antenna is fixed on the first bracket, and the second near-field antenna is fixed on the second bracket; The first bracket includes an internal thread that matches the external thread of the lead screw shaft. As the lead screw shaft rotates, the first bracket moves to move the first near-field antenna to the target position. The second bracket is fixed to the base assembly of the near-field communication module, and the second bracket does not move with the rotation of the lead screw.
6. The near-field communication module according to claim 1, wherein the moving component includes an antenna bracket, a gear assembly and a rack assembly, the near-field antenna is fixed on the antenna bracket, the antenna bracket is fixed to one end of the rack assembly, the other end of the rack assembly is meshed with the gear assembly, and the gear assembly is connected to the driving component; The driving component drives the gear assembly to rotate. As the gear assembly rotates, the rack assembly carries the antenna bracket and moves in a preset direction, causing the near-field antenna to move to the target position.
7. The near-field communication module according to claim 6, wherein the near-field antenna includes a first near-field antenna and a second near-field antenna, and the antenna bracket includes a first bracket and a second bracket; the first near-field antenna is fixed on the first bracket, and the second near-field antenna is fixed on the second bracket; The first bracket is fixed to one end of the rack assembly. As the gear assembly rotates, the rack assembly carries the first bracket and moves in a preset direction, so that the first near-field antenna moves to the target position. The second bracket is fixed to the base assembly of the near-field communication module, and the second bracket does not move with the rotation of the gear assembly.
8. The near-field communication module according to claim 1, wherein the moving component includes an antenna bracket and a cam push rod assembly; the cam push rod assembly includes a cam component and a push rod component; one end of the push rod component is fixedly connected to the antenna bracket, and the other end of the push rod component contacts the cam component; the cam component is connected to the driving component; The driving component drives the cam component to rotate. As the cam component rotates, the push rod component carries the antenna bracket to move in a preset direction, so that the near-field antenna moves to the target position.
9. The near-field communication module according to claim 8, wherein the near-field antenna includes a first near-field antenna and a second near-field antenna, and the antenna bracket includes a first bracket and a second bracket; the first near-field antenna is fixed on the first bracket, and the second near-field antenna is fixed on the second bracket; The first bracket is fixedly connected to one end of the top rod component. As the cam component rotates, the top rod component carries the first bracket to move in a preset direction, so that the first near-field antenna moves to the target position. The second bracket is fixed to the base assembly of the near-field communication module, and the second bracket does not move with the rotation of the cam component.
10. The near-field communication module according to claim 1, wherein the moving component includes a memory metal component; the driving component includes a current source; the current source is connected to the memory metal component and is used to provide current to the memory metal component; and the control component is connected to the current source and is used to control the current parameters output by the current source.
11. A method for near-field communication, the method being applied to a near-field communication module with an adjustable antenna position, the near-field communication module comprising a near-field antenna for near-field communication, a moving component, a driving component, and a control component; the method comprising: Obtain the signal strength of the near-field antenna; Determine whether the signal strength meets a preset threshold, and obtain the determination result; If the judgment result indicates that the signal strength does not meet the preset threshold, a drive control signal is generated and sent to the drive component, so that the drive component drives the moving component to carry the near-field antenna to move away from or towards the second device to the target position; The second device is another device that performs near-field communication with the first device having the near-field communication module; wherein, if the signal strength of the near-field antenna is greater than or equal to a first preset threshold, the control component controls the driving component to move in a first direction, so that the moving component moves the near-field antenna in a direction away from the second device; If the signal strength of the near-field antenna is less than or equal to a second preset threshold, the control component controls the driving component to move in a second direction, so that the moving component moves the near-field antenna in a direction closer to the second device.
12. The method according to claim 11, wherein the near-field antenna includes a first near-field antenna and a second near-field antenna, and the driving component drives the moving component to move the near-field antenna to the target position, specifically including: The driving component drives the moving component to move the first near-field antenna to the target position.
13. The method according to claim 11, wherein generating a drive control signal if the judgment result indicates that the signal strength does not meet the preset threshold specifically includes: If the determination result indicates that the signal strength is greater than or equal to the first preset threshold, then a first drive control signal is generated; The first drive control signal is used to move the drive component in a first direction, so that the moving component moves in a direction away from the reference position, so that the near-field antenna moves to the target position; The reference position is the outer surface of the casing of the near-field communication device having the near-field communication module; If the determination result indicates that the signal strength is less than or equal to the second preset threshold, then a second drive control signal is generated; The second drive control signal is used to move the drive component in a second direction, so that the moving component moves in a direction close to the reference position, so that the near-field antenna moves to the target position.
14. A near-field communication device, the near-field communication device comprising any one of claims 1 to 10, or capable of performing any one of claims 11 to 13 of the near-field communication method.
15. A computing device, comprising: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the method according to any one of claims 11 to 13.