[go: up one dir, main page]

CN114302316A - Control method, device, device and storage medium for near field wireless communication device - Google Patents

Control method, device, device and storage medium for near field wireless communication device Download PDF

Info

Publication number
CN114302316A
CN114302316A CN202011001598.8A CN202011001598A CN114302316A CN 114302316 A CN114302316 A CN 114302316A CN 202011001598 A CN202011001598 A CN 202011001598A CN 114302316 A CN114302316 A CN 114302316A
Authority
CN
China
Prior art keywords
wireless communication
field wireless
geographic location
communication device
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011001598.8A
Other languages
Chinese (zh)
Inventor
秦亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202011001598.8A priority Critical patent/CN114302316A/en
Publication of CN114302316A publication Critical patent/CN114302316A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application relates to a control method and device of a near field wireless communication device, the near field wireless communication device and a computer readable storage medium. The method comprises the following steps: acquiring current geographical position information of the near field wireless communication equipment; determining a near field wireless communication (NFC) configuration file corresponding to the current geographic position information, wherein the NFC configuration file comprises scanning parameter values of each communication type of the NFC equipment in an active scanning mode; and configuring the near field wireless communication equipment according to the NFC configuration file corresponding to the current geographic position information. The scanning parameter values of all communication types under the corresponding active scanning mode can be accurately configured according to the geographic position, the corresponding detected object can be rapidly scanned, the active scanning time is greatly reduced, and the power consumption is saved.

Description

近场无线通信设备的控制方法、装置、设备和存储介质Control method, device, device and storage medium for near field wireless communication device

技术领域technical field

本申请涉及通信控制领域,特别是涉及一种近场无线通信设备的控制方法、装置、近场无线通信设备和计算机可读存储介质。The present application relates to the field of communication control, and in particular, to a control method and apparatus for a near-field wireless communication device, a near-field wireless communication device, and a computer-readable storage medium.

背景技术Background technique

随着NFC(Near Field Communication,近场无线通信)技术的发展,各种应用诸如公交、地铁、门禁、支付、汽车钥匙等逐渐被大众熟知并使用。With the development of NFC (Near Field Communication, near field wireless communication) technology, various applications such as bus, subway, access control, payment, car keys, etc. are gradually known and used by the public.

NFC设备在使用过程中,包括主动扫描模式和被动扫描模式。然而传统的NFC设备在主动扫描模式下检测周围是否有NFC相关标签卡时,有时需要扫描时间较长,消耗较大功耗。During use, the NFC device includes an active scan mode and a passive scan mode. However, when a traditional NFC device detects whether there is an NFC-related tag card around in an active scanning mode, sometimes it takes a long time to scan and consumes a lot of power.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种近场无线通信设备的控制方法、装置、近场无线通信设备和计算机可读存储介质,可以节省功耗。Embodiments of the present application provide a control method and apparatus for a near-field wireless communication device, a near-field wireless communication device, and a computer-readable storage medium, which can save power consumption.

一种近场无线通信设备的控制方法,包括:A control method for a near-field wireless communication device, comprising:

获取近场无线通信设备的当前地理位置信息;Obtain the current geographic location information of the near-field wireless communication device;

确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,所述NFC 配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值;determining a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameter values of each communication type of the near-field wireless communication device in an active scanning mode;

按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。The near field wireless communication device is configured according to the NFC configuration file corresponding to the current geographic location information.

一种近场无线通信设备的控制装置,包括:A control device for a near-field wireless communication device, comprising:

地理位置获取模块,用于获取近场无线通信设备的当前地理位置信息;a geographic location acquisition module, used for acquiring the current geographic location information of the near-field wireless communication device;

参数确定模块,用于确定与所述当前地理位置信息对应的近场无线通信NFC 配置文件,所述NFC配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值;A parameter determination module, configured to determine a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameters of each communication type of the near-field wireless communication device in an active scanning mode value;

控制模块,用于按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。A control module configured to configure the near-field wireless communication device according to the NFC configuration file corresponding to the current geographic location information.

一种近场无线通信设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:A near-field wireless communication device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is caused to perform the following steps:

获取近场无线通信设备的当前地理位置信息;Obtain the current geographic location information of the near-field wireless communication device;

确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,所述NFC 配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值;determining a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameter values of each communication type of the near-field wireless communication device in an active scanning mode;

按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。The near field wireless communication device is configured according to the NFC configuration file corresponding to the current geographic location information.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行是实现如下步骤:A computer-readable storage medium on which a computer program is stored, the computer program being executed by a processor to achieve the following steps:

获取近场无线通信设备的当前地理位置信息;Obtain the current geographic location information of the near-field wireless communication device;

确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,所述NFC 配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值;determining a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameter values of each communication type of the near-field wireless communication device in an active scanning mode;

按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。The near field wireless communication device is configured according to the NFC configuration file corresponding to the current geographic location information.

上述近场无线通信设备的控制方法、装置、近场无线通信设备和计算机可读存储介质,通过获取NFC设备当前地理位置信息,确定与当前地理位置信息对应的NFC配置文件,该NFC配置文件中包括主动扫描模式下的各通信类型的扫描参数值,并按照该扫描参数值进行主动扫描,能够准确的根据地理位置配置对应的主动扫描模式下的各通信类型的扫描参数值,可以快速扫描到对应的被探测对象,大幅减小了主动扫描的时间,节省了功耗。The control method, device, near-field wireless communication device, and computer-readable storage medium for the above-mentioned near-field wireless communication device, by acquiring the current geographic location information of the NFC device, to determine the NFC configuration file corresponding to the current geographic location information, in the NFC configuration file. Including the scanning parameter values of each communication type in the active scanning mode, and performing active scanning according to the scanning parameter value, the scanning parameter value of each communication type in the active scanning mode can be accurately configured according to the geographical location, and can quickly scan to The corresponding detected object greatly reduces the active scanning time and saves power consumption.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为一个实施例中NFC设备的主动扫描模式下各通信类型的分布示意图;1 is a schematic diagram of the distribution of various communication types in an active scanning mode of an NFC device in one embodiment;

图2为一个实施例中近场无线通信设备的控制方法的流程示意图;2 is a schematic flowchart of a method for controlling a near-field wireless communication device in one embodiment;

图3为一个实施例中NFC设备的主动扫描模式下各通信类型的扫描参数配置示意图;3 is a schematic diagram of scanning parameter configuration of each communication type in an active scanning mode of an NFC device in one embodiment;

图4为另一个实施例中近场无线通信设备的控制方法的流程示意图;4 is a schematic flowchart of a control method for a near-field wireless communication device in another embodiment;

图5为一个实施例中近场无线通信设备的控制装置的结构框图;5 is a structural block diagram of a control apparatus of a near-field wireless communication device in one embodiment;

图6为另一个实施例中近场无线通信设备的控制装置的结构框图;6 is a structural block diagram of a control apparatus of a near-field wireless communication device in another embodiment;

图7为一个实施例中近场无线通信设备的内部结构框图。FIG. 7 is a block diagram of an internal structure of a near-field wireless communication device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

如图1所示,NFC(Near Field Communication,近场无线通信)通信采用轮询机制。NFC轮询的工作模式有两种:Polling(主动扫描模式)和Listening (被动监听模式)。其中,在主动扫描模式下,NFC处于轮询模式下会依次发射探寻帧信号Type A/B/F/V;在被动监听模式下,NFC处于待机状态或者侦听模式下。NFC按照Type A/B/F/V四种通信接口协议规定了5种不同类型的卡,具体包括:As shown in FIG. 1 , NFC (Near Field Communication, near field wireless communication) communication adopts a polling mechanism. There are two working modes of NFC polling: Polling (active scanning mode) and Listening (passive listening mode). Among them, in the active scanning mode, the NFC will transmit the search frame signals Type A/B/F/V in turn in the polling mode; in the passive listening mode, the NFC is in the standby state or the listening mode. NFC specifies 5 different types of cards according to the four communication interface protocols of Type A/B/F/V, including:

(1)第1类标签(Tag1):基于ISO14443A标准,具有可读、重新写入的能力,存储能力96字节,内存可被扩充到2K字节,通信速度为106Kbit/s,成本相对较低;(1) Type 1 tag (Tag1): Based on the ISO14443A standard, it has the ability to read and rewrite, the storage capacity is 96 bytes, the memory can be expanded to 2K bytes, the communication speed is 106Kbit/s, and the cost is relatively low Low;

(2)第2类标签(Tag2):基于ISO14443A标准,具有可读、重新写入的能力,存储能力48字节,内存可被扩充到2K字节,通信速度为106Kbit/s;(2) Type 2 tag (Tag2): Based on the ISO14443A standard, it has the ability to read and rewrite, the storage capacity is 48 bytes, the memory can be expanded to 2K bytes, and the communication speed is 106Kbit/s;

(3)第3类标签(Tag3):基于Sony Felica体系,内存为2K字节,数据通信速度为212Kbit/s,适合较复杂的应用;(3) The third type of tag (Tag3): Based on the Sony Felica system, the memory is 2K bytes, and the data communication speed is 212Kbit/s, which is suitable for more complex applications;

(4)第4类标签(Tag4):兼容ISO14443A、B标准,内存为32K字节,通信速度介于106Kbit/s与424Kbit/s之间;(4) Category 4 tags (Tag4): Compatible with ISO14443A and B standards, the memory is 32K bytes, and the communication speed is between 106Kbit/s and 424Kbit/s;

(5)第5类标签(Tag5):NFC Forum定义的Type V标准,基于ISO15693 规范,通信速率106kbit/s,多用于物流仓储行业。(5) Category 5 tag (Tag5): Type V standard defined by NFC Forum, based on ISO15693 specification, communication rate 106kbit/s, mostly used in logistics and warehousing industry.

不同Type卡的特点对应不同使用场景,比如在中国,除了身份证用Type B 的卡,其他大部分比如公交卡、银行卡、工卡都是Type A卡,仓储物流是Type V卡,Type F类型的卡基本很少使用;在新加坡,Type B卡被广泛使用;在日本和中国香港,Type F卡被广泛使用,诸如此类等等。The characteristics of different Type cards correspond to different usage scenarios. For example, in China, in addition to Type B cards for ID cards, most other cards such as bus cards, bank cards, and work cards are Type A cards, warehousing and logistics are Type V cards, and Type F cards. Type B cards are rarely used; in Singapore, Type B cards are widely used; in Japan and Hong Kong, Type F cards are widely used, and so on.

本申请实施例中可以采用GPS(Global Positioning System,全球定位系统)定位信息确定NFC设备所在的区域码,通过区域码的方式,去自动识别用户所在区域,然后根据当地使用Type卡类型情况,按照合适的权重去重新优化配置各通信类型Type A/B/F/V的扫描参数,扫描参数包括扫描时长或扫描顺序中至少一种。例如:通过国家码定位发现是在中国,那么根据大数据收集到的中国使用的A\B\F\V类型占比,比如以1为总量,占比为0.6:0.1:0.02:0.28, 那么如图1中的polling阶段A\B\F\V各占比,可以由之前的均分,重新定制化,相对减少B、F类型的时间占比,以达到缩短total polling阶段的时长。再如在新加坡,通信类型为Type B类型的卡被广泛使用,则相应的通信类型为 Type A\F\V类型,在polling阶段的时间占比要大幅减小,就可以很大程度上减小total polling阶段的时间,达到省功耗的目的。In this embodiment of the present application, GPS (Global Positioning System, global positioning system) positioning information can be used to determine the area code where the NFC device is located, and the area code is used to automatically identify the area where the user is located. The scan parameters of each communication type Type A/B/F/V are re-optimized and configured with appropriate weights, and the scan parameters include at least one of scan duration or scan order. For example, if it is found in China through country code positioning, then the proportion of A\B\F\V types used in China collected according to big data, for example, with 1 as the total amount, the proportion is 0.6:0.1:0.02:0.28, Then the proportions of A\B\F\V in the polling stage as shown in Figure 1 can be re-customized from the previous equal share, and the time proportion of types B and F can be relatively reduced, so as to shorten the duration of the total polling stage. Another example is in Singapore, where the communication type of Type B card is widely used, the corresponding communication type is Type A\F\V type, and the time proportion in the polling stage should be greatly reduced, which can greatly reduce the amount of time spent in polling. The time of the small total polling phase is used to save power consumption.

图2为一个实施例中近场无线通信设备的控制方法的流程示意图。如图2 所示,一种近场无线通信设备的控制方法,包括:FIG. 2 is a schematic flowchart of a control method of a near-field wireless communication device in one embodiment. As shown in Figure 2, a method for controlling a near-field wireless communication device includes:

步骤202,获取近场无线通信设备的当前地理位置信息。Step 202: Obtain current geographic location information of the near-field wireless communication device.

其中,近场无线通信设备,即NFC设备可为包括NFC器件在内的设备,如可为智能手机、ipad、数字助理、平板电脑、POS机、穿戴式设备等。穿戴式设备如智能手表、智能眼镜、头戴式设备等。Wherein, the near field wireless communication device, that is, the NFC device may be a device including an NFC device, such as a smart phone, an ipad, a digital assistant, a tablet computer, a POS machine, a wearable device, and the like. Wearable devices such as smart watches, smart glasses, head-mounted devices, etc.

具体地,NFC设备可通过自身的GPS获取当前地理位置信息,或者与NFC设备距离在预设范围内的辅助设备,通过辅助设备的定位器获取辅助设备当前所在的地理位置信息,将辅助设备当前所在的地理位置信息作为该NFC设备的当前地理位置信息。该预设范围通常比较小,如在10米范围、1米范围内等。地理位置信息可为经纬度坐标或区域地址信息或区域码等。例如,经纬度坐标为东经114°15′和北纬22°15′。区域地址信息为中国香港。区域码可为用于唯一标识该区域的代码。该区域可为一个国家或一个地区等。Specifically, the NFC device can obtain the current geographic location information through its own GPS, or an auxiliary device with a distance from the NFC device within a preset range, obtain the current geographic location information of the auxiliary device through the locator of the auxiliary device, and use the locator of the auxiliary device to obtain the current geographic location information of the auxiliary device. The location information is used as the current location information of the NFC device. The preset range is usually relatively small, such as a range of 10 meters, a range of 1 meter, and the like. The geographic location information may be latitude and longitude coordinates or area address information or area code. For example, the latitude and longitude coordinates are 114°15' east longitude and 22°15' north latitude. The regional address information is Hong Kong, China. An area code can be a code that uniquely identifies the area. The region may be a country or a region, or the like.

步骤204,确定与该当前地理位置信息对应的近场无线通信NFC配置文件,该NFC配置文件中包括该近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值。Step 204: Determine a near field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameter values of each communication type of the near field wireless communication device in the active scanning mode.

具体地,可以预先建立地理位置信息与NFC配置文件之间的对应关系,该 NFC配置文件中包括近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值,然后根据当前地理位置信息从该对应关系中确定对应的NFC配置文件,即确定在当前地理位置信息下,近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值。其中,主动扫描模式下的通信类型可包括Type A、Type B、 Type F、Type V等。该扫描参数值可包括扫描时长或扫描顺序中的至少一个。扫描时长,即扫描时隙,也称为扫描占空比,可为20mm(毫秒),50mm等。在其他实施例中,扫描时长可为占主动扫描时长的比例值表示,如Type A占四分之一的主动扫描时长。扫描顺序是指一次轮询周期中各通信类型的扫描顺序,扫描顺序可为第一、第二、第三、第四等。如扫描顺序为Type A\B\F\V,也可为Type B\A\F\V等。Specifically, the corresponding relationship between the geographic location information and the NFC configuration file can be established in advance, and the NFC configuration file includes the scanning parameter values of each communication type of the near-field wireless communication device in the active scanning mode, and then based on the current geographic location information The corresponding NFC configuration file is determined from the corresponding relationship, that is, the scanning parameter value of each communication type of the near-field wireless communication device in the active scanning mode under the current geographic location information is determined. The communication types in the active scanning mode may include Type A, Type B, Type F, Type V, and so on. The scan parameter value may include at least one of scan duration or scan order. The scan duration, that is, the scan time slot, also called the scan duty cycle, may be 20mm (milliseconds), 50mm, and the like. In other embodiments, the scan duration may be represented by a proportional value to the active scan duration, for example, Type A accounts for one quarter of the active scan duration. The scanning sequence refers to the scanning sequence of each communication type in one polling cycle, and the scanning sequence may be the first, the second, the third, the fourth, and so on. For example, the scan sequence is Type A\B\F\V, or Type B\A\F\V, etc.

主动扫描模式下的各通信类型的扫描时长是指发射某通信类型的信号后,在等待响应信号的有效时长,在该扫描时长内接收到响应信号有效,表示探测到周围有对应的设备或卡。例如Type A的扫描时长为5毫秒,Type B的扫描时长为5毫秒,Type F的扫描时长为5毫秒,Type V的扫描时长为5毫秒,扫描顺序为Type A\B\F\V,则NFC设备先向周围发射Type A信号,在10毫秒内等待响应,若未接收到响应,则发射Type B信号,在5毫秒内等待响应,若未接收到响应,则继续发射Type F信号,在5毫秒内等待响应,若未接收到响应,则发射Type V信号,在5毫秒内等待响应,一个轮询周期结束,开始下一个轮询周期,再从Type A信号开始扫描。各通信类型的扫描时长可以相同,也可以不同。The scanning duration of each communication type in the active scanning mode refers to the effective duration of waiting for a response signal after transmitting a signal of a certain communication type, and the response signal received within this scanning duration is valid, indicating that there is a corresponding device or card nearby detected. . For example, the scan duration of Type A is 5 milliseconds, the scan duration of Type B is 5 milliseconds, the scan duration of Type F is 5 milliseconds, the scan duration of Type V is 5 milliseconds, and the scan sequence is Type A\B\F\V, then The NFC device first transmits a Type A signal to the surrounding area, and waits for a response within 10 milliseconds. If no response is received, it transmits a Type B signal and waits for a response within 5 milliseconds. If no response is received, it continues to transmit a Type F signal. Wait for a response within 5 milliseconds, if no response is received, transmit the Type V signal, wait for a response within 5 milliseconds, end one polling cycle, start the next polling cycle, and start scanning from the Type A signal. The scan duration of each communication type can be the same or different.

在不同地理位置信息下,可以配置各通信类型的扫描时长可以不同,各通信类型的扫描顺序也可以不同。Under different geographic location information, the scanning duration of each communication type can be configured to be different, and the scanning sequence of each communication type can also be different.

在一个实施例中,也可以预先建立区域与近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值之间的对应关系,获取当前地理位置信息后,确定当前地理位置信息所在的区域,再获取对应的近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值。其中,区域可以采用区域码表示,也可以采用区域名称表示。In one embodiment, the corresponding relationship between the area and the scanning parameter values of each communication type of the near-field wireless communication device in the active scanning mode may also be established in advance, and after obtaining the current geographic location information, determine the location where the current geographic location information is located. area, and then acquire the scan parameter values of each communication type of the corresponding near-field wireless communication device in the active scan mode. The area can be represented by an area code or by an area name.

步骤206,按照该当前地理位置信息对应的该NFC配置文件配置该近场无线通信设备。Step 206, configure the near field wireless communication device according to the NFC configuration file corresponding to the current geographic location information.

具体地,NFC设备检测到当前地理位置信息对应的NFC配置文件,即当前地理位置信息对应的在主动扫描模式下的各通信类型的扫描参数值后,配置各通信类型的扫描参数值,进行主动扫描。Specifically, after the NFC device detects the NFC configuration file corresponding to the current geographic location information, that is, the scanning parameter values of each communication type in the active scanning mode corresponding to the current geographic location information, the NFC device configures the scanning parameter value of each communication type, and performs active scanning. scanning.

本实施例中,通过获取NFC设备当前地理位置信息,确定与当前地理位置信息对应的NFC配置文件,该NFC配置文件中包括主动扫描模式下的各通信类型的扫描参数值,并按照该扫描参数值进行主动扫描,能够准确的根据地理位置配置对应的主动扫描模式下的各通信类型的扫描参数值,可以快速扫描到对应的被探测对象,大幅减小了主动扫描的时间,节省了功耗,且相对于先以较短的持续时间感应检测周围是否有NFC相关标签卡出现,再返回正常的轮询模式,本实施例中的近场无线通信设备的主动扫描控制方法不存在延时情况,能够满足延时要求高的场景,避免了延时开销。In this embodiment, by acquiring the current geographic location information of the NFC device, an NFC configuration file corresponding to the current geographic location information is determined. Active scanning can accurately configure the scanning parameter values of each communication type in the active scanning mode according to the geographic location, and can quickly scan the corresponding detected objects, which greatly reduces the active scanning time and saves power consumption. , and compared with the short duration inductively detecting whether there is an NFC-related tag card around, and then returning to the normal polling mode, the active scanning control method of the near-field wireless communication device in this embodiment does not have a delay. , which can meet scenarios with high delay requirements and avoid delay overhead.

在一个实施例中,在该获取近场无线通信设备所在的当前地理位置信息之前,该方法还包括:In one embodiment, before acquiring the current geographic location information where the near-field wireless communication device is located, the method further includes:

收集各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用比例;Collect the usage ratio of each communication type in active scanning mode of near-field wireless communication devices in each area;

根据各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用比例,生成区域与NFC配置文件的对应关系,所述NFC配置文件包括近场无线通信设备在主动扫描模式下各通信类型的扫描参数值;其中,该通信类型的扫描参数值与该通信类型使用比例正相关。According to the usage ratio of each communication type of the near-field wireless communication device in each area in the active scanning mode, the corresponding relationship between the area and the NFC configuration file is generated, and the NFC configuration file includes each communication type of the near-field wireless communication device in the active scanning mode The scan parameter value of the communication type; wherein, the scan parameter value of the communication type is positively correlated with the usage ratio of the communication type.

该确定与该当前地理位置信息对应的近场无线通信NFC配置文件,包括:确定该当前地理位置信息所在的区域;从该区域与NFC配置文件的对应关系中,确定该当前地理位置信息所在的区域对应的NFC配置文件,该NFC配置文件中包括近场无线通信设备在主动扫描模式下各通信类型的扫描参数值。The determining the near-field wireless communication NFC configuration file corresponding to the current geographic location information includes: determining an area where the current geographic location information is located; from the correspondence between the area and the NFC configuration file, determining the location where the current geographic location information is located The NFC configuration file corresponding to the area, where the NFC configuration file includes scanning parameter values of each communication type of the near-field wireless communication device in the active scanning mode.

具体地,预先收集预设时间段内各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用数据,然后进行统计分析得到各个区域的近场无线通信设备在主动扫描模式下各通信类型的使用比例。预设时间段可以根据需要设置,例如2019年1月1日至2019年12月31日,2010年1月1日至2019年 12月31日等,不限于此。Specifically, the usage data of each communication type of the near-field wireless communication devices in each area in the preset time period in the active scanning mode is collected in advance, and then statistical analysis is performed to obtain the communication types of the near-field wireless communication devices in each area in the active scanning mode. Type usage ratio. The preset time period can be set as required, for example, from January 1, 2019 to December 31, 2019, and from January 1, 2010 to December 31, 2019, etc., but not limited to this.

