CN115411521A - Position adjusting method and device of Near Field Communication (NFC) antenna, electronic equipment and medium - Google Patents
Position adjusting method and device of Near Field Communication (NFC) antenna, electronic equipment and medium Download PDFInfo
- Publication number
- CN115411521A CN115411521A CN202211167505.8A CN202211167505A CN115411521A CN 115411521 A CN115411521 A CN 115411521A CN 202211167505 A CN202211167505 A CN 202211167505A CN 115411521 A CN115411521 A CN 115411521A
- Authority
- CN
- China
- Prior art keywords
- nfc antenna
- electronic device
- field strength
- strength information
- move
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q3/00—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system
- H01Q3/02—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system using mechanical movement of antenna or antenna system as a whole
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q1/00—Details of, or arrangements associated with, antennas
- H01Q1/12—Supports; Mounting means
- H01Q1/22—Supports; Mounting means by structural association with other equipment or articles
Landscapes
- Near-Field Transmission Systems (AREA)
Abstract
本申请公开了一种近场通信NFC天线的位置调整方法、装置、电子设备及介质,属于通信技术领域。该方法包括:获取电子设备所在的通信环境的场强强度信息;根据上述场强强度信息,控制所述电子设备的NFC天线移动至目标位置;其中,在上述目标位置处获取的场强强度信息最大。
The application discloses a position adjustment method, device, electronic equipment and medium of a near-field communication NFC antenna, belonging to the technical field of communication. The method includes: obtaining field strength information of the communication environment where the electronic device is located; controlling the NFC antenna of the electronic device to move to a target position according to the above field strength information; wherein, the field strength information obtained at the above target position maximum.
Description
技术领域technical field
本申请属于通信技术领域,具体涉及一种近场通信NFC天线的位置调整方法、装置、电子设备及介质。The present application belongs to the technical field of communication, and in particular relates to a method, device, electronic equipment and medium for adjusting the position of an NFC antenna for near-field communication.
背景技术Background technique
随着通信技术的发展,电子设备之间可以通过近场通信(Near FieldCommunication,NFC)技术在彼此靠近的情况下进行数据交换。目前,NFC技术被广泛应用于移动支付、电子票务、门禁以及移动身份识别等业务场景。With the development of communication technology, electronic devices can exchange data when they are close to each other through a near field communication (Near Field Communication, NFC) technology. At present, NFC technology is widely used in business scenarios such as mobile payment, electronic ticketing, access control, and mobile identification.
在相关技术中,在用户使用电子设备的NFC功能进行移动支付或者刷门禁卡等操作时,通常需要用户将电子设备的感应区域靠近外部设备的感应区域,由于设备的感应区域较小,容易出现感应区域的之间在位置上的偏差。例如,在使用NFC功能刷卡时,用户未将电子设备的感应区域对准pos机的感应区域,会导致无法通过NFC感应到卡片。如此,导致NFC的成功率较低。In related technologies, when a user uses the NFC function of an electronic device to perform operations such as mobile payment or swiping an access control card, the user usually needs to bring the sensing area of the electronic device close to the sensing area of the external device. Since the sensing area of the device is small, it is easy to appear The positional deviation between the sensing areas. For example, when using the NFC function to swipe the card, if the user does not align the sensing area of the electronic device with the sensing area of the POS machine, the card cannot be sensed through NFC. In this way, the success rate of NFC is low.
发明内容Contents of the invention
本申请实施例的目的是提供一种近场通信NFC天线的位置调整方法、装置、电子设备及介质,能够解决NFC的成功率较低的问题。The purpose of the embodiments of the present application is to provide a method, device, electronic device and medium for adjusting the position of an NFC antenna in near field communication, which can solve the problem of low success rate of NFC.
第一方面,本申请实施例提供了一种NFC天线的位置调整方法,该方法包括:获取电子设备所在的通信环境的场强强度信息;根据上述场强强度信息,控制所述电子设备的NFC天线移动至目标位置;其中,上述目标位置处对应的场强强度最大。In the first aspect, the embodiment of the present application provides a method for adjusting the position of an NFC antenna. The method includes: acquiring field strength information of the communication environment where the electronic device is located; controlling the NFC of the electronic device according to the above field strength information The antenna moves to the target position; wherein, the field strength corresponding to the above target position is the largest.
第二方面,本申请实施例提供了一种NFC天线的位置调整装置,该装置包括:获取模块和控制模块;获取模块和控制模块,其中:上述获取模块,用于获取电子设备所在的通信环境的场强强度信息;上述控制模块,用于根据获取模块获取的场强强度信息,控制上述电子设备的NFC天线移动至目标位置;其中,上述目标位置处对应的场强强度最大。In a second aspect, the embodiment of the present application provides a device for adjusting the position of an NFC antenna, the device comprising: an acquisition module and a control module; an acquisition module and a control module, wherein: the acquisition module is used to acquire the communication environment where the electronic device is located The field strength information; the control module is used to control the NFC antenna of the electronic device to move to the target position according to the field strength information obtained by the acquisition module; wherein, the field strength corresponding to the target position is the largest.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,近场通信NFC天线位置调整装置获取电子设备所在的通信环境的场强强度信息,然后根据上述场强强度信息,控制电子设备的NFC天线移动至目标位置;其中,上述目标位置处对应的场强强度最大。通过该方法,近场通信NFC天线位置调整装置可以确定获取到电子设备的通信环境中场强强度最大的位置,也就是通信效果最佳的位置,并控制电子设备的NFC天线移动至该位置,实现对NFC天线的位置进行自适应调整,从而能够提高电子设备执行NFC功能时的成功率。In the embodiment of the present application, the near field communication NFC antenna position adjustment device obtains the field strength information of the communication environment where the electronic device is located, and then controls the NFC antenna of the electronic device to move to the target position according to the above field strength information; wherein, the above The corresponding field strength is the largest at the target position. Through this method, the near-field communication NFC antenna position adjustment device can determine the position where the field strength of the communication environment of the electronic device is the highest, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to this position, The adaptive adjustment of the position of the NFC antenna is realized, so that the success rate when the electronic device executes the NFC function can be improved.
附图说明Description of drawings
图1为本申请实施例提供的近场通信NFC天线位置调整方法的方法流程示意图;FIG. 1 is a schematic flow diagram of a method for adjusting the position of a near-field communication NFC antenna provided in an embodiment of the present application;
图2(a)为本申请实施例提供的近场通信NFC天线和导轨的示意图之一;Fig. 2 (a) is one of the schematic diagrams of near-field communication NFC antenna and guide rail provided by the embodiment of the present application;
图2(b)为本申请实施例提供的近场通信NFC天线和导轨的示意图之二;Fig. 2 (b) is the second schematic diagram of the near-field communication NFC antenna and guide rail provided by the embodiment of the present application;
图2(c)为本申请实施例提供的近场通信NFC天线和导轨的示意图之三;Figure 2(c) is the third schematic diagram of the near field communication NFC antenna and guide rail provided by the embodiment of the present application;
图3为本申请实施例提供的近场通信NFC天线调整装置的结构示意图;FIG. 3 is a schematic structural diagram of a near-field communication NFC antenna adjustment device provided in an embodiment of the present application;
图4为本申请实施例提供的电子设备的结构示意图;FIG. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
图5为本申请实施例提供的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。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 sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的近场通信NFC天线位置调整方法进行详细地说明。The method for adjusting the position of the near field communication NFC antenna provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
近场通信(Near Field Communication,简称NFC),是一种新兴的技术,使用了NFC技术的设备(例如移动电话)可以在彼此靠近的情况下进行数据交换,是由非接触式射频识别(RFID)及互连互通技术整合演变而来的,通过在单一芯片上集成感应式读卡器、感应式卡片和点对点通信的功能,利用移动终端实现移动支付、电子票务、门禁、移动身份识别、防伪等应用。随着科技的发展,用户使用NFC的场景也越来越多。Near Field Communication (NFC for short) is an emerging technology. Devices using NFC technology (such as mobile phones) can exchange data when they are close to each other. It is a non-contact radio frequency identification (RFID ) and the integration of interconnection and intercommunication technologies, through the integration of inductive card readers, inductive cards and point-to-point communication functions on a single chip, mobile terminals are used to realize mobile payment, electronic ticketing, access control, mobile identification, and anti-counterfeiting and other applications. With the development of technology, there are more and more scenarios where users use NFC.
目前由于不同机型的硬件堆叠不同,导致不同机型的最佳NFC感应区域不同,用户在使用不同机型时,经常出现感应区域存在位置偏差或者与外部设备的感应区域距离较远的问题,导致使用NFC成功率低。At present, due to the different hardware stacks of different models, the optimal NFC sensing areas of different models are different. When users use different models, there are often problems with the position deviation of the sensing area or the long distance from the sensing area of the external device. Resulting in a low success rate of using NFC.
在本申请实施例提供的NFC天线位置调整方法中,在用户使用电子设备的NFC功能进行刷卡等操作时,NFC天线位置调整装置可以自适应调整NFC天线的位置,并将NFC天线的位置调整至场强强度最大,也就是通信效果最佳的位置,从而提高了NFC的成功率。In the NFC antenna position adjustment method provided in the embodiment of the present application, when the user uses the NFC function of the electronic device to perform operations such as swiping a card, 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 field strength is the largest, that is, the position with the best communication effect, thus improving the success rate of NFC.
图1为本申请实施例提供的近场通信NFC天线位置调整方法的流程图,如图1所示,上述NFC天线位置的调整方法可以包括以下步骤201和步骤202:Figure 1 is a flow chart of a method for adjusting the position of a near-field communication NFC antenna provided in an embodiment of the present application. As shown in Figure 1 , the method for adjusting the position of the above-mentioned NFC antenna may include the
步骤201:获取电子设备所在的通信环境的场强强度信息。Step 201: Obtain field strength information of a communication environment where the electronic device is located.
在本申请实施例中,上述通信环境为电子设备进行近场通信的无线通信环境。In the embodiment of the present application, the aforementioned communication environment is a wireless communication environment in which electronic devices perform near field communication.
在本申请实施例中,上述场强强度信息可以为场强强度大小。In the embodiment of the present application, the above field intensity information may be the magnitude of the field intensity.
在本申请实施例中,上述场强强度信息可以为磁场强度信息和电场强度信息中的至少一项。In this embodiment of the present application, the foregoing field strength information may be at least one of magnetic field strength information and electric field strength information.
在本申请实施例中,上述场强强度信息可以包括不同位置处的场强强度信息。In this embodiment of the present application, the foregoing field strength information may include field strength information at different locations.
在本申请实施例中,电子设备可以通过NFC天线感应外部设备发出的电磁波,得到外部场强数据,然后基于外部场强数据得到上述场强强度信息。In the embodiment of the present application, the electronic device may sense electromagnetic waves emitted by the external device through the NFC antenna to obtain external field strength data, and then obtain the above field strength information based on the external field strength data.
在本申请实施例中,上述NFC天线为一种近场耦合天线,耦合方式是线圈磁场耦合。In the embodiment of the present application, the above-mentioned NFC antenna is a near-field coupling antenna, and the coupling mode is coil magnetic field coupling.
需要说明的是,NFC天线用于近场通信(Near Field Communication,NFC),“近场通信”是指通过临近电磁场的无线电波进行通信,NFC在发起设备和目标设备间发生,任何的NFC装置都可以为发起设备或目标设备。两者之间是以交流磁场方式相互耦合,并以ASK方式或FSK方式进行载波调制,实现传输数字信号,进而实现数据的交换。It should be noted that the NFC antenna is used for near field communication (Near Field Communication, NFC). "Near field communication" refers to communication through radio waves in the vicinity of the electromagnetic field. Both can be initiator or target devices. The two are coupled with each other in the form of an alternating magnetic field, and the carrier is modulated in the ASK or FSK mode to realize the transmission of digital signals and then realize the exchange of data.
步骤202:根据上述场强强度信息,控制电子设备的NFC天线移动至目标位置。Step 202: According to the above field intensity information, control the NFC antenna of the electronic device to move to the target position.
其中,上述目标位置处对应的场强强度最大。Wherein, the field intensity corresponding to the above-mentioned target position is the largest.
在本申请实施例中,近场通信NFC天线位置调整装置可以获取不同位置处的场强强度信息,然后确定场强强度信息最大的目标位置,并控制电子设备的NFC天线移动至该目标位置。In the embodiment of the present application, the near field communication NFC antenna position adjustment device can obtain field strength information at different positions, then determine the target position with the largest field strength information, and control the NFC antenna of the electronic device to move to the target position.
可以理解的是,在进行NFC通信时,NFC通信的无线通信环境中各个位置处的场强强度的大小可能存在差异,场强强度最大的位置即为最佳的通信位置,因此可以控制电子设备的NFC天线移动至该位置,以提高近场通信的通信效果。It can be understood that when performing NFC communication, the field strength at each location in the wireless communication environment of NFC communication may vary in size, and the location with the highest field strength is the best communication location, so electronic devices can be controlled The NFC antenna of the NFC is moved to this position to improve the communication effect of near field communication.
在本申请实施例提供的近场通信NFC天线位置调整方法中,近场通信NFC天线位置调整装置获取电子设备所在的通信环境的场强强度信息,然后根据上述场强强度信息,控制电子设备的NFC天线移动至目标位置;其中,在上述目标位置处获取的场强强度信息最大。通过该方法,近场通信NFC天线位置调整装置可以确定获取到电子设备的通信环境中场强强度最大的位置,也就是通信效果最佳的位置,并控制电子设备的NFC天线移动至该位置,实现对NFC天线的位置进行自适应调整,从而能够提高电子设备执行NFC功能时的成功率。In the near field communication NFC antenna position adjustment method provided in the embodiment of the present application, the near field communication NFC antenna position adjustment device obtains the field strength information of the communication environment where the electronic device is located, and then controls the electronic device according to the above field strength information. The NFC antenna moves to a target position; wherein, the field strength information acquired at the target position is the largest. Through this method, the near-field communication NFC antenna position adjustment device can determine the position where the field strength of the communication environment of the electronic device is the highest, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to this position, The adaptive adjustment of the position of the NFC antenna is realized, so that the success rate when the electronic device executes the NFC function can be improved.
可选地,在本申请实施例中,上述场强强度信息包括:第一场强强度信息和第二场强强度信息;上述步骤201可以包括以下步骤201a1和步骤201a2:Optionally, in this embodiment of the present application, the above field strength information includes: first field strength information and second field strength information; the
步骤201a1:控制电子设备的NFC天线在第一方向上移动,并在移动NFC天线的过程中,获取第一场强强度信息。Step 201a1: Control the NFC antenna of the electronic device to move in a first direction, and obtain first field strength information during the process of moving the NFC antenna.
步骤201a2:控制电子设备的NFC天线在第二方向上移动,并在移动NFC天线的过程中,获取第二场强强度信息。Step 201a2: Control the NFC antenna of the electronic device to move in the second direction, and acquire second field intensity information during the process of moving the NFC antenna.
在一些实施例中,上述第一方向和第二方向可以为与电子设备的显示屏所在平面平行或者近似平行的任意方向,且第一方向和第二方向垂直。In some embodiments, the above-mentioned first direction and second direction may 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.
在一些实施例中,上述第一方向可以为与电子设备的竖边平行的方向,上述第二方向可以为与电子设备的横边平行的方向。In some embodiments, the above-mentioned first direction may be a direction parallel to the vertical side of the electronic device, and the above-mentioned second direction may be a direction parallel to the horizontal side of the electronic device.
示例性地,上述第一方向可以称为Y轴方向,上述第二方向可以称为X轴方向。Exemplarily, the above-mentioned first direction may be called a Y-axis direction, and the above-mentioned second direction may be called an X-axis direction.
在一些实施例中,上述第一方向和第二方向可以为电子设备的对角线方向,且第一方向和第二方向相交。In some embodiments, the above-mentioned first direction and second direction may be diagonal directions of the electronic device, and the first direction and the second direction intersect.
示例性地,上述第一场强信息和第二场强信息均包括多个场强强度信息。进一步地,多个场强强度信息为不同位置处的场强强度信息。Exemplarily, both the first field strength information and the second field strength information include a plurality of pieces of field strength information. Further, the pieces of field strength information are field strength information at different positions.
示例性地,NFC天线位置调整装置在NFC天线在第一方向上移动的过程中,实时或者周期性获取外部设备发出的电磁波的场强强度数据。Exemplarily, the NFC antenna position adjusting device acquires the field strength data of the electromagnetic wave emitted by the external device in real time or periodically during the process of moving the NFC antenna in the first direction.
可以理解的是,在第一方向上移动NFC天线,能够通过NFC天线接收第一方向上不同位置处的无线电波,从而得到不同位置处的场强强度信息。It can be understood that by moving the NFC antenna in the first direction, radio waves at different positions in the first direction can be received through the NFC antenna, so as to obtain field strength information at different positions.
需要说明的是,在移动NFC天线的过程中,NFC天线处于不同位置时,NFC天线与外部设备或者NFC卡的NFC天线之间的感应距离不同,在感应距离不同的情况下,电子设备接收到的外部设备发出的无线电波的场强强度不同。上述外部设备可以为门禁设备、POS机,上述NFC卡可以为交通卡、诊疗卡等。It should be noted that during the process of moving the NFC antenna, when the NFC antenna is in different positions, the sensing distance between the NFC antenna and the NFC antenna of the external device or NFC card is different. Field strengths of radio waves from external devices vary. The aforementioned external device may be an access control device or a POS machine, and the aforementioned NFC card may be a traffic card, a medical card, and the like.
举例说明,以第一方向为与电子设备的竖边平行的方向,第二方向为与电子设备的横边平行的方向为例,NFC天线位置调整装置可以控制NFC天线在平行于电子设备的竖边的方向上移动,并在移动过程中获取NFC天线所在的各个位置的场强强度信息,然后控制NFC天线在平行于电子设备的横边的方向上移动,并在移动过程中获取NFC天线所在的各个位置的场强强度信息。For example, taking the first direction as the direction parallel to the vertical side of the electronic device, and the second direction as the direction parallel to the horizontal side of the electronic device as an example, the NFC antenna position adjustment device can control the NFC antenna to move in a direction parallel to the vertical side of the electronic device. Move in the direction of the side, and obtain the field strength information of each position where the NFC antenna is located during the movement, and then control the NFC antenna to move in a direction parallel to the lateral side of the electronic device, and obtain the location of the NFC antenna during the movement The field strength information of each location.
需要说明的是,在本申请实施例中,NFC天线所在的位置指的是NFC天线的中心点所处的位置。It should be noted that, in the embodiment of the present application, the location of the NFC antenna refers to the location of the central point of the NFC antenna.
示例性地,NFC天线可以安装在导轨上,该导轨可以固定于电子设备内部,NFC天线位置调整装置可以控制NFC天线在导轨上移动,以将天线移动至电子设备中导轨所在的任意位置。Exemplarily, the NFC antenna can be installed on a guide rail, and the guide rail can be fixed inside the electronic device, and the NFC antenna position adjustment device can control the NFC antenna to move on the guide rail, so as to move the antenna to any position where the guide rail is located in the electronic device.
可选地,在本申请实施例中,上述步骤202可以包括以下步骤202a1和步骤202a2:Optionally, in this embodiment of the application, the
步骤202a1:根据上述第一场强信息和第二场强信息,确定目标位置。Step 202a1: Determine the target position according to the first field strength information and the second field strength information.
步骤202a2:控制电子设备的NFC天线移动至上述目标位置。Step 202a2: Control the NFC antenna of the electronic device to move to the above target position.
在一些示例中,NFC天线位置调整装置可以根据第一场强信息确定第一方向上场强强度信息最大的第一位置,并根据第二场强信息确定第二方向上场强强度信息最大的第二位置,然后根据该第一位置和第二位置确定上述目标位置。示例性地,该目标位置为与第一位置和第二位置之间的距离均最小的位置。In some examples, the NFC antenna position adjustment device may determine the first position with the largest field strength information in the first direction according to the first field strength information, and determine the position with the largest field strength information in the second direction according to the second field strength information. second location, and then determine the above-mentioned target location according to the first location and the second location. Exemplarily, the target position is the position with the smallest distances to both the first position and the second position.
在一些示例中,NFC天线位置调整装置可以根据第一场强信息确定第一方向上场强强度信息最大的第一位置,并控制NFC天线移动至该第一位置,然后以该第一位置为起始点,控制NFC天线在第二方向上移动,并确定第二方向上场强强度信息最大的位置,即目标位置,然后控制NFC天线移动至该目标位置。In some examples, the NFC antenna position adjustment device can determine the first position with the largest 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 use the first position as the The starting point is to control the NFC antenna to move in the second direction, and determine the position where the field strength information in the second direction is the largest, that is, the target position, and then control the NFC antenna to move to the target position.
示例性地,NFC天线位置调整装置在检测到用户使用NFC的情况下,先控制NFC天线在Y轴方向移动,并确定在Y轴方向移动过程中场强强度最大时NFC天线在Y轴方向上的第一位置,然后控制NFC天线移动到该第一位置,接着,再控制NFC天线从该第一位置在X轴方向移动,并确定在X轴方向移动过程中场强强度最大时NFC天线在X轴方向上的位置,即目标位置,该位置为与外部设备进行NFC的最佳位置。Exemplarily, when the NFC antenna position adjustment device detects that the user uses NFC, it first controls the NFC antenna to move in the Y-axis direction, and determines that the NFC antenna moves in the Y-axis direction when the field strength is the largest during the movement in the Y-axis direction. Then control the NFC antenna to move to the first position, and then control the NFC antenna to move from the first position in the X-axis direction, and determine that the NFC antenna is in the X-axis direction when the field strength is the largest during the movement process. The position in the X-axis direction, that is, the target position, which is the best position for NFC with external devices.
可选地,在本申请实施例中,上述步骤202之前,本申请实施例提供的近场通信NFC天线位置调整方法还包括一下步骤A1和步骤A2:Optionally, in the embodiment of the present application, before the
步骤A1:根据目标用户对电子设备的握持区域,确定电子设备上的目标感应区域。Step A1: Determine the target sensing area on the electronic device according to the holding area of the electronic device by the target user.
其中,上述目标感应区域为电子设备上除上述握持区域以外的至少部分区域。Wherein, the above-mentioned target sensing area is at least a partial area on the electronic device except the above-mentioned gripping area.
示例性地,上述目标感应区域为电子设备的背部区域除上述握持区域以外的至少部分区域,也就是说为电子设备的背部未被遮挡的至少部分区域。Exemplarily, the above-mentioned target sensing area is at least a partial area of the back area of the electronic device except the above-mentioned grip area, that is to say, at least a partial area of the back of the electronic device that is not blocked.
步骤A2:控制电子设备的NFC天线移动至上述目标感应区域。Step A2: Control the NFC antenna of the electronic device to move to the above-mentioned target sensing area.
可选地,NFC天线位置调整装置在检测到用户开启NFC功能的情况下,检测用户对电子设备的握持区域,并根据握持区域确定目标感应区域。Optionally, when the NFC antenna position adjusting device detects that the user turns on the NFC function, it detects the user's holding area of the electronic device, and determines the target sensing area according to the holding area.
示例性地,上述目标感应区域可以为圆形区域或者矩形区域等任意形状的区域,本申请实施例对此不作限定。Exemplarily, the above-mentioned target sensing area may be an area of any shape such as a circular area or a rectangular area, which is not limited in this embodiment of the present application.
示例性地,NFC天线位置调整装置可以统计用户多次对电子设备的多个握持区域,然后通过上述多个握持区域中出现频次较高的握持区域,并将该握持区域之外的至少部分区域确定为目标感应区域,从而得到符合用户使用习惯的目标感应区域。Exemplarily, the device for adjusting the position of the NFC antenna can count the multiple gripping areas of the electronic device by the user, and then pass the gripping area with a higher frequency among the above-mentioned multiple gripping areas, and move the At least a part of the area is determined as the target sensing area, so as to obtain a target sensing area that conforms to the user's usage habits.
在本申请的一些实施例中,NFC天线位置调整装置通过电子设备的触控传感器检测用户对屏幕的触摸位置以及与屏幕的接触面的面积,然后通过深度学习算法,基于上述触摸位置以及接触面的面积,确定用户对电子设备的握持区域。In some embodiments of the present application, the NFC antenna position adjustment device 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 uses a deep learning algorithm based on the above touch position and contact surface area to determine the user's grip area on the electronic device.
示例性地,在通过触摸传感器检测到用户的多个手指分别位于下半部分屏幕的边缘区域的情况下,则确定用户的手掌与电子设备的背部的下半部分区域接触,则可以确定目标感应区域为电子设备的背部的上半部分区域。Exemplarily, when the touch sensor detects that the user's multiple fingers are respectively located in 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 can be determined. The area is the upper half area of the back of the electronic device.
示例性地,在通过触摸传感器检测到用户的手掌与屏幕的接触面的面积较大,且接触面位于电子设备屏幕中下部分区域的情况下,则确定用户的手指与电子设备的背部的中下部分区域接触,则可以确定目标感应区域为电子设备的背部的上半部分区域。Exemplarily, when the touch sensor detects that the area of the contact surface between the user's palm and the screen is relatively large, and the contact surface is located in the lower part of the screen of the electronic device, it is determined that the center of the user's finger and the back of the electronic device is If the lower area is in contact, it can be determined that the target sensing area is the upper half area of the back of the electronic device.
示例性地,在通过触摸传感器检测到用户的多个手指分别位于上半部分屏幕的边缘区域的情况下,则确定用户的手掌与电子设备的背部的上半部分区域接触,则可以确定目标感应区域为电子设备的背部的下半部分区域。Exemplarily, when the touch sensor detects that the user's multiple fingers are respectively located on 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 can be determined. The area is the lower half area of the back of the electronic device.
需要说明的是,上述目标感应区域为未与用户的手指或者手掌接触的区域,也就是说,目标感应区域为用户习惯与外部设备(如,门禁设备)进行NFC感应的区域,因此,可以通过将NFC天线移动至该区域,使得NFC天线与外部设备的天线的感应距离较近,以提高NFC的成功率。It should be noted that the above-mentioned target sensing area is an area that is not in contact with the user's finger or palm, that is to say, the target sensing area is an area where the user is accustomed to NFC sensing with an external device (such as an access control device). Move the NFC antenna to this area so that the sensing distance between the NFC antenna and the antenna of the external device is closer to improve the success rate of NFC.
如此,NFC天线位置调整装置可以根据用户对电子设备的握持习惯,将NFC天线移动至用户习惯进行NFC感应的区域,从而提高NFC的成功率。In this way, the NFC antenna position adjusting device can move the NFC antenna to the area where the user is accustomed to NFC sensing according to the user's habit of holding the electronic device, thereby improving the success rate of NFC.
进一步可选地,在本申请实施例中,上述NFC天线为NFC天线线圈;上述步骤A2可以包括以下步骤B1和步骤B2:Further optionally, in the embodiment of the present application, the above-mentioned NFC antenna is an NFC antenna coil; the above-mentioned step A2 may include the following steps B1 and B2:
步骤B1:NFC天线位置调整装置确定上述NFC天线线圈的中心点。Step B1: The NFC antenna position adjustment device determines the center point of the NFC antenna coil.
步骤B2:NFC天线位置调整装置控制上述NFC天线线圈移动,直至NFC天线线圈的中心点与上述目标感应区域的中心点重合。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 sensing area.
示例性地,在确定目标感应区域的情况下,NFC天线位置调整装置获取该目标感应区域的中心点,然后控制NFC天线通过导轨进行移动,使得该NFC天线的中心点位于该目标感应区域的中心点的位置处。Exemplarily, in the case of determining the target sensing area, the NFC antenna position adjustment device obtains the center point of the target sensing area, and then controls the NFC antenna to move through the guide rail, so that the center point of the NFC antenna is located at the center of the target sensing area point position.
在本申请的一些实施例中,NFC天线位置调整装置在检测到开启NFC时,检测用户手持电子设备的方式和位置,确定用户需要在使用NFC时进行感应的大致位置,并将NFC天线移动初步至该位置。在检测到用户使用NFC(例如,检测到外部设备发送的信号)时,控制NFC天线从该位置处在Y轴方向上移动,通过移动过程中NFC场强强度的变化,确定Y轴方向上场强强度最强的第一位置,并将NFC天线移动至该第一位置,再控制NFC天线从该第一位置处在X轴方向上移动,确定X轴方向上场强强度最强的目标位置,并将NFC天线移动至该目标位置,从而将NFC天线固定至执行NFC的最佳位置。In some embodiments of the present application, when the NFC antenna position adjustment device detects that NFC is turned on, it detects the way and position of the user's hand-held electronic device, determines the approximate position where the user needs to sense when using NFC, and moves the NFC antenna initially. to that location. When it is detected that the user uses NFC (for example, a signal sent by an external device is detected), the NFC antenna is controlled to move in the Y-axis direction from this position, and the field in the Y-axis direction is determined by the change of the NFC field strength during the movement. The first position with the strongest field strength, and move the NFC antenna to the first position, then control the NFC antenna to move from the first position in the X-axis direction, and determine the target position with the strongest field strength in the X-axis direction , and move the NFC antenna to the target position, thereby fixing the NFC antenna to the optimal position for performing NFC.
需要说明的是,通常情况下,电子设备的NFC天线线圈的面积大小是固定的,且远小于用户需求进行感应的区域的面积,因此,在将NFC天线移动至目标感应区域后,可以在X轴方向和Y轴方向上进行移动,从而进一步确定NFC天线的最佳位置。It should be noted that, usually, the area of the NFC antenna coil of an electronic device is fixed, and it is much smaller than the area of the sensing area required by the user. Therefore, after moving the NFC antenna to the target sensing area, it can be Axis direction and Y-axis direction to move, so as to further determine the best position of the NFC antenna.
可选地,在本申请实施例中,上述电子设备还包括:与上述第一方向平行的第一导轨,和,与上述第二方向平行的第二导轨,上述第二导轨上安装有NFC天线,上述第一导轨上安装有第二导轨。Optionally, in the embodiment of the present application, the above-mentioned electronic device further includes: a first guide rail parallel to the above-mentioned first direction, and a second guide rail parallel to the above-mentioned second direction, and an NFC antenna is installed on the above-mentioned second guide rail , the second guide rail is installed on the above-mentioned first guide rail.
可选地,上述步骤201a1中控制电子设备的NFC天线在第一方向上移动,可以由以下步骤201b1实现,上述步骤201a2中控制电子设备的NFC天线在第二方向上移动可以由以下步骤202b2实现:Optionally, controlling the NFC antenna of the electronic device to move in the first direction in the above step 201a1 can be realized by the following step 201b1, and controlling the movement of the NFC antenna of the electronic device in the second direction in the above step 201a2 can be realized by the following step 202b2 :
步骤201b1:控制NFC天线通过上述第一导轨在第一方向上移动。Step 201b1: Control the NFC antenna to move in the first direction through the above-mentioned first guide rail.
步骤202b2:控制电子设备的NFC天线通过第二导轨在第二方向上移动。Step 202b2: controlling the NFC antenna of the electronic device to move in the second direction through the second guide rail.
示例性地,上述NFC天线可以固定在第一滑动件上,该第一滑动件安装在第二导轨的上表面,且该第一滑动件可以在驱动下在第二导轨上移动,以使得NFC天线在第一方向上移动。Exemplarily, the above-mentioned NFC antenna can be fixed on the first slider, the first slider is installed on the upper surface of the second guide rail, and the first slider can move on the second guide rail under driving, so that the NFC The antenna moves in a first direction.
示例性地,上述第二导轨的下表面安装有第二滑动件,该第二滑动件滑动安装于第一导轨,该第二滑动件可以在驱动下在第一导轨上移动,以使得NFC天线在第二方向上移动。Exemplarily, the lower surface of the above-mentioned second guide rail is equipped with a second slider, the second slider is slidably installed on the first guide rail, and the second slider can move on the first guide rail under driving, so that the NFC antenna Move in the second direction.
示例性地,图2(a)为本申请实施例提供的近场通信NFC天线与导轨的示意图,如图2(a)所示,在电子设备中设置有NFC天线20,该NFC天线的底面的中心处安装有第一滑动件,该第一滑动件设置于横向的导轨21(即,X轴方向导轨)的中点位置处,该导轨21和纵向的导轨22之间通过第二滑动件连接,该第二滑动件设置与导轨21的下表面。Exemplarily, FIG. 2(a) is a schematic diagram of a near-field communication NFC antenna and a guide rail provided in the embodiment of the present application. As shown in FIG. 2(a), an
在本申请的一些实施例中,结合上述图2(a),NFC天线位置调整装置在检测到用户使用NFC的情况下,确定在第一方向上场强强度信息最大的位置为第一位置,假设第一位置为Y轴方向上的A点,NFC天线位置调整装置通过导轨22将NFC天线20的中心点移动至上述A点,如图2(b)所示;假设目标位置为X轴方向上的B点,则NFC天线位置调整从该A处,通过导轨21将NFC天线20的中心点移动至该B点,如图2(c)所示。如此,NFC天线可以通过X轴和Y轴方向上的导轨到达电子设备的任何区域位置。In some embodiments of the present application, in conjunction with the above-mentioned FIG. 2(a), the NFC antenna position adjustment device determines that the position with the largest field strength information in the first direction is the first position when it detects that the user uses NFC. Assuming that the first position is point A on the Y-axis direction, the NFC antenna position adjustment device moves the center point of the
在本申请实施例提供的近场通信NFC天线位置调整方法中,NFC天线位置调整装置可以根据用户握持电子设备的行为习惯自动调整最佳的NFC天线感应区域,而不需要用户去主动学习了解,从而有效提高用户使用NFC的成功率,避免因为位置出现偏差导致的多次尝试,提高操作效率。In the near-field communication NFC antenna position adjustment method provided in the embodiment of the present application, the NFC antenna position adjustment device can automatically adjust the best NFC antenna sensing area according to the behavior habit of the user holding the electronic device, without requiring the user to actively learn and understand , so as to effectively improve the success rate of users using NFC, avoid multiple attempts due to position deviations, and improve operational efficiency.
本申请实施例提供的NFC天线位置调整方法,执行主体可以为NFC天线位置调整装置。本申请实施例中以NFC天线位置调整装置执行NFC天线位置调整方法为例,说明本申请实施例提供的NFC天线位置调整装置。The NFC antenna position adjustment method provided in the embodiment of the present application may be executed by an NFC antenna position adjustment device. In the embodiment of the present application, the method for adjusting the position of the NFC antenna performed by the NFC antenna position adjusting device is taken as an example to illustrate the NFC antenna position adjusting device provided in the embodiment of the present application.
图3为本申请实施例提供的NFC天线位置调整装置的结构示意图,如图3所示,该NFC天线位置调整装置可以包括:获取模块301和控制模块302,其中:上述获取模块301,用于获取电子设备所在的通信环境的场强强度信息;上述控制模块302,用于根据上述获取模块获取的场强强度信息,控制电子设备的NFC天线移动至目标位置;其中,目标位置处对应的场强强度最大。FIG. 3 is a schematic structural diagram of an NFC antenna position adjustment device provided in an embodiment of the present application. As shown in FIG. Acquire the field strength information of the communication environment where the electronic device is located; the above-mentioned
可选地,在本申请实施例中,上述场强强度信息包括:第一场强强度信息和第二场强强度信息;Optionally, in the embodiment of the present application, the above field strength information includes: first field strength information and second field strength information;
上述控制模块,用于控制电子设备的NFC天线在第一方向上移动;The above control module is used to control the NFC antenna of the electronic device to move in the first direction;
上述获取模块,具体用于在移动所述NFC天线的过程中,获取第一场强强度信息;The above acquisition module is specifically used to acquire the first field strength information during the process of moving the NFC antenna;
上述控制模块,还用于控制电子设备的NFC天线在第二方向上移动;The above control module is also used to control the NFC antenna of the electronic device to move in the second direction;
上述获取模块,用于在移动NFC天线的过程中,获取第二场强强度信息。The acquisition module is configured to acquire the second field strength information during the process of moving the NFC antenna.
可选地,在本申请实施例中,Optionally, in the embodiment of this application,
上述控制模块,具体用于根据上述第一场强信息和上述第二场强信息,确定目标位置;The above-mentioned control module is specifically used to determine the target position according to the above-mentioned first field strength information and the above-mentioned second field strength information;
上述控制模块,具体用于控制电子设备的NFC天线移动至上述目标位置。The above control module is specifically used to control the NFC antenna of the electronic device to move to the above target position.
可选地,在本申请实施例中,上述装置还包括:确定模块;Optionally, in the embodiment of the present application, the above device further includes: a determining module;
上述确定模块,用于根据目标用户对所述电子设备的握持区域,确定电子设备上的目标感应区域,上述目标感应区域为电子设备上除握持区域以外的至少部分区域;The determination module is configured to determine a target sensing area on the electronic device according to the gripping area of the electronic device by the target user, where the target sensing area is at least a part of the electronic device except the gripping area;
上述控制模块,还用于控制电子设备的NFC天线移动至确定模块确定的目标感应区域。The above control module is also used to control the NFC antenna of the electronic device to move to the target sensing area determined by the determination module.
可选地,在本申请实施例中,电子设备还包括:与上述第一方向平行的第一导轨,和,与上述第二方向平行的第二导轨,上述第二导轨上设置有NFC天线,上述第一导轨上设置有第二导轨;Optionally, in the embodiment of the present application, the electronic device further includes: a first guide rail parallel to the above-mentioned first direction, and a second guide rail parallel to the above-mentioned second direction, an NFC antenna is arranged on the above-mentioned second guide rail, The first guide rail is provided with a second guide rail;
上述控制模块,具体用于控制上述NFC天线通过第一导轨在第一方向上移动;The above-mentioned control module is specifically used to control the above-mentioned NFC antenna to move in the first direction through the first guide rail;
上述控制模块,具体用于控制NFC天线通过上述第二导轨在第二方向上移动。The above-mentioned control module is specifically used to control the NFC antenna to move in the second direction through the above-mentioned second guide rail.
在本申请实施例提供的NFC天线位置调整装置中,近场通信NFC天线位置调整装置获取电子设备所在的通信环境的场强强度信息,然后根据上述场强强度信息,控制电子设备的NFC天线移动至目标位置;其中,上述目标位置处对应的场强强度信息最大。通过该方法,近场通信NFC天线位置调整装置可以确定获取到电子设备的通信环境中场强强度最大的位置,也就是通信效果最佳的位置,并控制电子设备的NFC天线移动至该位置,实现对NFC天线的位置进行自适应调整,从而能够提高电子设备执行NFC功能时的成功率。In the NFC antenna position adjustment device provided in the embodiment of the present application, the near field communication NFC antenna position adjustment device obtains the field strength information of the communication environment where the electronic device is located, and then controls the movement of the NFC antenna of the electronic device according to the above field strength information to the target position; wherein, the field strength information corresponding to the above target position is the largest. Through this method, the near-field communication NFC antenna position adjustment device can determine the position where the field strength of the communication environment of the electronic device is the highest, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to this position, The adaptive adjustment of the position of the NFC antenna is realized, so that the success rate when the electronic device executes the NFC function can be improved.
本申请实施例中的NFC天线位置调整装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobilepersonal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The NFC antenna position adjusting device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR ) equipment, robots, wearable devices, ultra-mobile personal computer (ultra-mobilepersonal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc. ), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的NFC天线位置调整装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for adjusting the position of the NFC antenna in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的NFC天线位置调整装置能够实现图1和图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。The NFC antenna position adjustment device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 and FIG. 2 , and details are not repeated here to avoid repetition.
可选地,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401和存储器402,存储器402上存储有可在所述处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述NFC天线位置调整方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4 , the embodiment of the present application also provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,上述处理器110,用于获取电子设备所在的通信环境的场强强度信息;上述处理器110,用于根据上述处理器110获取的场强强度信息,控制电子设备的NFC天线移动至目标位置;其中,目标位置处对应的场强强度最大。Wherein, the above-mentioned
可选地,在本申请实施例中,上述场强强度信息包括:第一场强强度信息和第二场强强度信息;Optionally, in the embodiment of the present application, the above field strength information includes: first field strength information and second field strength information;
上述处理器110,用于控制电子设备的NFC天线在第一方向上移动;The
上述处理器110,具体用于在移动所述NFC天线的过程中,获取第一场强强度信息;The above-mentioned
上述处理器110,还用于控制电子设备的NFC天线在第二方向上移动;The
上述处理器110,用于在移动NFC天线的过程中,获取第二场强强度信息。The above-mentioned
可选地,在本申请实施例中,Optionally, in the embodiment of this application,
上述处理器110,具体用于根据上述第一场强信息和上述第二场强信息,确定目标位置;The above-mentioned
上述处理器110,具体用于控制电子设备的NFC天线移动至上述目标位置。The
可选地,在本申请实施例中,上述装置还包括:处理器110;Optionally, in the embodiment of the present application, the foregoing apparatus further includes: a
上述处理器110,用于根据目标用户对所述电子设备的握持区域,确定电子设备上的目标感应区域,上述目标感应区域为电子设备上除握持区域以外的至少部分区域;The
上述处理器110,还用于控制电子设备的NFC天线移动至处理器110确定的目标感应区域。The
可选地,在本申请实施例中,电子设备还包括:与上述第一方向平行的第一导轨,和,与上述第二方向平行的第二导轨,上述第二导轨上设置有NFC天线,上述第一导轨上设置有第二导轨;Optionally, in the embodiment of the present application, the electronic device further includes: a first guide rail parallel to the above-mentioned first direction, and a second guide rail parallel to the above-mentioned second direction, an NFC antenna is arranged on the above-mentioned second guide rail, The first guide rail is provided with a second guide rail;
上述处理器110,具体用于控制上述NFC天线通过第一导轨在第一方向上移动;The
上述处理器110,具体用于控制NFC天线通过上述第二导轨在第二方向上移动。The
在本申请实施例提供的电子设备中,电子设备获取电子设备所在的通信环境的场强强度信息,然后根据上述场强强度信息,控制电子设备的NFC天线移动至目标位置;其中,在上述目标位置处获取的场强强度信息最大。通过该方法,电子设备可以确定获取到电子设备的通信环境中场强强度最大的位置,也就是通信效果最佳的位置,并控制电子设备的NFC天线移动至该位置,实现对NFC天线的位置进行自适应调整,从而能够提高电子设备执行NFC功能时的成功率。In the electronic device provided in the embodiment of the present application, the electronic device obtains the field strength information of the communication environment where the electronic device is located, and then controls the NFC antenna of the electronic device to move to the target position according to the above field strength information; wherein, in the above target The maximum field strength information is obtained at the location. Through this method, the electronic device can determine the position where the field strength of the communication environment of the electronic device is the highest, that is, the position with the best communication effect, and control the NFC antenna of the electronic device to move to this position, so as to realize the location of the NFC antenna Adaptive adjustment is performed, so that the success rate when the electronic device executes the NFC function can be improved.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(GraphicsProcessing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。The
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述NFC天线位置调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, each process of the above-mentioned NFC antenna position adjustment method embodiment is realized, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, 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 read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述NFC天线位置调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above method for adjusting the position of the NFC antenna Each process of the example, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述NFC天线位置调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes of the above-mentioned NFC antenna position adjustment method embodiment, and can achieve the same Technical effects, in order to avoid repetition, will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211167505.8A CN115411521B (en) | 2022-09-23 | 2022-09-23 | Position adjustment method and device of near field communication NFC antenna, electronic equipment and medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211167505.8A CN115411521B (en) | 2022-09-23 | 2022-09-23 | Position adjustment method and device of near field communication NFC antenna, electronic equipment and medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115411521A true CN115411521A (en) | 2022-11-29 |
| CN115411521B CN115411521B (en) | 2025-11-21 |
Family
ID=84166132
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211167505.8A Active CN115411521B (en) | 2022-09-23 | 2022-09-23 | Position adjustment method and device of near field communication NFC antenna, electronic equipment and medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115411521B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116647808A (en) * | 2023-06-26 | 2023-08-25 | 深圳市每开创新科技有限公司 | NFC alignment method, NFC control terminal and storage medium |
| CN119885538A (en) * | 2024-11-26 | 2025-04-25 | 深圳市新国都支付技术有限公司 | Non-antenna layout method, device and storage medium |
| WO2025095933A1 (en) * | 2023-10-31 | 2025-05-08 | Visa International Service Association | Detection and direction for contactless device interaction location using signal |
| CN121055984A (en) * | 2025-10-29 | 2025-12-02 | 支付宝(杭州)数字服务技术有限公司 | A near-field communication module, method, and device with adjustable antenna position. |
| CN121055985A (en) * | 2025-11-04 | 2025-12-02 | 支付宝(杭州)数字服务技术有限公司 | An adaptive near-field communication module, control method, and device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180175498A1 (en) * | 2016-12-16 | 2018-06-21 | Network Performance Research Group Llc | Method and apparatus for antenna adjustment in wireless communication devices |
| US20180175676A1 (en) * | 2015-06-03 | 2018-06-21 | Rohm Co., Ltd. | Charging system using nfc, mobile device chargeable by nfc, and charger |
| CN113809523A (en) * | 2021-09-15 | 2021-12-17 | 维沃移动通信有限公司 | Near field communication module, control method and device and electronic device |
| CN113891445A (en) * | 2021-10-25 | 2022-01-04 | Oppo广东移动通信有限公司 | Antenna transmit power control method, device, electronic device and storage medium |
-
2022
- 2022-09-23 CN CN202211167505.8A patent/CN115411521B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180175676A1 (en) * | 2015-06-03 | 2018-06-21 | Rohm Co., Ltd. | Charging system using nfc, mobile device chargeable by nfc, and charger |
| US20180175498A1 (en) * | 2016-12-16 | 2018-06-21 | Network Performance Research Group Llc | Method and apparatus for antenna adjustment in wireless communication devices |
| CN113809523A (en) * | 2021-09-15 | 2021-12-17 | 维沃移动通信有限公司 | Near field communication module, control method and device and electronic device |
| CN113891445A (en) * | 2021-10-25 | 2022-01-04 | Oppo广东移动通信有限公司 | Antenna transmit power control method, device, electronic device and storage medium |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116647808A (en) * | 2023-06-26 | 2023-08-25 | 深圳市每开创新科技有限公司 | NFC alignment method, NFC control terminal and storage medium |
| WO2025095933A1 (en) * | 2023-10-31 | 2025-05-08 | Visa International Service Association | Detection and direction for contactless device interaction location using signal |
| CN119885538A (en) * | 2024-11-26 | 2025-04-25 | 深圳市新国都支付技术有限公司 | Non-antenna layout method, device and storage medium |
| CN119885538B (en) * | 2024-11-26 | 2025-11-28 | 深圳市新国都支付技术有限公司 | Non-antenna layout method, device and storage medium |
| CN121055984A (en) * | 2025-10-29 | 2025-12-02 | 支付宝(杭州)数字服务技术有限公司 | A near-field communication module, method, and device with adjustable antenna position. |
| CN121055985A (en) * | 2025-11-04 | 2025-12-02 | 支付宝(杭州)数字服务技术有限公司 | An adaptive near-field communication module, control method, and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115411521B (en) | 2025-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN115411521A (en) | Position adjusting method and device of Near Field Communication (NFC) antenna, electronic equipment and medium | |
| EP2769289B1 (en) | Method and apparatus for determining the presence of a device for executing operations | |
| US10459626B2 (en) | Text input method in touch screen terminal and apparatus therefor | |
| US9031500B2 (en) | Portable electronic device and operation method for establishing a near field communication link | |
| CN105452987B (en) | Manages near-field communication using low-power modes of electronic devices | |
| KR101591835B1 (en) | Mobile terminal and method for controlling the same | |
| KR102123092B1 (en) | Method for identifying fingerprint and electronic device thereof | |
| EP3096275B1 (en) | Mobile terminal and method for controlling the same | |
| CN109241957B (en) | Electronic device, fingerprint collection method, device, storage medium and mobile terminal | |
| RU2710941C2 (en) | Electronic conference device, method of controlling said device and digital pen | |
| EP2746979A1 (en) | Mobile device having face recognition function using additional component and method for controlling the mobile device | |
| US20140313154A1 (en) | Body-coupled communication based on user device with touch display | |
| CN106503986B (en) | Virtual resource transfer method and device | |
| KR20170082383A (en) | Mobile terminal and method for controlling the same | |
| KR101697599B1 (en) | Mobile terminal and method for controlling the same | |
| KR102247893B1 (en) | Mobile terminal and communication system thereof | |
| JP4090808B2 (en) | Method and system for controlling proximity transactions | |
| WO2018179872A1 (en) | Information processing apparatus, information processing system, and program | |
| KR20140108858A (en) | Method for providing information on access point using nfc tag and apparatus therefor | |
| KR20150107098A (en) | Mobile terminal and controlling method thereof | |
| KR20170029836A (en) | Mobile terminal and method for controlling the same | |
| KR101722482B1 (en) | Mobile terminal and control method therof | |
| KR101268886B1 (en) | Method for Outputting User Interface by Moving Insert Location of Mobile Card | |
| CN104077619B (en) | A combination of devices for increasing the transmission distance of radio frequency identification signals | |
| CN115765802A (en) | Electronic device, detection method, and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |
