Near field communication (NFC) antenna position adjustment method and device, electronic device and medium

By acquiring and utilizing the field strength information of the NFC antenna, the NFC antenna position is adaptively adjusted to the optimal position, solving the problem of low NFC success rate caused by hardware differences and improving the success rate and efficiency of NFC operations.

CN115411521BActive Publication Date: 2025-11-21VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211167505.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2025-11-21
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

Due to differences in hardware stacking across different models, the NFC sensing area may vary in position when users use different electronic devices, resulting in a low NFC success rate.

Method used

By acquiring the field strength information of the communication environment where the electronic device is located, the NFC antenna is controlled to move to the position with the maximum field strength in order to achieve adaptive adjustment.

Benefits of technology

This improves the success rate of NFC functionality, avoids multiple attempts due to location discrepancies, and enhances operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115411521B_ABST
    Figure CN115411521B_ABST
Patent Text Reader

Abstract

The application discloses a near field communication (NFC) antenna position adjustment method and device, an electronic device and a medium, and belongs to the technical field of communication. The method comprises the following steps: acquiring field intensity information of a communication environment in which an electronic device is located; and controlling an NFC antenna of the electronic device to move to a target position according to the field intensity information, wherein the field intensity information acquired at the target position is the largest.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of communication, and particularly relates to a position adjustment method and device of a near field communication (NFC) antenna, an electronic device and a medium. BACKGROUND

[0002] With the development of communication technology, electronic devices can exchange data through near field communication (NFC) technology when they are close to each other. At present, the NFC technology is widely used in mobile payment, electronic ticketing, access control and mobile identity recognition and other business scenarios.

[0003] In the related art, when a user uses the NFC function of an electronic device to perform mobile payment or card swiping and the like, the user usually needs to place the sensing area of the electronic device close to the sensing area of an external device. Since the sensing area of the device is small, a deviation in position between the sensing areas is prone to occur. For example, when a card is swiped using the NFC function, if the user does not align the sensing area of the electronic device with the sensing area of a pos machine, the card cannot be sensed through NFC. As a result, the success rate of NFC is low. SUMMARY

[0004] The embodiments of the application provide a position adjustment method and device of a near field communication (NFC) antenna, an electronic device and a medium, and can solve the problem of low success rate of NFC.

[0005] In a first aspect, the embodiments of the application provide a position adjustment method of an NFC antenna, which comprises: obtaining field intensity information of a communication environment in which an electronic device is located; and controlling the NFC antenna of the electronic device to move to a target position according to the field intensity information, wherein the field intensity at the target position is the maximum.

[0006] In a second aspect, the embodiments of the application provide a position adjustment device of an NFC antenna, which comprises: an obtaining module and a control module. The obtaining module is configured to obtain field intensity information of a communication environment in which an electronic device is located, and the control module is configured to control the NFC antenna of the electronic device to move to a target position according to the field intensity information obtained by the obtaining module, wherein the field intensity at the target position is the maximum.

[0007] In a third aspect, the embodiments of the application provide an electronic device, which comprises a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the programs or instructions are executed by the processor, the steps of the method according to the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, the readable storage medium storing a program or instructions, the program or instructions being executed by a processor to implement the steps of the method in the first aspect.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, and the processor being configured to run a program or instructions to implement the method in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, the program product being stored in a storage medium, and the program product being executed by at least one processor to implement the method in the first aspect.

[0011] In the embodiment of the present application, the near field communication NFC antenna position adjustment device acquires field intensity information of a communication environment where the electronic device is located, and then controls the NFC antenna of the electronic device to move to a target position according to the field intensity information, where the field intensity at the target position is the maximum. Through the method, the near field communication NFC antenna position adjustment device can determine the position with the maximum field intensity in the communication environment of the electronic device, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to the position, so as to adaptively adjust the position of the NFC antenna, thereby improving the success rate of the electronic device in executing the NFC function. BRIEF DESCRIPTION OF DRAWINGS

[0012] Figure 1 A method flowchart of the near field communication NFC antenna position adjustment method provided by the embodiment of the present application is shown in the figure.

[0013] FIG. 2(a) is a schematic diagram of a near field communication NFC antenna and a guide rail provided by an embodiment of the present application;

[0014] FIG. 2(b) is another schematic diagram of a near field communication NFC antenna and a guide rail provided by an embodiment of the present application;

[0015] FIG. 2(c) is a third schematic diagram of a near field communication NFC antenna and a guide rail provided by an embodiment of the present application;

[0016] Figure 3 A structure schematic diagram of the near field communication NFC antenna adjustment device provided by the embodiment of the present application is shown in the figure.

[0017] Figure 4 A structure schematic diagram of the electronic device provided by the embodiment of the present application is shown in the figure.

[0018] Figure 5 A hardware structure schematic diagram of the electronic device provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0019] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0020] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in a "or" relationship.

[0021] The near field communication (NFC) antenna position adjustment method provided by the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments and application scenarios.

[0022] Near field communication (NFC) is a new technology. Devices (such as mobile phones) using NFC technology can exchange data when they are close to each other. It is evolved from non-contact radio frequency identification (RFID) and interconnection technology. By integrating inductive card readers, inductive cards and point-to-point communication functions on a single chip, mobile terminals can be used for mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications. With the development of technology, users use NFC in more and more scenarios.

[0023] Currently, due to different hardware stacks of different models, the best NFC sensing area of different models is different. When users use different models, the problem of position deviation of the sensing area or the problem of long distance between the sensing area and the external device often occur, resulting in low success rate of using NFC.

[0024] In the NFC antenna position adjustment method provided by the embodiments of the present application, when a user uses the NFC function of an electronic device for card swiping and other operations, the NFC antenna position adjustment device can adaptively adjust the position of the NFC antenna, and adjust the position of the NFC antenna to the position with the maximum field strength, that is, the position with the best communication effect, thereby improving the success rate of NFC.

[0025] Figure 1A flowchart of a near field communication (NFC) antenna position adjustment method provided in an embodiment of the present application is shown in FIG. 8. The NFC antenna position adjustment method can include the following steps 201 and 202. Figure 1

[0026] Step 201: Obtain field intensity information of a communication environment in which the electronic device is located.

[0027] In an embodiment of the present application, the communication environment is a wireless communication environment in which the electronic device performs near field communication.

[0028] In an embodiment of the present application, the field intensity information can be a field intensity value.

[0029] In an embodiment of the present application, the field intensity information can include at least one of magnetic field intensity information and electric field intensity information.

[0030] In an embodiment of the present application, the field intensity information can include field intensity information at different positions.

[0031] In an embodiment of the present application, the electronic device can obtain external field intensity data by sensing electromagnetic waves emitted by an external device through an NFC antenna, and then obtain the field intensity information based on the external field intensity data.

[0032] In an embodiment of the present application, the NFC antenna is a near field coupling antenna, and the coupling mode is coil magnetic field coupling.

[0033] It should be noted that the NFC antenna is used for near field communication (NFC), and "near field communication" refers to communication through near electromagnetic field radio waves. NFC occurs between an initiating device and a target device, and any NFC device can be an initiating device or a target device. The two devices are coupled to each other in an alternating magnetic field mode, and are carrier-modulated in an ASK mode or an FSK mode to achieve transmission of digital signals and exchange of data.

[0034] Step 202: Control the NFC antenna of the electronic device to move to a target position according to the field intensity information.

[0035] The target position corresponds to a maximum field intensity.

[0036] In an embodiment of the present application, the near field communication (NFC) antenna position adjustment apparatus can obtain field intensity information at different positions, determine a target position with maximum field intensity, and control the NFC antenna of the electronic device to move to the target position.

[0037] ​It can be understood that when NFC communication is performed, the field strength at different positions in the wireless communication environment of the NFC communication can be different, and the position with the maximum field strength is the optimal communication position, so the NFC antenna of the electronic device can be controlled to move to the position to improve the communication effect of the near field communication.