区域可以为国家或地区或省或市或镇等行政区域。扫描参数值与使用比例正相关,也就是使用比例越大,扫描参数值越大或越靠前。扫描参数值为扫描时长,则使用比例越大,扫描时长越长;扫描参数值为扫描顺序,则使用比例越大,扫描顺序越靠前。以国家为例,可以收集不同国家NFC设备在主动扫描模式下各通信类型Type A/B/F/V的使用数据,统计分析得到各通信类型Type A/B/F/V的使用比例,如在中国使用各通信类型Type A\B\F\V占比为 0.6:0.1:0.02:0.28,根据该各通信类型占比配置对应的扫描参数值,将A类型和V类型的扫描时长变长,将B和F类型扫描时长变短,将A类型的扫描顺序排第一位,V类型的扫描顺序排第二位,B类型的扫描类型排第三位,F类型的扫描顺序排第四位,如图3所示。Regions can be administrative regions such as countries or regions or provinces or cities or towns. The sweep parameter value is positively correlated with the usage ratio, that is, the larger the usage ratio, the larger or higher the sweep parameter value is. If the scan parameter value is the scan duration, the larger the usage ratio, the longer the scan duration; if the scan parameter value is the scan order, the larger the usage ratio and the higher the scan order. Taking countries as an example, the usage data of each communication type Type A/B/F/V in the active scanning mode of NFC devices in different countries can be collected, and the usage ratio of each communication type Type A/B/F/V can be obtained by statistical analysis, such as In China, the proportion of each communication type Type A\B\F\V is 0.6:0.1:0.02:0.28, and the corresponding scan parameter value is configured according to the proportion of each communication type, and the scan duration of type A and type V is lengthened. , shorten the scanning duration of B and F types, and place the scanning order of type A first, the scanning order of V type second, the scanning order of B type third, and the scanning order of F type fourth bit, as shown in Figure 3.

本实施例中,通过建立不同区域与NFC配置文件的对应关系,可以减少配置文件的数据量,节省存储空间,同时检测到当前地理位置信息后,根据当前地理位置信息确定所在的区域,然后根据区域配置对应的NFC配置文件,进行主动扫描,更符合该区域NFC的使用情况,可以快速的探测到被探测对象,缩短扫描时间,节省功耗。In this embodiment, by establishing the corresponding relationship between different regions and the NFC configuration file, the data amount of the configuration file can be reduced, and the storage space can be saved. Configure the corresponding NFC configuration file in the area, and perform active scanning, which is more in line with the use of NFC in the area, and can quickly detect the detected object, shorten the scanning time, and save power consumption.

在一个实施例中,如图4所示,以国家或区域为单位收集NFC设备在主动扫描模式下的各通信类型使用情况及占比来生成对应的NFC配置文件。本实施例中的近场无线通信设备的控制方法,包括:In one embodiment, as shown in FIG. 4 , the usage and proportion of each communication type of the NFC device in the active scanning mode is collected by country or region to generate a corresponding NFC configuration file. The method for controlling a near-field wireless communication device in this embodiment includes:

步骤402,收集不同国家或区域各Type卡使用情况及占比。Step 402, collecting the usage and proportion of each Type card in different countries or regions.

具体地,收集不同国家或区域各Type卡的使用情况及使用占比,即各通信类型的使用情况及使用占比。使用占比是指各通信类型的使用比例。Specifically, the usage situation and usage ratio of each Type card in different countries or regions, that is, the usage situation and usage ratio of each communication type are collected. The usage ratio refers to the usage ratio of each communication type.

步骤404,根据不同国家或区域各Type卡使用情况及占比,生成不同国家码对应的NFC配置文件。Step 404: Generate NFC configuration files corresponding to different country codes according to the usage and proportion of each Type card in different countries or regions.

国家码是用于唯一标识一个国家或区域的编码。如中国的编码为0086。NFC 配置文件中包括近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值。扫描参照数值可包括扫描时长或扫描顺序中至少一种。A country code is a code used to uniquely identify a country or region. For example, the Chinese code is 0086. The NFC configuration file includes scanning parameter values for each communication type of the near-field wireless communication device in the active scanning mode. The scan reference value may include at least one of scan duration or scan order.

根据不同国家或区域各Type卡使用情况及占比,生成国家码与NFC配置文件的对应关系。According to the usage and proportion of each Type card in different countries or regions, the corresponding relationship between the country code and the NFC configuration file is generated.

步骤406,根据GPS定位到NFC设备所在的国家码,根据该国家码调用相应的NFC配置文件。Step 406, locate the country code where the NFC device is located according to the GPS, and call the corresponding NFC configuration file according to the country code.

通过GPS定位到NFC设备当前所在的地理位置,根据该地理位置确定所属的国家码,再根据国家码从国家码与NFC配置文件的对应关系中,确定对应的 NFC配置文件,调用该NFC配置文件。Locate the current geographic location of the NFC device through GPS, determine the country code according to the geographic location, and then determine the corresponding NFC configuration file from the corresponding relationship between the country code and the NFC configuration file according to the country code, and call the NFC configuration file. .

本实施例中,通过获取NFC设备当前地理位置信息,确定与当前地理位置信息对应的NFC配置文件,能够准确的根据地理位置配置对应的主动扫描模式下的各通信类型的扫描参数值,可以快速扫描到对应的被探测对象,大幅减小了主动扫描的时间,节省了功耗,且相对于先以较短的持续时间感应检测周围是否有NFC相关标签卡出现,再返回正常的轮询模式,本实施例中的近场无线通信设备的主动扫描控制方法不存在延时情况,能够满足延时要求高的场景,避免了延时开销。In this embodiment, by acquiring the current geographic location information of the NFC device and determining the NFC configuration file corresponding to the current geographic location information, the scanning parameter values of each communication type in the active scanning mode corresponding to the geographic location can be configured accurately, and the scanning parameter values of each communication type in the active scanning mode corresponding to the geographic location can be configured quickly. The corresponding detected object is scanned, which greatly reduces the time of active scanning and saves power consumption. Compared with the short duration, it senses whether there is an NFC-related tag in the surrounding area, and then returns to the normal polling mode. , the active scanning control method of the near-field wireless communication device in this embodiment does not have a delay, which can meet a scenario with high delay requirements and avoid delay overhead.

在一个实施例,在该按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备之后,该方法还包括:In one embodiment, after the near-field wireless communication device is configured according to the NFC configuration file corresponding to the current geographic location information, the method further includes:

根据近场无线通信设备在预设时段内在主动扫描模式下各通信类型的使用情况,确定与该近场无线通信设备的设备标识对应的各通信类型的使用比例;Determine the usage ratio of each communication type corresponding to the device identifier of the near-field wireless communication device according to the usage of each communication type in the active scanning mode within a preset period of time by the near-field wireless communication device;

根据与该设备标识对应的各通信类型的使用比例,调整该设备标识对应的近场无线通信设备在主动扫描模式下各通信类型的扫描参数值。According to the usage ratio of each communication type corresponding to the device identification, the scanning parameter value of each communication type in the active scanning mode of the near-field wireless communication device corresponding to the device identification is adjusted.

具体地,在按照每个区域的NFC配置文件配置NFC设备后,记录该区域内的每个近场无线通信设备在预设时段内在主动扫描模式下各通信类型的使用情况,统计计算得到每个近场无线通信设备的设备标识对应的各通信类型的使用比例,再按照该使用比例,调整该设备标识对应的近场无线通信设备在主动扫描模式下各通信类型的扫描参数值。扫描参数值与使用比例正相关。扫描参数值包括扫描时长或扫描顺序中的至少一种。预设时段可以根据需要设置,如2015 年1月1日至2019年12月31日,某个近场无线通信设备使用TypeA、Type B、 Type F、Type V的使用比例是0.5:0.4:0.08和0.02,则可以将原来的占比 0.6:0.1:0.02:0.28所配置的扫描参数值,按照新的使用比例0.5:0.4:0.08和 0.02进行调整,以更符合该近场无线通信设备的使用者的使用情况。可以理解的是,可以根据每个NFC设备使用的情况,将某类不使用的通信类型的扫描时长配置为0或极小值。Specifically, after configuring the NFC device according to the NFC configuration file of each area, record the usage of each communication type in the active scanning mode of each near-field wireless communication device in the area within a preset time period, and statistically calculate each The usage ratio of each communication type corresponding to the device identifier of the near field wireless communication device, and then according to the usage ratio, the scanning parameter value of each communication type in the active scanning mode of the near field wireless communication device corresponding to the device identifier is adjusted. The sweep parameter value is positively related to the usage scale. The scan parameter value includes at least one of scan duration or scan order. The preset time period can be set as required. For example, from January 1, 2015 to December 31, 2019, the usage ratio of TypeA, Type B, Type F, and Type V for a certain near-field wireless communication device is 0.5:0.4:0.08 and 0.02, you can adjust the scanning parameter value configured by the original ratio of 0.6:0.1:0.02:0.28 according to the new use ratio of 0.5:0.4:0.08 and 0.02 to be more in line with the use of the near-field wireless communication device. user's usage. It can be understood that, according to the usage of each NFC device, the scan duration of a certain type of communication type that is not used can be configured to be 0 or a minimum value.

