WO2021135086A1 - Control nfc analog access control cards - Google Patents

Control nfc analog access control cards Download PDF

Info

Publication number
WO2021135086A1
WO2021135086A1 PCT/CN2020/096020 CN2020096020W WO2021135086A1 WO 2021135086 A1 WO2021135086 A1 WO 2021135086A1 CN 2020096020 W CN2020096020 W CN 2020096020W WO 2021135086 A1 WO2021135086 A1 WO 2021135086A1
Authority
WO
WIPO (PCT)
Prior art keywords
access control
nfc
geographic location
analog
card
Prior art date
Application number
PCT/CN2020/096020
Other languages
French (fr)
Chinese (zh)
Inventor
晏亮
Original Assignee
北京三快在线科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京三快在线科技有限公司 filed Critical 北京三快在线科技有限公司
Publication of WO2021135086A1 publication Critical patent/WO2021135086A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the embodiments of the present application relate to the field of smart access control technology, in particular, to control an NFC analog access control card.
  • NFC Near Field Communication
  • NFC access control has been widely used because of its convenience. NFC access control systems can be seen in many places in office areas and homes. Users can open the access control through an NFC card, which is very convenient to use. With the popularity of NFC mobile terminals, the application of simulated access control cards has appeared in NFC mobile terminals. Users can simulate the access control card through the NFC module in the mobile terminal, and realize the opening and closing of the access control through the mobile terminal.
  • an embodiment of the present application discloses a method for controlling an NFC analog access card, including:
  • Control the NFC terminal to execute the operation of turning on the NFC access control device through the analog access control card used in real time.
  • an embodiment of the present application discloses a device for controlling an NFC analog access card, including:
  • the NFC terminal real-time geographic location acquisition module is used to obtain the real-time geographic location of the NFC terminal in response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal;
  • the access card binding geographic location matching module is used to match the real-time geographic location with the geographic location bound to the analog access card stored in the NFC terminal one by one, and determine the real-time geographic location based on the geographic location that is successfully matched.
  • the analog access card control module is used to control the NFC terminal to execute the operation of turning on the NFC access control device through the analog access card used in real time.
  • an embodiment of the present application also discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
  • the processor executes the computer program when the computer program is executed.
  • the method for controlling the NFC analog access card described in the embodiment of the present application is not limited to a processor, a processor, and a computer program stored on the memory and capable of running on the processor.
  • an embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the steps of the method for controlling an NFC simulated access card disclosed in the embodiment of the present application are disclosed.
  • the method for controlling an NFC analog access control card disclosed in the embodiment of the application obtains the real-time geographic location of the NFC terminal by responding to an operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal; and compares the real-time geographic location with The geographic locations bound to the analog access control card stored in the NFC terminal are matched one by one, and the analog access control card used in real time is determined according to the geographic location where the matching is successful; and the NFC terminal is controlled to execute through the real-time
  • the used analog access control card opens the operation of the NFC access control device, which helps to improve the door opening efficiency of the NFC analog access control card.
  • FIG. 1 is a flowchart of a method for controlling an NFC analog access control card according to the first embodiment of the present application
  • FIG. 2 is the second flow chart of the method for controlling the NFC analog access card in the first embodiment of the present application
  • FIG. 3 is one of the schematic diagrams of the structure of the device for controlling the NFC analog access control card according to the second embodiment of the present application;
  • FIG. 4 is the second structural diagram of the device for controlling the NFC analog access control card of the second embodiment of the present application.
  • Fig. 5 schematically shows a block diagram of an electronic device for executing the method according to the present application.
  • Fig. 6 schematically shows a storage unit for holding or carrying program codes for implementing the method according to the present application.
  • An embodiment of the application discloses a method for controlling an NFC analog access control card. As shown in FIG. 1, the method includes: step 110 to step 130.
  • Step 110 In response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal, obtain the real-time geographic location of the NFC terminal.
  • the NFC terminals described in the embodiments of the present application include mobile terminals such as smart phones and smart watches equipped with an NFC module.
  • the user can simulate the access control card through the NFC module function on the NFC terminal.
  • the user can open the NFC function module on the NFC terminal, and then select the simulated access control card function, and place the access control card to be simulated near the NFC module built in the NFC terminal to complete the information reading of the physical access control card to be simulated
  • the NFC terminal will locally create an analog access control card that matches the physical access control card, and bind the read information of the physical access control card (for example, the access control card identifier) with the analog access control card Storage, so far, the operation of configuring an analog access control card in the NFC terminal is completed.
  • the technical solution for reading the physical access control card information through the NFC terminal can be referred to the prior art, and will not be repeated in the embodiment of this application.
  • the NFC terminal can simulate multiple physical access control cards, that is, multiple simulated access control cards can be configured in the NFC terminal.
  • the NFC terminal binds and stores the information read from the physical access control card corresponding to each analog access control card with the analog access control card. For example, for the analog access control card 1, the information read from the physical access control card A corresponding to the analog access control card 1 (such as the identification of the physical access control card A) is bound and stored.
  • the user when the user attempts to open the access control through a certain number of analog access control cards configured in the NFC terminal, the user needs to trigger the NFC function module in the NFC terminal, for example, the user manually opens the simulation Access card application or manually activate the NFC module.
  • the NFC function module in the NFC terminal is running in the background, and when the NFC terminal approaches the NFC access control device, the NFC terminal will receive the trigger signal sent by the NFC access control device , To trigger the sending of a signal to turn on the NFC access control device through the analog access control card configured in the NFC terminal.
  • the NFC terminal After the NFC terminal receives the trigger signal sent by the NFC access control device, or receives the user's operation of opening the NFC access control device through the simulated access control card, the NFC terminal obtains the NFC terminal's information by executing a preset program code.
  • Real-time geographic location The real-time geographic location described in the embodiment of the present application includes latitude and longitude coordinates.
  • Step 120 Perform a one-to-one match between the real-time geographic location and the geographic location bound to the analog access control card stored in the NFC terminal, and determine the analog access control card to be used in real time according to the geographic location where the matching is successful.
  • the data stored in binding with each of the analog access control cards includes: the NFC terminal obtains access control from the physical access control corresponding to the analog access control card.
  • the geographic location bound to the analog access control card indicates the geographic location of the NFC access control device matching the analog access control card, that is, it indicates the geographic location of the NFC access control device matching the physical access control card corresponding to the analog access control card.
  • Step 100 Bind a geographic location to the analog access control card.
  • binding the geographic location of the analog access control card includes: collecting the geographic location of the NFC access control device matching the analog access control card; manually inputting the geographic location of the NFC access control device as The binding geographic location of the analog access control card matched by the NFC access control device.
  • binding the geographic location of the analog access control card includes: acquiring the real-time geographic location of a target NFC terminal located at the NFC access control device, and the target NFC terminal is configured to enable the NFC An NFC terminal that simulates an access control card of an access control device; binds and stores the analog access control card used to turn on the NFC access control device and the real-time geographic location of the target NFC terminal in the target NFC terminal.
  • an interface for configuring an analog access control card is displayed in the NFC terminal client1, an operation entry for obtaining the geographic location of the NFC terminal client1 is set in the interface, and the NFC terminal client1 is close to the analog access control card currently bound to the geographic location 1.
  • the matched NFC access control device dev1 then, trigger the operation entry, execute the code for acquiring the real-time geographic location of the NFC terminal client1, and use the acquired real-time geographic location (lat, lon) of the NFC terminal client1 as The binding geographic location of the analog access control card 1 that matches the NFC access control device dev1.
  • step 100 may also perform one-by-one matching between the real-time geographic location and the geographic location bound to the analog access card stored in the NFC terminal, and according to the geographic location where the matching is successful It is determined to be executed before the simulated access control card used in real time.
  • the data of each simulated access control card configured in the NFC terminal can be stored in the following format simulate_card(simulate_card_id, entity_card_data, position), where simulate_card_id is the identification of the simulated access control card (which may include a serial number or Name), entity_card_data is the data read from the physical access control card corresponding to the analog access control card, and position is the binding geographic location of the analog access control card.
  • the real-time geographic location of the NFC terminal configured with the analog access control card is obtained, the real-time geographic location and the geographic locations bound to all the analog access control cards stored in the NFC terminal are checked one by one. Matching, determining the analog access control card used in real time according to the geographical location where the matching is successful.
  • the real-time geographic location of the obtained NFC terminal client1 is expressed as position_cur, and three simulated access control cards are configured in the NFC terminal client1. These three simulated access control cards are respectively represented as simulate_card1, simulate_card2, and simulate_card3. The technical solution of the analog access control card.
  • the real-time geographic location is matched with the geographic location bound to the analog access control card stored in the NFC terminal, and real-time use is determined according to the geographic location that is successfully matched.
  • the analog access control card includes: matching the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic matching If there is only one geographic location with the highest geographic matching degree and the geographic matching degree meets the preset matching degree condition, it is determined that the simulated access card bound to the geographic location with the highest geographic matching degree is the one used in real time Simulate access card.
  • the acquired real-time geographic location position_cur of the NFC terminal client1 is matched with the binding geographic locations of the simulated access control cards simulate_card1, simulate_card2, and simulate_card3 to determine the bound geographic location with the highest geographic matching degree, for example, the binding of simulate_card1 Geographic location, if the bound geographic location of simulate_card1 and the real-time geographic location position_cur of the NFC terminal client1 meet the preset matching condition (for example, the error is less than 0.1 meters), then the simulated access control card simulate_card1 is determined to be the simulation used in real time Access Card. That is, the NFC terminal client1 automatically calls the simulated access control card simulate_card1, and executes the operation of starting the NFC access control device through the simulated access control card simulate_card1.
  • the preset matching degree condition is set according to the layout example of the NFC access control device and the strength of the NFC signal, for example, it can be set to 10 cm.
  • the real-time geographic location is matched with the geographic location bound to the analog access control card stored in the NFC terminal, and real-time use is determined according to the geographic location that is successfully matched.
  • the analog access control card includes: matching the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic matching If the geographic location with the highest geographic matching degree includes multiple and the matching degrees of the multiple geographic locations all meet the preset matching condition, then the geographic location with the highest matching degree is determined according to the preset preferential use condition.
  • the one simulated access control card bound to the geographic location is the simulated access control card used in real time.
  • the priority use conditions include: an analog access control card with a priority use identifier, or an analog access control card with the latest configuration time.
  • the NFC When the user configures two or more analog access control cards matched by NFC access control devices in close proximity, or when the user binds two or more analog access control to the same or very close geographic location, the NFC will be obtained When the real-time geographic location of the terminal is matched with the bound geographic locations of all analog access control cards configured in the NFC terminal, multiple matched geographic locations may appear.
  • the binding geographic locations of the three simulated access control cards configured in the NFC terminal client1 are: the binding geographic location of simulate_card1 is (31.221, 121.383), and the binding geographic location of the simulated access control card simulated_card2 is (31.221, 121.380),
  • the binding geographic location of the simulated access control card simulate_card3 is (30.221, 110.180), and the real-time geographic location of the obtained NFC terminal is position_cur (31.221, 121.381), and the real-time geographic location of the NFC terminal client1 to be obtained is position_cur (31.221, 121.381)
  • Match with the bound geographic locations of simulated access control cards simulate_card1, simulate_card2, and simulate_card3 respectively, and determine that the bound geographic location with the highest degree of geographic matching includes: the bound geographic location of simulate_card1 (31.221, 121.383) and the simulated access card simulate_card2.
  • Bind geographic location (31.221, 121.380), and if the highest geographic location matching degree satisfies the preset matching degree condition, it is necessary to further determine to select simulate_card1 or simulate_card2 as the simulated access card for real-time use according to the preset priority use conditions.
  • the preferential use condition includes: an analog access control card with a preferential use identifier.
  • an analog access control card with a preferential use identifier For example, when the user configures an analog access control card in the NFC terminal client1, the entry for setting priority can be displayed on the configuration interface, and the corresponding analog access control card can be set with the priority use flag according to the user's setting operation (such as setting priority to simulate_card2) ), and then bind and store the priority use identifier with the analog access control card.
  • the simulated access control card (such as simulate_card2) is used as the simulated access control card for real-time use.
  • the configuration time of each analog access control card may be stored in a binding manner with the analog access control card.
  • the access control is opened by configuring the analog access control card in the NFC terminal client1, if the binding geographic locations of multiple analog access control cards are successfully matched with the real-time geographic location of the NFC terminal client1, the configuration of the analog access control card can be used
  • the analog access control card with the latest configuration time is selected from the analog access control cards that successfully match the real-time geographic location of the NFC terminal client1 as the analog access control card used in real time.
  • Step 130 Control the NFC terminal to perform an operation of turning on the NFC access control device through the real-time analog access control card.
  • the NFC terminal is controlled to execute an operation of turning on the NFC access control device through the real-time analog access control card.
  • the NFC terminal is controlled to send the identification or key of the physical access control card that is bound and stored with the real-time analog access control card to the NFC access control device through a built-in NFC module, so that the NFC access control device can pair
  • the real-time simulated access control card is verified, and whether to open the access control is determined according to the verification result.
  • the method for controlling an NFC analog access control card disclosed in the embodiment of the application obtains the real-time geographic location of the NFC terminal by responding to an operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal; and compares the real-time geographic location with The geographic locations bound to the analog access control card stored in the NFC terminal are matched one by one, and the analog access control card used in real time is determined according to the geographic location where the matching is successful; and the NFC terminal is controlled to execute through the real-time
  • the used analog access control card opens the operation of the NFC access control device, which helps to improve the door opening efficiency of the NFC analog access control card.
  • the method for controlling the NFC analog access control card disclosed in the embodiment of the present application by matching the geographic location of the analog access control card with the geographic location of the access control device, automatically selects one analog access control card from a plurality of analog access control cards to perform the access control opening operation, There is no need for the user to manually select the analog access control card to be used from the analog access control card list, which not only improves the opening efficiency of the access control, but also reduces the number of times the NFC terminal processes user operations, which helps to save the processor resources of the NFC terminal. On the other hand, there is no need to remember the corresponding relationship between the simulated access control card and the access control device, which further improves the user experience.
  • An embodiment of the present application discloses a device for controlling an NFC analog access card. As shown in FIG. 3, the device includes:
  • the NFC terminal real-time geographic location obtaining module 310 is configured to obtain the real-time geographic location of the NFC terminal in response to the operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal;
  • the access card binding geographic location matching module 320 is configured to match the real-time geographic location with the geographic location bound to the analog access card stored in the NFC terminal one by one, and determine according to the geographic location where the matching is successful The simulated access control card used in real time;
  • the analog access control card control module 330 is configured to control the NFC terminal to perform an operation of turning on the NFC access control device through the analog access control card used in real time.
  • the geographic location bound to the analog access control card indicates the geographic location of the NFC access control device matching the analog access control card.
  • the device further includes:
  • the geographic location binding module 300 is configured to obtain the real-time geographic location of a target NFC terminal located at the NFC access control device, the target NFC terminal being an NFC terminal configured with an analog access control card for opening the NFC access control device; and Binding and storing the analog access control card used to turn on the NFC access control device and the real-time geographic location of the target NFC terminal in the target NFC terminal.
  • the access control card is bound to the geographic location matching module 320, which is further used for:
  • the simulated access control card bound to the geographical position with the highest geographical matching degree is the simulation used in real time Access Card.
  • the access control card is bound to the geographic location matching module 320, which is further used for:
  • the geographic location with the highest geographic matching degree includes multiple and the matching degrees of the multiple geographic locations all satisfy the preset matching condition, then the geographic location with the highest matching degree is determined according to the preset preferential use condition.
  • a simulated access control card bound to a geographic location is the simulated access control card used in real time.
  • the device for controlling an NFC analog access card disclosed in the embodiments of the present application is used to implement the method for controlling an NFC analog access card described in the first embodiment of the present application.
  • the specific implementation manners of each module of the device will not be repeated, and refer to the method implementation Examples of the specific implementation of the corresponding steps.
  • the device for controlling the NFC analog access control card disclosed in the embodiment of the present application acquires the real-time geographic location of the NFC terminal by responding to the operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal; and compares the real-time geographic location with The geographic locations bound to the analog access control card stored in the NFC terminal are matched one by one, and the analog access control card used in real time is determined according to the geographic location where the matching is successful; and the NFC terminal is controlled to execute through the real-time
  • the used analog access control card opens the operation of the NFC access control device, which helps to improve the door opening efficiency of the NFC analog access control card.
  • the device for controlling the NFC analog access control card disclosed in the embodiment of the present application automatically selects one analog access control card from multiple analog access control cards to perform the access control opening operation by matching the geographic location of the analog access control card with the geographic location of the access control device.
  • the device embodiments described above are merely illustrative.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units.
  • Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement it without creative work.
  • the various component embodiments of the present application may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the electronic device according to the embodiments of the present application.
  • This application can also be implemented as a device or device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein.
  • Such a program for implementing the present application may be stored on a computer-readable medium, or may have the form of one or more signals.
  • Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
  • FIG. 5 shows an electronic device that can implement the method according to the present application.
  • the electronic device may be a PC, a mobile terminal, a personal digital assistant, a tablet computer, etc.
  • This electronic device traditionally includes a processor 510, a memory 520, and a program code 530 that is stored on the memory 520 and can run on the processor 510.
  • the processor 510 executes the program code 530, the above-mentioned embodiment is implemented.
  • the memory 520 may be a computer program product or a computer readable medium.
  • the memory 520 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 520 has a storage space 5201 of the program code 530 of the computer program for executing any method steps in the above-mentioned method.
  • the storage space 5201 for the program code 530 may include various computer programs respectively used to implement various steps in the above method.
  • the program code 530 is computer readable code. These computer programs can be read from or written into one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards, or floppy disks.
  • the computer program includes computer-readable code, which when run on an electronic device, causes the electronic device to execute the method according to the above-mentioned embodiment.
  • the embodiment of the present application also discloses a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the steps of the method for controlling an NFC analog access card as described in the first embodiment of the present application are realized.
  • Such a computer program product may be a computer-readable storage medium, and the computer-readable storage medium may have storage segments, storage spaces, etc., arranged similarly to the memory 520 in the electronic device shown in FIG. 5.
  • the program code may be compressed and stored in the computer-readable storage medium in an appropriate form, for example.
  • the computer-readable storage medium is usually a portable or fixed storage unit as described with reference to FIG. 6.
  • the storage unit includes computer readable codes 530', which are codes read by a processor, and when executed by the processor, these codes implement the steps in the method described above.
  • any reference signs placed between parentheses should not be constructed as a limitation to the claims.
  • the word “comprising” does not exclude the presence of elements or steps not listed in the claims.
  • the word “a” or “an” preceding an element does not exclude the presence of multiple such elements.
  • the application can be realized by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims listing several devices, several of these devices may be embodied in the same hardware item.
  • the use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed by the embodiments of the present application is a method for controlling NFC analog access control cards, which relates to the technical field of smart access control. The method comprises: acquiring a real-time geographic location of an NFC terminal in response to an operation of turning on an NFC access control device by means of analog access control cards configured in the NFC terminal; performing one-by-one matching on the real-time geographic location with geographic locations bound to the analog access control cards stored in the NFC terminal, and according to the geographic location for which matching is successful, determining an analog access control card used in real time; and controlling the NFC terminal to perform the operation of turning on the NFC access control device by means of the analog access control card used in real time. In the method for controlling the NFC analog access control cards disclosed in the embodiments of the present application, by means of matching the geographic location of the analog access control cards with the geographic location of the access control device, one analog access control card is automatically selected from a plurality of analog access control cards to perform the operation of turning on access control, thus improving the efficiency of turning on access control.

Description

控制NFC模拟门禁卡Control NFC analog access card
本申请要求在2019年12月31日提交中国专利局、申请号为201911423122.0、发明名称为“NFC模拟门禁卡控制方法、装置、电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on December 31, 2019, the application number is 201911423122.0, and the invention title is "NFC analog access card control method, device, and electronic equipment", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请实施例涉及智能门禁技术领域,特别是涉及控制NFC模拟门禁卡。The embodiments of the present application relate to the field of smart access control technology, in particular, to control an NFC analog access control card.
背景技术Background technique
NFC(近场通信,Near Field Communication)门禁以其方便性得到了广泛的应用,办公区域、家庭多处可见NFC门禁系统,用户通过一张NFC卡开启门禁,使用非常方便。随着NFC移动终端的普及,NFC移动终端中出现了模拟门禁卡的应用,用户可以通过移动终端中的NFC模块,模拟门禁卡,通过移动终端实现门禁开启和关闭。当移动终端中模拟了多张门禁卡时(例如,用户通过具有NFC模块的智能手机中模拟门卡应用模拟办公区域多个门禁的门禁卡),在通过模拟门禁卡开启门禁过程中,用户需要在模拟门禁卡列表页面手动选择一张模拟门禁卡。NFC (Near Field Communication) access control has been widely used because of its convenience. NFC access control systems can be seen in many places in office areas and homes. Users can open the access control through an NFC card, which is very convenient to use. With the popularity of NFC mobile terminals, the application of simulated access control cards has appeared in NFC mobile terminals. Users can simulate the access control card through the NFC module in the mobile terminal, and realize the opening and closing of the access control through the mobile terminal. When multiple access control cards are simulated in the mobile terminal (for example, the user simulates the access control cards of multiple access control in the office area through the simulated access card application in the smart phone with the NFC module), in the process of opening the access control through the simulated access control card, the user needs Manually select an analog access control card on the analog access control card list page.
发明内容Summary of the invention
第一方面,本申请实施例公开了一种控制NFC模拟门禁卡的方法,包括:In the first aspect, an embodiment of the present application discloses a method for controlling an NFC analog access card, including:
响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;In response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal, acquiring the real-time geographic location of the NFC terminal;
将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;Matching the real-time geographic location with the geographic location bound to the analog access control card stored in the NFC terminal one by one, and determining the analog access control card to be used in real time according to the geographic location where the matching is successful;
控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。Control the NFC terminal to execute the operation of turning on the NFC access control device through the analog access control card used in real time.
第二方面,本申请实施例公开了一种控制NFC模拟门禁卡的装置,包括:In the second aspect, an embodiment of the present application discloses a device for controlling an NFC analog access card, including:
NFC终端实时地理位置获取模块,用于响应于通过NFC终端中配置的模 拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;The NFC terminal real-time geographic location acquisition module is used to obtain the real-time geographic location of the NFC terminal in response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal;
门禁卡绑定地理位置匹配模块,用于将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;The access card binding geographic location matching module is used to match the real-time geographic location with the geographic location bound to the analog access card stored in the NFC terminal one by one, and determine the real-time geographic location based on the geographic location that is successfully matched. The analog access control card used;
模拟门禁卡控制模块,用于控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。The analog access card control module is used to control the NFC terminal to execute the operation of turning on the NFC access control device through the analog access card used in real time.
第三方面,本申请实施例还公开了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本申请实施例所述的控制NFC模拟门禁卡的方法。In the third aspect, an embodiment of the present application also discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor executes the computer program when the computer program is executed. The method for controlling the NFC analog access card described in the embodiment of the present application.
第四方面,本申请实施例公开了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时本申请实施例公开的控制NFC模拟门禁卡的方法的步骤。In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method for controlling an NFC simulated access card disclosed in the embodiment of the present application are disclosed.
本申请实施例公开的控制NFC模拟门禁卡的方法,通过响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作,有助于提升NFC模拟门禁卡的开门效率。The method for controlling an NFC analog access control card disclosed in the embodiment of the application obtains the real-time geographic location of the NFC terminal by responding to an operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal; and compares the real-time geographic location with The geographic locations bound to the analog access control card stored in the NFC terminal are matched one by one, and the analog access control card used in real time is determined according to the geographic location where the matching is successful; and the NFC terminal is controlled to execute through the real-time The used analog access control card opens the operation of the NFC access control device, which helps to improve the door opening efficiency of the NFC analog access control card.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solution of this application. In order to understand the technical means of this application more clearly, it can be implemented in accordance with the content of the specification, and in order to make the above and other purposes, features and advantages of this application more obvious and understandable. , The specific implementations of this application are cited below.
附图说明Description of the drawings
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
图1是本申请实施例一的控制NFC模拟门禁卡的方法流程图;FIG. 1 is a flowchart of a method for controlling an NFC analog access control card according to the first embodiment of the present application;
图2是本申请实施例一的控制NFC模拟门禁卡的方法流程图之二;FIG. 2 is the second flow chart of the method for controlling the NFC analog access card in the first embodiment of the present application;
图3是本申请实施例二的控制NFC模拟门禁卡的装置结构示意图之一;FIG. 3 is one of the schematic diagrams of the structure of the device for controlling the NFC analog access control card according to the second embodiment of the present application;
图4是本申请实施例二的控制NFC模拟门禁卡的装置结构示意图之二;FIG. 4 is the second structural diagram of the device for controlling the NFC analog access control card of the second embodiment of the present application;
图5示意性地示出了用于执行根据本申请的方法的电子设备的框图;以及Fig. 5 schematically shows a block diagram of an electronic device for executing the method according to the present application; and
图6示意性地示出了用于保持或者携带实现根据本申请的方法的程序代码的存储单元。Fig. 6 schematically shows a storage unit for holding or carrying program codes for implementing the method according to the present application.
具体实施例Specific embodiment
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
实施例一Example one
本申请实施例公开的一种控制NFC模拟门禁卡的方法,如图1所示,所述方法包括:步骤110至步骤130。An embodiment of the application discloses a method for controlling an NFC analog access control card. As shown in FIG. 1, the method includes: step 110 to step 130.
步骤110,响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置。Step 110: In response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal, obtain the real-time geographic location of the NFC terminal.
本申请实施例中所述的NFC终端包括:设置有NFC模块的智能手机、智能手表等移动终端。The NFC terminals described in the embodiments of the present application include mobile terminals such as smart phones and smart watches equipped with an NFC module.
具体实施时,用户可以通过NFC终端上的NFC模块功能模拟门禁卡。例如,用户可以通过打开NFC终端上的NFC功能模块,然后,选择模拟门禁卡功能,将待模拟的门禁卡放在所述NFC终端内置的NFC模块附近,完成待模拟的实体门禁卡的信息读取,之后,所述NFC终端将在本地创建一张与该实体门禁卡匹配的模拟门禁卡,并将读取的所述实体门禁卡的信息(例如门禁卡标识)与所述模拟门禁卡绑定存储,至此,完成了在所述NFC终端中配置一张模拟门禁卡的操作。通过NFC终端读取实体门禁卡信息的技术方案参见现有技术,本申请实施例中不再赘述。In specific implementation, the user can simulate the access control card through the NFC module function on the NFC terminal. For example, the user can open the NFC function module on the NFC terminal, and then select the simulated access control card function, and place the access control card to be simulated near the NFC module built in the NFC terminal to complete the information reading of the physical access control card to be simulated After that, the NFC terminal will locally create an analog access control card that matches the physical access control card, and bind the read information of the physical access control card (for example, the access control card identifier) with the analog access control card Storage, so far, the operation of configuring an analog access control card in the NFC terminal is completed. The technical solution for reading the physical access control card information through the NFC terminal can be referred to the prior art, and will not be repeated in the embodiment of this application.
通常,NFC终端可以模拟多张实体门禁卡,即可以在NFC终端中配置多张模拟门禁卡。现有技术中,NFC终端将从每张模拟门禁卡对应的实体门禁卡中读取的信息与所述模拟门禁卡绑定存储。例如,对于模拟门禁卡1,将 绑定存储从模拟门禁卡1对应的实体门禁卡A中读取的信息(如实体门禁卡A的标识)。Generally, the NFC terminal can simulate multiple physical access control cards, that is, multiple simulated access control cards can be configured in the NFC terminal. In the prior art, the NFC terminal binds and stores the information read from the physical access control card corresponding to each analog access control card with the analog access control card. For example, for the analog access control card 1, the information read from the physical access control card A corresponding to the analog access control card 1 (such as the identification of the physical access control card A) is bound and stored.
本申请的一些实施例中,当用户试图通过所述NFC终端中配置的某一张多张模拟门禁卡开启门禁时,用户需要触发所述NFC终端中的NFC功能模块,例如,用户手动打开模拟门禁卡应用或者手动启动NFC模块。In some embodiments of the present application, when the user attempts to open the access control through a certain number of analog access control cards configured in the NFC terminal, the user needs to trigger the NFC function module in the NFC terminal, for example, the user manually opens the simulation Access card application or manually activate the NFC module.
本申请的另一些实施例中,所述NFC终端中的NFC功能模块为后台运行状态,当所述NFC终端接近NFC门禁设备时,所述NFC终端会接收到所述NFC门禁设备发送的触发信号,以触发通过NFC终端中配置的模拟门禁卡发送开启NFC门禁设备的信号。In other embodiments of the present application, the NFC function module in the NFC terminal is running in the background, and when the NFC terminal approaches the NFC access control device, the NFC terminal will receive the trigger signal sent by the NFC access control device , To trigger the sending of a signal to turn on the NFC access control device through the analog access control card configured in the NFC terminal.
在所述NFC终端接收到NFC门禁设备发送的触发信号,或者接收到用户的通过模拟门禁卡开启NFC门禁设备的操作之后,所述NFC终端通过执行预设的程序代码,获取所述NFC终端的实时地理位置。本申请实施例中所述的实时地理位置包括经纬度坐标。After the NFC terminal receives the trigger signal sent by the NFC access control device, or receives the user's operation of opening the NFC access control device through the simulated access control card, the NFC terminal obtains the NFC terminal's information by executing a preset program code. Real-time geographic location. The real-time geographic location described in the embodiment of the present application includes latitude and longitude coordinates.
步骤120,将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡。Step 120: Perform a one-to-one match between the real-time geographic location and the geographic location bound to the analog access control card stored in the NFC terminal, and determine the analog access control card to be used in real time according to the geographic location where the matching is successful.
本申请的实施例中,在配置有多张模拟门禁卡的所述NFC终端中,与每张所述模拟门禁卡绑定存储的数据包括:所述NFC终端从该模拟门禁卡对应的实体门禁卡中读取的信息,以及模拟门禁卡绑定的地理位置。其中,所述模拟门禁卡绑定的地理位置指示与所述模拟门禁卡匹配的所述NFC门禁设备的地理位置,即指示该模拟门禁卡对应的实体门禁卡匹配的NFC门禁设备的地理位置。In the embodiment of the present application, in the NFC terminal configured with multiple analog access control cards, the data stored in binding with each of the analog access control cards includes: the NFC terminal obtains access control from the physical access control corresponding to the analog access control card. The information read in the card, and the geographic location bound to the simulated access card. Wherein, the geographic location bound to the analog access control card indicates the geographic location of the NFC access control device matching the analog access control card, that is, it indicates the geographic location of the NFC access control device matching the physical access control card corresponding to the analog access control card.
本申请具体实施时,如图2所示,响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置之前,还包括:In the specific implementation of this application, as shown in FIG. 2, in response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal, before acquiring the real-time geographic location of the NFC terminal, it also includes:
步骤100,对所述模拟门禁卡绑定地理位置。Step 100: Bind a geographic location to the analog access control card.
本申请的一些实施例中,对所述模拟门禁卡绑定地理位置包括:搜集所述模拟门禁卡匹配的所述NFC门禁设备的地理位置;将所述NFC门禁设备的地理位置手动输入为与该NFC门禁设备匹配的所述模拟门禁卡的绑定地理位 置。In some embodiments of the present application, binding the geographic location of the analog access control card includes: collecting the geographic location of the NFC access control device matching the analog access control card; manually inputting the geographic location of the NFC access control device as The binding geographic location of the analog access control card matched by the NFC access control device.
本申请的一些实施例中,对所述模拟门禁卡绑定地理位置包括:获取位于所述NFC门禁设备处的目标NFC终端的实时地理位置,所述目标NFC终端为配置有用于开启所述NFC门禁设备的模拟门禁卡的NFC终端;在所述目标NFC终端中绑定存储所述用于开启所述NFC门禁设备的模拟门禁卡和所述目标NFC终端的所述实时地理位置。例如,在NFC终端client1中展示配置模拟门禁卡的界面,在所述界面中设置获取所述NFC终端client1的地理位置的操作入口,将所述NFC终端client1靠近当前绑定地理位置的模拟门禁卡1所匹配的NFC门禁设备dev1;然后,触发所述操作入口,执行获取所述NFC终端client1的实时地理位置的代码,并将获取的所述NFC终端client1的实时地理位置(lat,lon)作为与NFC门禁设备dev1匹配的所述模拟门禁卡1的绑定地理位置。通过将用于开启所述NFC门禁设备的模拟门禁卡所在目标NFC终端靠近所述NFC门禁设备,并实时获取的所述目标NFC终端的地理位置,然后将此时获取的所述目标NFC终端的地理位置作为用于开启所述NFC门禁设备的模拟门禁卡的绑定地理位置,可以提升绑定地理位置的准确性,同时避免了手动输入地理位置的繁琐。In some embodiments of the present application, binding the geographic location of the analog access control card includes: acquiring the real-time geographic location of a target NFC terminal located at the NFC access control device, and the target NFC terminal is configured to enable the NFC An NFC terminal that simulates an access control card of an access control device; binds and stores the analog access control card used to turn on the NFC access control device and the real-time geographic location of the target NFC terminal in the target NFC terminal. For example, an interface for configuring an analog access control card is displayed in the NFC terminal client1, an operation entry for obtaining the geographic location of the NFC terminal client1 is set in the interface, and the NFC terminal client1 is close to the analog access control card currently bound to the geographic location 1. The matched NFC access control device dev1; then, trigger the operation entry, execute the code for acquiring the real-time geographic location of the NFC terminal client1, and use the acquired real-time geographic location (lat, lon) of the NFC terminal client1 as The binding geographic location of the analog access control card 1 that matches the NFC access control device dev1. By bringing the target NFC terminal where the analog access control card used to open the NFC access control device is located close to the NFC access control device, and obtaining the geographic location of the target NFC terminal in real time, the information of the target NFC terminal obtained at this time is then The geographic location is used as the binding geographic location of the analog access control card used to open the NFC access control device, which can improve the accuracy of binding geographic location and avoid the cumbersome manual input of geographic location.
本申请的一些实施例中,步骤100还可以在将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡之前执行。In some embodiments of the present application, step 100 may also perform one-by-one matching between the real-time geographic location and the geographic location bound to the analog access card stored in the NFC terminal, and according to the geographic location where the matching is successful It is determined to be executed before the simulated access control card used in real time.
在获取到与NFC门禁设备匹配的所述模拟门禁卡的绑定地理位置之后,将所述模拟门禁卡、所述绑定地理位置,以及从所述模拟门禁卡对应的实体门禁卡中读取的信息进行绑定存储。例如,在所述NFC终端中,可以将该NFC终端中配置的每个模拟门禁卡的数据存储为如下格式simulate_card(simulate_card_id,entity_card_data,position),其中,simulate_card_id为模拟门禁卡标识(可以包括序号或名称),entity_card_data为从该模拟门禁卡对应的实体门禁卡中读取的数据,position为该模拟门禁卡的绑定地理位置。After obtaining the binding geographic location of the analog access control card matching the NFC access control device, read the analog access control card, the bound geographic location, and the physical access control card corresponding to the analog access control card The information is bound and stored. For example, in the NFC terminal, the data of each simulated access control card configured in the NFC terminal can be stored in the following format simulate_card(simulate_card_id, entity_card_data, position), where simulate_card_id is the identification of the simulated access control card (which may include a serial number or Name), entity_card_data is the data read from the physical access control card corresponding to the analog access control card, and position is the binding geographic location of the analog access control card.
进一步的,在获取到配置有模拟门禁卡的所述NFC终端的实时地理位置之后,将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑 定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡。下面将获取的NFC终端client1的实时地理位置表示为position_cur,以NFC终端client1中配置了3张模拟门禁卡,这3张模拟门禁卡分别表示为simulate_card1、simulate_card2和simulate_card3举例,详细说明确定实时使用的所述模拟门禁卡的技术方案。Further, after the real-time geographic location of the NFC terminal configured with the analog access control card is obtained, the real-time geographic location and the geographic locations bound to all the analog access control cards stored in the NFC terminal are checked one by one. Matching, determining the analog access control card used in real time according to the geographical location where the matching is successful. The real-time geographic location of the obtained NFC terminal client1 is expressed as position_cur, and three simulated access control cards are configured in the NFC terminal client1. These three simulated access control cards are respectively represented as simulate_card1, simulate_card2, and simulate_card3. The technical solution of the analog access control card.
本申请的一些实施例中,所述将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡,包括:将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑定的地理位置进行一一匹配,确定地理位置匹配度最高的所述地理位置;若地理位置匹配度最高的所述地理位置只有一个且地理位置匹配度满足预设匹配度条件,则确定地理位置匹配度最高的所述地理位置绑定的模拟门禁卡为实时使用的所述模拟门禁卡。In some embodiments of the present application, the real-time geographic location is matched with the geographic location bound to the analog access control card stored in the NFC terminal, and real-time use is determined according to the geographic location that is successfully matched. The analog access control card includes: matching the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic matching If there is only one geographic location with the highest geographic matching degree and the geographic matching degree meets the preset matching degree condition, it is determined that the simulated access card bound to the geographic location with the highest geographic matching degree is the one used in real time Simulate access card.
例如,获取的NFC终端client1的实时地理位置position_cur分别与模拟门禁卡simulate_card1、simulate_card2和simulate_card3的绑定地理位置进行匹配,确定地理位置匹配度最高的所述绑定地理位置,例如为simulate_card1的绑定地理位置,如果simulate_card1的绑定地理位置与NFC终端client1的实时地理位置position_cur地理位置匹配度满足预设匹配度条件(例如误差小于0.1米),则确定模拟门禁卡simulate_card1为实时使用的所述模拟门禁卡。即所述NFC终端client1自动调出模拟门禁卡simulate_card1,通过模拟门禁卡simulate_card1执行开始NFC门禁设备的操作。For example, the acquired real-time geographic location position_cur of the NFC terminal client1 is matched with the binding geographic locations of the simulated access control cards simulate_card1, simulate_card2, and simulate_card3 to determine the bound geographic location with the highest geographic matching degree, for example, the binding of simulate_card1 Geographic location, if the bound geographic location of simulate_card1 and the real-time geographic location position_cur of the NFC terminal client1 meet the preset matching condition (for example, the error is less than 0.1 meters), then the simulated access control card simulate_card1 is determined to be the simulation used in real time Access Card. That is, the NFC terminal client1 automatically calls the simulated access control card simulate_card1, and executes the operation of starting the NFC access control device through the simulated access control card simulate_card1.
其中,预设匹配度条件根据NFC门禁设备的布设举例和NFC信号强弱设置,例如可以设置为10厘米。Among them, the preset matching degree condition is set according to the layout example of the NFC access control device and the strength of the NFC signal, for example, it can be set to 10 cm.
本申请的一些实施例中,所述将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡,包括:将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑定的地理位置进行一一匹配,确定地理位置匹配度最高的所述地理位置;若地理位置匹配度最高的所述地理位置包括多个且多个所述地理位置的匹配度均满足预设匹配度条件,则按照预 设优先使用条件确定所述地理位置匹配度最高的所述地理位置绑定的一个模拟门禁卡为实时使用的所述模拟门禁卡。其中,所述优先使用条件包括:设置有优先使用标识的模拟门禁卡,或配置时间最晚的模拟门禁卡。In some embodiments of the present application, the real-time geographic location is matched with the geographic location bound to the analog access control card stored in the NFC terminal, and real-time use is determined according to the geographic location that is successfully matched. The analog access control card includes: matching the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic matching If the geographic location with the highest geographic matching degree includes multiple and the matching degrees of the multiple geographic locations all meet the preset matching condition, then the geographic location with the highest matching degree is determined according to the preset preferential use condition. The one simulated access control card bound to the geographic location is the simulated access control card used in real time. Wherein, the priority use conditions include: an analog access control card with a priority use identifier, or an analog access control card with the latest configuration time.
当在用户配置了位置接近的NFC门禁设备匹配的两个或多个模拟门禁卡时,或者,用户对于两个或多个模拟门禁绑定了相同或非常相近的地理位置时,将获取的NFC终端的实时地理位置分别与所述NFC终端中配置的所有模拟门禁卡的绑定地理位置进行匹配时,可能出现多个匹配的地理位置。例如,NFC终端client1中配置的3个模拟门禁卡的绑定地理位置分别为:simulate_card1的绑定地理位置为(31.221,121.383)、模拟门禁卡simulate_card2的绑定地理位置为(31.221,121.380)、模拟门禁卡simulate_card3的绑定地理位置为(30.221,110.180),而获取的NFC终端的实时地理位置为position_cur(31.221,121.381),在将获取的NFC终端client1的实时地理位置position_cur(31.221,121.381)分别与模拟门禁卡simulate_card1、simulate_card2和simulate_card3的绑定地理位置进行匹配,确定地理位置匹配度最高的所述绑定地理位置包括:simulate_card1的绑定地理位置(31.221,121.383)和模拟门禁卡simulate_card2的绑定地理位置(31.221,121.380),并且,最高的地理位置匹配度满足预设匹配度条件,则需要进一步按照预先设置的优先使用条件确定选择simulate_card1或simulate_card2作为实时使用的所述模拟门禁卡。When the user configures two or more analog access control cards matched by NFC access control devices in close proximity, or when the user binds two or more analog access control to the same or very close geographic location, the NFC will be obtained When the real-time geographic location of the terminal is matched with the bound geographic locations of all analog access control cards configured in the NFC terminal, multiple matched geographic locations may appear. For example, the binding geographic locations of the three simulated access control cards configured in the NFC terminal client1 are: the binding geographic location of simulate_card1 is (31.221, 121.383), and the binding geographic location of the simulated access control card simulated_card2 is (31.221, 121.380), The binding geographic location of the simulated access control card simulate_card3 is (30.221, 110.180), and the real-time geographic location of the obtained NFC terminal is position_cur (31.221, 121.381), and the real-time geographic location of the NFC terminal client1 to be obtained is position_cur (31.221, 121.381) Match with the bound geographic locations of simulated access control cards simulate_card1, simulate_card2, and simulate_card3 respectively, and determine that the bound geographic location with the highest degree of geographic matching includes: the bound geographic location of simulate_card1 (31.221, 121.383) and the simulated access card simulate_card2. Bind geographic location (31.221, 121.380), and if the highest geographic location matching degree satisfies the preset matching degree condition, it is necessary to further determine to select simulate_card1 or simulate_card2 as the simulated access card for real-time use according to the preset priority use conditions.
本申请的一些实施例中,所述优先使用条件包括:设置有优先使用标识的模拟门禁卡。例如,当用户在所述NFC终端client1中配置模拟门禁卡时,可以在配置界面展示设置优先使用的入口,并根据用户的设置操作为相应模拟门禁卡设置优先使用标识(如对simulate_card2设置优先使用),然后,将所述优先使用标识与所述模拟门禁卡绑定存储。当通过所述NFC终端client1中配置模拟门禁卡开启门禁时,如果有多个模拟门禁卡的绑定地理位置与所述NFC终端client1的实时地理位置均匹配成功,则可以选择设置有优先使用标识的模拟门禁卡(如simulate_card2)作为实时使用的所述模拟门禁卡。In some embodiments of the present application, the preferential use condition includes: an analog access control card with a preferential use identifier. For example, when the user configures an analog access control card in the NFC terminal client1, the entry for setting priority can be displayed on the configuration interface, and the corresponding analog access control card can be set with the priority use flag according to the user's setting operation (such as setting priority to simulate_card2) ), and then bind and store the priority use identifier with the analog access control card. When the access control is opened by configuring the analog access control card in the NFC terminal client1, if the binding geographic locations of multiple analog access control cards match the real-time geographic location of the NFC terminal client1 successfully, you can choose to set the priority use flag The simulated access control card (such as simulate_card2) is used as the simulated access control card for real-time use.
本申请的另一些实施例中,还可以在所述NFC终端client1中配置模拟门禁卡时,将每个模拟门禁卡的配置时间与所述模拟门禁卡绑定存储。当通过所述NFC终端client1中配置模拟门禁卡开启门禁时,如果有多个模拟门禁卡的绑定地理位置与所述NFC终端client1的实时地理位置均匹配成功,则可以根据模拟门禁卡的配置时间,从与所述NFC终端client1的实时地理位置均匹配成功的模拟门禁卡中选择配置时间最晚的模拟门禁卡,作为实时使用的所述模拟门禁卡。In other embodiments of the present application, when an analog access control card is configured in the NFC terminal client1, the configuration time of each analog access control card may be stored in a binding manner with the analog access control card. When the access control is opened by configuring the analog access control card in the NFC terminal client1, if the binding geographic locations of multiple analog access control cards are successfully matched with the real-time geographic location of the NFC terminal client1, the configuration of the analog access control card can be used At time, the analog access control card with the latest configuration time is selected from the analog access control cards that successfully match the real-time geographic location of the NFC terminal client1 as the analog access control card used in real time.
步骤130,控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。Step 130: Control the NFC terminal to perform an operation of turning on the NFC access control device through the real-time analog access control card.
之后,在所述NFC终端处,通过执行预设的程序代码,控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。例如,控制所述NFC终端通过内置的NFC模块将与所述实时使用的模拟门禁卡绑定存储的实体门禁卡的标识或密钥发送至所述NFC门禁设备,以供所述NFC门禁设备对所述实时使用的模拟门禁卡进行验证,并根据验证结果确定是否开启门禁。After that, at the NFC terminal, by executing a preset program code, the NFC terminal is controlled to execute an operation of turning on the NFC access control device through the real-time analog access control card. For example, the NFC terminal is controlled to send the identification or key of the physical access control card that is bound and stored with the real-time analog access control card to the NFC access control device through a built-in NFC module, so that the NFC access control device can pair The real-time simulated access control card is verified, and whether to open the access control is determined according to the verification result.
控制所述NFC终端执行通过一张预选配置的模拟门禁卡开启所述NFC门禁设备的操作参见现有技术,本申请实施例中不再赘述。For the operation of controlling the NFC terminal to open the NFC access control device through a pre-selected analog access control card, refer to the prior art, which will not be repeated in the embodiment of the present application.
本申请实施例公开的控制NFC模拟门禁卡的方法,通过响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作,有助于提升NFC模拟门禁卡的开门效率。本申请实施例公开的控制NFC模拟门禁卡的方法,通过将模拟门禁卡的地理位置与门禁设备的地理位置进行匹配,自动从多张模拟门禁卡中选择一张模拟门禁卡执行门禁开启操作,不需要用户手动从模拟门禁卡列表中选择要使用的模拟门禁卡,不仅提升了门禁开启效率,而且减少了NFC终端对用户操作的处理次数,有助于节省NFC终端的处理器资源。另一方面,不需要记忆模拟门禁卡和门禁设备之间的对应关系,进一步提升了用户体验。The method for controlling an NFC analog access control card disclosed in the embodiment of the application obtains the real-time geographic location of the NFC terminal by responding to an operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal; and compares the real-time geographic location with The geographic locations bound to the analog access control card stored in the NFC terminal are matched one by one, and the analog access control card used in real time is determined according to the geographic location where the matching is successful; and the NFC terminal is controlled to execute through the real-time The used analog access control card opens the operation of the NFC access control device, which helps to improve the door opening efficiency of the NFC analog access control card. The method for controlling the NFC analog access control card disclosed in the embodiment of the present application, by matching the geographic location of the analog access control card with the geographic location of the access control device, automatically selects one analog access control card from a plurality of analog access control cards to perform the access control opening operation, There is no need for the user to manually select the analog access control card to be used from the analog access control card list, which not only improves the opening efficiency of the access control, but also reduces the number of times the NFC terminal processes user operations, which helps to save the processor resources of the NFC terminal. On the other hand, there is no need to remember the corresponding relationship between the simulated access control card and the access control device, which further improves the user experience.
实施例二Example two
本申请实施例公开的一种控制NFC模拟门禁卡的装置,如图3所示,所述装置包括:An embodiment of the present application discloses a device for controlling an NFC analog access card. As shown in FIG. 3, the device includes:
NFC终端实时地理位置获取模块310,用于响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;The NFC terminal real-time geographic location obtaining module 310 is configured to obtain the real-time geographic location of the NFC terminal in response to the operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal;
门禁卡绑定地理位置匹配模块320,用于将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;The access card binding geographic location matching module 320 is configured to match the real-time geographic location with the geographic location bound to the analog access card stored in the NFC terminal one by one, and determine according to the geographic location where the matching is successful The simulated access control card used in real time;
模拟门禁卡控制模块330,用于控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。The analog access control card control module 330 is configured to control the NFC terminal to perform an operation of turning on the NFC access control device through the analog access control card used in real time.
本申请的一些实施例中,所述模拟门禁卡绑定的地理位置指示与所述模拟门禁卡匹配的所述NFC门禁设备的地理位置。In some embodiments of the present application, the geographic location bound to the analog access control card indicates the geographic location of the NFC access control device matching the analog access control card.
本申请的一些实施例中,如图4所示,所述装置还包括:In some embodiments of the present application, as shown in FIG. 4, the device further includes:
地理位置绑定模块300,用于获取位于所述NFC门禁设备处的目标NFC终端的实时地理位置,所述目标NFC终端为配置有用于开启所述NFC门禁设备的模拟门禁卡的NFC终端;以及,在所述目标NFC终端中绑定存储所述用于开启所述NFC门禁设备的模拟门禁卡和所述目标NFC终端的所述实时地理位置。The geographic location binding module 300 is configured to obtain the real-time geographic location of a target NFC terminal located at the NFC access control device, the target NFC terminal being an NFC terminal configured with an analog access control card for opening the NFC access control device; and Binding and storing the analog access control card used to turn on the NFC access control device and the real-time geographic location of the target NFC terminal in the target NFC terminal.
本申请的一些实施例中,所述门禁卡绑定地理位置匹配模块320,进一步用于:In some embodiments of the present application, the access control card is bound to the geographic location matching module 320, which is further used for:
将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑定的地理位置进行一一匹配,确定地理位置匹配度最高的所述地理位置;以及,Match the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic match; and,
若地理位置匹配度最高的所述地理位置只有一个且地理位置匹配度满足预设匹配度条件,则确定地理位置匹配度最高的所述地理位置绑定的模拟门禁卡为实时使用的所述模拟门禁卡。If there is only one geographical location with the highest geographical matching degree and the geographical matching degree meets the preset matching degree condition, it is determined that the simulated access control card bound to the geographical position with the highest geographical matching degree is the simulation used in real time Access Card.
本申请的另一些实施例中,所述门禁卡绑定地理位置匹配模块320,进一步用于:In some other embodiments of the present application, the access control card is bound to the geographic location matching module 320, which is further used for:
将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑定的地理位置进行一一匹配,确定地理位置匹配度最高的所述地理位置;以及,Match the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic match; and,
若地理位置匹配度最高的所述地理位置包括多个且多个所述地理位置的匹配度均满足预设匹配度条件,则按照预设优先使用条件确定所述地理位置匹配度最高的所述地理位置绑定的一个模拟门禁卡为实时使用的所述模拟门禁卡。If the geographic location with the highest geographic matching degree includes multiple and the matching degrees of the multiple geographic locations all satisfy the preset matching condition, then the geographic location with the highest matching degree is determined according to the preset preferential use condition. A simulated access control card bound to a geographic location is the simulated access control card used in real time.
本申请实施例公开的控制NFC模拟门禁卡的装置,用于实现本申请实施例一中所述的控制NFC模拟门禁卡的方法,装置的各模块的具体实施方式不再赘述,可参见方法实施例相应步骤的具体实施方式。The device for controlling an NFC analog access card disclosed in the embodiments of the present application is used to implement the method for controlling an NFC analog access card described in the first embodiment of the present application. The specific implementation manners of each module of the device will not be repeated, and refer to the method implementation Examples of the specific implementation of the corresponding steps.
本申请实施例公开的控制NFC模拟门禁卡的装置,通过响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作,有助于提升NFC模拟门禁卡的开门效率。本申请实施例公开的控制NFC模拟门禁卡的装置,通过将模拟门禁卡的地理位置与门禁设备的地理位置进行匹配,自动从多张模拟门禁卡中选择一张模拟门禁卡执行门禁开启操作,不需要用户手动从模拟门禁卡列表中选择要使用的模拟门禁卡,不仅提升了门禁开启效率,而且减少了NFC终端对用户操作的处理次数,有助于节省NFC终端的处理器资源。另一方面,不需要记忆模拟门禁卡和门禁设备之间的对应关系,进一步提升了用户体验。The device for controlling the NFC analog access control card disclosed in the embodiment of the present application acquires the real-time geographic location of the NFC terminal by responding to the operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal; and compares the real-time geographic location with The geographic locations bound to the analog access control card stored in the NFC terminal are matched one by one, and the analog access control card used in real time is determined according to the geographic location where the matching is successful; and the NFC terminal is controlled to execute through the real-time The used analog access control card opens the operation of the NFC access control device, which helps to improve the door opening efficiency of the NFC analog access control card. The device for controlling the NFC analog access control card disclosed in the embodiment of the present application automatically selects one analog access control card from multiple analog access control cards to perform the access control opening operation by matching the geographic location of the analog access control card with the geographic location of the access control device. There is no need for the user to manually select the analog access control card to be used from the analog access control card list, which not only improves the opening efficiency of the access control, but also reduces the number of times the NFC terminal processes user operations, which helps to save the processor resources of the NFC terminal. On the other hand, there is no need to remember the corresponding relationship between the simulated access control card and the access control device, which further improves the user experience.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上对本申请公开的一种控制NFC模拟门禁卡的方法及装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其一种核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The method and device for controlling the NFC analog access card disclosed in this application are described above in detail. In this article, specific examples are used to explain the principles and implementation of this application. The description of the above embodiments is only used to help understand the present application. The method of application and one of its core ideas; at the same time, for those of ordinary skill in the art, according to the ideas of this application, there will be changes in the specific implementation and scope of application. In summary, the content of this specification does not It should be understood as a limitation of this application.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明 的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement it without creative work.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的电子设备中的一些或者全部部件的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本申请的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present application may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the electronic device according to the embodiments of the present application. This application can also be implemented as a device or device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present application may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
例如,图5示出了可以实现根据本申请的方法的电子设备。所述电子设备可以为PC机、移动终端、个人数字助理、平板电脑等。该电子设备传统上包括处理器510和存储器520及存储在所述存储器520上并可在处理器510上运行的程序代码530,所述处理器510执行所述程序代码530时实现上述实施例中所述的方法。所述存储器520可以为计算机程序产品或者计算机可读介质。存储器520可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器520具有用于执行上述方法中的任何方法步骤的计算机程序的程序代码530的存储空间5201。例如,用于程序代码530的存储空间5201可以包括分别用于实现上面的方法中的各种步骤的各个计算机程序。所述程序代码530为计算机可读代码。这些计算机程序可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。所述计算机程序包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行根据上述实施例的方法。For example, FIG. 5 shows an electronic device that can implement the method according to the present application. The electronic device may be a PC, a mobile terminal, a personal digital assistant, a tablet computer, etc. This electronic device traditionally includes a processor 510, a memory 520, and a program code 530 that is stored on the memory 520 and can run on the processor 510. When the processor 510 executes the program code 530, the above-mentioned embodiment is implemented. The method described. The memory 520 may be a computer program product or a computer readable medium. The memory 520 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 520 has a storage space 5201 of the program code 530 of the computer program for executing any method steps in the above-mentioned method. For example, the storage space 5201 for the program code 530 may include various computer programs respectively used to implement various steps in the above method. The program code 530 is computer readable code. These computer programs can be read from or written into one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards, or floppy disks. The computer program includes computer-readable code, which when run on an electronic device, causes the electronic device to execute the method according to the above-mentioned embodiment.
本申请实施例还公开了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例一所述的控制NFC模拟门禁 卡的方法的步骤。The embodiment of the present application also discloses a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method for controlling an NFC analog access card as described in the first embodiment of the present application are realized.
这样的计算机程序产品可以为计算机可读存储介质,该计算机可读存储介质可以具有与图5所示的电子设备中的存储器520类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩存储在所述计算机可读存储介质中。所述计算机可读存储介质通常为如参考图6所述的便携式或者固定存储单元。通常,存储单元包括计算机可读代码530’,所述计算机可读代码530’为由处理器读取的代码,这些代码被处理器执行时,实现上面所描述的方法中的各个步骤。Such a computer program product may be a computer-readable storage medium, and the computer-readable storage medium may have storage segments, storage spaces, etc., arranged similarly to the memory 520 in the electronic device shown in FIG. 5. The program code may be compressed and stored in the computer-readable storage medium in an appropriate form, for example. The computer-readable storage medium is usually a portable or fixed storage unit as described with reference to FIG. 6. Generally, the storage unit includes computer readable codes 530', which are codes read by a processor, and when executed by the processor, these codes implement the steps in the method described above.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本申请的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。The “one embodiment”, “an embodiment” or “one or more embodiments” referred to herein means that a specific feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present application. In addition, please note that the word examples "in one embodiment" here do not necessarily all refer to the same embodiment.
在此处所公开的说明书中,说明了大量具体细节。然而,能够理解,本申请的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the specification disclosed here, a lot of specific details are explained. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures, and technologies are not shown in detail, so as not to obscure the understanding of this specification.
在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本申请可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。In the claims, any reference signs placed between parentheses should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of multiple such elements. The application can be realized by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims listing several devices, several of these devices may be embodied in the same hardware item. The use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (11)

  1. 一种控制NFC模拟门禁卡的方法,包括:A method for controlling NFC analog access control card, including:
    响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;In response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal, acquiring the real-time geographic location of the NFC terminal;
    将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;Matching the real-time geographic location with the geographic location bound to the analog access control card stored in the NFC terminal one by one, and determining the analog access control card to be used in real time according to the geographic location where the matching is successful;
    控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。Control the NFC terminal to execute the operation of turning on the NFC access control device through the analog access control card used in real time.
  2. 根据权利要求1所述的方法,所述模拟门禁卡绑定的地理位置指示与所述模拟门禁卡匹配的所述NFC门禁设备的地理位置。The method according to claim 1, wherein the geographic location bound to the analog access control card indicates the geographic location of the NFC access control device matching the analog access control card.
  3. 根据权利要求1所述的方法,所述响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置的步骤之前,还包括:The method according to claim 1, before the step of obtaining the real-time geographic position of the NFC terminal in response to the operation of opening the NFC access control device through the analog access control card configured in the NFC terminal, the method further comprises:
    获取位于所述NFC门禁设备处的目标NFC终端的实时地理位置,所述目标NFC终端为配置有用于开启所述NFC门禁设备的模拟门禁卡的NFC终端;Acquiring a real-time geographic location of a target NFC terminal located at the NFC access control device, where the target NFC terminal is an NFC terminal configured with an analog access control card for opening the NFC access control device;
    在所述目标NFC终端中绑定存储所述用于开启所述NFC门禁设备的模拟门禁卡和所述目标NFC终端的所述实时地理位置。Bind and store in the target NFC terminal the analog access card used to turn on the NFC access control device and the real-time geographic location of the target NFC terminal.
  4. 根据权利要求1至3任一项所述的方法,所述将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡的步骤,包括:The method according to any one of claims 1 to 3, wherein the real-time geographic location is matched with the geographic location bound to the analog access control card stored in the NFC terminal one by one, and all matches are performed according to the successful match. The step of determining the geographic location of the simulated access card used in real time includes:
    将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑定的地理位置进行一一匹配,确定地理位置匹配度最高的所述地理位置;Matching the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic match;
    若地理位置匹配度最高的所述地理位置只有一个且地理位置匹配度满足预设匹配度条件,则确定地理位置匹配度最高的所述地理位置绑定的模拟门禁卡为实时使用的所述模拟门禁卡。If there is only one geographical location with the highest geographical matching degree and the geographical matching degree meets the preset matching degree condition, it is determined that the simulated access control card bound to the geographical position with the highest geographical matching degree is the simulation used in real time Access Card.
  5. 根据权利要求1至3任一项所述的方法,所述将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡的步骤,包括:The method according to any one of claims 1 to 3, wherein the real-time geographic location is matched with the geographic location bound to the analog access control card stored in the NFC terminal one by one, and all matches are performed according to the successful match. The step of determining the geographic location of the simulated access card used in real time includes:
    将所述实时地理位置与所述NFC终端内存储的所有所述模拟门禁卡绑定的地理位置进行一一匹配,确定地理位置匹配度最高的所述地理位置;Matching the real-time geographic location with the geographic locations bound to all the analog access control cards stored in the NFC terminal one by one to determine the geographic location with the highest degree of geographic match;
    若地理位置匹配度最高的所述地理位置包括多个且多个所述地理位置的匹配度均满足预设匹配度条件,则按照预设优先使用条件确定所述地理位置匹配度最高的所述地理位置绑定的一个模拟门禁卡为实时使用的所述模拟门禁卡。If the geographic location with the highest geographic matching degree includes multiple and the matching degrees of the multiple geographic locations all satisfy the preset matching condition, then the geographic location with the highest matching degree is determined according to the preset preferential use condition. A simulated access control card bound to a geographic location is the simulated access control card used in real time.
  6. 一种控制NFC模拟门禁卡的装置,包括:A device for controlling NFC analog access control card, including:
    NFC终端实时地理位置获取模块,用于响应于通过NFC终端中配置的模拟门禁卡开启NFC门禁设备的操作,获取所述NFC终端的实时地理位置;The NFC terminal real-time geographic location acquisition module is used to obtain the real-time geographic location of the NFC terminal in response to the operation of turning on the NFC access control device through the analog access control card configured in the NFC terminal;
    门禁卡绑定地理位置匹配模块,用于将所述实时地理位置与所述NFC终端内存储的所述模拟门禁卡绑定的地理位置进行一一匹配,根据匹配成功的所述地理位置确定实时使用的所述模拟门禁卡;The access card binding geographic location matching module is used to match the real-time geographic location with the geographic location bound to the analog access card stored in the NFC terminal one by one, and determine the real-time geographic location based on the geographic location that is successfully matched. The analog access control card used;
    模拟门禁卡控制模块,用于控制所述NFC终端执行通过所述实时使用的模拟门禁卡开启所述NFC门禁设备的操作。The analog access card control module is used to control the NFC terminal to execute the operation of turning on the NFC access control device through the analog access card used in real time.
  7. 根据权利要求6所述的装置,所述模拟门禁卡绑定的地理位置指示与所述模拟门禁卡匹配的所述NFC门禁设备的地理位置。The apparatus according to claim 6, wherein the geographic location bound to the analog access control card indicates the geographic location of the NFC access control device matching the analog access control card.
  8. 根据权利要求6所述的装置,还包括:The device according to claim 6, further comprising:
    地理位置绑定模块,用于获取位于所述NFC门禁设备处的目标NFC终端的实时地理位置,所述目标NFC终端为配置有用于开启所述NFC门禁设备的模拟门禁卡的NFC终端;以及,The geographic location binding module is used to obtain the real-time geographic location of a target NFC terminal located at the NFC access control device, the target NFC terminal being an NFC terminal configured with an analog access control card for opening the NFC access control device; and,
    在所述目标NFC终端中绑定存储所述用于开启所述NFC门禁设备的模拟门禁卡和所述目标NFC终端的所述实时地理位置。Bind and store in the target NFC terminal the analog access card used to turn on the NFC access control device and the real-time geographic location of the target NFC terminal.
  9. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的程序代码,所述处理器执行所述程序代码时实现权利要求1至5任意一项所述的控制NFC模拟门禁卡的方法。An electronic device, comprising a memory, a processor, and program code stored on the memory and capable of running on the processor, and the processor implements any one of claims 1 to 5 when the program code is executed Method of controlling NFC analog access card.
  10. 一种计算机可读存储介质,其上存储有程序代码,该程序代码被处理器执行时实现权利要求1至5任意一项所述的控制NFC模拟门禁卡的方法的步骤。A computer-readable storage medium has program code stored thereon, and when the program code is executed by a processor, the steps of the method for controlling an NFC analog access card according to any one of claims 1 to 5 are realized.
  11. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行根据权利要求1至5中的任意一项所述的控制NFC模拟门禁卡的方法。A computer program, comprising computer-readable code, when the computer-readable code runs on an electronic device, causes the electronic device to execute the control NFC analog access card according to any one of claims 1 to 5 Methods.