[0038] In the method for adjusting the position of the NFC antenna provided in the embodiments of the present application, the field strength information of the communication environment where the electronic device is located is acquired, and then the NFC antenna of the electronic device is controlled to move to a target position according to the field strength information; wherein the field strength information acquired at the target position is the maximum. Through the method, the position with the maximum field strength in the communication environment of the electronic device can be determined, that is, the position with the optimal communication effect, and the NFC antenna of the electronic device is controlled to move to the position, so that the position of the NFC antenna is adaptively adjusted, thereby improving the success rate of the electronic device when performing the NFC function.

[0039] Optionally, in the embodiments of the present application, the field strength information includes first field strength information and second field strength information; and the step 201 can include the following step 201a1 and step 201a2.

[0040] The step 201a1: controlling the NFC antenna of the electronic device to move in a first direction, and acquiring the first field strength information in the process of moving the NFC antenna.

[0041] The step 201a2: controlling the NFC antenna of the electronic device to move in a second direction, and acquiring the second field strength information in the process of moving the NFC antenna.

[0042] In some embodiments, the first direction and the second direction can be any direction parallel or approximately parallel to the plane where the display screen of the electronic device is located, and the first direction and the second direction are perpendicular.

[0043] In some embodiments, the first direction can be a direction parallel to the vertical edge of the electronic device, and the second direction can be a direction parallel to the horizontal edge of the electronic device.

[0044] For example, the first direction can be referred to as the Y-axis direction, and the second direction can be referred to as the X-axis direction.

[0045] In some embodiments, the first direction and the second direction can be diagonal directions of the electronic device, and the first direction and the second direction intersect.

[0046] Exemplarily, the first field intensity information and the second field intensity information each include a plurality of field intensity information. Further, the plurality of field intensity information is field intensity information at different positions.

[0047] Exemplarily, the NFC antenna position adjusting apparatus acquires the field intensity data of the electromagnetic wave emitted by the external device in real time or periodically during the movement of the NFC antenna in the first direction.

[0048] It can be understood that the movement of the NFC antenna in the first direction enables the NFC antenna to receive radio waves at different positions in the first direction, thereby obtaining the field intensity information at the different positions.

[0049] It should be noted that during the movement of the NFC antenna, the inductive distance between the NFC antenna and the NFC antenna of the external device or the NFC card is different when the NFC antenna is at different positions, and in the case of different inductive distances, the field intensity of the radio wave emitted by the external device received by the electronic device is different. The external device can be an access control device or a POS machine, and the NFC card can be a transportation card, a medical card, etc.

[0050] For example, taking the first direction as a direction parallel to the vertical edge of the electronic device and the second direction as a direction parallel to the horizontal edge of the electronic device, the NFC antenna position adjusting apparatus can control the NFC antenna to move in a direction parallel to the vertical edge of the electronic device, acquire the field intensity information at each position of the NFC antenna during the movement, and then control the NFC antenna to move in a direction parallel to the horizontal edge of the electronic device, and acquire the field intensity information at each position of the NFC antenna during the movement.

[0051] It should be noted that in the embodiments of the present application, the position of the NFC antenna refers to the position of the center point of the NFC antenna.

[0052] Exemplarily, the NFC antenna can be mounted on a guide rail, which can be fixed inside the electronic device, and the NFC antenna position adjusting apparatus can control the NFC antenna to move on the guide rail to move the antenna to any position in the electronic device where the guide rail is located.

[0053] Optionally, in the embodiments of the present application, the step 202 can include the following steps 202a1 and 202a2:

[0054] Step 202a1: determining a target position according to the first field intensity information and the second field intensity information.

[0055] Step 202a2: controlling the NFC antenna of the electronic device to move to the target position.

[0056] In some examples, the NFC antenna position adjustment apparatus can determine a first position with the maximum field strength information in the first direction according to the first field strength information, and determine a second position with the maximum field strength information in the second direction according to the second field strength information, and then determine the target position according to the first position and the second position. Exemplarily, the target position is the position with the minimum distance to both the first position and the second position.