在一个实施例中,在该获取近场无线通信设备所在的当前地理位置信息之前,该方法还包括:In one embodiment, before acquiring the current geographic location information where the near-field wireless communication device is located, the method further includes:

根据近场无线通信设备在各个地理位置在主动扫描模式下各通信类型的使用情况,确定与该近场无线通信设备的设备标识对应的地理位置与主动扫描模式下的各通信类型的扫描参数值的映射关系。Determine the geographic location corresponding to the device identifier of the near-field wireless communication device and the scanning parameter value of each communication type in the active scanning mode according to the usage of each communication type in the active scanning mode in each geographic location of the near-field wireless communication device mapping relationship.

其中,设备标识是用于唯一标识NFC设备身份,可以为设备MAC地址、设备编号等,也可以为与NFC设备绑定的唯一的手机号、身份证号码、护照号码、电子邮箱账号、即时通信应用账号、注册账号等。以智能手机为例,设备标识可为智能手机的NFC设备编号,记录设备标识对应的智能手机在各个地方使用 NFC在主动扫描模式下各通信类型的使用情况,配置与该设备标识对应的地理位置与主动扫描模式下的各通信类型的扫描参数值,保存该设备标识对应的地理位置与主动扫描模式下的各通信类型的扫描参数值之间的映射关系。地理位置可为使用者携带NFC设备历史行动轨迹中的地方,如深圳南山区、深圳龙岗区等。Among them, the device identifier is used to uniquely identify the identity of the NFC device, which can be the device MAC address, device number, etc., or the unique mobile phone number, ID number, passport number, e-mail account, and instant messaging bound to the NFC device. Application account, registered account, etc. Taking a smartphone as an example, the device identifier can be the NFC device number of the smartphone, record the usage of each communication type in active scanning mode using NFC on the smartphone corresponding to the device identifier in various places, and configure the geographic location corresponding to the device identifier. With the scan parameter values of each communication type in the active scan mode, the mapping relationship between the geographic location corresponding to the device identifier and the scan parameter values of each communication type in the active scan mode is saved. The geographic location can be the place in the historical movement track of the user carrying the NFC device, such as Nanshan District, Shenzhen, Longgang District, Shenzhen, etc.

该确定与该当前地理位置信息对应的NFC配置文件,包括:The determining of the NFC configuration file corresponding to the current geographic location information includes:

获取该近场无线通信设备的设备标识,根据该设备标识获取对应的地理位置与NFC配置文件的映射关系;Obtain the device identification of the near-field wireless communication device, and obtain the mapping relationship between the corresponding geographic location and the NFC configuration file according to the device identification;

根据该当前地理位置信息,从该地理位置与NFC配置文件的映射关系中,确定该当前地理位置信息对应的NFC配置文件。According to the current geographic location information, the NFC configuration file corresponding to the current geographic location information is determined from the mapping relationship between the geographic location and the NFC configuration file.

本实施例中,针对每个NFC设备,单独构建地理位置与主动扫描模式下各通信类型的扫描参数值的映射关系,检测用户所处的当前地理位置信息,从而确定当前地理位置信息对应的各通信类型的扫描参数值,按照该扫描参数值进行扫描,贴合了用户个人的使用习惯,可以快速的扫描到被探测对象,实现通信交互,缩短了扫描时间,节省了功耗。In this embodiment, for each NFC device, the mapping relationship between the geographic location and the scanning parameter value of each communication type in the active scanning mode is separately constructed, and the current geographic location information of the user is detected, so as to determine the respective location information corresponding to the current geographic location information. The scanning parameter value of the communication type is scanned according to the scanning parameter value, which conforms to the user's personal usage habits. It can quickly scan the detected object, realize communication interaction, shorten the scanning time and save power consumption.

在一个实施例中,在该获取近场无线通信设备所在的当前地理位置信息之前,该方法还包括:In one embodiment, before acquiring the current geographic location information where the near-field wireless communication device is located, the method further includes:

根据近场无线通信设备在不同时段、不同地理位置在主动扫描模式下各通信类型的使用情况,确定与该设备标识对应的时段、地理位置与NFC配置文件的映射关系,该NFC配置文件中包括近场无线通信设备在主动扫描模式下的通信类型及所述通信类型的扫描顺序为首位;According to the usage of each communication type of the near-field wireless communication device in the active scanning mode in different time periods and different geographical locations, determine the mapping relationship between the time period and geographical location corresponding to the device identification and the NFC configuration file. The NFC configuration file includes The communication type of the near-field wireless communication device in the active scanning mode and the scanning order of the communication type are the first;

该确定与该当前地理位置信息对应的NFC配置文件,包括:The determining of the NFC configuration file corresponding to the current geographic location information includes:

获取该近场无线通信设备的设备标识,根据该设备标识获取对应的时段、地理位置与NFC配置文件的映射关系;Acquire the device identification of the near-field wireless communication device, and obtain the mapping relationship between the corresponding time period, geographic location and the NFC configuration file according to the device identification;

获取当前时刻,根据该当前地理位置信息和当前时刻,从该时段、地理位置与主动扫描模式下通信类型的映射关系中,确定该当前时刻和当前地理位置信息所对应的通信类型,及在主动扫描模式下该通信类型的扫描顺序为首位的信息。Acquire the current moment, according to the current geographical position information and the current moment, from the mapping relationship between the time period, the geographical position and the communication type in the active scanning mode, determine the communication type corresponding to the current moment and the current geographical position information, and determine the communication type corresponding to the current moment and the current geographical position information in the active scanning mode. In scan mode, the scan order of this communication type is the first message.

其中,设备标识是用于唯一标识NFC设备身份,可以为设备MAC地址、设备编号等,也可以为与NFC设备绑定的唯一的手机号、身份证号码、护照号码、电子邮箱账号、即时通信应用账号、注册账号等。时段可以是统计的一天内的时段,如一天24小时,划分为12个时段,以0点到2点为一个时段、2点至4 点为一个时段,依次类推。以智能手机为例,设备标识与智能手机上的NFC绑定,记录设备标识对应的用户在各个地方各个时段使用NFC在主动扫描模式下各通信类型的使用情况,配置与该设备标识对应的时段、地理位置与主动扫描模式下的通信类型,保存该设备标识对应的时段、地理位置与主动扫描模式下的通信类型的映射关系。地理位置可为设备标识所对应的用户历史行动轨迹中的地方,如深圳南山区、深圳龙岗区等。例如上午7点至9点,在深圳南山区,使用Type A类型;12点至14点,在深圳南山区使用Type B类型。Among them, the device identifier is used to uniquely identify the identity of the NFC device, which can be the device MAC address, device number, etc., or the unique mobile phone number, ID number, passport number, e-mail account, and instant messaging bound to the NFC device. Application account, registered account, etc. The time period can be the time period within a day according to statistics, such as 24 hours a day, divided into 12 time periods, with 0:00 to 2:00 as a time period, 2:00 to 4:00 as a time period, and so on. Taking a smartphone as an example, the device identification is bound to the NFC on the smartphone, and the usage of each communication type in active scanning mode using NFC by the user corresponding to the device identification is recorded in various places and time periods, and the time period corresponding to the device identification is configured. . The geographic location and the communication type in the active scanning mode, and the mapping relationship between the time period corresponding to the device identification, the geographic location and the communication type in the active scanning mode is saved. The geographic location may be a place in the historical action trajectory of the user corresponding to the device identification, such as Nanshan District, Shenzhen, Longgang District, Shenzhen, etc. For example, from 7:00 am to 9:00 am, in Nanshan District, Shenzhen, use Type A; from 12:00 to 14:00, use Type B in Nanshan District, Shenzhen.