PCT/CN2020/096020 2019-12-31 2020-06-15 Control nfc analog access control cards WO2021135086A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911423122.0A CN111179479A (en) 2019-12-31 2019-12-31 NFC simulation entrance guard card control method and device and electronic equipment
CN201911423122.0 2019-12-31

Publications (1)

Publication Number Publication Date
WO2021135086A1 true WO2021135086A1 (en) 2021-07-08

Family

ID=70656004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/096020 WO2021135086A1 (en) 2019-12-31 2020-06-15 Control nfc analog access control cards

Country Status (2)

Country Link
CN (1) CN111179479A (en)
WO (1) WO2021135086A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111179479A (en) * 2019-12-31 2020-05-19 北京三快在线科技有限公司 NFC simulation entrance guard card control method and device and electronic equipment
CN111881162A (en) * 2020-06-16 2020-11-03 深圳酷派技术有限公司 NFC access control card control method and device, storage medium and terminal
CN112183140B (en) * 2020-09-30 2024-05-14 上海创功通讯技术有限公司 Parameter calling method, mobile terminal and system
CN112416227B (en) * 2020-11-19 2022-06-14 Oppo(重庆)智能科技有限公司 Configuration method, mobile terminal and computer storage medium
CN113178028B (en) * 2021-04-13 2023-04-07 歌尔股份有限公司 Control method, wearable device, mobile terminal and readable storage medium
CN113536817A (en) * 2021-06-30 2021-10-22 马昊伯 NFC access control card automatic switching system based on GPS positioning technology
CN114245295B (en) * 2021-12-08 2024-07-19 武汉天喻信息产业股份有限公司 Multi-access automatic switching method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120169462A1 (en) * 2010-12-31 2012-07-05 Kt Corporation Method and apparatus for access authentication using mobile terminal
US20150213660A1 (en) * 2011-03-11 2015-07-30 Bytemark, Inc. Systems and Methods for Electronic Ticket Validation Using Proximity Detection
CN105336024A (en) * 2015-09-28 2016-02-17 北京橙鑫数据科技有限公司 Virtual entrance guard card punching method and device
CN107657689A (en) * 2017-09-08 2018-02-02 深圳传音通讯有限公司 A kind of gate inhibition's method for unlocking, mobile terminal and computer-readable medium
CN207148947U (en) * 2017-09-08 2018-03-27 深圳传音通讯有限公司 A kind of gate control system
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN111179479A (en) * 2019-12-31 2020-05-19 北京三快在线科技有限公司 NFC simulation entrance guard card control method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2620919B1 (en) * 2012-01-26 2022-01-05 SimonsVoss Technologies GmbH Locking system
CN104183049B (en) * 2014-09-02 2017-11-10 南京铁马信息技术有限公司 A kind of intelligentized gate inhibition's alignment system and its localization method
CN106815904B (en) * 2015-12-01 2020-05-15 深圳达实物联网技术有限公司 Access control method and device, access control equipment and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120169462A1 (en) * 2010-12-31 2012-07-05 Kt Corporation Method and apparatus for access authentication using mobile terminal
US20150213660A1 (en) * 2011-03-11 2015-07-30 Bytemark, Inc. Systems and Methods for Electronic Ticket Validation Using Proximity Detection
CN105336024A (en) * 2015-09-28 2016-02-17 北京橙鑫数据科技有限公司 Virtual entrance guard card punching method and device
CN107657689A (en) * 2017-09-08 2018-02-02 深圳传音通讯有限公司 A kind of gate inhibition's method for unlocking, mobile terminal and computer-readable medium
CN207148947U (en) * 2017-09-08 2018-03-27 深圳传音通讯有限公司 A kind of gate control system
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN111179479A (en) * 2019-12-31 2020-05-19 北京三快在线科技有限公司 NFC simulation entrance guard card control method and device and electronic equipment