[0057] In some examples, the NFC antenna position adjustment apparatus can determine a first position with the maximum field strength information in the first direction according to the first field strength information, and control the NFC antenna to move to the first position, and then control the NFC antenna to move in the second direction from the first position, and determine a position with the maximum field strength information in the second direction, i.e. the target position, and then control the NFC antenna to move to the target position.

[0058] Exemplarily, when the NFC antenna position adjustment apparatus detects that the user uses the NFC, it controls the NFC antenna to move in the Y-axis direction, and determines a first position of the NFC antenna in the Y-axis direction when the field strength information is the maximum during the movement in the Y-axis direction, and then controls the NFC antenna to move to the first position, and then controls the NFC antenna to move in the X-axis direction from the first position, and determines a position of the NFC antenna in the X-axis direction when the field strength information is the maximum during the movement in the X-axis direction, i.e. the target position, which is the optimal position for the NFC with the external device.

[0059] Optionally, before the step 202, the NFC antenna position adjustment method provided in the embodiments of the present application further includes the following steps A1 and A2:

[0060] Step A1: determining a target sensing area on the electronic device according to a holding area of the target user on the electronic device.

[0061] The target sensing area is at least part of the area on the electronic device other than the holding area.

[0062] Exemplarily, the target sensing area is at least part of the area on the back of the electronic device other than the holding area, i.e. at least part of the area on the back of the electronic device that is not blocked.

[0063] Step A2: controlling the NFC antenna of the electronic device to move to the target sensing area.

[0064] Optionally, when the NFC antenna position adjustment apparatus detects that the user turns on the NFC function, it detects the holding area of the user on the electronic device, and determines the target sensing area according to the holding area.

[0065] Exemplarily, the target sensing area can be a circular area or a rectangular area or any other shape, and the embodiments of the present application do not limit the shape of the target sensing area.

[0066] Exemplarily, the NFC antenna position adjustment apparatus can count the user's multiple grips on the electronic device, and then determine the target sensing area by using the grip area with a higher frequency among the multiple grip areas and by determining at least part of the area outside the grip area as the target sensing area, thereby obtaining the target sensing area that conforms to the user's usage habit.

[0067] In some embodiments of the present application, the NFC antenna position adjustment apparatus detects the user's touch position on the screen and the area of the contact surface with the screen through the touch sensor of the electronic device, and then determines the user's grip area on the electronic device based on the touch position and the area of the contact surface through a deep learning algorithm.

[0068] Exemplarily, in the case where the touch sensor detects that the user's multiple fingers are respectively located at the edge area of the lower half of the screen, it is determined that the user's palm is in contact with the lower half area of the back of the electronic device, and the target sensing area can be determined as the upper half area of the back of the electronic device.

[0069] Exemplarily, in the case where the touch sensor detects that the area of the contact surface between the user's palm and the screen is large and the contact surface is located in the lower part of the screen of the electronic device, it is determined that the user's fingers are in contact with the lower-middle part of the back of the electronic device, and the target sensing area can be determined as the upper half area of the back of the electronic device.

[0070] Exemplarily, in the case where the touch sensor detects that the user's multiple fingers are respectively located at the edge area of the upper half of the screen, it is determined that the user's palm is in contact with the upper half area of the back of the electronic device, and the target sensing area can be determined as the lower half area of the back of the electronic device.

[0071] It should be noted that the target sensing area is an area that is not in contact with the user's fingers or palm, that is, the target sensing area is an area that the user is used to for NFC sensing with an external device (such as an access control device), and therefore, the NFC antenna can be moved to this area to make the sensing distance between the NFC antenna and the antenna of the external device closer, so as to improve the success rate of NFC.

[0072] In this way, the NFC antenna position adjustment apparatus can move the NFC antenna to an area that the user is used to for NFC sensing according to the user's grip habit on the electronic device, thereby improving the success rate of NFC.