本实施例中,针对每个NFC设备,单独构建不同时段、地理位置与主动扫描模式下通信类型的映射关系,检测用户当前时刻、当前地理位置信息,从而确定与当前时刻和当前地理位置信息对应的通信类型,将该通信类型排在扫描的首位,贴合了用户个人的使用习惯,可以快速的扫描到被探测对象,且根据不同时段不同地理位置自适应调整通信类型,实现快速通信交互,缩短了扫描时间,节省了功耗。In this embodiment, for each NFC device, a mapping relationship between different time periods, geographic locations and communication types in the active scanning mode is separately constructed, and the current time and current geographic location information of the user are detected, so as to determine the information corresponding to the current time and the current geographic location. It can quickly scan the detected object, and adjust the communication type adaptively according to different geographical locations in different time periods to achieve fast communication interaction. Scan time is shortened and power consumption is saved.

在一个实施例中,该主动扫描模式的扫描时长为该主动扫描模式的原始扫描时长的预设缩小比例。其中,原始扫描时长是指NFC设备常用的扫描时长。预设缩小比例可根据需要配置,如90%、88%等。In one embodiment, the scan duration of the active scan mode is a preset reduction ratio of the original scan duration of the active scan mode. The original scan duration refers to the scan duration commonly used by the NFC device. The preset reduction ratio can be configured as required, such as 90%, 88%, etc.

假设主动扫描模式的原始扫描时长为50毫秒,调整后的主动扫描模式的扫描时长为45毫秒,各通信类型Type A\B\F\V占比为0.6:0.1:0.02:0.28,则 Type A\B\F\V的扫描时长分别为27毫秒、4.5毫秒、0.9毫秒、12.6毫秒。Assuming that the original scan duration of the active scan mode is 50 milliseconds, the adjusted scan duration of the active scan mode is 45 milliseconds, and the proportion of each communication type Type A\B\F\V is 0.6:0.1:0.02:0.28, then Type A The scan durations of \B\F\V are 27 milliseconds, 4.5 milliseconds, 0.9 milliseconds, and 12.6 milliseconds, respectively.

通过将扫描时长按照预设缩小比例缩小,缩短了主动扫描模式的时长,进而缩短了主动扫描模式下各通信类型的扫描时长,节省了功耗。By reducing the scan duration according to a preset reduction ratio, the duration of the active scan mode is shortened, thereby shortening the scan duration of each communication type in the active scan mode, and saving power consumption.

应该理解的是,虽然图2、图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIG. 2 and FIG. 3 are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 and FIG. 3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The order of execution of the stages is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a stage.

图5为一个实施例中近场无线通信设备的控制装置的结构框图。如图5所示,该近场无线通信设备的控制装置,包括地理位置获取模块510、参数确定模块520和控制模块530。其中:FIG. 5 is a structural block diagram of a control apparatus of a near-field wireless communication device in an embodiment. As shown in FIG. 5 , the control apparatus of the near field wireless communication device includes a geographic location acquisition module 510 , a parameter determination module 520 and a control module 530 . in:

地理位置获取模块510用于获取近场无线通信设备的当前地理位置信息。The geographic location acquisition module 510 is configured to acquire current geographic location information of the near-field wireless communication device.

参数确定模块520用于确定与所述当前地理位置信息对应的近场无线通信 NFC配置文件,所述NFC配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值。扫描参数值包括扫描时长或扫描顺序中的至少一种。The parameter determination module 520 is configured to determine a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameters of each communication type of the near-field wireless communication device in the active scanning mode value. The scan parameter value includes at least one of scan duration or scan order.

控制模块530用于按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。The control module 530 is configured to configure the near field wireless communication device according to the NFC configuration file corresponding to the current geographic location information.

本实施例中,通过获取NFC设备当前地理位置信息,确定与当前地理位置信息对应的NFC配置文件,该NFC配置文件中包括主动扫描模式下的各通信类型的扫描参数值,并按照该扫描参数值进行主动扫描,能够准确的根据地理位置配置对应的主动扫描模式下的各通信类型的扫描参数值,可以快速扫描到对应的被探测对象,大幅减小了主动扫描的时间,节省了功耗,且相对于先以较短的持续时间感应检测周围是否有NFC相关标签卡出现,再返回正常的轮询模式,本实施例中的近场无线通信设备的主动扫描控制方法不存在延时情况,能够满足延时要求高的场景,避免了延时开销。In this embodiment, by acquiring the current geographic location information of the NFC device, an NFC configuration file corresponding to the current geographic location information is determined. Active scanning can accurately configure the scanning parameter values of each communication type in the active scanning mode according to the geographic location, and can quickly scan the corresponding detected objects, which greatly reduces the active scanning time and saves power consumption. , and compared with the short duration inductively detecting whether there is an NFC-related tag card around, and then returning to the normal polling mode, the active scanning control method of the near-field wireless communication device in this embodiment does not have a delay. , which can meet scenarios with high delay requirements and avoid delay overhead.

在一个实施例中,如图6所示,近场无线通信设备的控制装置还包括收集模块540和关系建立模块550。In one embodiment, as shown in FIG. 6 , the control apparatus of the near field wireless communication device further includes a collection module 540 and a relationship establishment module 550 .

收集模块540用于收集各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用比例。The collection module 540 is configured to collect the usage ratio of each communication type of the near-field wireless communication device in each area in the active scanning mode.

关系建立模块550用于根据各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用比例,生成区域与NFC配置文件的对应关系,所述NFC配置文件包括近场无线通信设备在主动扫描模式下各通信类型的扫描参数值;其中,所述通信类型的扫描参数值与所述通信类型使用比例正相关。The relationship establishment module 550 is configured to generate the corresponding relationship between the area and the NFC configuration file according to the usage ratio of each communication type of the near-field wireless communication device in the active scanning mode in each area, and the NFC configuration file includes the near-field wireless communication device in the active scanning mode. The scan parameter value of each communication type in the scan mode; wherein, the scan parameter value of the communication type is positively correlated with the usage ratio of the communication type.

参数确定模块520还用于确定所述当前地理位置信息所在的区域,以及从所述区域与NFC配置文件的对应关系中,确定所述当前地理位置信息所在的区域对应的NFC配置文件。The parameter determination module 520 is further configured to determine the area where the current geographic location information is located, and from the correspondence between the area and the NFC configuration file, determine the NFC configuration file corresponding to the area where the current geographic location information is located.

在一个实施例中,上述近场无线通信设备的控制装置还包括统计模块和调整模块。In one embodiment, the above-mentioned control apparatus of the near-field wireless communication device further includes a statistics module and an adjustment module.

统计模块用于根据近场无线通信设备在预设时段内在主动扫描模式下各通信类型的使用情况,确定与所述近场无线通信设备的设备标识对应的各通信类型的使用比例。The statistics module is configured to determine the usage ratio of each communication type corresponding to the device identifier of the near-field wireless communication device according to the usage of each communication type in the active scanning mode of the near-field wireless communication device within a preset period of time.

调整模块用于根据与所述设备标识对应的各通信类型的使用比例,调整所述设备标识对应的近场无线通信设备在主动扫描模式下各通信类型的扫描参数值。The adjustment module is configured to adjust the scanning parameter value of each communication type in the active scanning mode of the near-field wireless communication device corresponding to the device identification according to the usage ratio of each communication type corresponding to the device identification.

在一个实施例中,上述近场无线通信设备的控制装置还包括第一映射关系确定模块。In one embodiment, the above-mentioned control apparatus of the near-field wireless communication device further includes a first mapping relationship determination module.

第一映射关系确定模块用于根据近场无线通信设备在各个地理位置在主动扫描模式下各通信类型的使用情况,确定与所述近场无线通信设备的设备标识对应的地理位置与NFC配置文件的映射关系。The first mapping relationship determination module is configured to determine the geographic location and the NFC configuration file corresponding to the device identifier of the near-field wireless communication device according to the usage of each communication type in the active scanning mode of the near-field wireless communication device at each geographic location mapping relationship.

参数确定模块520还用于获取所述近场无线通信设备的设备标识,根据所述设备标识获取对应的地理位置与NFC配置文件的映射关系;根据所述当前地理位置信息,从所述地理位置与NFC配置文件的映射关系中,确定所述当前地理位置信息对应的NFC配置文件。The parameter determination module 520 is further configured to obtain the device identification of the near-field wireless communication device, and obtain the mapping relationship between the corresponding geographic location and the NFC configuration file according to the device identification; In the mapping relationship with the NFC configuration file, the NFC configuration file corresponding to the current geographic location information is determined.

