CN117408266A - Near field communication card selection method and device, electronic equipment, storage medium - Google Patents
Near field communication card selection method and device, electronic equipment, storage medium Download PDFInfo
- Publication number
- CN117408266A CN117408266A CN202310970435.8A CN202310970435A CN117408266A CN 117408266 A CN117408266 A CN 117408266A CN 202310970435 A CN202310970435 A CN 202310970435A CN 117408266 A CN117408266 A CN 117408266A
- Authority
- CN
- China
- Prior art keywords
- card
- information
- current
- nfc
- preset
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10237—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the reader and the record carrier being capable of selectively switching between reader and record carrier appearance, e.g. in near field communication [NFC] devices where the NFC device may function as an RFID reader or as an RFID tag
Landscapes
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域Technical field
本申请实施例涉及近场通信卡处理技术领域,涉及但不限于一种近场通信卡的选择方法及装置、电子设备、存储介质。The embodiments of the present application relate to the technical field of near field communication card processing, and relate to but are not limited to a near field communication card selection method and device, electronic equipment, and storage media.
背景技术Background technique
随着智能穿戴设备、智能手机等电子设备的发展,电子设备的功能更加多样化。例如,越来越多的手机支持NFC(Near Field Communication,近场通信)功能,使用了NFC技术的电子设备可以在彼此靠近的情况下进行数据交换,是由非接触式射频识别和互连互通技术整合演变而来的,通过在单一芯片上集成感应式读卡器、感应式卡片和点对点通信的功能,利用电子设备实现移动支付、电子票务、门禁、移动身份识别、防伪等应用。With the development of electronic devices such as smart wearable devices and smartphones, the functions of electronic devices have become more diverse. For example, more and more mobile phones support the NFC (Near Field Communication) function. Electronic devices using NFC technology can exchange data when they are close to each other. It is driven by non-contact radio frequency identification and interconnection. Evolved from technology integration, by integrating the functions of inductive card readers, inductive cards and point-to-point communication on a single chip, electronic devices are used to realize mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications.
随着越来越多的公共终端支持NFC功能,一台电子设备可以支持用户设置多张NFC卡,为了方便用户用卡,电子设备采用了自动选卡技术,现有的自动选卡技术是基于电子设备基站定位来辅助自动选卡的,准确率较低。As more and more public terminals support NFC functions, one electronic device can support users to set multiple NFC cards. In order to facilitate users to use cards, electronic devices adopt automatic card selection technology. The existing automatic card selection technology is based on Electronic device base station positioning is used to assist automatic card selection, but the accuracy is low.
发明内容Contents of the invention
有鉴于此,本申请实施例提供的近场通信卡的选择方法及装置、电子设备、存储介质,能够根据电子设备的当前位置信息和/或采集到的当前读卡器信息进行智能选卡,其中当前位置信息包括了GPS指纹信息和/或WIFI指纹信息,当前读卡器信息包括当前读卡器寻卡特征和/或当前读卡器应用标识符,该方法大大提升了智能选卡的成功率和准确率。In view of this, the near field communication card selection method and device, electronic device, and storage medium provided by the embodiments of the present application can intelligently select cards based on the current location information of the electronic device and/or the collected current card reader information. The current location information includes GPS fingerprint information and/or WIFI fingerprint information, and the current card reader information includes the current card reader's card search characteristics and/or the current card reader application identifier. This method greatly improves the success of smart card selection. rate and accuracy.
第一方面,本申请实施例提供的近场通信卡的选择方法,应用于电子设备,包括:In the first aspect, the near field communication card selection method provided by the embodiment of the present application is applied to electronic devices, including:
获取所述电子设备的第一信息,所述第一信息为当前位置信息和/或采集到的当前读卡器信息,所述当前位置信息包括当前GPS指纹信息和当前WIFI指纹信息中的至少一种,所述当前读卡器信息包括当前读卡器寻卡特征和当前读卡器应用标识符中的至少一种;Obtain first information of the electronic device. The first information is current location information and/or collected current card reader information. The current location information includes at least one of current GPS fingerprint information and current WIFI fingerprint information. The current card reader information includes at least one of the current card reader card search characteristics and the current card reader application identifier;
根据所述第一信息以及预设的对应关系,确定第一NFC卡;其中,若第一信息为所述当前位置信息,所述预设的对应关系为位置信息对应的围栏区域与NFC卡的对应关系;若第一信息为所述当前读卡器信息,所述预设的对应关系为读卡器信息与NFC卡的对应关系;若第一信息为所述当前位置信息和所述当前读卡器信息,所述预设的对应关系为位置信息对应的围栏区域、读卡器信息与NFC卡的对应关系。The first NFC card is determined according to the first information and the preset correspondence; wherein, if the first information is the current location information, the preset correspondence is the fence area corresponding to the location information and the NFC card. Correspondence; if the first information is the current card reader information, the preset correspondence is the correspondence between the card reader information and the NFC card; if the first information is the current location information and the current reader Card reader information, the preset corresponding relationship is the corresponding relationship between the fence area corresponding to the location information, the card reader information and the NFC card.
第二方面,本申请实施例提供的近场通信卡的选择装置,应用于电子设备,包括:In the second aspect, the near field communication card selection device provided by the embodiment of the present application is applied to electronic equipment, including:
信息获取模块,用于获取所述电子设备的第一信息,所述第一信息为当前位置信息和/或采集到的当前读卡器信息,所述当前位置信息包括当前GPS指纹信息和当前WIFI指纹信息中的至少一种,所述当前读卡器信息包括当前读卡器寻卡特征和当前读卡器应用标识符中的至少一种;An information acquisition module, configured to acquire first information of the electronic device. The first information is current location information and/or collected current card reader information. The current location information includes current GPS fingerprint information and current WIFI. At least one of the fingerprint information, the current card reader information includes at least one of the current card reader's card search characteristics and the current card reader application identifier;
卡确定模块,用于根据所述第一信息以及预设的对应关系,确定第一NFC卡;其中,若第一信息为所述当前位置信息,所述预设的对应关系为位置信息对应的围栏区域与NFC卡的对应关系;若第一信息为所述当前读卡器信息,所述预设的对应关系为读卡器信息与NFC卡的对应关系;若第一信息为所述当前位置信息和所述当前读卡器信息,所述预设的对应关系为位置信息对应的围栏区域、读卡器信息与NFC卡的对应关系。A card determination module is configured to determine the first NFC card based on the first information and a preset correspondence relationship; wherein, if the first information is the current location information, the preset correspondence relationship is the location information corresponding to The corresponding relationship between the fence area and the NFC card; if the first information is the current card reader information, the preset corresponding relationship is the corresponding relationship between the card reader information and the NFC card; if the first information is the current location information and the current card reader information, and the preset corresponding relationship is the corresponding relationship between the fence area corresponding to the location information, the card reader information and the NFC card.
第三方面,本申请实施例提供的电子设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本申请实施例第一方面提供的所述近场通信卡的选择方法的步骤。In a third aspect, an electronic device provided by an embodiment of the present application includes a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor executes the program, the first embodiment of the present application is implemented. The aspect provides the steps of the near field communication card selection method.
第四方面,本申请实施例提供的计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本申请实施例第一方面提供的所述近场通信卡的选择方法的步骤。In the fourth aspect, the computer-readable storage medium provided by the embodiment of the present application has a computer program stored thereon. When the computer program is executed by the processor, the method for selecting the near field communication card provided by the first aspect of the embodiment of the present application is implemented. A step of.
本申请实施例所提供的近场通信卡的选择方法、装置、电子设备和计算机可读存储介质,能够根据电子设备的当前位置信息和/或采集到的当前读卡器信息进行智能选卡,其中当前位置信息包括了GPS指纹信息和/或WIFI指纹信息,当前读卡器信息包括当前读卡器寻卡特征和/或当前读卡器应用标识符,该方法大大提升了智能选卡的成功率和准确率,从而解决背景技术中所提出的技术问题。The near field communication card selection method, device, electronic device and computer-readable storage medium provided by the embodiments of the present application can intelligently select cards based on the current location information of the electronic device and/or the collected current card reader information. The current location information includes GPS fingerprint information and/or WIFI fingerprint information, and the current card reader information includes the current card reader's card search characteristics and/or the current card reader application identifier. This method greatly improves the success of smart card selection. rate and accuracy, thereby solving the technical problems raised in the background technology.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。The accompanying drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application, and together with the description, are used to explain the technical solutions of the present application.
图1为本申请实施例提供的一种近场通信卡的选择方法的实现流程示意图;Figure 1 is a schematic flow chart of the implementation of a near field communication card selection method provided by an embodiment of the present application;
图2为本申请实施例提供的一种NFC卡选择方法的系统框架图;Figure 2 is a system framework diagram of an NFC card selection method provided by an embodiment of the present application;
图3为本申请实施例提供的一种预选卡方法的框架图;Figure 3 is a framework diagram of a card pre-selection method provided by an embodiment of the present application;
图4为本申请实施例提供的一种指纹采集流程;Figure 4 is a fingerprint collection process provided by an embodiment of the present application;
图5为本申请实施例提供的一种围栏建置流程;Figure 5 is a fence construction process provided by the embodiment of the present application;
图6为本申请实施例提供的一种AID选卡切换流程;Figure 6 is an AID card selection switching process provided by an embodiment of the present application;
图7为本申请实施例提供的一种实时切卡方法的流程图;Figure 7 is a flow chart of a real-time card cutting method provided by an embodiment of the present application;
图8为本申请实施例提供的另一种实时切卡的流程示意图;Figure 8 is a schematic flow chart of another real-time card cutting provided by an embodiment of the present application;
图9为本申请实施例提供的一种唤醒事件流程图;Figure 9 is a wake-up event flow chart provided by an embodiment of the present application;
图10-图14为本申请实施例提供的五种选卡场景示意图;Figures 10-14 are schematic diagrams of five card selection scenarios provided by the embodiment of this application;
图15为本申请实施例提供的另一种近场通信卡选卡方法的框架图;Figure 15 is a framework diagram of another near field communication card selection method provided by an embodiment of the present application;
图16为本申请实施例提供的一种卡片管理方法的流程图;Figure 16 is a flow chart of a card management method provided by an embodiment of the present application;
图17为本申请实施例提供一种GPS和WIFI唤醒扫描方法的流程图;Figure 17 is a flow chart of a GPS and WIFI wake-up scanning method provided by an embodiment of the present application;
图18为本申请实施例提供的一种唤醒扫描方法的流程图;Figure 18 is a flow chart of a wake-up scanning method provided by an embodiment of the present application;
图19为本申请实施例提供的一种错误指纹删除方法的流程图;Figure 19 is a flow chart of an erroneous fingerprint deletion method provided by an embodiment of the present application;
图20为本申请实施例提供的一种进入GPS围栏预选卡方法的流程图;Figure 20 is a flow chart of a method for entering a GPS fence pre-selected card provided by an embodiment of the present application;
图21为本申请实施例提供的一种出GPS围栏的预选卡方法的流程图;Figure 21 is a flow chart of a method for pre-selecting cards out of a GPS fence provided by an embodiment of the present application;
图22为本申请实施例提供的WIFI指纹信息的切卡方法的流程图;Figure 22 is a flow chart of the card cutting method of WIFI fingerprint information provided by the embodiment of the present application;
图23为本申请实施例提供的WIFI指纹切卡方法的流程图;Figure 23 is a flow chart of the WIFI fingerprint card cutting method provided by the embodiment of the present application;
图24为本申请实施例提供的一种基于场景的切卡方法的流程图;Figure 24 is a flow chart of a scenario-based card cutting method provided by an embodiment of the present application;
图25为本申请实施例提供的根据付款信息确定场景的方法的流程图;Figure 25 is a flow chart of a method for determining a scenario based on payment information provided by an embodiment of the present application;
图26为本申请实施例提供的一种判断刷卡场景的示意图;Figure 26 is a schematic diagram for determining a card swiping scenario provided by an embodiment of the present application;
图27为本本申请实施例提供的一种根据WIFI切最优卡的方法流程图;Figure 27 is a flow chart of a method for selecting the optimal card based on WIFI provided by an embodiment of the present application;
图28为本申请实施例提供的一种对应关系生成方法的流程图;Figure 28 is a flow chart of a corresponding relationship generation method provided by an embodiment of the present application;
图29为本申请实施例提供的一种指纹保存方法的流程图;Figure 29 is a flow chart of a fingerprint saving method provided by an embodiment of the present application;
图30为本申请实施例提供饿一种指纹更新方法的流程图;Figure 30 is a flow chart illustrating a fingerprint update method according to an embodiment of the present application;
图31为本申请实施例提供的一种更新指纹的方法流程示意图;Figure 31 is a schematic flow chart of a method for updating fingerprints provided by an embodiment of the present application;
图32为本申请实施例提供的根据GPS进行指纹更新的流程示意图;Figure 32 is a schematic flow chart of fingerprint updating based on GPS provided by the embodiment of the present application;
图33为本申请实施例提供的一种实时切卡方法的流程图;Figure 33 is a flow chart of a real-time card cutting method provided by an embodiment of the present application;
图34为本申请实施例提供的一种近场通信装置的结构示意图;Figure 34 is a schematic structural diagram of a near field communication device provided by an embodiment of the present application;
图35为本申请实施例提供的一种电子设备的结构示意图。Figure 35 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请的具体技术方案做进一步详细描述。以下实施例用于说明本申请,但不用来限制本申请的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the specific technical solutions of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
需要指出,本申请实施例所涉及的术语“第一\第二\第三”用以区别类似或不同的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。It should be noted that the terms "first\second\third" involved in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific ordering of objects. It is understandable that "first\second\third" The specific order or sequence of "three" may be interchanged where permitted, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein.
随着智能穿戴设备、智能手机等电子设备的发展,电子设备的功能更加多样化。例如,越来越多的手机支持NFC(Near Field Communication,近场通信)功能,使用了NFC技术的电子设备可以在彼此靠近的情况下进行数据交换,是由非接触式射频识别和互连互通技术整合演变而来的,通过在单一芯片上集成感应式读卡器、感应式卡片和点对点通信的功能,利用电子设备实现移动支付、电子票务、门禁、移动身份识别、防伪等应用。With the development of electronic devices such as smart wearable devices and smartphones, the functions of electronic devices have become more diverse. For example, more and more mobile phones support the NFC (Near Field Communication) function. Electronic devices using NFC technology can exchange data when they are close to each other. It is driven by non-contact radio frequency identification and interconnection. Evolved from technology integration, by integrating the functions of inductive card readers, inductive cards and point-to-point communication on a single chip, electronic devices are used to realize mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications.
随着越来越多的公共终端支持NFC功能,一台电子设备可以支持用户设置多张NFC卡,为了方便用户用卡,电子设备采用了自动选卡技术,现有的自动选卡技术是基于电子设备基站定位来辅助自动选卡的,准确率较低。As more and more public terminals support NFC functions, one electronic device can support users to set multiple NFC cards. In order to facilitate users to use cards, electronic devices adopt automatic card selection technology. The existing automatic card selection technology is based on Electronic device base station positioning is used to assist automatic card selection, but the accuracy is low.
有鉴于此,本申请实施例提供一种近场通信卡的选择方法,通过获取所述电子设备的第一信息,所述第一信息为当前位置信息和/或采集到的当前读卡器信息,所述当前位置信息包括当前GPS指纹信息和当前WIFI指纹信息中的至少一种,所述当前读卡器信息包括当前读卡器寻卡特征和当前读卡器应用标识符中的至少一种;根据所述第一信息以及预设的对应关系,确定第一NFC卡。该方法大大提升了智能选卡的成功率和准确率。In view of this, embodiments of the present application provide a method for selecting a near field communication card by obtaining the first information of the electronic device, where the first information is the current location information and/or the collected current card reader information. , the current location information includes at least one of current GPS fingerprint information and current WIFI fingerprint information, and the current card reader information includes at least one of current card reader card search characteristics and current card reader application identifier ; Determine the first NFC card based on the first information and the preset corresponding relationship. This method greatly improves the success rate and accuracy of intelligent card selection.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
图1为本申请实施例提供的一种近场通信卡的选择方法的实现流程示意图,该方法可以应用于电子设备,该电子设备在实施的过程中可以为各种类型的具有信息处理能力的设备。例如,所述电子设备可以包括个人计算机、笔记本电脑、掌上电脑或服务器等;该电子设备还可以为移动终端,例如所述移动终端可以包括手机、车载电脑、平板电脑或投影仪等。如图1所示,该方法可以包括以下步骤101至步骤102:Figure 1 is a schematic flowchart of the implementation of a near field communication card selection method provided by an embodiment of the present application. This method can be applied to electronic devices. During the implementation process, the electronic devices can be various types of devices with information processing capabilities. equipment. For example, the electronic device may include a personal computer, a notebook computer, a palmtop computer, or a server; the electronic device may also be a mobile terminal. For example, the mobile terminal may include a mobile phone, a vehicle-mounted computer, a tablet computer, or a projector. As shown in Figure 1, the method may include the following steps 101 to 102:
步骤101:获取所述电子设备的第一信息,所述第一信息为当前位置信息和/或采集到的当前读卡器信息,所述当前位置信息包括当前GPS指纹信息和当前WIFI指纹信息中的至少一种,所述当前读卡器信息包括当前读卡器寻卡特征和当前读卡器应用标识符中的至少一种。Step 101: Obtain the first information of the electronic device. The first information is the current location information and/or the collected current card reader information. The current location information includes the current GPS fingerprint information and the current WIFI fingerprint information. At least one of the current card reader information includes at least one of the current card reader card search feature and the current card reader application identifier.
需要说明的是,电子设备可以为具有GPS定位功能和WIFI无线通信功能的电子设备。为了进行智能选卡,电子设备首先获取第一信息,第一信息可以为当前位置信息、采集到的当前读卡器信息、或者同时包括当前位置信息和采集到的当前读卡器信息。其中,当前位置信息可以为当前GPS指纹信息、当前WIFI指纹信息、或者同时包括当前GPS指纹信息和当前WIFI指纹信息,当前读卡器信息可以为当前读卡器寻卡特征、当前读卡器应用标识符、或者同时包括当前读卡器寻卡特征和当前读卡器应用标识符。It should be noted that the electronic device can be an electronic device with GPS positioning function and WIFI wireless communication function. In order to perform intelligent card selection, the electronic device first obtains first information. The first information may be current location information, collected current card reader information, or include both current location information and collected current card reader information. Among them, the current location information can be the current GPS fingerprint information, the current WIFI fingerprint information, or include both the current GPS fingerprint information and the current WIFI fingerprint information. The current card reader information can be the current card reader card finding characteristics and the current card reader application. Identifier, or include both the current card reader card search characteristics and the current card reader application identifier.
其中,GPS指纹信息即为通过GPS模块获得的GPS定位信息,WIFI指纹信息即为通过WIFI模块获得的WIFI定位信息,“位置指纹信息”是把实际环境中的位置和某种“指纹”联系起来,一个位置对应一个独特的指纹。这个指纹可以是单维或多维的,比如待定位设备在接收或者发送信息,那么指纹可以是这个信息或信号的一个特征或多个特征,特征最常见的是信号强度。读卡器寻卡特征可以为读卡器发射射频信号寻卡的信号特征,例如发射NFC信号的特征,轮询模式polling特征,读卡器应用标识符是指读卡器支持的用于读取NFC卡的应用程序对应的唯一标识符。Among them, the GPS fingerprint information is the GPS positioning information obtained through the GPS module, the WIFI fingerprint information is the WIFI positioning information obtained through the WIFI module, and the "location fingerprint information" links the location in the actual environment with a certain "fingerprint" , one location corresponds to a unique fingerprint. This fingerprint can be single-dimensional or multi-dimensional. For example, if the device to be located is receiving or sending information, then the fingerprint can be one or more features of the information or signal. The most common feature is signal strength. The card reader's card search characteristics can be the signal characteristics of the card reader that transmits radio frequency signals to search for the card, such as the characteristics of transmitting NFC signals, polling mode polling characteristics, and the card reader application identifier refers to the card reader's support for reading. The unique identifier corresponding to the NFC card application.
步骤102:根据所述第一信息以及预设的对应关系,确定第一NFC卡;其中,若第一信息为所述当前位置信息,所述预设的对应关系为位置信息对应的围栏区域与NFC卡的对应关系;若第一信息为所述当前读卡器信息,所述预设的对应关系为读卡器信息与NFC卡的对应关系;若第一信息为所述当前位置信息和所述当前读卡器信息,所述预设的对应关系为位置信息对应的围栏区域、读卡器信息与NFC卡的对应关系。Step 102: Determine the first NFC card according to the first information and the preset correspondence relationship; wherein, if the first information is the current location information, the preset correspondence relationship is the fence area corresponding to the location information and The corresponding relationship of the NFC card; if the first information is the current card reader information, the preset corresponding relationship is the corresponding relationship of the card reader information and the NFC card; if the first information is the current location information and the Describing the current card reader information, the preset corresponding relationship is the corresponding relationship between the fence area corresponding to the location information, the card reader information and the NFC card.
需要说明的是,电子设备可以预设有对应关系,对应关系可以是在电子设备第一次刷NFC卡后采集相关信息生成的。若第一信息为当前位置信息,所述预设的对应关系为位置信息对应的围栏区域与NFC卡的对应关系;若第一信息为当前读卡器信息,所述预设的对应关系为读卡器信息与NFC卡的对应关系;若第一信息为当前位置信息和当前读卡器信息,所述预设的对应关系为位置信息对应的围栏区域、读卡器信息与NFC卡的对应关系。在获取第一信息和对应关系后,可以确定第一NFC卡,从而将当前NFC卡切换为第一NFC,实现了自动选卡和切卡的目的。It should be noted that the electronic device can be preset with a corresponding relationship, and the corresponding relationship can be generated by collecting relevant information after the electronic device swipes the NFC card for the first time. If the first information is the current location information, the preset correspondence is the correspondence between the fence area corresponding to the location information and the NFC card; if the first information is the current card reader information, the preset correspondence is read The correspondence between the card reader information and the NFC card; if the first information is the current location information and the current card reader information, the preset correspondence is the correspondence between the fence area corresponding to the location information, the card reader information and the NFC card . After obtaining the first information and the corresponding relationship, the first NFC card can be determined, thereby switching the current NFC card to the first NFC, achieving the purpose of automatically selecting and cutting cards.
可以理解的是,根据当前位置信息确定NFC卡的方式可以为本方案的预选卡方式,根据读卡器信息确定NFC卡的方式可以为本方案的实时选卡方式。由于当前位置信息和当前读卡器信息都具有明显的特征,能够确定当前刷卡的场景情况,因此基于这两种信息进行智能选卡,大大提升了智能选卡的成功率和准确率,提升了用户体验。It can be understood that the method of determining the NFC card based on the current location information can be the pre-selected card method of this solution, and the method of determining the NFC card based on the card reader information can be the real-time card selection method of this solution. Since both the current location information and the current card reader information have obvious characteristics and can determine the current card swiping scene, smart card selection based on these two types of information greatly improves the success rate and accuracy of smart card selection, and improves user experience.
图2为本申请实施例提供的一种NFC卡选择方法的系统框架图。如图2所示,系统框架图中包括钱包模块和NFC模块,其中,钱包模块:接收NFC模块输出的切卡通知事件,完成交易过程中、交易完成后的页面展示。NFC模块:包括预选卡子模块和实时选卡子模块:1)、预选卡子模块包括选卡策略、卡片管理、指纹管理库、NFCEngine状态机管理、讯号感知、定位策略、围栏策略模块;输入包括刷卡结束事件、钱包添加/删除卡片通知事件、传感器Sensor信号,输出是预选卡通知事件;2)、实时选卡子模块包括读卡器特征实时采集、特征值管理策略、实时选卡、读卡器特征库,输入为刷卡事件,输出是实时选卡通知事件。该子模块在收到刷卡事件后,实时采集读卡器特征,根据读卡器特征以及应用标识符AID做实时选卡,将选卡事件通知钱包;刷卡结束后,将刷卡结束事件通知预选卡子模块。GPS/WIFI/Sensors提供相应的事件;刷卡事件是识别到读卡器场强事件;读卡器特征离线采集针对已知的典型类型的读卡器的特征采集,比如发射NFC信号的安检门、PC机、带NFC功能的车载充电器;读卡器AID离线采集:是搜集汇总目前已知的公交/地铁读卡器、银行POS机的AID信息。其中,Sensors可以是手机的重力传感器、陀螺仪等,GPS定位会用到的重力传感器/陀螺仪来计算经纬度信息、楼层高度等。Figure 2 is a system framework diagram of an NFC card selection method provided by an embodiment of the present application. As shown in Figure 2, the system framework diagram includes a wallet module and an NFC module. The wallet module: receives the card cut notification event output by the NFC module, and displays the page during and after the transaction is completed. NFC module: includes pre-selected card sub-module and real-time card selection sub-module: 1), pre-selected card sub-module includes card selection strategy, card management, fingerprint management library, NFCEngine state machine management, signal perception, positioning strategy, fence strategy module; input includes card swiping end Events, wallet add/delete card notification events, sensor Sensor signals, the output is pre-selected card notification events; 2), real-time card selection sub-module includes real-time collection of card reader features, feature value management strategy, real-time card selection, and card reader feature library , the input is the card swiping event, and the output is the real-time card selection notification event. After receiving the card swiping event, this sub-module collects the card reader characteristics in real time, performs real-time card selection based on the card reader characteristics and the application identifier AID, and notifies the wallet of the card selection event; after the card swiping is completed, it notifies the pre-selected card of the card swiping end event. module. GPS/WIFI/Sensors provide corresponding events; the card swipe event is the recognition of the card reader field strength event; the offline collection of card reader characteristics is aimed at the characteristic collection of known typical types of card readers, such as security gates that emit NFC signals, PC, car charger with NFC function; card reader AID offline collection: it collects and summarizes the currently known AID information of bus/subway card readers and bank POS machines. Among them, Sensors can be the gravity sensor, gyroscope, etc. of a mobile phone. GPS positioning uses the gravity sensor/gyroscope to calculate longitude and latitude information, floor height, etc.
在一些实施例中,所述第一信息包括当前位置信息,所述根据所述第一信息以及预设的对应关系,确定第一NFC卡,可以包括:确定所述当前位置信息是否位于第一围栏区域内,所述第一围栏区域为所述预设的对应关系中包括的GPS围栏区域或WIFI围栏区域;若所述当前位置信息位于所述第一围栏区域内,根据所述预设的对应关系确定所述第一围栏区域对应的NFC卡为所述第一NFC卡。In some embodiments, the first information includes current location information. Determining the first NFC card based on the first information and a preset corresponding relationship may include: determining whether the current location information is located in the first NFC card. Within the fence area, the first fence area is the GPS fence area or WIFI fence area included in the preset correspondence relationship; if the current location information is located in the first fence area, according to the preset The corresponding relationship determines that the NFC card corresponding to the first fence area is the first NFC card.
需要说明的是,预选卡的触发条件(输入):围栏触发事件以及门禁刷卡事件;输出:围栏事件触发后,根据选卡算法,完成预选卡,并激活选择的卡片,将预选卡结果通知钱包模块;门禁刷卡事件触发后,根据围栏策略建立围栏和更新指纹库;选卡逻辑:根据指纹库选择对应的卡片。初次地理围栏的设置由门禁刷卡事件触发,记录刷卡点的位置信息和WIFI指纹信息,并与卡片ID关联,保存到指纹&围栏库;库刷新:根据最近一次门禁刷卡事件采集到的位置、指纹刷新数据库。It should be noted that the trigger conditions (input) of the pre-selected card: fence trigger event and access card swipe event; output: after the fence event is triggered, the pre-selected card is completed according to the card selection algorithm, and the selected card is activated, and the wallet is notified of the pre-selected card result. Module; after the access control card swiping event is triggered, the fence is established according to the fence policy and the fingerprint database is updated; card selection logic: the corresponding card is selected according to the fingerprint database. The initial geofence setting is triggered by the access control card swiping event. The location information and WIFI fingerprint information of the card swiping point are recorded, associated with the card ID, and saved to the fingerprint & fence library; library refresh: based on the location and fingerprint collected from the latest access control card swiping event. Refresh the database.
在一些实施例中,所述方法还可以包括:若所述当前位置信息未位于所述第一围栏区域内,确定所述第一NFC卡为预设的NFC卡。In some embodiments, the method may further include: if the current location information is not located within the first fence area, determining that the first NFC card is a preset NFC card.
需要说明的是,卡片包括门禁卡和交通卡,围栏触发主要用于切换门禁卡,因为用户的门禁卡的地理位置例如家里公司是固定的,但是刷交通卡就不是固定的位置,就是二选一的过程,能保证公司和家里的门禁卡能切换正确,那其他场景下就自动切换到交通卡。It should be noted that cards include access control cards and transportation cards. Fence triggering is mainly used to switch access control cards, because the geographical location of the user's access control card, such as home and company, is fixed, but when swiping a transportation card, it is not a fixed location, but a second choice. This process can ensure that the access control cards at work and home can be switched correctly, and it will automatically switch to the transportation card in other scenarios.
其中,地理围栏预切卡适用范围:适用于刷卡位置固定,不同卡刷卡位置相距较远。地理围栏预切卡局限性:刷卡位置不固定的场景,比如:数字汽车钥匙、银行卡、eID;刷卡位置相距较近,比如:用户单元楼电梯和用户家门禁;用户家门禁和相距较近的公共交通刷卡点。地理围栏预切卡优势:预切卡成功后,当用户刷卡时,不需要再切换卡片,节省了去激活、激活以及切卡的时间,缩短了刷卡时间。地理围栏预切卡劣势:需借用GPS/WIFI等做辅助定位,增加系统功耗。Among them, the scope of application of geofence pre-cut cards: it is suitable for fixed card swiping positions, and the swiping positions of different cards are far apart. Limitations of geofence pre-cut cards: Scenarios where the card swiping location is not fixed, such as: digital car keys, bank cards, eIDs; card swiping locations are close to each other, such as: the user's unit building elevator and the user's home access control; the user's home access control and are close to each other public transportation card points. Advantages of geofence pre-cut cards: After the card is pre-cut successfully, users do not need to switch cards when swiping their cards, which saves the time of deactivation, activation and card cutting, and shortens the time of card swiping. Disadvantages of geofence pre-cut cards: GPS/WIFI, etc. need to be used for auxiliary positioning, which increases system power consumption.
在一些实施例中,所述第一信息包括当前读卡器信息,在所述获取所述电子设备的第一信息之前,所述方法还可以包括:检测读卡器的NFC信号的信号强度是否大于预设强度阈值;所述获取所述电子设备的第一信息,包括:在所述信号强度大于预设强度阈值的情况下,采集所述读卡器的当前读卡器信息。In some embodiments, the first information includes current card reader information. Before obtaining the first information of the electronic device, the method may further include: detecting whether the signal strength of the NFC signal of the card reader is Greater than a preset strength threshold; the obtaining the first information of the electronic device includes: collecting the current card reader information of the card reader when the signal strength is greater than the preset strength threshold.
需要说明的是,实时选卡的触发条件(输入):刷卡事件,侦测到外部NFC场强(Field On)。输出:根据实时选卡算法,切换至正确的卡片,并激活卡片,通知钱包模块;若选择的是门禁卡,将通知信息发送给地理围栏模块,进行围栏的建立或围栏库的刷新;选卡逻辑:根据读卡器轮询模式Polling特征、读卡器AID特征进行实时选卡。库管理:读卡器AID库需事先离线搜集并关联到对应的卡类型;读卡器Polling特征库分为离线采集和实时采集,离线采集针对已知的典型的读卡器进行事先采集,实时采集是在用户刷卡的过程当中采集;刷卡成功后,更新实时采集数据库;读卡器Polling特征:命令类型、事件时序(包括命令顺序、事件间隔时间)、事件数量。It should be noted that the trigger condition (input) for real-time card selection: card swipe event, detection of external NFC field strength (Field On). Output: According to the real-time card selection algorithm, switch to the correct card, activate the card, and notify the wallet module; if the access card is selected, the notification information is sent to the geofence module to establish the fence or refresh the fence library; select the card Logic: Real-time card selection based on card reader polling mode Polling characteristics and card reader AID characteristics. Library management: The card reader AID library needs to be collected offline in advance and associated with the corresponding card type; the card reader Polling feature library is divided into offline collection and real-time collection. Offline collection collects in advance for known typical card readers and real-time collection. The collection is collected during the process of the user swiping the card; after the card swiping is successful, the real-time collection database is updated; card reader Polling characteristics: command type, event timing (including command sequence, event interval time), and event number.
在一些实施例中,所述当前读卡器信息包括所述当前读卡器应用标识符,在所述采集所述读卡器的当前读卡器信息之前,所述方法还可以包括:设置当前NFC卡的芯片类型参数为预设参数值,以使所述读卡器上报所述当前读卡器应用标识符。In some embodiments, the current card reader information includes the current card reader application identifier. Before collecting the current card reader information of the card reader, the method may further include: setting the current card reader application identifier. The chip type parameter of the NFC card is a preset parameter value, so that the card reader reports the current card reader application identifier.
需要说明的是,实时切卡时间优化目前门禁卡实时切交通卡需要2s左右,默认设置门禁卡sak=28,使门禁卡刷交通POS默认可以上报aid,减少临时切sak等待aid上报的时间,可优化到1.6s左右。SAK是卡片的一个默认配置参数在和读卡器的交互过程中,卡片会发送这个SAK是给读卡器读卡器可以根据SAK是看下一步如何走一般交通卡SAK是28,门禁卡是08比较多如果是08的门禁卡靠近地铁闸机,闸机就不会发选卡指令(aid),如果将门禁卡的sak修改成28,闸机就会发选卡指令(aid),手机就可以根据aid去匹配并切换合适的交通卡。It should be noted that the real-time card cutting time optimization currently takes about 2 seconds to switch the access card to the traffic card in real time. The access card sak=28 is set by default, so that the access card can be reported to aid by default at the traffic POS, reducing the time for temporary cutting of sak and waiting for aid to be reported. It can be optimized to about 1.6s. SAK is a default configuration parameter of the card. During the interaction with the card reader, the card will send this SAK to the card reader. The card reader can determine the next step according to the SAK. Generally, the SAK for transportation cards is 28, and for access control cards. 08 is more common. If the 08 access card is close to the subway gate, the gate will not issue a card selection instruction (aid). If you change the Sak of the access card to 28, the gate will issue a card selection instruction (aid). Mobile phone You can match and switch to the appropriate transportation card based on aid.
在一些实施例中,所述第一信息包括采集到的所述当前读卡器信息,所述根据所述第一信息以及预设的对应关系,确定第一NFC卡,可以包括:确定所述当前读卡器信息是否与第一读卡器信息相匹配,所述第一读卡器信息为所述预设的对应关系中包括的读卡器寻卡特征或读卡器应用标识符;若所述当前读卡器信息与所述第一读卡器信息相匹配,根据所述预设的对应关系确定所述第一读卡器信息对应的NFC卡为第一NFC卡。In some embodiments, the first information includes the collected current card reader information, and determining the first NFC card based on the first information and a preset correspondence may include: determining the Whether the current card reader information matches the first card reader information, which is the card reader card search feature or the card reader application identifier included in the preset correspondence relationship; if The current card reader information matches the first card reader information, and the NFC card corresponding to the first card reader information is determined to be the first NFC card according to the preset correspondence relationship.
需要说明的是,实时切卡适用范围:适用于不同行为特征的读卡器,包括14443-3和-4层AID(若有)不同行为特征。实时切卡局限性:行为特征相同的读卡器,比如相同型号的读卡器,或者虽型号不同但所用的芯片相同的读卡器;行为特征相似度高的读卡器,比如命令序列相同,且命令时间间隔小于手机芯片极限检测能力的读卡器;实时切卡优势:不受读卡器地理位置限制,没有额外的功耗增加。实时切卡劣势:刷卡过程中,需完成读卡器特征识别、卡片匹配、激活/去激活卡片、切卡、刷卡动作,会增加刷卡过程中的时间开销。It should be noted that the scope of application of real-time card cutting is: applicable to card readers with different behavioral characteristics, including different behavioral characteristics of 14443-3 and -4 layer AID (if any). Limitations of real-time card cutting: card readers with the same behavioral characteristics, such as the same model of card readers, or card readers with different models but using the same chip; card readers with highly similar behavioral characteristics, such as the same command sequence , and the command time interval is less than the card reader's limit detection capability of the mobile phone chip; the advantage of real-time card cutting: it is not restricted by the geographical location of the card reader, and there is no additional increase in power consumption. Disadvantages of real-time card cutting: During the card swiping process, card reader feature recognition, card matching, card activation/deactivation, card cutting, and card swiping actions need to be completed, which will increase the time overhead in the card swiping process.
以下对预选卡和实时选卡的实现方式进行详细介绍。The following is a detailed introduction to the implementation of pre-selected cards and real-time card selection.
图3为本申请实施例提供的一种预选卡方法的框架图,如图3所示,预选卡关键流程包括:1卡片管理:钱包事件(刷卡/离开界面/添加卡片/删除卡片/切卡),获取卡片资讯。2指纹库管理:指纹库设计(格式内容/储存/更新学习/删除);指纹采集/更新/老化设计;指纹相似性算法;指纹检索/匹配算法。3围栏策略:动态围栏更新;门禁卡围栏设计(大围栏+小围栏);围栏下发。4预选卡策略:选卡策略(围栏事件+位置+WIFI相似度);通知切卡。5NfCEngine引擎状态机管理:围栏唤醒设计(AlarmManager);1).GPS+Network定位设计;2).室内外侦测;3).静止移动侦测;讯号/状态感知:1).位置监听,跳点过滤;2).WIFI连接/中断,WIFIscan,WIFI相似度;3).蜂窝网络的小区信息CELL辅助更新定位。Figure 3 is a framework diagram of a card pre-selection method provided by the embodiment of the present application. As shown in Figure 3, the key processes of card pre-selection include: 1. Card management: wallet events (swipe card/leave interface/add card/delete card/cut card ) to obtain card information. 2 Fingerprint database management: fingerprint database design (format content/storage/update learning/deletion); fingerprint collection/update/aging design; fingerprint similarity algorithm; fingerprint retrieval/matching algorithm. 3 Fence strategy: dynamic fence update; access card fence design (large fence + small fence); fence distribution. 4 Pre-selected card strategy: Card selection strategy (fence event + location + WIFI similarity); notification to cut cards. 5NfCEngine engine state machine management: fence wake-up design (AlarmManager); 1). GPS+Network positioning design; 2). Indoor and outdoor detection; 3). Stationary motion detection; signal/status awareness: 1). Location monitoring, jumping Point filtering; 2). WIFI connection/interruption, WIFIscan, WIFI similarity; 3). CELL assisted update positioning of cell information of cellular network.
针对卡片管理,包括钱包事件:1.用户刷卡,2.用户离开刷卡界面,3.用户添加新卡片,4.用户删除卡片。卡片资讯包括:1.卡片身份证标识号ID-应用标识符AID,用户身份证明UID;2.卡片类型:门禁卡,交通卡;3.目前预设卡:应用标识符AID,类型type;4.卡片张数:门禁卡张数,交通卡张数。For card management, including wallet events: 1. The user swipes the card, 2. The user leaves the card swiping interface, 3. The user adds a new card, 4. The user deletes the card. Card information includes: 1. Card identification number ID - application identifier AID, user identity certificate UID; 2. Card type: access control card, transportation card; 3. Current default card: application identifier AID, type type; 4 .Number of cards: number of access control cards, number of transportation cards.
NFCEngine状态机负责控制围栏状态FenceState:0:围栏服务关闭FENCE_SERVICE_OFF,1:围栏服务开启FENCE_SERVICE_ON。当发生NFC事件(增加/删除/刷卡),围栏服务关闭,策略:1.事件触发,2.收集指纹;当发生1.钱包的卡≥2时,或者有效指纹>0时,围栏服务开启,策略:1.位置有效期(亮屏:5min,灭屏:10min),2.30min唤醒。选卡策略:1.触发围栏推荐选卡,2.NFC实时切卡。The NFCEngine state machine is responsible for controlling the fence state FenceState: 0: Fence service is turned off FENCE_SERVICE_OFF, 1: Fence service is turned on FENCE_SERVICE_ON. When an NFC event (add/delete/swipe card) occurs, the fence service is turned off. Strategy: 1. Event trigger, 2. Fingerprint collection; when 1. Wallet cards ≥ 2, or valid fingerprints > 0, the fence service is turned on. Strategy: 1. Location validity period (screen on: 5 minutes, screen off: 10 minutes), wake up in 2.30 minutes. Card selection strategy: 1. Trigger fence to recommend card selection, 2. NFC real-time card selection.
图4为本申请实施例提供的一种指纹采集流程。如图4所示,发生刷卡事件,确定是否需采集(1.有效卡片,2.门禁卡),根据数据库进行状态更新,指纹采集(1.采集GPS,WIFI,CELL,2.主动触发定位+扫描),根据指纹库进行数据检验。Figure 4 is a fingerprint collection process provided by an embodiment of the present application. As shown in Figure 4, when a card swiping event occurs, determine whether it needs to be collected (1. Valid card, 2. Access card), update the status according to the database, and collect fingerprints (1. Collect GPS, WIFI, CELL, 2. Actively trigger positioning + Scan) and perform data verification based on the fingerprint database.
图5为本申请实施例提供的一种围栏建置流程。如图5所示,在指纹采集成功或者位置变化的情况下,根据指纹库进行触发围栏建置,根据数据库进行状态更新+通知。Figure 5 is a fence construction process provided by an embodiment of the present application. As shown in Figure 5, when the fingerprint collection is successful or the location changes, the fence construction is triggered based on the fingerprint database, and the status update + notification is performed based on the database.
图6为本申请实施例提供的一种AID选卡切换流程。如图6所示,在发生围栏事件或者WIFI连接/中断的情况下,触发相关处理,根据数据库进行状态更新,根据指纹库匹配AID,AID选卡切换(1.切换对应AID,2.切换预设AID);在发生或者WIFIscan更新或者CELL更新的情况下,触发相关处理,状态更新到数据库。Figure 6 is an AID card selection switching process provided by an embodiment of the present application. As shown in Figure 6, when a fence event or WIFI connection/interruption occurs, relevant processing is triggered, status is updated according to the database, AID is matched according to the fingerprint database, and AID selection card is switched (1. Switch to the corresponding AID, 2. Switch to the preset Set AID); when either WIFIscan update or CELL update occurs, relevant processing is triggered and the status is updated to the database.
图7为本申请实施例提供的一种实时切卡方法的流程图。如图7所示,实时切卡流程包括:NFC控制器+固件NFCC+FW:进场后,固件FW将刷卡时的空口数据以Lxdebug信息上报,这部分由NXP FW支持;NFC NCI/JNI:NCI/JNI层将Ledebug数据透传上报,需要NXP MW支持。NFC进程包括:(1)NfcService接收底层刷卡事件,上报AID;(2)将16进制的Lxdebug数据转换成可识别的信息进行保存,实现抓取方案;(3)将门禁卡名保存在Config.xml,对应的profile,events保存在accesscard0.xml,…,accesscard4.xml,并形成门禁卡和accesscard0.xml,…,accesscard4.xml的映射;(4)用户再次刷卡时,将实时抓取的profile与accesscard profile比对,如有匹配,则通知钱包切换到对应门禁卡。其中,Lxdebug:这里的x可以是1/2/3/4对应L1/L2/L3/L4层的数据,就是把刷卡的reader和卡之间的交互数据打印出来,这个是属于调试log的信息。NXP是NFC芯片厂商的名称。NCI层实现了NFC协议栈,上层通过它与NFCC进行通信。NCI的实现与蓝牙协议栈在Android的实现类似,NCI/JNI层将Ledebug数据透传上报,Lxdebug上报就是把这些数据以事件的形式通过Nci--Jni上报到应用层(NfcService),上层拿到这些数据可以做相应的事情,比如判断刷卡的哪个流程有问题,比如reader的交互流程是怎么样的,等等。Figure 7 is a flow chart of a real-time card cutting method provided by an embodiment of the present application. As shown in Figure 7, the real-time card cutting process includes: NFC controller + firmware NFCC + FW: After entering the site, the firmware FW will report the air interface data when the card is swiped as Lxdebug information. This part is supported by NXP FW; NFC NCI/JNI: The NCI/JNI layer transparently transmits and reports Ledebug data, which requires NXP MW support. The NFC process includes: (1) NfcService receives the underlying card swipe event and reports it to AID; (2) Converts the hexadecimal Lxdebug data into identifiable information and saves it to implement the capture solution; (3) Save the access card name in Config .xml, the corresponding profiles and events are saved in accesscard0.xml,...,accesscard4.xml, and form a mapping between the access card and accesscard0.xml,...,accesscard4.xml; (4) When the user swipes the card again, the real-time captured The profile is compared with the accesscard profile. If there is a match, the wallet is notified to switch to the corresponding access card. Among them, Lxdebug: x here can be 1/2/3/4 corresponding to the data of L1/L2/L3/L4 layer, which is to print out the interaction data between the card reader and the card. This is the information belonging to the debugging log. . NXP is the name of the NFC chip manufacturer. The NCI layer implements the NFC protocol stack, through which the upper layer communicates with NFCC. The implementation of NCI is similar to the implementation of Bluetooth protocol stack in Android. The NCI/JNI layer transparently transmits and reports Ledebug data. Lxdebug reporting is to report these data to the application layer (NfcService) in the form of events through Nci--Jni, and the upper layer gets it. These data can be used to do corresponding things, such as determining which process of card swiping is problematic, such as what the reader's interaction process is, etc.
图8为本申请实施例提供的另一种实时切卡的流程示意图。如图8所示,实时切卡的流程包括:201.侦测到NFC场强,STR触发,搜集200ms的寻卡信号,202.实时配置特征,203.等待800ms确定是否有交易事件,若是就结束,若否,204.确定是否AID上报,若有AID上报,切换到对应AID卡片,结束,若没有AID上报,则205.判断特征库是否存在,若不存在特征库,则切SAK确定是否上报AID,若是上报AID,则切换到对应AID的卡片,若未上报AID,则判断是否刷卡成功,若不成功则结束,若成功,则门禁卡AID及配置特征写入文件。若有特征库,则206.特征库比对,若特征匹配,则通知钱包切换到对应AID的门禁卡,207.判断是否刷卡成功,若成功则结束,若未成功则手动切卡,程序不再处理。FIG. 8 is a schematic flowchart of another real-time card cutting provided by an embodiment of the present application. As shown in Figure 8, the real-time card cutting process includes: 201. Detect the NFC field strength, trigger STR, collect the card search signal for 200ms, 202. Configure the characteristics in real time, 203. Wait for 800ms to determine whether there is a transaction event, and if so, End, if not, 204. Determine whether AID is reported. If AID is reported, switch to the corresponding AID card and end. If no AID is reported, then 205. Determine whether the signature database exists. If the signature database does not exist, switch to SAK to determine whether Report AID. If AID is reported, switch to the card corresponding to AID. If AID is not reported, determine whether the card swipe is successful. If not, end. If successful, the access control card AID and configuration characteristics are written to the file. If there is a feature library, then 206. Compare the feature library. If the features match, notify the wallet to switch to the access card corresponding to the AID. 207. Determine whether the card swipe is successful. If it is successful, it will end. If it is not successful, the card will be manually cut. The program will not Process again.
需要说明的是,若预切卡成功则直接刷卡成功,如果是预切卡到交通卡的话,需要+城市位置一起进行预切卡。特征库存储有5组信息,比对算法需要根据优化看更新。CPU卡刷交通POS场景,匹配通知钱包切卡场景,用于刷门禁场景。It should be noted that if the pre-cut card is successful, the card will be swiped directly. If the card is pre-cut to a transportation card, the card must be pre-cut along with the city location. The feature database stores 5 sets of information, and the comparison algorithm needs to be updated according to optimization. The CPU card swiping traffic POS scenario matches the notification wallet card cutting scenario and is used in the access control scenario.
在一些实施例中,在所述获取所述电子设备的第一信息之后,所述方法还可以包括:在所述预设的对应关系中不包括与所述第一信息对应的对应关系的情况下,根据历史刷卡信息以及当前时间,确定第一NFC卡。In some embodiments, after obtaining the first information of the electronic device, the method may further include: when the preset correspondence does not include a correspondence corresponding to the first information. Next, determine the first NFC card based on historical card swiping information and the current time.
需要说明的是,在预切卡和实时切卡都无法实施的时候,可以采用智能推荐卡方法,智能推荐卡的方法是根据历史刷卡信息以及当前时间确定。本申请实施例对根据历史刷卡信息以及当前时间确定第一NFC卡的方法不做限定。It should be noted that when neither pre-cutting nor real-time card cutting is possible, the smart card recommendation method can be used. The smart card recommendation method is determined based on historical card swiping information and the current time. The embodiment of the present application does not limit the method of determining the first NFC card based on historical card swiping information and the current time.
在一些实施例中,所述预设的NFC卡为NFC交通卡,所述电子设备包括至少两张NFC交通卡,所述确定所述第一NFC卡为预设的NFC卡,可以包括:根据所述当前GPS指纹信息确定所述电子设备的当前城市信息;确定与所述当前城市信息对应的NFC交通卡为所述预设的NFC卡。In some embodiments, the preset NFC card is an NFC transportation card, and the electronic device includes at least two NFC transportation cards. Determining that the first NFC card is a preset NFC card may include: according to The current GPS fingerprint information determines the current city information of the electronic device; the NFC transportation card corresponding to the current city information is determined to be the preset NFC card.
进一步的,所述确定与所述当前城市信息对应的NFC交通卡为所述预设的NFC卡,可以包括:若所述当前城市信息对应至少两张NFC交通卡,确定最近使用的NFC交通卡为所述预设的NFC卡;在所述根据所述当前GPS指纹信息确定所述电子设备的当前城市信息之后,所述方法还包括:若所述当前城市信息未有对应的NFC交通卡,确定最近使用的NFC交通卡为所述预设的NFC卡。Further, determining that the NFC transportation card corresponding to the current city information is the preset NFC card may include: if the current city information corresponds to at least two NFC transportation cards, determining the most recently used NFC transportation card. is the preset NFC card; after determining the current city information of the electronic device based on the current GPS fingerprint information, the method further includes: if the current city information does not have a corresponding NFC transportation card, The most recently used NFC transportation card is determined to be the preset NFC card.
需要说明的是,如果有多张交通卡,预选卡策略中根据城市信息选择对应城市的交通卡,细节如下:1)若没有对应该城市的交通卡,优选最近使用的互联互通卡;2)若仅有一张对应城市的交通卡,预选该卡片;3)若有多张对应该城市的交通卡,则在该类卡片中优选最近一次使用的。It should be noted that if there are multiple transportation cards, the transportation card corresponding to the city will be selected according to the city information in the pre-selected card strategy. The details are as follows: 1) If there is no transportation card corresponding to the city, the most recently used interconnection card will be preferred; 2) If there is only one transportation card corresponding to the city, pre-select the card; 3) If there are multiple transportation cards corresponding to the city, the most recently used card of this type will be preferred.
图9为本申请实施例提供的一种唤醒事件流程图,如图9所示,唤醒事件流程包括:当发生唤醒事件(1.唤醒超时,2.亮灭屏事件,3.WIFI连接/中断),启动线路1和线路2,线路1:智选卡启动检查(1.钱包的卡≥2,2.有效指纹>0),若满足进行有效位置检查(亮屏:5min,灭屏10min),若不满足,发起定位,按照计划唤醒(重置30min唤醒),线路2:多张交通卡检查(交通卡≥2),若是进行有效位置检查(30min),若否发起定位,若是城市切换检查,若是通知钱包。Figure 9 is a wake-up event flow chart provided by an embodiment of the present application. As shown in Figure 9, the wake-up event flow includes: when a wake-up event occurs (1. wake-up timeout, 2. screen on and off event, 3. WIFI connection/interruption ), start line 1 and line 2, line 1: smart card startup check (1. Wallet cards ≥ 2, 2. Valid fingerprints > 0), if satisfied, perform valid location check (screen on: 5 minutes, screen off 10 minutes) , if not satisfied, initiate positioning, wake up according to plan (reset and wake up in 30 minutes), line 2: check multiple traffic cards (traffic cards ≥ 2), if valid location check (30min), if not initiate positioning, if city switch Check and notify wallet if so.
在一些实施例中,所述第一信息包括当前位置信息,在所述获取所述电子设备第一信息之前,所述方法还可以包括:确定所述电子设备满足预设的位置获取条件中的至少一个条件,所述位置获取条件包括:当前时间距离上一次位置获取时间的时间间隔达到预设间隔时间;所述电子设备发生屏幕状态切换事件,所述屏幕状态切换事件用于指示所述电子设备的屏幕从灭屏切换到亮屏;所述电子设备建立新的通信连接或者断开当前通信连接。In some embodiments, the first information includes current location information. Before obtaining the first information of the electronic device, the method may further include: determining that the electronic device satisfies a preset location acquisition condition. At least one condition, the location acquisition condition includes: the time interval between the current time and the last location acquisition time reaches a preset interval time; a screen status switching event occurs on the electronic device, and the screen status switching event is used to indicate to the electronic device The screen of the device switches from off screen to on screen; the electronic device establishes a new communication connection or disconnects the current communication connection.
以下通过具体场景描述本申请实施例通过的智能选卡方案。The intelligent card selection solution adopted in the embodiment of this application is described below through specific scenarios.
用户使用的卡片通常包括非CPU门禁卡、CPU门禁卡、交通卡、银行卡、电子身份卡eID、数字汽车钥匙。1)需身份验证的卡不在智能切卡的范围内(因激活卡片需要验证用户身份,密码或生物识别,做不到自动激活),包括银行卡、eID、需身份验证的门禁卡;2)因CPU门禁卡和交通卡、数字汽车钥匙的交易逻辑类似,就归为一类,以下统称为CPU卡,以下门禁卡特指非CPU门禁卡;3)加密门禁卡和非加密门禁卡只是在数据库的读取和验证上存在差异,在交互逻辑上并差异,所以不做区分。4)综合上述信息,纳入智能切卡范畴的包括:非CPU门禁卡、CPU门禁卡、交通卡、数字汽车钥匙。Cards used by users usually include non-CPU access control cards, CPU access control cards, transportation cards, bank cards, electronic identity cards eID, and digital car keys. 1) Cards that require identity verification are not within the scope of smart card cutting (because activation of the card requires verification of user identity, password or biometric identification, automatic activation is not possible), including bank cards, eID, and access cards that require identity verification; 2) Because the transaction logic of CPU access control cards is similar to that of transportation cards and digital car keys, they are classified into one category. Hereinafter, they are collectively referred to as CPU cards. The following access control cards refer to non-CPU access control cards; 3) Encrypted access control cards and non-encrypted access control cards are only in the database. There are differences in reading and verification, and there is no difference in interaction logic, so no distinction is made. 4) Based on the above information, the categories included in the smart card cutting category include: non-CPU access control cards, CPU access control cards, transportation cards, and digital car keys.
使用卡的场景包括多种场景。单张卡场景:不涉及智能切卡;单张门禁卡和单张CPU卡场景:1)、当使用门禁卡刷卡时,识别该读卡器的配置信息Profile,根据读卡器特征识别匹配算法选择卡片,根据特征管理策略写入读卡器特征库;2)当使用门禁卡刷卡后,对刷卡点进行指纹采集,并写入指纹库,后续按照围栏策略启用地理围栏预选卡,用户刷卡过程中启用实时选卡功能;3)若门禁卡存在多个刷卡位置点,那么按照刷卡点位置的不同设置多个围栏,这些围栏映射到同一张门禁卡;4)若门禁卡可刷多个不同行为特征的读卡器,那么保存每个读卡器的行为特征Profile,这些Profile都映射到同一张卡;5)当用户手动将门禁卡切换至交通卡并进行刷卡时,记录该公交/地铁读卡器的特征Profile,根据读卡器特征管理策略写入读卡器特征库。多张门禁卡和单张CPU卡场景:多张门禁卡和单张CPU卡均纳入智能选卡范畴。当某张门禁卡第一次刷卡后,并写入指纹库;当使用某一张门禁卡刷卡时,识别并保存该门禁配置信息Profile,写入读卡器特征库。如果某种门禁卡存在多个刷卡地点或可刷多个不同特征的门禁时,参考上述单张门禁卡的方法执行。当用户手动将门禁卡切换至交通卡并进行刷卡时,记录该读卡器的特征Profile,根据读卡器特征管理策略写入读卡器特征库。单张门禁卡和多张CPU卡场景:门禁卡参考上述方法执行。多张CPU卡的选卡采用应用标识符AID选卡方案。多张门禁卡和多张CPU卡场景:综合上述方案执行选卡。多张门禁卡场景:多张门禁卡均纳入智能选卡范畴。当某张门禁卡第一次刷卡后,并写入指纹库;当使用某一张门禁卡刷卡时,识别并保存该门禁Profile,写入读卡器特征库。如果某种门禁卡存在多个刷卡地点或可刷多个不同特征的门禁时,参考上述单张门禁卡的方法执行。多张CPU卡场景:多张CPU卡均纳入智能选卡范畴,不采集读卡器特征值,根据AID进行选卡,不建立地理围栏。默认卡采用用户最近使用的卡。其中,配置信息Profile是门禁/闸机射频发的不同寻卡指令序列及其时间间隔,因不同的读卡器(门禁闸机等)发的指令序列会不同,或者指令的时间间隔不同,因此可以用于区分读卡器。Scenarios for using cards include a variety of scenarios. Single card scenario: does not involve smart card cutting; single access card and single CPU card scenario: 1) When using the access card to swipe the card, identify the configuration information Profile of the card reader, and identify the matching algorithm based on the card reader characteristics Select the card and write it into the card reader feature library according to the feature management policy; 2) When the access card is used to swipe the card, fingerprints are collected at the card swiping point and written into the fingerprint library. Subsequently, geofence pre-selected cards are enabled according to the fence policy. The user's card swiping process Enable the real-time card selection function in the access control card; 3) If the access control card has multiple card swiping location points, then set multiple fences according to the different card swiping point locations, and these fences are mapped to the same access control card; 4) If the access control card can be swiped at multiple different locations Readers with behavioral characteristics, then save the behavioral characteristics Profile of each card reader, and these Profiles are mapped to the same card; 5) When the user manually switches the access card to a transportation card and swipes the card, record the bus/subway The card reader's feature profile is written into the card reader feature database according to the card reader feature management policy. Multiple access cards and a single CPU card scenario: Multiple access cards and a single CPU card are both included in the smart card selection category. When a certain access control card is swiped for the first time, it is written into the fingerprint database; when a certain access control card is used to swipe the card, the access control configuration information Profile is identified and saved, and written into the card reader signature database. If a certain access control card has multiple card swiping locations or can be used to swipe multiple access control cards with different characteristics, refer to the above method for a single access control card. When the user manually switches the access control card to the transportation card and swipes the card, the feature profile of the card reader is recorded and written into the card reader feature library according to the card reader feature management policy. Single access card and multiple CPU cards scenarios: For access cards, refer to the above method. Card selection for multiple CPU cards uses the application identifier AID card selection scheme. Scenario with multiple access control cards and multiple CPU cards: Perform card selection based on the above solutions. Multiple access cards scenario: Multiple access cards are included in the smart card selection category. When a certain access control card is swiped for the first time, it is written into the fingerprint database; when a certain access control card is used to swipe the card, the access control profile is identified and saved, and written into the card reader signature database. If a certain access control card has multiple card swiping locations or can be used to swipe multiple access control cards with different characteristics, refer to the above method for a single access control card. Multiple CPU cards scenario: Multiple CPU cards are included in the smart card selection category. Card reader characteristic values are not collected. Cards are selected based on AID, and geofences are not established. The default card is the most recently used card by the user. Among them, the configuration information Profile is the different card-finding command sequences and their time intervals sent by the access control/gate radio frequency. Because different card readers (access control gates, etc.) will send different command sequences, or the time intervals of the commands are different, so Can be used to distinguish card readers.
综上所述,门禁卡的识别方案包括:采用读卡器特征识别STR,优点是可室内使用,识别速度快(0.5s);采用WIFI指纹库,优点是可室内使用,提前预切卡,提升刷卡速度;GPS地理围栏,优点是定位精度高。CPU卡的识别方案包括:AID识别,优点是可靠性熬;采用读卡器特征识别STR,优点是可室内使用,识别速度快。其中,STR为Standard TerminalRegular,即读卡器Reader特征识别功能,即:可以通过视频RF一些TypeA、B、F通信的时间和规律,确认设备信息。To sum up, the access control card identification solutions include: using card reader features to identify STR, which has the advantage of being usable indoors and fast recognition speed (0.5s); using WIFI fingerprint library, which has the advantage of being able to be used indoors and pre-cutting the card in advance. Improve card swiping speed; GPS geofencing has the advantage of high positioning accuracy. The identification solutions for CPU cards include: AID identification, which has the advantage of reliability; using card reader characteristics to identify STR, which has the advantage of being suitable for indoor use and fast identification speed. Among them, STR is Standard Terminal Regular, which is the card reader Reader feature recognition function, that is, the device information can be confirmed through the time and regularity of some TypeA, B, and F communication through video RF.
图10-图14为本申请实施例提供的五种选卡场景示意图。如图10所示,仅有一张门禁卡,且公交/地铁在门禁围栏外,当用户进入围栏,基于围栏策略,将卡片切换至门禁卡,当用户走出围栏,将卡片切换至交通卡。Figures 10-14 are schematic diagrams of five card selection scenarios provided by the embodiment of the present application. As shown in Figure 10, there is only one access control card, and the bus/subway is outside the access control fence. When the user enters the fence, based on the fence policy, the card is switched to the access control card. When the user walks out of the fence, the card is switched to the transportation card.
如图11所示,有多张门禁卡(比如一张家里的门禁卡,一张公司的门禁卡),且两个门禁围栏不重叠,公交/地铁在门禁围栏外,当用户进入某个围栏,基于围栏策略,将卡片切换至对应围栏的门禁卡,当用户走出围栏,将卡片切换至交通卡。As shown in Figure 11, there are multiple access cards (such as a home access card and a company access card), and the two access control fences do not overlap. The bus/subway is outside the access control fence. When the user enters a certain fence , Based on the fence strategy, the card is switched to the access control card of the corresponding fence. When the user walks out of the fence, the card is switched to the traffic card.
如图12所示,门禁卡围栏内有一张门禁卡和公交/地铁站点。采用下面的方式:门禁围栏保持不变,在围栏内默认选择门禁卡,刷卡时,使用读卡器AID和读卡器特征值进行匹配,若匹配成功,则切换到对应的卡。公交/地铁的特征值是在首次刷卡时搜集的,判断条件是在门禁围栏内用户选择了交通卡刷卡。As shown in Figure 12, there is an access card and a bus/subway station inside the access card fence. The following method is adopted: the access control fence remains unchanged, and the access control card is selected by default in the fence. When the card is swiped, the card reader AID and the card reader characteristic value are used for matching. If the match is successful, the corresponding card is switched. The bus/subway characteristic values are collected when the card is swiped for the first time, and the judgment condition is that the user chooses to swipe the transportation card in the access fence.
如图13所示,有多个门禁卡围栏,且门禁大围栏有交集,大围栏内没有公交/地铁刷卡点,门禁小围栏没有交集,则根据两个门禁刷卡点的WIFI指纹做预选卡,使用读卡器特征做实时选卡。其中大围栏和小围栏的区别在于大围栏的范围及圆圈半径比较大,小围栏的范围及圆圈半径比较小。As shown in Figure 13, there are multiple access control card fences, and the large access control card fences intersect. There are no bus/subway card swiping points in the large fence, and there are no intersections in the small access control card fences. Then the preselected card is made based on the WIFI fingerprints of the two access control card swiping points. Use the card reader feature to do real-time card selection. The difference between a large fence and a small fence is that the large fence has a larger range and circle radius, while the small fence has a smaller range and circle radius.
如图14所示,有多张门禁卡,且门禁大围栏有重叠,门禁大围栏内包含有公交/地铁刷卡位置点。可采用下面的方式:在围栏区域内搜集门禁1、门禁2、公交/地铁的读卡器特征,WIFI指纹,通过WIFI指纹做预选卡,通过读卡器特征做实时选卡。极限场景,门禁1和门禁2的读卡器特征一致,位置相距也很近(比如约20m),门禁小围栏有交集,可以通过数智推荐选卡进行智能选卡。As shown in Figure 14, there are multiple access control cards, and the large access control fence overlaps. The large access control fence contains bus/subway card swiping points. The following methods can be used: collect the card reader characteristics and WIFI fingerprints of access control 1, access control 2, and buses/subways in the fenced area, pre-select cards through WIFI fingerprints, and select cards in real time through card reader characteristics. In the extreme scenario, the card readers of Access Control 1 and Access Control 2 have the same characteristics, and their locations are very close to each other (for example, about 20m). The small access control fences intersect, and smart card selection can be carried out through digital recommendation card selection.
图15为本申请实施例提供的另一种近场通信卡选卡方法的框架图。如图15所示,该框架中本方案更新了1)指纹采集及更新:a.采集部分:增加了交通卡进出站状态判断、安检门识别、手机碰手机识别的场景过滤。减少错误指纹采集。增加交通卡指纹采集。增加交通卡预选场景。b.更新部分:增加了用户行为判断以删除错误指纹。减少错误指纹干扰。WIFI更新增加关联aid和刷卡天数的统计,累计更新。增加对近距离不同门禁无法区分场景的判断和预选。WIFI更新增加提取共性ap特征更新。减少WIFI环境变更导致无法更新WIFI的问题。2)NfcEngine状态机管理:a.GPS WIFI扫描部分:增加WIFI连接状态、刷卡事件、进出GPS围栏、进出WIFI围栏为触发扫描场景入口。增加扫描场景,提高围栏进出事件获取的及时性。计时器针对夜间运动和灭屏前一段时间也增加不同频次的扫描。增加扫描场景,提高围栏进出事件获取的及时性。针对围栏内不同距离不同卡数的场景,适当提高扫描频次。提高扫描频次,提高近距离场景的预选成功率。多场景触发扫描增加有效位置检测、WIFI环境相似检测、运动状态检测、数智推荐刷卡时间段减少扫描;计时器扫描处增加环境相似检测、运动状态检测、数智推荐刷卡时间段以减少扫描。减少扫描次数,减少功耗。b.通过模型deepthinker场景识别和状态感知部分:接入deepthinker SDK,可以不引入自身功耗,获取高准确度的地铁场景识别、运动状态识别。减少功耗,识别多场景。3)预选卡策略:a.GPS围栏进出处理增加WIFI强弱、WIFI围栏状态、用户已开的卡类型、数智推荐选卡处理。提高门禁卡、交通卡的互选成功率。b.增加进出WIFI围栏处理。增加预选场景,提高成功率。c.增加deepthinker场景识别、str polling特征读卡器识别预选卡处理。提高交通卡的预选成功率。d.增加hci指令解析处理。提高门禁卡、交通卡的互选成功率。4)其他:a.首次无法预选卡解决:从钱包获取加密门禁卡地址,直接创建指纹、建立围栏。b.围栏失效问题解决:NFC内部直接计算围栏状态。c.WIFI相似度及围栏状态计算方案。d.Str识别手机碰手机方案。e.WIFI相似度无法区分时增加数智推荐选卡方案。f.钱包迁卡时,迁移指纹、围栏等信息到新手机。Figure 15 is a framework diagram of another near field communication card selection method provided by an embodiment of the present application. As shown in Figure 15, in this framework, this solution has updated 1) Fingerprint collection and update: a. Collection part: Added scene filtering for transportation card entry and exit status judgment, security gate identification, and mobile phone touch recognition. Reduce false fingerprint collection. Added transportation card fingerprint collection. Added transportation card pre-selection scene. b. Update part: Added user behavior judgment to delete wrong fingerprints. Reduce false fingerprint interference. The WIFI update adds statistics on the number of days associated with aid and card swiping, and the total is updated. Added judgment and pre-selection of scenarios where different access controls at close range cannot be distinguished. WIFI update adds extraction of common ap feature updates. Reduce the problem of being unable to update WIFI due to changes in the WIFI environment. 2) NfcEngine state machine management: a. GPS WIFI scanning part: Add WIFI connection status, card swipe event, entry and exit of GPS fence, and entry and exit of WIFI fence as trigger scanning scene entrances. Add scanning scenarios to improve the timeliness of acquiring fence entry and exit events. The timer also adds different frequencies of scanning for night movements and the period before turning off the screen. Add scanning scenarios to improve the timeliness of acquiring fence entry and exit events. For scenarios with different card numbers at different distances in the fence, increase the scanning frequency appropriately. Increase the scanning frequency and improve the pre-selection success rate of close-range scenes. Multi-scenario trigger scanning adds effective location detection, WIFI environment similarity detection, motion status detection, and Digital Intelligence recommended card swiping time periods to reduce scanning; timer scanning adds environment similarity detection, motion status detection, and Digital Intelligence recommended card swiping time periods to reduce scanning. Reduce the number of scans and reduce power consumption. b. Through the deepthinker scene recognition and state sensing part of the model: By accessing the deepthinker SDK, you can obtain highly accurate subway scene recognition and motion state recognition without introducing its own power consumption. Reduce power consumption and identify multiple scenes. 3) Pre-selected card strategy: a. GPS fence entry and exit processing adds WIFI strength, WIFI fence status, the card type that the user has opened, and digital intelligence recommended card selection processing. Improve the success rate of mutual selection of access control cards and transportation cards. b. Add entry and exit WIFI fence processing. Add pre-selected scenarios to improve success rate. c. Add deepthinker scene recognition and str polling feature card reader recognition pre-selected card processing. Improve the pre-selection success rate of transportation cards. d. Add hci command parsing processing. Improve the success rate of mutual selection of access control cards and transportation cards. 4) Others: a. Solution to the problem of not being able to pre-select the card for the first time: Get the encrypted access card address from the wallet, create fingerprints directly, and build a fence. b. Solving the problem of fence failure: NFC internally calculates the fence status directly. c. WIFI similarity and fence status calculation scheme. d.Str identification mobile phone touching mobile phone solution. e. When the WIFI similarity is indistinguishable, a digital card recommendation solution is added. f. When migrating wallet cards, migrate fingerprints, fences and other information to the new phone.
图16为本申请实施例提供的一种卡片管理方法的流程图。如图16所示,电子设备开通的卡片类型和数量,决定智能切卡功能是否生效的逻辑。在301.NFC初始化或者离开刷卡页面或者数据库更改后回调后,302.查询钱包数据库,获取门禁卡交通卡信息以及总开卡数,303.确定数据是否已经准备好,304.若是则保存为临时变量,305.和保存的卡列表数据进行比较,进行卡片修改、增加卡片或者删除卡片操作,即更新保存的卡列表或者更新保存的卡列表并删除对应卡指纹围栏信息,305.更新完成后判断门禁卡加交通卡的卡类型是否大于1,卡总数是否大于2,若是,则满足要求开启智能切卡功能,若否则不开启智能切卡功能。Figure 16 is a flow chart of a card management method provided by an embodiment of the present application. As shown in Figure 16, the type and number of cards activated by the electronic device determine the logic of whether the smart card cutting function takes effect. After 301. NFC initialization or leaving the card swiping page or callback after database change, 302. Query the wallet database to obtain access card, transportation card information and total number of opened cards, 303. Determine whether the data is ready, 304. If so, save it as temporary Variable, 305. Compare with the saved card list data, perform card modification, add card or delete card operation, that is, update the saved card list or update the saved card list and delete the corresponding card fingerprint fence information, 305. Determine after the update is completed Whether the card type of the access control card plus the transportation card is greater than 1, and whether the total number of cards is greater than 2, if so, the requirements are met to enable the smart card cutting function, if not, the smart card cutting function is not enabled.
在一些实施例中,所述预设的位置获取条件还可以包括:所述电子设备处于亮屏状态,且当前时间距离上一次位置获取时间的时间间隔达到预设第一时长;所述电子设备处于预设白天时间且灭屏状态,当前时间距离上一次位置获取时间的时间间隔达到预设第二时长;所述电子设备处于预设夜晚时间且灭屏状态,根据用户使用习惯确定当前时间应该获取位置信息。In some embodiments, the preset location acquisition conditions may also include: the electronic device is in a screen-on state, and the time interval between the current time and the last location acquisition time reaches a preset first duration; the electronic device The electronic device is in the preset day time and screen off state, and the time interval between the current time and the last location acquisition time reaches the preset second time length; the electronic device is in the preset night time and screen off state, and the current time should be determined according to the user's usage habits. Get location information.
进一步的,所述预设的位置获取条件还可以包括:所述电子设备处于亮屏状态的时长达到预设第三时长,且在预设第三时长内GPS定位和WIFI环境不相似;所述电子设备处于预设的白天时间且灭屏状态的时长达到预设第四时长,在灭屏前的预设第五时长内检测到运动状态,或者WIFI环境不相似,或者当前时间在预设的智能推荐卡时间段内;所述电子设备处于预设的白天时间且灭屏状态,在当前时间之前的预设第六时长内GPS定位和WIFI环境不相似;所述电子设备处于预设的夜晚时间且灭屏状态,当前时间在预设的智能推荐卡时间段内且检测到运动状态,或者WIFI环境不相似。Further, the preset location acquisition conditions may also include: the time the electronic device is in the screen-on state reaches a preset third time period, and the GPS positioning and WIFI environment are not similar within the preset third time period; The electronic device is in the preset daytime time and the duration of the screen-off state reaches the preset fourth duration, and a motion state is detected within the preset fifth duration before the screen is off, or the WIFI environment is not similar, or the current time is within the preset Within the smart recommendation card time period; the electronic device is in the preset day time and the screen is off, and the GPS positioning and WIFI environment are not similar within the preset sixth time before the current time; the electronic device is in the preset night time time and the screen is off, the current time is within the preset smart recommendation card time period and motion is detected, or the WIFI environment is not similar.
图17为本申请实施例提供一种GPS和WIFI唤醒扫描方法的流程图,如图17所示,1、在电子设备持续亮屏5分钟的情况下,判断5分钟内GPS有效位置或者WIFI环境是否相似;若相似,则结束扫描,且推迟5分钟计时,若不相似,则触发一次定位和WIFI扫描,延后5分钟计时。2、在日间灭屏30min的情况下,判断是否在灭屏的前15分钟内,若在前15分钟内,判断是否存在运动状态或WIFI不相似,且在数智推荐时间段内,若是,触发定位和WIFI扫描:5min一次,持续15min;若否,结束,推迟15min;若不在前15分钟内,判断当前时间之前的10min内是否有GPS有效位置或者WIFI环境相似,若是,结束,推迟30min计时,若否,触发一次定位和WIFI扫描,延后30min计时。3、在夜间且灭屏0到6点,判断是否在数智推荐时间段内(判断用户是否有夜间刷卡行为),若是,模型deepthinker检测是否运动状态,或者WIFI不相似,若是,按照亮屏和日间灭屏处理,若否,结束,不触发。Figure 17 is a flow chart of a GPS and WIFI wake-up scanning method provided by an embodiment of the present application. As shown in Figure 17, 1. When the screen of the electronic device continues to be on for 5 minutes, determine the effective GPS position or WIFI environment within 5 minutes. Are they similar? If they are similar, the scan will end and the timing will be delayed for 5 minutes. If they are not similar, a positioning and WIFI scan will be triggered and the timing will be delayed for 5 minutes. 2. When the screen is off for 30 minutes during the day, determine whether it is within the first 15 minutes of the screen off. If it is within the first 15 minutes, determine whether there is a motion state or the WIFI is not similar, and it is within the recommended time period of Digital Intelligence. If so, , trigger positioning and WIFI scanning: once every 5 minutes, lasting 15 minutes; if not, end, postpone for 15 minutes; if not within the first 15 minutes, determine whether there is a valid GPS position within 10 minutes before the current time or a similar WIFI environment, if so, end, postpone 30min timer, if not, trigger a positioning and WIFI scan, delay the timer for 30min. 3. At night and the screen is turned off from 0 to 6 o'clock, determine whether it is within the time period recommended by Shuizhi (to determine whether the user has card swiping behavior at night). If so, the model deepthinker detects whether it is in motion or the WIFI is not similar. If so, follow the instructions to turn on the screen and daytime screen off processing, if not, it ends and is not triggered.
在一些实施例中,所述预设的位置获取条件还可以包括:所述电子设备的WIFI连接状态发生变化,或者,WIFI处于断开状态且已经等待预设第七时长;所述电子设备接收到NFC卡的刷卡信息;所述电子设备进入预设的GPS围栏区域、出预设的GPS围栏区域、进入预设的WIFI围栏区域或者出预设的WIFI围栏区域;所述电子设备完成第一刷卡操作和第二刷卡操作,所述第一刷卡操作用于指示地铁进站刷卡,所述第二刷卡操作用于指示地铁出站刷卡;预设第八时长内GPS定位或者WIFI环境不相似;在以当前位置为中心的预设范围内存储有位置信息;在以当前位置为中心的预设范围内存储有多个读卡器寻卡特征对应的位置信息;检测到当前状态为运动状态或者WIFI环境不相似;距离当前应用标识符最近的不同应用标识符对应的位置信息的距离满足预设距离要求。In some embodiments, the preset location acquisition conditions may also include: the WIFI connection status of the electronic device changes, or the WIFI is in a disconnected state and has waited for the preset seventh time; the electronic device receives swipe information to the NFC card; the electronic device enters the preset GPS fence area, exits the preset GPS fence area, enters the preset WIFI fence area, or exits the preset WIFI fence area; the electronic device completes the first The card swiping operation and the second card swiping operation, the first card swiping operation is used to instruct the subway to enter the station and the card is swiped, and the second card swiping operation is used to instruct the subway to exit the station and the card is swiped; the GPS positioning or WIFI environment within the preset eighth time period is not similar; Location information is stored within the preset range centered on the current location; location information corresponding to the card-finding features of multiple card readers is stored within the preset range centered on the current location; it is detected that the current state is a motion state or The WIFI environments are not similar; the distances of the location information corresponding to different application identifiers that are closest to the current application identifier meet the preset distance requirements.
图18为本申请实施例提供的一种唤醒扫描方法的流程图,如图18所示,在所述电子设备的WIFI连接状态发生变化,或者,WIFI处于断开状态且已经等待预设第七时长;所述电子设备接收到NFC卡的刷卡信息;所述电子设备进入预设的GPS围栏区域、出预设的GPS围栏区域、进入预设的WIFI围栏区域或者出预设的WIFI围栏区域的情况下;判断所述电子设备是否完成第一刷卡操作和第二刷卡操作,所述第一刷卡操作用于指示地铁进站刷卡,所述第二刷卡操作用于指示地铁出站刷卡,若是,不触发扫描;判断3min内GPS定位或者WIFI环境是否不相似,若否则判断10min内没有刷卡行为且≥3次的同触发场景(3min)或者25min内没有刷卡行为且≥2次的同触发场景(10min),若是,推迟20min,后续20min若有触发,不进行定位和WIFI扫描,若否,触发定位和扫描1次,记录触发类型为WIFI连接改变/WIFI围栏/GPS围栏以及时间点到列表;在以当前位置为中心的2km内存储是否存有位置信息,若否不采集;判断在以当前位置为中心的2km范围内存储有多个读卡器寻卡特征对应的位置信息,若是,判断当前NFC卡为当前指纹的AID,若是则结束不触发,若否则检测运动状态或者WIFI环境不相似,若否则不触发,若是则数智推荐时间短内,则触发一次定位和WIFI扫描,记录触发类型为WIFI连接改变/WIFI围栏/GPS围栏以及时间点到列表;检测到当前状态为运动状态或者WIFI环境不相似,若否则不触发;若判断距离当前应用标识符最近的不同应用标识符对应的位置信息的距离满足预设距离要求,则触发定位和WIFI扫描一次,记录触发类型为WIFI连接改变/WIFI围栏/GPS围栏以及时间点到列表,若不满足则触发定位和WIFI扫描每2min一次,持续10min,记录触发类型为WIFI连接改变/WIFI围栏/GPS围栏以及时间点到列表。Figure 18 is a flow chart of a wake-up scanning method provided by an embodiment of the present application. As shown in Figure 18, when the WIFI connection status of the electronic device changes, or the WIFI is in a disconnected state and has been waiting for the preset seventh Duration; the electronic device receives the card swiping information of the NFC card; the electronic device enters the preset GPS fence area, exits the preset GPS fence area, enters the preset WIFI fence area, or exits the preset WIFI fence area In this case, determine whether the electronic device has completed the first card swiping operation and the second card swiping operation. The first card swiping operation is used to instruct the subway to enter the station and the second card swiping operation is used to instruct the subway to exit the station. If so, Do not trigger scanning; determine whether the GPS positioning or WIFI environment within 3 minutes is not similar, if not, determine the same trigger scenario with no card swiping behavior and ≥ 3 times within 10 minutes (3min) or the same trigger scenario with no card swiping behavior and ≥ 2 times within 25 minutes ( 10min), if yes, postpone it for 20min, if there is a trigger in the next 20min, no positioning and WIFI scanning will be performed, if not, positioning and scanning will be triggered once, and the trigger type will be recorded as WIFI connection change/WIFI fence/GPS fence and time point to list; Whether there is location information stored within 2km centered on the current location, if not, no collection is performed; determine whether there are location information corresponding to multiple card readers' card-finding features stored within 2km centered on the current location, and if so, determine The current NFC card is the AID of the current fingerprint. If it is, it will end without triggering. If it is not detected, the motion state or the WIFI environment is not similar, it will not be triggered. If it is, within a short time recommended by Digital Intelligence, it will trigger a positioning and WIFI scan, and record the trigger. The type is WIFI connection change/WIFI fence/GPS fence and time point to list; it is detected that the current state is a motion state or the WIFI environment is not similar, if not, it will not be triggered; if it is judged that the corresponding application identifiers closest to the current application identifier are If the distance of the location information meets the preset distance requirements, positioning and WIFI scanning will be triggered once. The recording trigger type is WIFI connection change/WIFI fence/GPS fence and time point to list. If not, positioning and WIFI scanning will be triggered every 2 minutes. Lasts for 10 minutes, and the recording trigger type is WIFI connection change/WIFI fence/GPS fence and time point to list.
在一些实施例中,所述方法还可以包括:将所述电子设备的当前NFC卡切换为所述第一NFC卡。In some embodiments, the method may further include: switching the current NFC card of the electronic device to the first NFC card.
进一步的,所述第一信息为采集到的当前读卡器信息,所述当前读卡器信息为当前读卡器寻卡特征,在所述将所述电子设备的当前NFC卡切换为所述第一NFC卡之后,所述方法还可以包括:收到第二NFC卡的手动选择信息,确定所述当前读卡器寻卡特征与上一次所述第一NFC卡刷卡时的读卡器寻卡特征相同,所述当前读卡器应用标识符与上一次所述第一NFC卡刷卡时的读卡器应用标识符不同;确定上一次所述第一NFC卡刷卡时是否采集位置信息;若是,删除上一次所述第一NFC卡刷卡时采集的位置信息;若否,确定上一次所述第一NFC卡切卡是根据预设的第一NFC卡与第一读卡器信息、第一围栏区域的对应关系,删除所述第一围栏区域对应的第一位置信息。Further, the first information is the collected current card reader information, and the current card reader information is the card search feature of the current card reader. When the current NFC card of the electronic device is switched to the After the first NFC card, the method may also include: receiving manual selection information of the second NFC card, determining the current card reader's card search characteristics and the last time the first NFC card was swiped. The card characteristics are the same, and the current card reader application identifier is different from the card reader application identifier when the first NFC card was swiped last time; determine whether location information was collected when the first NFC card was swiped last time; if so , delete the location information collected when the first NFC card was swiped last time; if not, determine that the last time the first NFC card was swiped based on the preset first NFC card and first card reader information, the first The corresponding relationship between the fence area and the first location information corresponding to the first fence area is deleted.
需要说明的是,本申请实施例提供的Str特征更新方案为:将用户误刷门禁卡记录下来的aid_profile删除。It should be noted that the Str feature update solution provided by the embodiment of this application is to delete the aid_profile recorded by the user who mistakenly swiped the access control card.
图19为本申请实施例提供的一种错误指纹删除方法的流程图,如图19所示,在实时切卡的情况是,若切卡方式为手动切卡,判断当前刷的门禁pos特征是否和上一次刷的门禁pos特征相同使用卡AID不同,若是判断上一次刷卡是否有收集指纹,若收集了,删除上一次刷卡所收集的指纹,若否,判断上一次刷卡的切卡依据是否为预切卡,若是,删除预切卡的依据指纹。Figure 19 is a flow chart of an erroneous fingerprint deletion method provided by the embodiment of the present application. As shown in Figure 19, in the case of real-time card cutting, if the card cutting method is manual card cutting, it is judged whether the currently swiped access control POS feature It has the same characteristics as the access control pos swiped last time and uses a different card AID. If it is judged whether fingerprints were collected in the last swipe of the card, if collected, delete the fingerprints collected in the last swipe of the card. If not, judge whether the card cutting basis of the last card swipe is Pre-cut cards, if so, delete the pre-cut card's base fingerprint.
在一些实施例中,所述第一信息为当前位置信息,在所述根据所述第一信息以及预设的对应关系,确定第一NFC卡之前,所述方法还可以包括:根据进出围栏状态确定所述第一NFC对应的卡类型,所述进出围栏状态是根据所述当前位置信息和历史位置信息确定,所述历史位置信息是在获取所述当前位置信息之前获取的位置信息;In some embodiments, the first information is current location information. Before determining the first NFC card based on the first information and the preset corresponding relationship, the method may further include: based on the entry and exit status of the fence. Determine the card type corresponding to the first NFC, the fence entry and exit status is determined based on the current location information and historical location information, the historical location information is the location information obtained before obtaining the current location information;
所述根据所述第一信息以及预设的对应关系,确定第一NFC卡,可以包括:根据所述第一NFC对应的卡类型、所述当前位置信息和预设的对应关系,确定第一NFC卡。Determining the first NFC card based on the first information and the preset correspondence may include: determining the first NFC card based on the card type corresponding to the first NFC, the current location information and the preset correspondence. NFC card.
进一步的,所述进出围栏状态包括进入GPS围栏区域和出GPS围栏区域,所述第一NFC卡对应的卡类型包括门禁卡和交通卡,所述围栏区域包括第一类围栏区域和第二类围栏区域,所述第一类围栏区域的范围大于所述第二类围栏区域的范围,所述根据进出围栏状态确定所述第一NFC对应的卡类型,可以包括:Further, the entry and exit fence status includes entering the GPS fence area and exiting the GPS fence area, the card type corresponding to the first NFC card includes access control card and transportation card, and the fence area includes the first type fence area and the second type fence area. The fence area, the range of the first type of fence area is larger than the range of the second type of fence area, and the determination of the card type corresponding to the first NFC according to the entry and exit status of the fence may include:
在所述进出围栏状态为进入GPS围栏区域的情况下:若所述GPS围栏区域为第一类围栏区域,则确定所述第一NFC卡对应的卡类型为门禁卡,所述门禁卡对应的GPS指纹信息与当前位置距离最近;若所述GPS围栏区域为第二类围栏区域,且满足第一条件或者第二条件,则确定所述第一NFC卡对应的卡类型为门禁卡,所述门禁卡对应的GPS指纹信息与当前位置距离最近,所述第一条件为未进入WIFI围栏区域或者WIFI信号差,所述第二条件为进入WIFI围栏区域或者WIFI信号好,且第一门禁卡对应的WIFI指纹信息与当前WIFI指纹信息相似度高;若所述GPS围栏区域为第二类围栏区域,且满足第三条件,则确定所述第一NFC卡对应的卡类型为当前NFC卡,所述第三条件为进入WIFI围栏区域或者WIFI信号好,且第一门禁卡对应的WIFI指纹信息与当前WIFI指纹信息相似度低。When the entry and exit fence state is entering the GPS fence area: if the GPS fence area is the first type of fence area, it is determined that the card type corresponding to the first NFC card is an access control card, and the card type corresponding to the access control card is The GPS fingerprint information is the closest to the current location; if the GPS fence area is a second type fence area and meets the first condition or the second condition, then it is determined that the card type corresponding to the first NFC card is an access control card, and the The GPS fingerprint information corresponding to the access control card is the closest to the current location. The first condition is that the WIFI fence area is not entered or the WIFI signal is poor. The second condition is that the WIFI fence area is entered or the WIFI signal is good, and the first access control card corresponds to The WIFI fingerprint information is highly similar to the current WIFI fingerprint information; if the GPS fence area is a second type fence area and the third condition is met, it is determined that the card type corresponding to the first NFC card is the current NFC card, so The third condition is that the user enters the WIFI fenced area or the WIFI signal is good, and the WIFI fingerprint information corresponding to the first access control card has low similarity with the current WIFI fingerprint information.
图20为本申请实施例提供的一种进入GPS围栏预选卡方法的流程图,如果20所示,电子设备进入GPS围栏,如果进入了最大的GPS围栏,就直接切与当前位置最近的门禁卡;如果进入中GPS围栏或者小GPS围栏,判断是否WIFI信号差或者没有进入WIFI围栏,若是,就切换与当前位置最近的门禁卡,若否,判断门禁的WIFI是否相似度最高,若是则切距离最新的门禁卡,若否,结束,不切。Figure 20 is a flow chart of a method of pre-selecting cards for entering a GPS fence provided by the embodiment of the present application. If, as shown in 20, the electronic device enters the GPS fence, and if it enters the largest GPS fence, it will directly switch to the access card closest to the current location. ; If you enter the middle GPS fence or the small GPS fence, determine whether the WIFI signal is poor or you have not entered the WIFI fence. If so, switch to the access control card closest to the current location. If not, determine whether the WIFI of the access control has the highest similarity. If so, cut the distance. The latest access card, if not, end, don't cut.
进一步的,在所述进出围栏状态为出GPS围栏区域的情况下:若所述GPS围栏区域为第二类围栏区域,且满足第一条件或者第二条件,则确定所述第一NFC卡对应的卡类型为门禁卡,所述门禁卡对应的GPS指纹信息与当前位置距离最近,所述第一条件为未进入WIFI围栏区域或者WIFI信号差,所述第二条件为进入WIFI围栏区域或者WIFI信号好,且所述门禁卡对应的WIFI指纹信息与当前WIFI指纹信息相似度高;若所述GPS围栏区域为第二类围栏区域,且满足第三条件,则确定所述第一NFC卡对应的卡类型为当前NFC卡,所述第三条件为进入WIFI围栏区域或者WIFI信号好,且已有的门禁卡对应的WIFI指纹信息与当前WIFI指纹信息相似度低;若所述GPS围栏区域为第一类围栏区域,且满足第四条件,则确定所述第一NFC卡对应的卡类型为门禁卡,所述门禁卡对应GPS指纹信息与当前位置距离最近,所述第四条件为没有其他GPS指纹信息在GPS围栏区域内只有门禁卡;若所述GPS围栏区域为第一类围栏区域,且满足第五条件,则确定所述第一NFC卡为第一交通卡,所述第一交通卡为所述当前位置信息对应的交通卡,所述第五条件为没有其他GPS指纹信息在GPS围栏区域内且只有第一交通卡;若所述GPS围栏区域为第一类围栏区域,且满足第六条件,则确定所述第一NFC卡为第二门禁卡,所述第二门禁卡位于所述GPS围栏区域内且距离当前位置距离最近。Further, when the entry and exit fence status is the GPS fence area: if the GPS fence area is a second type fence area and the first condition or the second condition is met, it is determined that the first NFC card corresponds to The card type is an access control card. The GPS fingerprint information corresponding to the access control card is the closest to the current location. The first condition is that the WIFI fence area is not entered or the WIFI signal is poor. The second condition is that the WIFI fence area is entered or the WIFI signal is poor. The signal is good, and the WIFI fingerprint information corresponding to the access control card is highly similar to the current WIFI fingerprint information; if the GPS fence area is a second type fence area and the third condition is met, it is determined that the first NFC card corresponds to The card type is the current NFC card, the third condition is to enter the WIFI fence area or the WIFI signal is good, and the WIFI fingerprint information corresponding to the existing access control card has low similarity with the current WIFI fingerprint information; if the GPS fence area is In the first type of fence area, and the fourth condition is met, it is determined that the card type corresponding to the first NFC card is an access control card, and the GPS fingerprint information corresponding to the access control card is the closest to the current location. The fourth condition is that there is no other The GPS fingerprint information only contains access control cards in the GPS fence area; if the GPS fence area is the first type of fence area and the fifth condition is met, it is determined that the first NFC card is the first transportation card, and the first transportation card The card is a transportation card corresponding to the current location information, and the fifth condition is that there is no other GPS fingerprint information in the GPS fence area and only the first transportation card; if the GPS fence area is a first-type fence area, and it satisfies The sixth condition is to determine that the first NFC card is a second access card, and the second access card is located in the GPS fence area and is closest to the current location.
图21为本申请实施例提供的一种出GPS围栏的预选卡方法的流程图,如图21所示,电子设备出GPS围栏,如果是出最大的GPS地理围栏,判断有没有其他指纹在GPS围栏内,如果没有,就切GPS围栏内距离最近的门禁卡;如果有,判断是不是只有门禁卡,如果是,就切距离最近的门禁卡,如果否,判断是不是有交通卡,如果是就切交通卡。如果是出最小或者中等的GPS围栏,判断是否WIFI信息差/没有进入WIFI围栏,如果是,则切距离最近的门禁卡,如果不是,判断是否门禁WIFI相似度最高,如果是则切距离最近的门禁卡,如果否则不切。Figure 21 is a flow chart of a method for pre-selecting a GPS fence provided by an embodiment of the present application. As shown in Figure 21, when an electronic device exits a GPS fence, if it is the largest GPS geo-fence, it is determined whether there are other fingerprints in the GPS fence. In the fence, if there is not one, cut the nearest access card in the GPS fence; if there is, judge whether there is only an access card. If so, cut the nearest access card. If not, judge whether there is a transportation card. If so, Just cut the transportation card. If it is the smallest or medium GPS fence, determine whether the WIFI information is poor/no access to the WIFI fence. If so, switch to the nearest access control card. If not, determine whether the access control WIFI similarity is the highest. If so, switch to the nearest access card. Access card if otherwise not cut.
在一些实施例中,所述第一信息包括当前位置信息,所述当前位置信息包括当前WIFI指纹信息,所述根据所述第一信息以及预设的对应关系,确定第一NFC卡,可以包括:在所述进出围栏状态为进入WIFI围栏区域的情况下,确定所述第一NFC卡为第三NFC卡,所述第三NFC卡对应的WIFI指纹信息与当前WIFI指纹信息的相似度高于预设相似度阈值;在所述进出围栏状态为出WIFI围栏区域的情况下,若第四NFC卡对应的WIFI指纹信息与当前WIFI指纹信息的相似度比所述第三NFC卡对应的WIFI指纹信息与当前WIFI指纹信息的相似度更高,确定所述第一NFC卡为第四NFC卡。In some embodiments, the first information includes current location information, and the current location information includes current WIFI fingerprint information. Determining the first NFC card based on the first information and a preset corresponding relationship may include : When the entry and exit fence status is to enter the WIFI fence area, it is determined that the first NFC card is the third NFC card, and the similarity between the WIFI fingerprint information corresponding to the third NFC card and the current WIFI fingerprint information is higher than Preset similarity threshold; when the entry and exit fence state is exiting the WIFI fence area, if the similarity between the WIFI fingerprint information corresponding to the fourth NFC card and the current WIFI fingerprint information is greater than the WIFI fingerprint corresponding to the third NFC card The information is more similar to the current WIFI fingerprint information, and the first NFC card is determined to be the fourth NFC card.
图22为本申请实施例提供的WIFI指纹信息的切卡方法的流程图,如图22所示,如果进入WIFI围栏,就且WIFI指纹信息与当前WIFI指纹相似度最高的NFC卡,若是出WIFI围栏,发现其他卡的WIFI指纹信息与当前WIFI指纹信息的相似度更高,就切换为其他卡。Figure 22 is a flow chart of the card cutting method of WIFI fingerprint information provided by the embodiment of the present application. As shown in Figure 22, if you enter the WIFI fence, and the NFC card with the highest similarity between the WIFI fingerprint information and the current WIFI fingerprint, if you exit the WIFI Fence, if you find that the WIFI fingerprint information of other cards is more similar to the current WIFI fingerprint information, switch to other cards.
在一些实施例中,所述方法还可以包括:在当前位置与WIFI网络连接的情况下,根据WIFI无线接入点特征得到活动位置,根据所述活动位置确定所述第一NFC卡;或者,根据所述WIFI无线接入点特征确定所述第一NFC卡。In some embodiments, the method may further include: when the current location is connected to the WIFI network, obtain the active location based on the WIFI wireless access point characteristics, and determine the first NFC card based on the active location; or, The first NFC card is determined according to the characteristics of the WIFI wireless access point.
图23为本申请实施例提供的WIFI指纹切卡方法的流程图,如图23所示,在被动处理WIFI信息检查的情况下,选择与当前WIFI指纹信息的WIFI相似度大于0.7的NFC卡,并进行切卡。在建立WIFI连接的情况下,如果通过WIFI无线接入点得到活动位置,则根据无线接入点特征确定对应的NFC卡。Figure 23 is a flow chart of the WIFI fingerprint card cutting method provided by the embodiment of the present application. As shown in Figure 23, in the case of passive processing of WIFI information check, select an NFC card with a WIFI similarity greater than 0.7 to the current WIFI fingerprint information. And cut the card. When a WIFI connection is established, if the active location is obtained through the WIFI wireless access point, the corresponding NFC card is determined based on the characteristics of the wireless access point.
在一些实施例中,所述第一信息为当前位置信息,在所述根据所述第一信息以及预设的对应关系,确定第一NFC卡之前,所述方法还可以包括:确定当前场景信息,所述当前场景信息包括进入地下站或者出地下站;根据当前场景信息确定所述第一NFC卡对应的卡类型,所述第一NFC卡对应的卡类型为门禁卡或者交通卡;所述根据所述第一信息以及预设的对应关系,确定第一NFC卡,可以包括:根据所述第一NFC卡的卡类型、所述第一信息以及预设的对应关系,确定第一NFC卡。In some embodiments, the first information is current location information. Before determining the first NFC card based on the first information and the preset correspondence relationship, the method may further include: determining current scene information. , the current scene information includes entering or exiting an underground station; determining the card type corresponding to the first NFC card according to the current scene information, and the card type corresponding to the first NFC card is an access control card or a transportation card; Determining the first NFC card according to the first information and the preset correspondence may include: determining the first NFC card according to the card type of the first NFC card, the first information and the preset correspondence. .
图24为本申请实施例提供的一种基于场景的切卡方法的流程图,如图24所示,根据预设模型检测电子设备进出地铁的场景,若确定电子设备为进入地下站,则选择最优交通卡,若确定电子设备是出地下站且在门禁GPS围栏内,则且最优门禁卡。Figure 24 is a flow chart of a scene-based card cutting method provided by the embodiment of the present application. As shown in Figure 24, the scene of electronic equipment entering and exiting the subway is detected according to the preset model. If it is determined that the electronic equipment enters the underground station, select The optimal transportation card is the optimal access card if it is determined that the electronic device exits the underground station and is within the access GPS fence.
在一些实施例中,所述方法还可以包括:收到所述第一NFC卡的刷卡成功信息,确定当前场景信息;若所述当前场景信息指示进地铁站,在未收到下一次所述第一NFC卡的刷卡成功信息之前,不进行切卡操作;若在预设第二等待时长内未收到下一次所述第一NFC卡的刷卡成功信息,开始切卡操作;若所述当前场景信息指示出地铁站,若当前位置信息在第一门禁卡对应的GPS围栏区域内,确定第一NFC卡为第一门禁卡。In some embodiments, the method may also include: receiving the card swiping success information of the first NFC card and determining the current scene information; if the current scene information indicates entering the subway station, the next time the card swiping information is not received. The card cutting operation will not be performed before the successful card swiping information of the first NFC card is received; if the next successful card swiping information of the first NFC card is not received within the preset second waiting time, the card cutting operation will be started; if the current The scene information indicates the subway station. If the current location information is within the GPS fence area corresponding to the first access control card, the first NFC card is determined to be the first access control card.
图25为本申请实施例提供的根据付款信息确定场景的方法的流程图,如图25所示,在收到刷卡完成信息后,向钱包模块要人机交互信息HCI指令进行解析,如果确定电子设备是进地铁站,则记录状态为进站,出站前不切任何卡,如果6小时后还未收到出站消息则记为已出站。如果确定电子设备是出地铁站,且出地铁站后还在门禁GPS围栏内,则切最优门禁卡。此外,还可以通过HCI指令确定电子设备是去坐地铁还是坐公交。Figure 25 is a flow chart of a method for determining a scenario based on payment information provided by an embodiment of the present application. As shown in Figure 25, after receiving the card swiping completion information, the wallet module requests the human-computer interaction information HCI command for analysis. If it is determined that the electronic When the device enters a subway station, the recorded status is as entering the station. No card is cut before leaving the station. If the device does not receive an outbound message after 6 hours, it is recorded as having left the station. If it is determined that the electronic device left the subway station and is still within the access control GPS fence after leaving the subway station, the optimal access control card will be cut. In addition, HCI instructions can also be used to determine whether the electronic device is going to take the subway or the bus.
在一些实施例中,所述当前场景信息是根据预设的场景识别模型确定的,或者,所述当前场景信息是根据付款信息确定的,所述付款信息是在收到所述第一NFC卡的刷卡成功信息之前生成的。In some embodiments, the current scene information is determined based on a preset scene recognition model, or the current scene information is determined based on payment information, which is obtained after receiving the first NFC card. The credit card swiping success information was generated before.
图26为本申请实施例提供的一种判断刷卡场景的示意图,如图26所示,检测到刷卡事件,field on;确定是刷交通卡还是门禁卡;若为刷交通卡,确定在刷卡前是否有HCI消费事件,若是,则刷交通卡成功解析消费金额,判断是否消费金额大于0,若是则地铁出站或者刷公交,若否,则为进地铁站;若为刷门禁卡,判断10s内是否有切卡以及刷卡事件,若有,则刷门禁卡失败,若是,则刷门禁卡成功。此外,还可以在根据寻卡信息确定当前读卡器为安检门时,确定当前为地铁站,切最优地铁卡。Figure 26 is a schematic diagram for judging a card swiping scenario provided by the embodiment of the present application. As shown in Figure 26, when a card swiping event is detected, field on; determine whether it is a traffic card or an access control card; if it is a traffic card, determine before swiping the card. Is there an HCI consumption event? If so, swipe the transportation card to successfully parse the consumption amount and determine whether the consumption amount is greater than 0. If so, exit the subway station or swipe the bus. If not, enter the subway station. If the access card is swiped, the judgment will take 10 seconds. Check whether there are card cutting and card swiping events. If so, the access control card swiping fails. If so, the access control card swiping is successful. In addition, when the current card reader is determined to be a security gate based on the card search information, it can be determined to be a subway station and the optimal subway card can be selected.
图27为本本申请实施例提供的一种根据WIFI切最优卡的方法流程图。如图27所示,当WIFI信号差或者WIFI相似度小于0.4的情况下,确定数智推荐卡在未来一小时内推荐同一张卡的概率是否高于80%,若否,则切换为数智推荐卡。Figure 27 is a flow chart of a method for selecting the optimal card based on WIFI provided by an embodiment of the present application. As shown in Figure 27, when the WIFI signal is poor or the WIFI similarity is less than 0.4, determine whether the probability of the Digital Intelligence recommendation card recommending the same card in the next hour is higher than 80%. If not, switch to Digital Intelligence recommendation. Card.
需要说明的是,本申请实施例新增数智推荐模块:a.数智侧-构建预测模型:通过对每个用户历史的NFC刷卡数据的模型训练,得出在特定的时间(特征包括:是否节假日,处于一天48个时间分片中的哪一片)或者在特定的当前卡片的情况下,应该切换至哪张卡及其概率;此模型将持续迭代和更新;b.数智侧-模型下发:搭建数据推送平台(千人千面SaaS服务,暂命名为AndesBrain),将上述切卡建议整合为可传输的数据串,通过https请求推送给nfc智能切卡模块;推送周期视数据内容变化而定;c.软工侧-使用模型:解析数据提供的上述数据串,获取匹配当前情境的切卡建议,为最终的切卡决策做参考,同时将相关决策细节添加至埋点中上报,用于效果评估。It should be noted that the embodiment of this application adds a new digital intelligence recommendation module: a. Digital intelligence side - build a prediction model: through model training of each user's historical NFC card swiping data, it is obtained that at a specific time (features include: Whether it is a holiday, which one of the 48 time slices of a day) or in the case of a specific current card, which card should be switched to and its probability; this model will continue to iterate and update; b. Digital intelligence side-model Distribution: Build a data push platform (Thousand People Thousand Faces SaaS service, tentatively named AndesBrain), integrate the above card cutting suggestions into a transmittable data string, and push it to the nfc smart card cutting module through https requests; the push cycle depends on the data content Depends on changes; c. Software engineering side - use model: parse the above data string provided by the data, obtain the cut-off suggestions that match the current situation, serve as a reference for the final cut-off decision, and add relevant decision-making details to the buried points for reporting. , for effect evaluation.
在一些实施例中,在所述根据所述第一信息以及预设的对应关系,确定第一NFC卡之前,所述方法还可以包括:获取所述预设的对应关系。In some embodiments, before determining the first NFC card based on the first information and the preset correspondence, the method may further include: obtaining the preset correspondence.
进一步的,所述获取所述预设的对应关系,可以包括:收到所述第一NFC卡的刷卡操作信息,获取所述第一NFC对应读卡器的第一读卡器信息,所述第一读卡器信息包括应用标识符和寻卡特征中的至少一种;收到所述第一NFC卡的刷卡结束信息,采集当前刷卡位置对应的第一位置信息,所述第一位置信息包括GPS指纹信息和WIFI指纹信息中的至少一种;生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系,所述第一围栏区域是根据所述第一位置信息确定的。Further, the obtaining the preset corresponding relationship may include: receiving the card swiping operation information of the first NFC card, and obtaining the first card reader information of the first NFC corresponding card reader. The first card reader information includes at least one of an application identifier and a card search feature; upon receiving the card swiping end information of the first NFC card, the first location information corresponding to the current card swiping position is collected. The first location information including at least one of GPS fingerprint information and WIFI fingerprint information; generating a corresponding relationship between the first NFC card, the first card reader information, and a first fence area, the first fence area being determined according to the first A location information is determined.
在一种实施方式中,对于每种类型的NFC卡,都需要采集当前位置信息和当前读卡器信息用于生成第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系。In one implementation, for each type of NFC card, it is necessary to collect the current location information and the current card reader information to generate the correspondence between the first NFC card, the first card reader information, and the first fence area. relation.
在一些实施例中,所述第一NFC卡为交通卡,所述预设的对应关系包括所述第一NFC卡与第一读卡器信息的对应关系,所述获取所述预设对应关系,可以包括:收到所述第一NFC卡的刷卡操作信息,获取所述第一NFC对应读卡器的第一读卡器信息,所述第一读卡器信息包括读卡器应用标识符和读卡器寻卡特征中的至少一种;收到所述第一NFC卡的刷卡结束信息,生成所述第一NFC卡与所述第一读卡器信息的对应关系。In some embodiments, the first NFC card is a transportation card, the preset correspondence includes the correspondence between the first NFC card and the first card reader information, and the obtaining the preset correspondence , may include: receiving card swiping operation information of the first NFC card, obtaining first card reader information of the first NFC corresponding card reader, where the first card reader information includes a card reader application identifier and at least one of the card reader card search features; receiving the card swiping completion information of the first NFC card, and generating a corresponding relationship between the first NFC card and the first card reader information.
在另一种实施方式中,对于交通卡类型的NFC卡,只需要采集当前读卡器信息建立所述第一NFC卡与所述第一读卡器信息的对应关系。由于NFC卡一般包括门禁卡和交通卡,在进入围栏区域时根据围栏区域选择门禁卡,在离开围栏区域后,就可以自动切换为交通卡。此外交通卡还可以在实时切卡的时候选择。In another implementation, for a transportation card type NFC card, it is only necessary to collect the current card reader information to establish the corresponding relationship between the first NFC card and the first card reader information. Since NFC cards generally include access control cards and transportation cards, when entering a fenced area, the access control card is selected according to the fenced area. After leaving the fenced area, it can be automatically switched to a transportation card. In addition, transportation cards can also be selected during real-time card cutting.
在一些实施例中,在所述生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系之前,所述方法还包括:确定满足以下预设的关系生成条件中的至少一个条件:确定完成第一刷卡操作和第二刷卡操作,所述第一刷卡操作用于指示地铁进站刷卡,所述第二刷卡操作用于指示地铁出站刷卡;确定所述第一NFC卡的刷卡操作信息非所述电子设备误触产生的信息;确定所述第一NFC卡不是最近通过围栏激活的NFC卡;确定所述第一NFC卡与最近通过围栏激活的NFC卡不是相同的读卡器应用标识符,或者不在相同的GPS围栏或者WIFI围栏内。In some embodiments, before generating the corresponding relationship between the first NFC card, the first card reader information, and the first fence area, the method further includes: determining that the following preset relationship generation conditions are met: At least one of the conditions: determine the completion of the first card swiping operation and the second card swiping operation, the first card swiping operation is used to instruct the subway to enter the station, and the second card swiping operation is used to instruct the subway to exit the station to swipe the card; determine the third card swiping operation. The card swiping operation information of an NFC card is not the information generated by the accidental touch of the electronic device; it is determined that the first NFC card is not the NFC card recently activated through the fence; it is determined that the first NFC card and the NFC card recently activated through the fence are not The same card reader application identifier, or not in the same GPS fence or WIFI fence.
在一些实施例中,所述方法还包括:在预设等待时长内收到所述第一NFC卡之外的NFC卡的刷卡成功信息,删除所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系。In some embodiments, the method further includes: receiving card swiping success information of an NFC card other than the first NFC card within a preset waiting time, deleting the first NFC card and the first card reader. The corresponding relationship between the device information and the first fence area.
图28为本申请实施例提供的一种对应关系生成方法的流程图,如图28所示,判断门禁卡刷卡成功或者交通卡刷卡成功;若是,判断是否进站但没有出站,若是,不保存指纹;若否,判断是否识别到手机碰手机或者安检门,若是,不保存指纹;若否,判断是否短时间(15s)内有刷卡成功,若是,删除前面保存的指纹;若否,判断刷的是最近围栏激活的卡或在同AID的GPS/WIFI围栏内,若是,则不保存指纹。若否,保持指纹信息。Figure 28 is a flow chart of a corresponding relationship generation method provided by the embodiment of the present application. As shown in Figure 28, it is determined whether the access control card is successfully swiped or the transportation card is swiped successfully; if so, it is determined whether the station is entered but not exited. If so, no Save the fingerprint; if not, determine whether the mobile phone is recognized to touch the mobile phone or the security gate, if so, do not save the fingerprint; if not, determine whether the card is successfully swiped within a short period of time (15s), if so, delete the previously saved fingerprint; if not, determine The swipe is for a card activated in the latest fence or within the GPS/WIFI fence of the same AID. If so, the fingerprint will not be saved. If not, keep the fingerprint information.
在一些实施例中,所述第一NFC卡为门禁卡,在所述采集当前刷卡位置对应的第一位置信息之前,所述方法可以包括:确定满足以下预设的指纹采集条件中的至少一个条件:确定所述电子设备当前未采集相同读卡器应用标识符对应的GPS指纹信息或者WIFI指纹信息;确定当前WIFI网络不属于预设的WIFI网络黑名单。In some embodiments, the first NFC card is an access control card. Before collecting the first location information corresponding to the current card swiping position, the method may include: determining that at least one of the following preset fingerprint collection conditions is met: Conditions: It is determined that the electronic device does not currently collect GPS fingerprint information or WIFI fingerprint information corresponding to the same card reader application identifier; it is determined that the current WIFI network does not belong to the preset WIFI network blacklist.
进一步的,在所述生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系之前,所述方法还包括:确定所述第一位置信息与第二位置信息的相似度不高于预设相似度阈值,所述第二位置信息为所述预设的对应关系中包括的位置信息。Further, before generating the corresponding relationship between the first NFC card, the first card reader information, and the first fence area, the method further includes: determining the first location information and the second location information. The similarity is not higher than the preset similarity threshold, and the second position information is the position information included in the preset correspondence relationship.
进一步,在所述生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系之后,所述方法还包括:若所述第一位置信息与所述第二位置信息的相似度高于预设相似度阈值,根据所述第一位置信息更新所述第二位置信息。Further, after generating the corresponding relationship between the first NFC card, the first card reader information, and the first fence area, the method further includes: if the first location information and the second location If the similarity of the information is higher than the preset similarity threshold, the second location information is updated according to the first location information.
在一些实施例中,所述第一NFC卡为交通卡,在所述采集当前刷卡位置对应的第一位置信息之前,所述方法可以包括:确定满足以下预设的指纹采集条件中的至少一个条件:确定所述第一NFC卡的刷卡操作信息不是第一刷卡操作对应的信息且没有采集GPS指纹信息或者WIFI指纹信息,所述第一刷卡操作用于指示地铁进站刷卡;确定所述第一NFC卡的刷卡操作信息是在门禁卡的GPS围栏或者WIFI围栏内进行刷卡操作的信息。In some embodiments, the first NFC card is a transportation card. Before collecting the first location information corresponding to the current card swiping position, the method may include: determining that at least one of the following preset fingerprint collection conditions is met: Condition: It is determined that the card swiping operation information of the first NFC card is not the information corresponding to the first card swiping operation and no GPS fingerprint information or WIFI fingerprint information is collected. The first card swiping operation is used to instruct the subway to enter the station and the card is swiped; it is determined that the first card swiping operation is not the information corresponding to the first card swiping operation. The card swiping operation information of an NFC card is the information of the card swiping operation within the GPS fence or WIFI fence of the access control card.
进一步的,所述第一位置信息为WIFI指纹信息,在所述采集当前刷卡位置对应的第一位置信息,可以包括:确定所述第一NFC卡对应的WIFI指纹信息未达到预设第一数值;或者,若所述第一NFC对应的WIFI指纹信息达到预设第二数值,删除最早采集的WIFI指纹信息。Further, the first location information is WIFI fingerprint information. The collection of the first location information corresponding to the current card swiping position may include: determining that the WIFI fingerprint information corresponding to the first NFC card has not reached a preset first value. ; Or, if the WIFI fingerprint information corresponding to the first NFC reaches the preset second value, delete the earliest collected WIFI fingerprint information.
进一步的,在所述生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系之后,所述方法还可以包括:若门禁卡的相同读卡器应用标识符对应的GPS指纹信息个数超过预设第三数值,或者交通卡的相同读卡器应用标识符对应的GPS指纹信息个数超过预设第四数值,删除刷卡日最少的指纹中更新时间最久的指纹。Further, after generating the corresponding relationship between the first NFC card, the first card reader information, and the first fence area, the method may also include: if the same card reader application identifier of the access control card If the number of corresponding GPS fingerprint information exceeds the preset third value, or the number of GPS fingerprint information corresponding to the same card reader application identifier of the transportation card exceeds the preset fourth value, delete the fingerprint with the fewest card swiping days and the longest update time. of fingerprints.
在一些实施例中,在所述根据所述第一位置信息更新所述第二位置信息之前,所述方法还可以包括:确定所述第一位置信息对应的NFC卡的卡类型与所述第二位置信息对应的NFC卡的卡类型相同,所述NFC卡的卡类型包括门禁卡和交通卡;确定所述第一位置信息对应的NFC卡的读卡器应用标识符与所述第二位置信息对应的NFC卡的读卡器应用标识符相同。In some embodiments, before updating the second location information according to the first location information, the method may further include: determining the card type of the NFC card corresponding to the first location information and the third location information. The card types of the NFC cards corresponding to the two position information are the same, and the card types of the NFC card include access control cards and transportation cards; determine the card reader application identifier of the NFC card corresponding to the first position information and the second position The reader application identifier of the NFC card corresponding to the information is the same.
图29为本申请实施例提供的一种指纹保存方法的流程图。如图29所示,针对刷门禁卡成功和刷交通卡成功,采用不同方案;若刷门禁卡成功,判断是否正在收集同AID指纹信息,若是,则结束保存,不重复保存,若否,判断是否扫描到黑名单WIFI,若是,则不保存指纹,若否,则判断GPS是否打开,若是,则保存GPS指纹成功;判断是否和旧指纹的GPS相似需要更新GPS,若是,则更新指纹,不新增指纹,若否,则新增指纹。若刷交通卡成功,判断是否刷地铁进站且正在收集指纹信息,若是,释放前面可能因为安检门触发的保存,若否,判断是否不在门禁卡的GPS围栏/WIFI围栏内刷,若是,则不保存指纹,若否,则保存WIFI指纹成功,保存最近3次刷卡成功的WIFI扫描列表,判断是否和旧指纹的WIFI相似需要更新WIFI,若是,则更新指纹不新增指纹,若否,则新增指纹。新增指纹后再判断门禁卡同AID指纹个数是否大于5或者交通卡同AID指纹个数是否大于10,若是,删除刷卡日swipeday最少的指纹中更新时间最久的指纹。Figure 29 is a flow chart of a fingerprint saving method provided by an embodiment of the present application. As shown in Figure 29, different solutions are adopted for the success of swiping the access card and the success of swiping the transportation card; if the access card is swiped successfully, determine whether the fingerprint information of the same AID is being collected. If so, end the save without repeating the save. If not, determine Whether the blacklist WIFI is scanned, if so, the fingerprint is not saved, if not, determine whether the GPS is turned on, if so, the GPS fingerprint is saved successfully; determine whether it is similar to the GPS of the old fingerprint and the GPS needs to be updated, if so, update the fingerprint, no Add a new fingerprint, if not, add a new fingerprint. If the transportation card is swiped successfully, determine whether the subway card is swiped to enter the station and fingerprint information is being collected. If so, release the previous save that may be triggered by the security gate. If not, determine whether the access card is not swiped within the GPS fence/WIFI fence. If so, then Do not save the fingerprint. If not, save the WIFI fingerprint successfully. Save the WIFI scan list of the last 3 successful card swipes to determine whether it is similar to the WIFI of the old fingerprint and need to update the WIFI. If so, update the fingerprint without adding a new fingerprint. If not, then Added fingerprint. After adding the fingerprint, determine whether the number of fingerprints with the same AID on the access control card is greater than 5 or whether the number of fingerprints with the same AID on the transportation card is greater than 10. If so, delete the fingerprint with the longest update time among the fingerprints with the least swipeday on the card swipe day.
在一些实施例中,在所述根据所述第一位置信息更新所述第二位置信息之后,所述方法还可以包括:所述第一位置信息对应的NFC卡的读卡器应用标识符与所述第二位置信息对应的NFC卡的读卡器应用标识符不相同,增加第一位置信息对应的关联读卡器应用标识符,将所述第一位信息对应的NFC卡的读卡器应用标识符设为核心读卡器应用标识符;在每次刷卡之后,更新所述关联读卡器应用标识符或者核心读卡器应用标识符的刷卡日和刷卡时间;在所述核心读卡器应用标识符对应的刷卡日天数少于所述关联读卡器应用标识符对应的刷卡日天数的情况下,将所述核心读卡器应用标识符和所述关联读卡器应用标识符进行名称和刷卡日信息。In some embodiments, after updating the second location information according to the first location information, the method may further include: a reader application identifier of the NFC card corresponding to the first location information and If the NFC card reader application identifiers corresponding to the second location information are different, add the associated card reader application identifier corresponding to the first location information, and add the NFC card reader application identifier corresponding to the first location information. The application identifier is set to the core card reader application identifier; after each card swiping, the card swiping day and card swiping time of the associated card reader application identifier or the core card reader application identifier are updated; in the core card reader When the number of card swiping days corresponding to the reader application identifier is less than the number of card swiping days corresponding to the associated card reader application identifier, the core card reader application identifier and the associated card reader application identifier are Name and credit card date information.
在一些实施例中,在所述生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系之后,方法还可以包括:确定所述第一位置信息与第二位置信息的相似度不高于预设相似度阈值,且所述第二位置信息对应的WIFI指纹信息数量达到预设第二数值的情况下,提取所述第二位置信息对应的WIFI指纹信息的无线接入点特征;若所述第一位置信息与第二位置信息的无线接入点特征的相似度大于预设相似度阈值,根据所述第一位置信息更新所述第二位置信息。In some embodiments, after generating the corresponding relationship between the first NFC card, the first card reader information, and the first fence area, the method may further include: determining the relationship between the first location information and the second When the similarity of the location information is not higher than the preset similarity threshold, and the number of WIFI fingerprint information corresponding to the second location information reaches the preset second value, extract the WIFI fingerprint information corresponding to the second location information. Wireless access point characteristics; if the similarity between the wireless access point characteristics of the first location information and the second location information is greater than the preset similarity threshold, update the second location information according to the first location information.
图30为本申请实施例提供饿一种指纹更新方法的流程图,如图30所示,当采集到WIFI指纹后,判断和之前采集的WIFI指纹是否相似。若是,则判断卡类型是否相同,如果卡类型不同,则不更新,如果卡类型相同,则判断AID是否相同,若AID相同,则更新WIFI信息,若AID不相同,则指纹增加一个关联AID,刷卡时更新关联AID或者核心AID的刷卡日和刷卡事件,如果核心AID的刷卡日少于关联AID的刷卡日,交替指纹中的关联AID和核心AID以及对应的刷卡日信息。Figure 30 is a flow chart of a fingerprint update method provided by an embodiment of the present application. As shown in Figure 30, after the WIFI fingerprint is collected, it is determined whether it is similar to the WIFI fingerprint collected before. If so, then determine whether the card types are the same. If the card types are different, then do not update. If the card types are the same, then determine whether the AID is the same. If the AID is the same, update the WIFI information. If the AID is not the same, add an associated AID to the fingerprint. When the card is swiped, the card swiping day and card swiping event of the associated AID or core AID are updated. If the card swiping day of the core AID is less than the card swiping day of the associated AID, the associated AID and core AID and the corresponding card swiping day information in the fingerprint are alternated.
在一些实施例中,所述第一位置信息为第一WIFI指纹信息,所述第二位置信息为第二WIFI指纹信息,所述根据所述第一位置信息更新所述第二位置信息,可以包括:确定所述第一WIFI指纹信息和第二WIFI指纹信息在相同的围栏区域且对应的读卡器应用标识符相同;确定所述第二WIFI指纹信息对应的无线接入点数据是否小于预设第五数值;若是,增加所述第一WIFI指纹信息对应的无线接入点特征;若否,删除累计刷卡时最久的无线接入点特征,增加所述第一WIFI指纹信息对应的无线接入点特征。In some embodiments, the first location information is first WIFI fingerprint information, the second location information is second WIFI fingerprint information, and updating the second location information according to the first location information can be It includes: determining that the first WIFI fingerprint information and the second WIFI fingerprint information are in the same fenced area and the corresponding card reader application identifiers are the same; determining whether the wireless access point data corresponding to the second WIFI fingerprint information is less than a predetermined value. Set the fifth value; if yes, add the wireless access point characteristics corresponding to the first WIFI fingerprint information; if not, delete the wireless access point characteristics with the longest accumulated card swiping time, and add the wireless access point characteristics corresponding to the first WIFI fingerprint information. Access point characteristics.
图31为本申请实施例提供的一种更新指纹的方法流程示意图,如图31所示,采集的指纹在围栏内且AID相同,判断接入网点个数是否小于3,若是AP列表数据小于3,则增加AP列表,若AP列表数据不小于3,则删除累计刷卡时最久的AP,然后再增加AP列表。Figure 31 is a schematic flow chart of a method for updating fingerprints provided by an embodiment of the present application. As shown in Figure 31, the collected fingerprints are within the fence and have the same AID. It is determined whether the number of access network points is less than 3. If the AP list data is less than 3 , then add the AP list. If the AP list data is not less than 3, delete the AP with the longest accumulated card swiping time, and then add the AP list.
在一些实施例中,所述第一位置信息为第一GPS指纹信息,所述第二位置信息为第二GPS指纹信息,在所述根据所述第一位置信息更新所述第二位置信息之前,所述方法还可以包括:确定所述第一GPS指纹信息的定位精度高于所述第二GPS指纹信息的定位精度。In some embodiments, the first location information is first GPS fingerprint information, and the second location information is second GPS fingerprint information, before updating the second location information according to the first location information. , the method may further include: determining that the positioning accuracy of the first GPS fingerprint information is higher than the positioning accuracy of the second GPS fingerprint information.
图32为本申请实施例提供的根据GPS进行指纹更新的流程示意图,如图32所示,判断当前采集的GPS指纹与之前采集GPS指纹是否相似,且距离小于30m,若相似,判断新GPS指纹是不是精度更准,精度小于30m,若是,更新GPS指纹信息。Figure 32 is a schematic flow chart of fingerprint update based on GPS provided by the embodiment of the present application. As shown in Figure 32, it is determined whether the currently collected GPS fingerprint is similar to the previously collected GPS fingerprint, and the distance is less than 30m. If they are similar, the new GPS fingerprint is determined. Is the accuracy more accurate? The accuracy is less than 30m. If so, update the GPS fingerprint information.
本申请实施例提供的方案,功耗计算方法可以包括:GNSS:50mA,6s,一次300mA,请求按10s算,一次500mA(到时间才停止,统计高精度位置设围栏)。NPL:1mA,1s,请求按3s算,一次3mA(有结果即可停止;精度0.5km-2.5km)。WIFI扫描:4mA,1.3s,一次5mA,请求按3s算,一次12mA(有结果即可停止)。灭屏待机唤醒AP:一次150mA。In the solution provided by the embodiment of this application, the power consumption calculation method may include: GNSS: 50mA, 6s, 300mA once, and the request is calculated as 10s, 500mA once (it will stop when the time is up, and a fence will be set at the high-precision position for statistics). NPL: 1mA, 1s, the request is calculated as 3s, 3mA at a time (stop when there is a result; accuracy 0.5km-2.5km). WIFI scan: 4mA, 1.3s, 5mA at a time, request is calculated as 3s, 12mA at a time (stop when there is a result). Turn off the screen and wake up the AP from standby: 150mA once.
定位源:1.刷卡成功(收集更新指纹)(GNSS+WIFI):亮屏(刷卡会调起钱包):一天6次,每次512mA,一天增量0.85mA。2.唤醒(NLP+WIFI)亮屏:不计算,至少每5min内可以搭便车。极限灭屏待机:30min一次,每次165mA,增量0.09mAh,一天增量1.6mA。唤醒(GNSS+WIFI):极限灭屏待机;30min一次,每次563mA,增量0.31mAh,一天增量5.6mA。数智推荐的5个小时里边,前15min每5min一次,其余时间30min一次;一天增量7.58mA。刷卡成功收集指纹时,GPS定位10s,触发定位时,GPS定位8s(如果拿到第二个位置,提前终止)。请求GPS定位时,同时计算搜索结果,判断在室内终止GPS定位,替换成网络定位。3.其他动作触发(WIFI):极限亮屏或灭屏不待机:12*36/3600=0.12mAh;一天增量2.16mA。Positioning source: 1. Successfully swiping the card (collecting and updating fingerprints) (GNSS+WIFI): bright screen (swiping the card will bring up the wallet): 6 times a day, 512mA each time, increment of 0.85mA per day. 2. Wake up (NLP+WIFI) to light up the screen: not counted, you can hitch a ride at least every 5 minutes. Extreme screen-off standby: once every 30 minutes, 165mA each time, increment of 0.09mAh, increment of 1.6mA per day. Wake-up (GNSS+WIFI): extreme screen off standby; once every 30 minutes, 563mA each time, increment of 0.31mAh, increment of 5.6mA per day. Within the 5 hours recommended by Shuizhi, it is once every 5 minutes in the first 15 minutes, and once every 30 minutes in the remaining time; the increment is 7.58mA per day. When the fingerprint is successfully collected by swiping the card, the GPS positioning takes 10 seconds. When the positioning is triggered, the GPS positioning takes 8 seconds (if the second position is obtained, it will be terminated early). When requesting GPS positioning, the search results are calculated at the same time, and it is determined that GPS positioning is terminated indoors and replaced with network positioning. 3. Other action triggers (WIFI): extreme screen on or off without standby: 12*36/3600=0.12mAh; one day increment of 2.16mA.
图33为本申请实施例提供的一种实时切卡方法的流程图,如图33所示,实时切卡的流程包括:401.侦测到NFC场强,STR触发,等待500ms的寻卡信号,如果500ms内有开关事件,则打开STR开始搜集读卡器特征及匹配;402.NFC控制器侧恢复SAK设置;403.确定是否有交易事件,若是就结束,若否,404.确定是否AID上报,若是,切换到对应AID卡片,结束,若否,则405.进行特征库比对,若不匹配,则判断辅助策略是否能判断切卡,若是或者若否但通过数智智能推荐卡,则判断刷卡是否成功,若是则门禁卡AID及配置特征写入文件,若否则结束。若特征库匹配,406.通知钱包切换到对应AID的门禁卡,407.判断是否刷卡成功,若是则结束,若否则手动切卡,程序不再处理。Figure 33 is a flow chart of a real-time card cutting method provided by the embodiment of the present application. As shown in Figure 33, the real-time card cutting process includes: 401. Detect NFC field strength, trigger STR, and wait for 500ms of card search signal. , if there is a switch event within 500ms, open STR to start collecting card reader characteristics and matching; 402. Restore SAK settings on the NFC controller side; 403. Determine whether there is a transaction event, if so, end it, if not, 404. Determine whether AID Report, if yes, switch to the corresponding AID card and end, if no, then 405. Compare the feature library. If they do not match, determine whether the auxiliary strategy can determine the card cut. If so or if not, but recommend the card through digital intelligence. Then determine whether the card swiping is successful. If so, the access control card AID and configuration characteristics are written to the file. If not, end. If the feature database matches, 406. Notify the wallet to switch to the access card corresponding to the AID, 407. Determine whether the card is swiped successfully, and if so, end it. If not, manually cut the card and the program will no longer process it.
需要说明的是,本方案对Str特征收集策略进行优化:在实时切门禁卡的场景,需要用到STR匹配功能,但因为STR打开策略限制导致刷部分门禁POS时搜集不到polling特征,无法匹配,导致切卡失败或者不切卡。新增在field On后的前500ms内只要有ON事件也打开STR。It should be noted that this solution optimizes the STR feature collection strategy: in the scenario of real-time access control card switching, the STR matching function needs to be used. However, due to the restriction of the STR opening policy, polling features cannot be collected when swiping some access control POS and cannot be matched. , resulting in card cutting failure or no card cutting. Added that STR will be turned on as long as there is an ON event in the first 500ms after field On.
本申请实施例提供的方案中,当电子设备支持NFC开通门禁、公交卡、地铁卡、车钥匙等多种卡片,等结合地理围栏、WIFI围栏、deepthinker场景识别、特殊场景识别、数智推荐选卡、人机交互hci指令解析来进行预选卡;结合读卡器所发的AID和str polling特征来进行实时选卡,能极大提高智能选卡和切卡的成功率和准确率。NFC预切卡准确率从82.5%提升至90%;NFC实时切卡准确率从92%提升至95%,实时切卡覆盖场景从31%提升到54%;NFC综合切卡成功率从87.5%提升至95%。In the solution provided by the embodiment of this application, when the electronic device supports NFC access control, bus card, subway card, car key and other cards, it can be combined with geofencing, WIFI fence, deepthinker scene recognition, special scene recognition, and digital intelligence recommendation selection. Cards and human-computer interaction hci commands are parsed to pre-select cards; combining the AID and str polling characteristics sent by the card reader to perform real-time card selection can greatly improve the success rate and accuracy of intelligent card selection and card cutting. NFC pre-cutting accuracy rate increased from 82.5% to 90%; NFC real-time card cutting accuracy rate increased from 92% to 95%, real-time card cutting coverage scenarios increased from 31% to 54%; NFC comprehensive card cutting success rate increased from 87.5% Boosted to 95%.
应该理解的是,虽然上述各流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述各流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the above flowcharts are shown in sequence as indicated by arrows, these steps are not necessarily executed in the order indicated by arrows. Unless otherwise specified in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in each of the above flowcharts 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 stages The order of execution is not necessarily sequential, but may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of the stages.
基于前述的实施例,本申请实施例提供一种近场通信卡的选择装置,该装置所包括的各模块、以及各模块所包括的各单元,可以通过处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。Based on the foregoing embodiments, embodiments of the present application provide a near field communication card selection device. Each module included in the device and each unit included in each module can be implemented by a processor; of course, it can also be implemented by a specific Logic circuit implementation; during the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
图34为本申请实施例提供的一种近场通信装置的结构示意图,如图34所示,所述装置500包括信息获取模块501和卡确定模块502,其中:Figure 34 is a schematic structural diagram of a near field communication device provided by an embodiment of the present application. As shown in Figure 34, the device 500 includes an information acquisition module 501 and a card determination module 502, wherein:
信息获取模块501,用于获取所述电子设备的第一信息,所述第一信息为当前位置信息和/或采集到的当前读卡器信息,所述当前位置信息包括当前GPS指纹信息和当前WIFI指纹信息中的至少一种,所述当前读卡器信息包括当前读卡器寻卡特征和当前读卡器应用标识符中的至少一种。The information acquisition module 501 is used to acquire the first information of the electronic device. The first information is the current location information and/or the collected current card reader information. The current location information includes the current GPS fingerprint information and the current At least one of WIFI fingerprint information, the current card reader information includes at least one of the current card reader's card search characteristics and the current card reader application identifier.
卡确定模块502,用于根据所述第一信息以及预设的对应关系,确定第一NFC卡;其中,若第一信息为所述当前位置信息,所述预设的对应关系为位置信息对应的围栏区域与NFC卡的对应关系;若第一信息为所述当前读卡器信息,所述预设的对应关系为读卡器信息与NFC卡的对应关系;若第一信息为所述当前位置信息和所述当前读卡器信息,所述预设的对应关系为位置信息对应的围栏区域、读卡器信息与NFC卡的对应关系。The card determination module 502 is used to determine the first NFC card according to the first information and the preset correspondence relationship; wherein, if the first information is the current location information, the preset correspondence relationship is the location information correspondence. the corresponding relationship between the fence area and the NFC card; if the first information is the current card reader information, the preset corresponding relationship is the corresponding relationship between the card reader information and the NFC card; if the first information is the current card reader information, The preset corresponding relationship between the location information and the current card reader information is the corresponding relationship between the fence area corresponding to the location information, the card reader information, and the NFC card.
在一些实施例中,所述第一信息包括当前位置信息,所述卡确定模块包括围栏确定单元和卡确定单元,其中,In some embodiments, the first information includes current location information, and the card determination module includes a fence determination unit and a card determination unit, wherein,
围栏确定单元,用于确定所述当前位置信息是否位于第一围栏区域内,所述第一围栏区域为所述预设的对应关系中包括的GPS围栏区域或WIFI围栏区域;A fence determination unit, configured to determine whether the current location information is located in a first fence area, and the first fence area is a GPS fence area or a WIFI fence area included in the preset correspondence relationship;
第一卡确定单元,用于若所述当前位置信息位于所述第一围栏区域内,根据所述预设的对应关系确定所述第一围栏区域对应的NFC卡为所述第一NFC卡。A first card determination unit is configured to determine, according to the preset correspondence relationship, that the NFC card corresponding to the first fence area is the first NFC card if the current location information is located in the first fence area.
在一些实施例中,所述第一信息包括采集到的所述当前读卡器信息,所述卡确定模块包括信息确定单元和第二卡确定单元,其中,In some embodiments, the first information includes the collected current card reader information, and the card determination module includes an information determination unit and a second card determination unit, wherein,
信息确定单元,用于确定所述当前读卡器信息是否与第一读卡器信息相匹配,所述第一读卡器信息为所述预设的对应关系中包括的读卡器寻卡特征或读卡器应用标识符;An information determination unit, used to determine whether the current card reader information matches the first card reader information, and the first card reader information is the card reader card search feature included in the preset correspondence relationship. or reader application identifier;
第二卡确定单元,用于若所述当前读卡器信息与所述第一读卡器信息相匹配,根据所述预设的对应关系确定所述第一读卡器信息对应的NFC卡为第一NFC卡。The second card determination unit is configured to determine, according to the preset correspondence relationship, that the NFC card corresponding to the first card reader information is the NFC card corresponding to the first card reader information if the current card reader information matches the first card reader information. The first NFC card.
在一些实施例中,所述装置还包括:对应关系获取模块,用于获取所述预设的对应关系。In some embodiments, the device further includes: a correspondence acquisition module, configured to acquire the preset correspondence.
在一些实施例中,所述对应关系获取模块包括读卡器信息获取单元、位置信息获取单元对应和对应关系生成单元,其中,In some embodiments, the correspondence acquisition module includes a card reader information acquisition unit, a location information acquisition unit, and a correspondence generation unit, wherein,
读卡器信息获取单元,用于收到所述第一NFC卡的刷卡操作信息,获取所述第一NFC对应读卡器的第一读卡器信息,所述第一读卡器信息包括应用标识符和寻卡特征中的至少一种;A card reader information acquisition unit is configured to receive the card swiping operation information of the first NFC card and acquire the first card reader information of the first NFC corresponding card reader, where the first card reader information includes an application At least one of an identifier and a card search feature;
位置信息获取单元,用于收到所述第一NFC卡的刷卡结束信息,采集当前刷卡位置对应的第一位置信息,所述第一位置信息包括GPS指纹信息和WIFI指纹信息中的至少一种;A location information acquisition unit, configured to receive the card swiping end information of the first NFC card and collect the first location information corresponding to the current card swiping location. The first location information includes at least one of GPS fingerprint information and WIFI fingerprint information. ;
对应关系生成单元,用于生成所述第一NFC卡与所述第一读卡器信息、第一围栏区域的对应关系,所述第一围栏区域是根据所述第一位置信息确定的。A correspondence generation unit is configured to generate a correspondence between the first NFC card, the first card reader information, and a first fence area, where the first fence area is determined based on the first location information.
在本申请实施例中,所述方法能够大大提升智能选卡的成功率和准确率。In the embodiment of this application, the method can greatly improve the success rate and accuracy of intelligent card selection.
以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
需要说明的是,本申请实施例中图34所示的近场通信卡的选择装置对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。也可以采用软件和硬件结合的形式实现。It should be noted that the division of modules by the near field communication card selection device shown in Figure 34 in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods. In addition, each functional unit in various embodiments of the present application may be integrated into one processing unit, may exist independently, or may have two or more units integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units. It can also be implemented by combining software and hardware.
需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得电子设备执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products that are essentially or contribute to related technologies. The computer software product is stored in a storage medium and includes a number of instructions to enable The electronic device executes all or part of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), magnetic disk or optical disk and other various media that can store program codes. As such, embodiments of the present application are not limited to any specific combination of hardware and software.
图35为本申请实施例提供的一种电子设备的结构示意图。如图35所示,电子设备100可以包括处理器110、存储器120、天线1,天线2,无线通信模块130、移动通信模块140、传感器模块150和显示屏160等。Figure 35 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 35, the electronic device 100 may include a processor 110, a memory 120, an antenna 1, an antenna 2, a wireless communication module 130, a mobile communication module 140, a sensor module 150, a display screen 160, etc.
处理器110可以包括一个或多个处理单元。例如,处理器110是一个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specificintegrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。Processor 110 may include one or more processing units. For example, the processor 110 is a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present application. For example: one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA). Among them, different processing units can be independent devices or integrated in one or more processors.
存储器120可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器120可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,视频数据等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在存储器120的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。Memory 120 may be used to store computer executable program code, which includes instructions. The internal memory 120 may include a program storage area and a data storage area. Among them, the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.). The storage data area may store data created during use of the electronic device 100 (such as audio data, video data, etc.). In addition, the memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the memory 120 and/or instructions stored in the memory provided in the processor.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块140,无线通信模块130,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 140, the wireless communication module 130, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
移动通信模块140可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块140可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块140可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块140还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块140的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块140的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 140 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 140 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 140 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 140 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 140 may be disposed in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 140 and at least part of the modules of the processor 110 may be provided in the same device.
无线通信模块130可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块130可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块130经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块130还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 130 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and global navigation satellite system. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 130 may be one or more devices integrating at least one communication processing module. The wireless communication module 130 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 130 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
传感器模块150可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。传感器模块150能够帮助电子设备100获取压力信号、运动姿态、气压信息等等信息。The sensor module 150 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like. The sensor module 150 can help the electronic device 100 obtain information such as pressure signals, movement postures, air pressure information, and so on.
显示屏160用于显示图像,视频等。显示屏160包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏160,N为大于1的正整数。The display screen 160 is used to display images, videos, etc. Display 160 includes a display panel. The display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode). (AMOLED), flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 160, where N is a positive integer greater than 1.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.
本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的近场通信卡的选择方法中的步骤。Embodiments of the present application provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the near field communication card selection method provided in the above embodiments are implemented.
上述计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(readonly memory,ROM)、可擦式可编程只读存储器(erasable programmable read onlymemory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The above computer-readable storage medium may be any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more conductors, a portable computer disk, a hard drive, random access memory (RAM), read-only memory, ROM), erasable programmable read only memory (EPROM) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above combination. As used herein, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、射频(radio frequency,RF)等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本说明书操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(localarea network,LAN)或广域网(wide area network,WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations described herein may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using Internet service provider to connect via the Internet).
本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方法实施例提供的近场通信卡的选择方法中的步骤。Embodiments of the present application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the near field communication card selection method provided by the above method embodiments.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transferred from a website, computer, server, or data center Transmission to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store, or a data storage device such as a server or data center integrated with one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), etc.
这里需要指出的是:以上存储介质、程序产品和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请存储介质、存储介质和设备实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be pointed out here that the above description of the storage medium, program product and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”或“一些实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”或“在一些实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。It will be understood that reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present application. . Thus, the appearances of "in one embodiment" or "in an embodiment" or "in some embodiments" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation. The above serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of various embodiments tends to emphasize the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described again here.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如对象A和/或对象B,可以表示:单独存在对象A,同时存在对象A和对象B,单独存在对象B这三种情况。The term "and/or" in this article is just an association relationship that describes related objects, indicating that there can be three relationships, such as object A and/or object B, which can mean: object A exists alone, and object A and object exist at the same time. B, there are three cases of object B alone.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in a process, method, article or device that includes that element.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The above-described embodiments are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, such as: multiple modules or components may be combined, or may be Integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be electrical, mechanical, or other forms. of.
上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理模块;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。The modules described above as separate components may or may not be physically separated; the components shown as modules may or may not be physical modules; they may be located in one place or distributed to multiple network units; Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各实施例中的各功能模块可以全部集成在一个处理单元中,也可以是各模块分别单独作为一个单元,也可以两个或两个以上模块集成在一个单元中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present application can be all integrated into one processing unit, or each module can be separately used as a unit, or two or more modules can be integrated into one unit; the above-mentioned integration The module can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed through hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the execution includes: The steps of the above method embodiment; and the aforementioned storage media include: mobile storage devices, read-only memory (Read Only Memory, ROM), magnetic disks or optical disks and other various media that can store program codes.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得电子设备执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the integrated units mentioned above in this application are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products that are essentially or contribute to related technologies. The computer software product is stored in a storage medium and includes a number of instructions to enable The electronic device executes all or part of the methods described in various embodiments of this application. The aforementioned storage media include: mobile storage devices, ROMs, magnetic disks or optical disks and other media that can store program codes.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in several method embodiments provided in this application can be combined arbitrarily to obtain new method embodiments without conflict.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.
以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application. are covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims (42)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310970435.8A CN117408266A (en) | 2023-08-02 | 2023-08-02 | Near field communication card selection method and device, electronic equipment, storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310970435.8A CN117408266A (en) | 2023-08-02 | 2023-08-02 | Near field communication card selection method and device, electronic equipment, storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117408266A true CN117408266A (en) | 2024-01-16 |
Family
ID=89491485
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310970435.8A Pending CN117408266A (en) | 2023-08-02 | 2023-08-02 | Near field communication card selection method and device, electronic equipment, storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117408266A (en) |
-
2023
- 2023-08-02 CN CN202310970435.8A patent/CN117408266A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12142274B2 (en) | Voice wakeup method and device | |
| EP3799321B1 (en) | Method and device for activating near field communication card | |
| US10163319B2 (en) | Security system tracking of remote items using reduced power | |
| US20190037034A1 (en) | Mobile terminal and method for controlling the same | |
| WO2019133838A1 (en) | Traffic detection method, device, and system | |
| CN112135274B (en) | Bluetooth scanning method, device, electronic equipment and readable storage medium | |
| CN104205127A (en) | Recognition-based security | |
| CN114880065B (en) | Method, device, system and storage medium for controlling card display | |
| CN105744071A (en) | One-key emergency help system and method based on fingerprint identification | |
| CN106056015A (en) | Utilizing radio frequency identification tag to assess battery level of peripheral device | |
| CN113037838B (en) | Operation response method and device, computer equipment and storage medium | |
| CN107025804A (en) | Parking stall reserving method, system and storage medium | |
| US20210286980A1 (en) | Guardian system in a network to improve situational awareness at an incident | |
| TW201539396A (en) | System and method for managing parking spaces | |
| CN117408266A (en) | Near field communication card selection method and device, electronic equipment, storage medium | |
| KR20180070091A (en) | Electronic device and method for providng notification using the same | |
| CN105974901A (en) | Remote control system and method | |
| CN118214997B (en) | NFC-based card swiping method, electronic equipment and storage medium | |
| CN107403495A (en) | A kind of cell gate inhibition intelligent management system and control method | |
| KR102602596B1 (en) | System for providing store management service using internet of things platform | |
| KR101329421B1 (en) | Router, Method, and Recording Medium for M2M Service | |
| CN120338780A (en) | Card display method and related equipment | |
| WO2023124986A1 (en) | Positioning-based service implementation method, data processing method, and apparatus | |
| CN108322935A (en) | A kind of region wireless location system and its method based on smart mobile phone | |
| EP4518294A1 (en) | Method for providing service and electronic device |
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 |