[0073] Further optionally, in the embodiments of the present application, the NFC antenna is an NFC antenna coil; and the step A2 can include the following steps B1 and B2:

[0074] Step B1: The NFC antenna position adjustment device determines the center point of the NFC antenna coil.

[0075] Step B2: The NFC antenna position adjustment device controls the movement of the NFC antenna coil until the center point of the NFC antenna coil coincides with the center point of the target induction area.

[0076] For example, in the case of determining the target induction area, the NFC antenna position adjustment device obtains the center point of the target induction area, and then controls the movement of the NFC antenna through the guide rail so that the center point of the NFC antenna is located at the position of the center point of the target induction area.

[0077] In some embodiments of the present application, when the NFC is detected to be turned on, the NFC antenna position adjustment device detects the manner and position of the user holding the electronic device, determines the approximate position where the user needs to be inducted when using the NFC, and moves the NFC antenna to the position preliminarily. When the user uses the NFC is detected (for example, the signal sent by the external device is detected), the NFC antenna is controlled to move from the position in the Y-axis direction, the first position where the field intensity is the strongest in the Y-axis direction is determined through the change of the NFC field intensity during the movement, and the NFC antenna is moved to the first position. Then, the NFC antenna is controlled to move from the first position in the X-axis direction, the target position where the field intensity is the strongest in the X-axis direction is determined, and the NFC antenna is moved to the target position, so as to fix the NFC antenna to the best position for performing the NFC.

[0078] It should be noted that, generally, the area of the NFC antenna coil of the electronic device is fixed and much smaller than the area of the induction area required by the user, and therefore, after the NFC antenna is moved to the target induction area, the movement in the X-axis direction and the Y-axis direction can be performed to further determine the best position of the NFC antenna.

[0079] Optionally, in the embodiments of the present application, the electronic device further includes a first guide rail parallel to the first direction, and a second guide rail parallel to the second direction, the NFC antenna is installed on the second guide rail, and the second guide rail is installed on the first guide rail.

[0080] Optionally, the control of the movement of the NFC antenna of the electronic device in the first direction in the step 201a1 can be implemented by the following step 201b1, and the control of the movement of the NFC antenna of the electronic device in the second direction in the step 201a2 can be implemented by the following step 202b2:

[0081] Step 201b1: controlling the NFC antenna to move in the first direction through the first guide rail.

[0082] Step 202b2: controlling the NFC antenna of the electronic device to move in the second direction through the second guide rail.

[0083] Exemplarily, the NFC antenna can be fixed on a first sliding member, which is installed on the upper surface of the second guide rail and can move on the second guide rail under driving to make the NFC antenna move in the first direction.

[0084] Exemplarily, the lower surface of the second guide rail is installed with a second sliding member, which is slidingly installed on the first guide rail and can move on the first guide rail under driving to make the NFC antenna move in the second direction.

[0085] Exemplarily, FIG. 2(a) is a schematic diagram of the NFC antenna and the guide rails provided by the embodiment of the present application. As shown in FIG. 2(a), the NFC antenna 20 is provided in the electronic device, the center of the bottom surface of the NFC antenna is installed with a first sliding member, the first sliding member is provided at the midpoint of the horizontal guide rail 21 (i.e., the X-axis direction guide rail), the guide rail 21 and the vertical guide rail 22 are connected through a second sliding member, and the second sliding member is provided on the lower surface of the guide rail 21.

[0086] In some embodiments of the present application, in combination with the above-mentioned FIG. 2(a), the NFC antenna position adjustment device determines that the position with the maximum field intensity information in the first direction is the first position when detecting that the user uses the NFC, assuming that the first position is point A in the Y-axis direction, the NFC antenna position adjustment device moves the center point of the NFC antenna 20 to the above-mentioned point A through the guide rail 22, as shown in FIG. 2(b); assuming that the target position is point B in the X-axis direction, the NFC antenna position adjustment moves the center point of the NFC antenna 20 from the point A to the point B through the guide rail 21, as shown in FIG. 2(c). In this way, the NFC antenna can reach any area position of the electronic device through the guide rails in the X-axis and Y-axis directions.

[0087] In the NFC antenna position adjustment method provided by the embodiment of the present application, the NFC antenna position adjustment device can automatically adjust the optimal NFC antenna sensing area according to the user's behavior habit of holding the electronic device, without the need for the user to actively learn and understand, thereby effectively improving the success rate of the user using the NFC, avoiding multiple attempts caused by position deviation, and improving the operation efficiency.

[0088] The NFC antenna position adjustment method provided by the embodiment of the present application can be executed by an NFC antenna position adjustment device. The NFC antenna position adjustment method executed by the NFC antenna position adjustment device is taken as an example to illustrate the NFC antenna position adjustment device provided by the embodiment of the present application.

[0089] Figure 3 The structural schematic diagram of the NFC antenna position adjustment device provided by the embodiment of the present application is shown in FIG. 1, which can include an obtaining module 301 and a control module 302, wherein the obtaining module 301 is configured to obtain field intensity information of a communication environment where an electronic device is located, and the control module 302 is configured to control the NFC antenna of the electronic device to move to a target position according to the field intensity information obtained by the obtaining module, wherein the field intensity at the target position is the maximum. Figure 3

[0090] Optionally, in the embodiment of the present application, the field intensity information includes first field intensity information and second field intensity information.

[0091] The control module is configured to control the NFC antenna of the electronic device to move in a first direction.

[0092] The obtaining module is specifically configured to obtain the first field intensity information in the process of moving the NFC antenna.

[0093] The control module is further configured to control the NFC antenna of the electronic device to move in a second direction.

[0094] The obtaining module is configured to obtain the second field intensity information in the process of moving the NFC antenna.

[0095] Optionally, in the embodiment of the present application,

[0096] The control module is specifically configured to determine the target position according to the first field intensity information and the second field intensity information.

[0097] The control module is specifically configured to control the NFC antenna of the electronic device to move to the target position.

[0098] Optionally, in the embodiment of the present application, the device further includes a determining module.

[0099] The determining module is configured to determine a target sensing area on the electronic device according to a holding area of the electronic device held by a target user, wherein the target sensing area is at least part of the area on the electronic device other than the holding area.

[0100] ​The control module is further configured to control the NFC antenna of the electronic device to move to the target induction area determined by the determination module.

[0101] Optionally, in the embodiment of the present application, the electronic device further comprises a first guide rail parallel to the first direction, and a second guide rail parallel to the second direction, wherein the second guide rail is provided with the NFC antenna, and the first guide rail is provided with the second guide rail.

[0102] The control module is specifically configured to control the NFC antenna to move in the first direction through the first guide rail.

[0103] The control module is specifically configured to control the NFC antenna to move in the second direction through the second guide rail.

[0104] In the NFC antenna position adjustment apparatus provided by the embodiment of the present application, the near field communication NFC antenna position adjustment apparatus acquires field intensity information of a communication environment in which the electronic device is located, and then controls the NFC antenna of the electronic device to move to a target position according to the field intensity information, wherein the target position corresponds to the maximum field intensity information. Through the method, the near field communication NFC antenna position adjustment apparatus can determine the position with the maximum field intensity in the communication environment of the electronic device, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to the position, so as to realize self-adaptive adjustment of the position of the NFC antenna, thereby improving the success rate of the electronic device in executing the NFC function.

[0105] The NFC antenna position adjustment apparatus in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the like, and can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like, and the embodiment of the present application is not limited in this regard.

[0106] The NFC antenna position adjustment apparatus in the embodiments of the present application can be an apparatus with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not limited in the embodiments of the present application.

[0107] The NFC antenna position adjustment apparatus provided in the embodiments of the present application can achieve Figure 1 The processes achieved by the method embodiments of FIG. 2 are not repeated here to avoid repetition.