Also Published As

Publication number Publication date
CN111179479A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
WO2021135086A1 (en) Control nfc analog access control cards
WO2021252230A1 (en) Methods and systems for audio voice service in an embedded device
CN104145304A (en) An apparatus and method for multiple device voice control
US12001495B2 (en) Matchmaking video chatting partners
CN106204186B (en) Order information determines method and device
CN105677512B (en) Data processing method and device and electronic equipment
US20160132866A1 (en) Device, system, and method for creating virtual credit card
WO2018202073A1 (en) Method and apparatus for voice control over intelligent device, and intelligent device
CN103546294A (en) Entrance guard authorization method, entrance guard authorization device and entrance guard authorization equipment
CN107888978A (en) KEY codes method for burn-recording, device and computer-readable recording medium
CN108632796B (en) Bluetooth connection method, device, terminal and computer readable storage medium
WO2019085000A1 (en) Method and device for controlling reading of electronic book
US11030994B2 (en) Selective activation of smaller resource footprint automatic speech recognition engines by predicting a domain topic based on a time since a previous communication
CN105183464B (en) Information display method and device and electronic equipment
CN106682006B (en) Information prompting method and device about communication content
WO2017107680A1 (en) Terminal configuration adjustment method and apparatus
CN104519105A (en) Method and device for acquiring applications matched with terminals
CN104571781B (en) More application widget display methods and counter management apparatus in Android system
US20120117197A1 (en) Content auto-discovery
WO2017107678A1 (en) Base station-based positioning method and device
US8406755B2 (en) Method for testing wireless connection function of mobile phone
CN103346821A (en) Method for transferring address list through bluetooth
CN106162324A (en) The processing method and processing device of video file
CN105989113A (en) Application program recommendation method and application program recommendation system
CN103067603A (en) Set method and mobile terminal of ring tone

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20910498

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20910498

Country of ref document: EP

Kind code of ref document: A1