在一个实施例中,上述近场无线通信设备的控制装置还包括第二映射关系确定模块。In one embodiment, the above-mentioned control apparatus of the near-field wireless communication device further includes a second mapping relationship determination module.

第二映射关系确定模块用于根据近场无线通信设备在不同时段、不同地理位置在主动扫描模式下各通信类型的使用情况,确定与所述近场无线通信设备的设备标识对应的时段、地理位置与NFC配置文件的映射关系;所述NFC配置文件中包括所述近场无线通信设备在主动扫描模式下的通信类型及所述通信类型的扫描顺序为首位。The second mapping relationship determining module is configured to determine the time period and geographic location corresponding to the device identification of the near-field wireless communication device according to the usage of each communication type in the active scanning mode of the near-field wireless communication device in different time periods and different geographical locations. The mapping relationship between the location and the NFC configuration file; the NFC configuration file includes the communication type of the near-field wireless communication device in the active scanning mode and the scanning order of the communication type is the first.

参数确定模块520还用于获取所述近场无线通信设备的设备标识,根据所述设备标识获取对应的时段、地理位置与NFC配置文件的映射关系;获取当前时刻,根据所述当前地理位置信息和当前时刻,从所述时段、地理位置与主动扫描模式下通信类型的映射关系中,确定所述当前时刻和当前地理位置信息所对应的通信类型,及在,所述主动扫描模式下所述通信类型的扫描顺序为首位。The parameter determination module 520 is further configured to obtain the device identification of the near-field wireless communication device, and obtain the mapping relationship between the corresponding time period, geographic location and the NFC configuration file according to the device identification; to obtain the current moment, according to the current geographic location information and the current moment, from the mapping relationship between the time period, the geographic location and the communication type in the active scanning mode, determine the communication type corresponding to the current moment and the current geographic location information, and in the active scanning mode, the The scan order of the communication type is first.

在一个实施例中,所述主动扫描模式的扫描时长为所述主动扫描模式的原始扫描时长的预设缩小比例。In one embodiment, the scan duration of the active scan mode is a preset reduction ratio of the original scan duration of the active scan mode.

上述近场无线通信设备的控制装置中各个模块的划分仅仅用于举例说明,在其他实施例中,可将近场无线通信设备的控制装置按照需要划分为不同的模块,以完成上述近场无线通信设备的控制装置的全部或部分功能。The division of each module in the above-mentioned control device of the near-field wireless communication device is only used for illustration. In other embodiments, the control device of the near-field wireless communication device can be divided into different modules as required to complete the above-mentioned near-field wireless communication. All or part of the function of the control device of the equipment.

关于近场无线通信设备的控制装置的具体限定可以参见上文中对于近场无线通信设备的控制方法的限定,在此不再赘述。上述近场无线通信设备的控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the control apparatus of the near-field wireless communication device, reference may be made to the above definition of the control method of the near-field wireless communication device, which will not be repeated here. Each module in the control device of the above-mentioned near-field wireless communication device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

图7为一个实施例中近场无线通信设备的内部结构示意图。如图7所示,该近场无线通信设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种XXXX方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备。FIG. 7 is a schematic diagram of an internal structure of a near-field wireless communication device in an embodiment. As shown in FIG. 7, the near field wireless communication device includes a processor and a memory connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. The nonvolatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement an XXXX method provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, and the like.

本申请实施例中提供的近场无线通信设备的控制装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在电子设备的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the control apparatus of the near-field wireless communication device provided in the embodiments of the present application may be in the form of a computer program. The computer program can be run on a terminal or server. The program modules constituted by the computer program can be stored on the memory of the electronic device. When the computer program is executed by the processor, the steps of the methods described in the embodiments of the present application are implemented.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行近场无线通信设备的控制方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform control of a near-field wireless communication device steps of the method.

一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行近场无线通信设备的控制方法。A computer program product containing instructions, when executed on a computer, causes the computer to perform a method of controlling a near field wireless communication device.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程 ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

1.一种近场无线通信设备的控制方法,其特征在于,包括:1. A control method for a near-field wireless communication device, comprising: 获取近场无线通信设备的当前地理位置信息;Obtain the current geographic location information of the near-field wireless communication device; 确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,所述NFC配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值;determining a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameter values of each communication type of the near-field wireless communication device in an active scanning mode; 按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。The near field wireless communication device is configured according to the NFC configuration file corresponding to the current geographic location information. 2.根据权利要求1所述的方法,其特征在于,在所述获取近场无线通信设备的当前地理位置信息之前,所述方法还包括:2 . The method according to claim 1 , wherein before the acquiring the current geographic location information of the near-field wireless communication device, the method further comprises: 3 . 收集各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用比例;Collect the usage ratio of each communication type in active scanning mode of near-field wireless communication devices in each area; 根据各个区域中近场无线通信设备在主动扫描模式下各通信类型的使用比例,生成区域与NFC配置文件的对应关系,所述NFC配置文件包括近场无线通信设备在主动扫描模式下各通信类型的扫描参数值;其中,所述通信类型的扫描参数值与所述通信类型使用比例正相关;According to the usage ratio of each communication type of the near-field wireless communication device in each area in the active scanning mode, the corresponding relationship between the area and the NFC configuration file is generated, and the NFC configuration file includes each communication type of the near-field wireless communication device in the active scanning mode The scanning parameter value of ; wherein, the scanning parameter value of the communication type is positively correlated with the usage ratio of the communication type; 所述确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,包括:The determining of the near-field wireless communication NFC configuration file corresponding to the current geographic location information includes: 确定所述当前地理位置信息所在的区域;determining the area where the current geographic location information is located; 从所述区域与NFC配置文件的对应关系中,确定所述当前地理位置信息所在的区域对应的NFC配置文件。From the correspondence between the area and the NFC configuration file, determine the NFC configuration file corresponding to the area where the current geographic location information is located. 3.根据权利要求2所述的方法,其特征在于,在所述按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备之后,所述方法还包括:3. The method according to claim 2, wherein after the near field wireless communication device is configured according to the NFC configuration file corresponding to the current geographic location information, the method further comprises: 根据近场无线通信设备在预设时段内在主动扫描模式下各通信类型的使用情况,确定与所述近场无线通信设备的设备标识对应的各通信类型的使用比例;Determine the usage ratio of each communication type corresponding to the device identifier of the near-field wireless communication device according to the usage of each communication type in the active scanning mode within a preset period of time by the near-field wireless communication device; 根据与所述设备标识对应的各通信类型的使用比例,调整所述设备标识对应的近场无线通信设备在主动扫描模式下各通信类型的扫描参数值。According to the usage ratio of each communication type corresponding to the device identification, the scanning parameter value of each communication type in the active scanning mode of the near-field wireless communication device corresponding to the device identification is adjusted. 4.根据权利要求1至3中任一项所述的方法,其特征在于,所述扫描参数值包括扫描时长或扫描顺序中的至少一种。4. The method according to any one of claims 1 to 3, wherein the scan parameter value comprises at least one of scan duration or scan order. 5.根据权利要求1所述的方法,其特征在于,在所述获取近场无线通信设备的当前地理位置信息之前,所述方法还包括:5. The method according to claim 1, wherein before the acquiring the current geographic location information of the near-field wireless communication device, the method further comprises: 根据近场无线通信设备在各个地理位置在主动扫描模式下各通信类型的使用情况,确定与所述近场无线通信设备的设备标识对应的地理位置与NFC配置文件的映射关系;Determine the mapping relationship between the geographic location corresponding to the device identifier of the near-field wireless communication device and the NFC configuration file according to the usage of each communication type in the active scanning mode of the near-field wireless communication device at each geographic location; 所述确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,包括:The determining of the near-field wireless communication NFC configuration file corresponding to the current geographic location information includes: 获取所述近场无线通信设备的设备标识,根据所述设备标识获取对应的地理位置与NFC配置文件的映射关系;Acquire the device identification of the near-field wireless communication device, and obtain the mapping relationship between the corresponding geographic location and the NFC configuration file according to the device identification; 根据所述当前地理位置信息,从所述地理位置与NFC配置文件的映射关系中,确定所述当前地理位置信息对应的NFC配置文件。According to the current geographic location information, the NFC configuration file corresponding to the current geographic location information is determined from the mapping relationship between the geographic location and the NFC configuration file. 6.根据权利要求1所述的方法,其特征在于,在所述获取近场无线通信设备所在的当前地理位置信息之前,所述方法还包括:6 . The method according to claim 1 , wherein, before acquiring the current geographic location information where the near-field wireless communication device is located, the method further comprises: 6 . 根据近场无线通信设备在不同时段、不同地理位置在主动扫描模式下各通信类型的使用情况,确定与所述近场无线通信设备的设备标识对应的时段、地理位置与NFC配置文件的映射关系;所述NFC配置文件中包括所述近场无线通信设备在主动扫描模式下的通信类型及所述通信类型的扫描顺序为首位;According to the usage of each communication type in the active scanning mode of the near-field wireless communication device in different time periods and different geographical locations, determine the mapping relationship between the time period, the geographical location and the NFC configuration file corresponding to the device identification of the near-field wireless communication device ; The NFC configuration file includes the communication type of the near-field wireless communication device in the active scanning mode and the scanning order of the communication type as the first place; 所述确定与所述当前地理位置信息对应的NFC配置文件,包括:The determining of the NFC configuration file corresponding to the current geographic location information includes: 获取所述近场无线通信设备的设备标识,根据所述设备标识获取对应的时段、地理位置与NFC配置文件的映射关系;Acquire the device identification of the near-field wireless communication device, and obtain the mapping relationship between the corresponding time period, geographic location and the NFC configuration file according to the device identification; 获取当前时刻,根据所述当前地理位置信息和当前时刻,从所述时段、地理位置与主动扫描模式下通信类型的映射关系中,确定所述当前时刻和当前地理位置信息所对应的通信类型,及在,所述主动扫描模式下所述通信类型的扫描顺序为首位。Obtaining the current moment, according to the current geographical position information and the current moment, from the mapping relationship between the time period, the geographical position and the communication type in the active scanning mode, determine the communication type corresponding to the current moment and the current geographical position information, And in the active scanning mode, the scanning order of the communication type is the first. 7.根据权利要求1至3中任一项所述的方法,其特征在于,所述主动扫描模式的扫描时长为所述主动扫描模式的原始扫描时长的预设缩小比例。7 . The method according to claim 1 , wherein the scan duration of the active scan mode is a preset reduction ratio of the original scan duration of the active scan mode. 8 . 8.一种近场无线通信设备的控制装置,其特征在于,包括:8. A control device for a near-field wireless communication device, comprising: 地理位置获取模块,用于获取近场无线通信设备的当前地理位置信息;a geographic location acquisition module, used to acquire the current geographic location information of the near-field wireless communication device; 参数确定模块,用于确定与所述当前地理位置信息对应的近场无线通信NFC配置文件,所述NFC配置文件中包括所述近场无线通信设备在主动扫描模式下的各通信类型的扫描参数值;A parameter determination module, configured to determine a near-field wireless communication NFC configuration file corresponding to the current geographic location information, where the NFC configuration file includes scanning parameters of each communication type of the near-field wireless communication device in an active scanning mode value; 控制模块,用于按照所述当前地理位置信息对应的所述NFC配置文件配置所述近场无线通信设备。A control module configured to configure the near field wireless communication device according to the NFC configuration file corresponding to the current geographic location information. 9.一种近场无线通信设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述方法的步骤。9. A near-field wireless communication device, comprising a memory and a processor, wherein a computer program is stored in the memory, characterized in that, when the computer program is executed by the processor, the processor executes the process as claimed in the claims The steps of any one of 1 to 7. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述方法的步骤。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
CN202011001598.8A 2020-09-22 2020-09-22 Control method, device, device and storage medium for near field wireless communication device Pending CN114302316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011001598.8A CN114302316A (en) 2020-09-22 2020-09-22 Control method, device, device and storage medium for near field wireless communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011001598.8A CN114302316A (en) 2020-09-22 2020-09-22 Control method, device, device and storage medium for near field wireless communication device