[0108] Optionally, as Figure 4 shown, the embodiments of the present application further provide an electronic device 400, which includes a processor 401 and a memory 402, and the memory 402 has stored programs or instructions executable on the processor 401. When the programs or instructions are executed by the processor 401, each step of the above NFC antenna position adjustment method embodiments is implemented, and the same technical effects are achieved. To avoid repetition, the above is not repeated here.

[0109] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.

[0110] Figure 5 To achieve the hardware structure of an electronic device in the embodiments of the present application.

[0111] The electronic device 100 includes but is not limited to the following components: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc.

[0112] Those skilled in the art can understand that the electronic device 100 can further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 110 through a power management system, so as to realize the functions of power management, such as charging, discharging, and power consumption management, through the power management system. Figure 5 The electronic device structure shown in the above is not a limitation on the electronic device. The electronic device can include more or fewer components than those shown, or combine certain components, or have different arrangement of components, which are not repeated here.

[0113] The above processor 110 is configured to acquire field intensity information of a communication environment in which the electronic device is located; and the above processor 110 is configured to control the NFC antenna of the electronic device to move to a target position according to the field intensity information acquired by the processor 110, wherein the field intensity corresponding to the target position is the maximum.

[0114] Optionally, in the embodiment of the present application, the field intensity information comprises: first field intensity information and second field intensity information.

[0115] The processor 110 is configured to control the NFC antenna of the electronic device to move in a first direction.

[0116] The processor 110 is specifically configured to acquire the first field intensity information during the movement of the NFC antenna.

[0117] The processor 110 is further configured to control the NFC antenna of the electronic device to move in a second direction.

[0118] The processor 110 is configured to acquire the second field intensity information during the movement of the NFC antenna.

[0119] Optionally, in the embodiment of the present application,

[0120] The processor 110 is specifically configured to determine a target position according to the first field intensity information and the second field intensity information.

[0121] The processor 110 is specifically configured to control the NFC antenna of the electronic device to move to the target position.

[0122] Optionally, in the embodiment of the present application, the apparatus further comprises a processor 110.

[0123] The processor 110 is configured to determine a target sensing area on the electronic device according to a holding area of a target user on the electronic device, the target sensing area being at least part of the electronic device other than the holding area.

[0124] The processor 110 is further configured to control the NFC antenna of the electronic device to move to the target sensing area determined by the processor 110.

[0125] Optionally, in the embodiment of the present application, the electronic device further comprises a first guide rail parallel to the first direction and a second guide rail parallel to the second direction, the NFC antenna being arranged on the second guide rail, and the second guide rail being arranged on the first guide rail.

[0126] The processor 110 is specifically configured to control the NFC antenna to move in the first direction through the first guide rail.

[0127] The processor 110 is specifically configured to control the NFC antenna to move in the second direction through the second guide rail.

[0128] In the electronic device provided in the embodiments of the present application, the electronic device acquires field intensity information of a communication environment in which the electronic device is located, and then controls the NFC antenna of the electronic device to move to a target position according to the field intensity information; wherein the field intensity information acquired at the target position is the maximum. Through the method, the electronic device can determine the position with the maximum field intensity in the communication environment of the electronic device, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to the position, so as to realize adaptive adjustment of the position of the NFC antenna, thereby improving the success rate of the electronic device when performing the NFC function.

[0129] It should be understood that in the embodiments of the present application, the input unit 104 can include a graphics processor (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 can include two parts of a touch detection device and a touch controller. The other input devices 1072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, an operation lever, and the like, which will not be described here.

[0130] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 109 can include a volatile memory or a non-volatile memory, or the memory 109 can include both a volatile memory and a non-volatile memory. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.

[0131] The processor 110 can include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.

[0132] The embodiments of the present application also provide a readable storage medium, and the readable storage medium stores programs or instructions, which are executed by a processor to realize each process of the above-mentioned NFC antenna position adjustment method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.

[0133] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0134] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions to realize the processes of the NFC antenna position adjustment method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.

[0135] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system on chip (SoC), a system chip, a chip system or a system on chip (SoC), etc.

[0136] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and is executed by at least one processor to realize the processes of the NFC antenna position adjustment method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.

[0137] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in the opposite order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.

[0138] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part that contributes to the prior art, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

[0139] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A method for adjusting the position of an NFC antenna, characterized in that, The method includes: When a target user is holding an electronic device, a target sensing area of ​​the electronic device is determined, wherein the target sensing area is at least a portion of the electronic device other than the area held by the target user. Control the NFC antenna of the electronic device to move to the target sensing area; Obtain the field strength information of the communication environment in which the electronic device is located; Based on the field strength information, the NFC antenna is controlled to move from the target sensing area to the target location to perform near-field communication; The field strength is greatest at the target location.

2. The method according to claim 1, characterized in that, The field strength information includes: first field strength information and second field strength information; obtaining the field strength information of the communication environment where the electronic device is located includes: The NFC antenna of the electronic device is controlled to move in a first direction, and the first field strength information is acquired during the movement of the NFC antenna. The NFC antenna of the electronic device is controlled to move in a second direction, and the second field strength information is acquired during the movement of the NFC antenna.

3. The method according to claim 2, characterized in that, The step of controlling the NFC antenna to move from the target sensing area to the target location to perform communication based on the field strength information includes: The target location is determined based on the first field intensity information and the second field intensity information; The NFC antenna is controlled to move from the target sensing area to the target location to perform near-field communication.

4. The method according to claim 1, characterized in that, Determining the target sensing area of ​​the electronic device includes: The target sensing area on the electronic device is determined based on the area where the target user holds the electronic device.

5. The method according to claim 2, characterized in that, The electronic device further includes: a first guide rail parallel to the first direction, and a second guide rail parallel to the second direction, wherein the NFC antenna is disposed on the second guide rail and the second guide rail is disposed on the first guide rail; The control of moving the NFC antenna of the electronic device in a first direction includes: Control the NFC antenna to move in the first direction via the first guide rail; The movement of the NFC antenna controlling the electronic device in the second direction includes: The NFC antenna of the electronic device is controlled to move in the second direction via the second guide rail.

6. A near-field communication (NFC) antenna position adjustment device, characterized in that, The device includes: a determining module, an acquiring module, and a control module, wherein: The determining module is used to determine the target sensing area of ​​the electronic device when the target user is holding the electronic device, wherein the target sensing area is at least a portion of the electronic device other than the area held by the target user; The control module is used to control the NFC antenna of the electronic device to move to the target sensing area; The acquisition module is used to acquire the field strength information of the communication environment where the electronic device is located; The control module is further configured to control the NFC antenna to move from the target sensing area to the target position to perform near-field communication based on the field strength information obtained by the acquisition module. The field strength is greatest at the target location.

7. The apparatus according to claim 6, characterized in that, The field strength information includes: first field strength information and second field strength information; The control module is used to control the NFC antenna of the electronic device to move in a first direction; The acquisition module is specifically used to acquire the first field strength information during the movement of the NFC antenna; The control module is also used to control the NFC antenna of the electronic device to move in the second direction; The acquisition module is used to acquire the second field strength information during the movement of the NFC antenna.

8. The apparatus according to claim 7, characterized in that, The control module is specifically used to determine the target location based on the first field strength information and the second field strength information; The control module is specifically used to control the NFC antenna to move from the target sensing area to the target location to perform near-field communication.

9. The apparatus according to claim 6, characterized in that, The determining module is specifically used to determine the target sensing area on the electronic device based on the area where the target user holds the electronic device.

10. The apparatus according to claim 7, characterized in that, The electronic device further includes: a first guide rail parallel to the first direction, and a second guide rail parallel to the second direction, wherein the NFC antenna is disposed on the second guide rail and the second guide rail is disposed on the first guide rail; The control module is specifically used to control the NFC antenna to move in the first direction via the first guide rail; The control module is specifically used to control the NFC antenna to move in the second direction via the second guide rail.

11. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the near-field communication (NFC) antenna position adjustment method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Charging system using NFC, mobile device chargeable by NFC, and charger

    US20180175676A1