Publications (1)

Publication Number Publication Date
CN114302316A true CN114302316A (en) 2022-04-08

Family

ID=80964156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011001598.8A Pending CN114302316A (en) 2020-09-22 2020-09-22 Control method, device, device and storage medium for near field wireless communication device

Country Status (1)

Country Link
CN (1) CN114302316A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101228532A (en) * 2005-07-25 2008-07-23 诺基亚公司 Method and device for operating a multifunctional near field communication device supporting several data formats
US20130281014A1 (en) * 2012-04-23 2013-10-24 Qualcomm Imcorporated Methods and apparatus for improving nfc connection through device positioning
US20150236758A1 (en) * 2014-02-20 2015-08-20 Samsung Electronics Co., Ltd. Electronic device and operating method thereof
CN105635937A (en) * 2015-04-28 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Determination method and determination device for polling time, and control equipment
US20160295370A1 (en) * 2015-04-03 2016-10-06 Qualcomm Incorporated Systems and methods for location-based tuning
CN109302669A (en) * 2018-09-13 2019-02-01 Oppo(重庆)智能科技有限公司 Setting method, device, storage medium and the electronic equipment of polling mechanism
CN110958562A (en) * 2019-11-28 2020-04-03 Oppo广东移动通信有限公司 Modulation mode selection method, near field communication device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101228532A (en) * 2005-07-25 2008-07-23 诺基亚公司 Method and device for operating a multifunctional near field communication device supporting several data formats
US20130281014A1 (en) * 2012-04-23 2013-10-24 Qualcomm Imcorporated Methods and apparatus for improving nfc connection through device positioning
US20150236758A1 (en) * 2014-02-20 2015-08-20 Samsung Electronics Co., Ltd. Electronic device and operating method thereof
US20160295370A1 (en) * 2015-04-03 2016-10-06 Qualcomm Incorporated Systems and methods for location-based tuning
CN105635937A (en) * 2015-04-28 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Determination method and determination device for polling time, and control equipment
CN109302669A (en) * 2018-09-13 2019-02-01 Oppo(重庆)智能科技有限公司 Setting method, device, storage medium and the electronic equipment of polling mechanism
CN110958562A (en) * 2019-11-28 2020-04-03 Oppo广东移动通信有限公司 Modulation mode selection method, near field communication device and storage medium

Similar Documents

Publication Publication Date Title
US9020431B2 (en) Methods and apparatus to obtain transaction information
TW202013281A (en) Identity authentication method, device and system
CN109559226A (en) Block chain transaction execution method, system and electronic equipment and storage medium
AU2014267844A1 (en) Method of processing application program upgrade, and terminal device
CN103095342B (en) Communication method and device between near field communication terminal and card reader
CN107708084B (en) Data processing method and device, computer equipment and computer readable storage medium
CN106210163B (en) IP address-based localization method and device
CN111722938B (en) AT instruction processing method, apparatus, computer device and storage medium
CN109919600A (en) A kind of virtual card call method, device, equipment and storage medium
CN110910524B (en) Automatic sign-in system, method, device, electronic equipment and computer storage medium
CN102880991A (en) Student safety guarantee tracking system, student safety guarantee tracking method and student safety guarantee tracking device
CN113343732B (en) Method, device, terminal, card reader and system for determining near field communication card
CN104915696B (en) A kind of NFC reading/writing methods based on Android platform
CN105574749A (en) Selection method, device and system for card applications in secure element SE
CN105243696A (en) Intelligent attendance checking detection method and device
CN104517086A (en) Identity card information reading method
CN106027693A (en) Positioning method and positioning apparatus based on IP address
JP2018055638A (en) Determination device
CN205318553U (en) Data processing device and system and printer
CN112039861A (en) Risk identification method and device, electronic equipment and computer readable storage medium
CN112492518A (en) Card determination method and device, electronic equipment and storage medium
WO2021072775A1 (en) Method and apparatus for terminal payment, terminal device and computer-readable storage medium
CN114302316A (en) Control method, device, device and storage medium for near field wireless communication device
CN104899733B (en) Data processing method and data processing device
CN203261387U (en) Positioning mobile phone used for mine underground work

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220408