NFC access control card control method and device, storage medium and terminal

A control method and access control card technology, applied in the field of communication, can solve the problems of low access control efficiency, and achieve the effect of improving efficiency and conveniently opening access control

Pending Publication Date: 2020-11-03
SHENZHEN COOLPAD SOFTWARE TECH
0 Cites 1 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a control method, device, storage medium and terminal of an NFC access co...
View more

Method used

Wherein, NFC communication request refers to the connection request that user sends by NFC access control device when preparing to establish communication connection by terminal and NFC access control device, the communication mode that NFC access control card and NFC access control device in the application establishes is the NFC Passive communication mode, in the passive communication mode of NFC, the initiating device can provide a radio frequency field during the entire communication process, based on the pre-selected transmission speed, send data to the target device, the target device does not need to generate a radio frequency field, and uses the induced electromotive force to provide The power required for work is based on the modulation technology to complete data transmission and reception; the analog NFC access control card and NFC access control device of the terminal can switch roles between the initiator device and the target device, and the device with insufficient or low power can also be used as the target device. to save power. The modulation mode of the target device is related to the data transmission speed, usually the data transmission speed can be 106kb/s, 212kb/s or 424kb/s; when the transmission speed is 106kb/s, ASK modulation is used, and the modulation depth is 100%; When the speed is 212kb/s or 424kb/s, ASK modulation is used, and the modulation depth is 8% to 30%. The selection of data transmission speed is defined by the length of working residence, and the farthest working distance is 20cm.
[0068] Wherein, the NFC communicatio...
View more

Abstract

The embodiment of the invention discloses an NFC access control card control method and device, a storage medium and a terminal, and belongs to the technical field of communication. The method comprises the steps that a terminal obtains ID information of a registered cell where the terminal is located, when an NFC communication request is detected through an NFC module, an entrance guard card ID associated with the ID information of the registered cell is inquired from a preset mapping relation set, and a target NFC entrance guard card indicated by the entrance guard card ID is set as a main entrance guard card; the access control card currently needed by the user is determined according to the ID information of the currently registered cell of the terminal, so that the user can open the access control conveniently, and the access control opening efficiency of the user by using the terminal is improved.

Application Domain

Digital data information retrievalIndividual entry/exit registers +1

Technology Topic

EngineeringAccess control

Image

  • NFC access control card control method and device, storage medium and terminal
  • NFC access control card control method and device, storage medium and terminal
  • NFC access control card control method and device, storage medium and terminal

Examples

  • Experimental program(1)

Example Embodiment

[0022] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
[0023] Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application, as recited in the appended claims.
[0024] In the description of the present application, it should be understood that the terms "first", "second" and the like are used for descriptive purposes only, and should not be construed as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific situations. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the related objects are an "or" relationship.
[0025] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
[0026] See figure 1 , which shows a schematic diagram of a control system architecture of an NFC access control card provided by an embodiment of the present application, including a terminal 101 , an access control device 102 and a base station 103 .
[0027] The terminal 101 may be various electronic devices provided with an NFC module inside, including but not limited to a smart phone, a tablet computer, a portable computer, a desktop computer, and the like. The terminal 101 may be hardware or software. When the terminal 101 is software, it may be installed in the electronic devices listed above, which may be implemented as multiple software or software modules, or may be implemented as a single software or software module, which is not specifically limited here. When the terminal 101 is hardware, a display device can also be installed on it, and the display device display can be various devices that can realize the display function. Diode display (Light-emittingdiode display, referred to as LED), electronic ink screen, liquid crystal display (Liquid crystal display, referred to as LCD), plasma display panel (Plasma display panel, referred to as PDP) and so on. The user can use the display device on the terminal 101 to view and/or select the simulated access control card. The terminal device and the mobile terminal in this application are the same description of the terminal 101 .
[0028] The access control device 102 refers to an access control device using Near Field Communication (NFC) technology, and an NFC module is also provided inside, which can be a device that can control the passage of various channels, including an electronic door (device) for people to pass through, Electronic doors (equipment) for vehicle traffic, etc. NFC is an emerging technology. Terminals and/or access control devices with NFC modules inside can exchange data when they are close to each other. It is evolved from the integration of contactless radio frequency identification (RFID) and interconnection technology. By integrating the functions of contactless card reader, contactless card and point-to-point communication on a single chip, it is widely used in mobile payment, electronic ticketing, access control, mobile identification, and anti-counterfeiting.
[0029] Base station 103 is a public mobile communication base station, which is an interface device for terminals to access the Internet, and is also a form of radio station. A radio transceiver station that transmits information between them. The base station 103 may also be called a base station system, which is composed of multiple independent base station equipment. A complete base station equipment also includes ancillary equipment such as power supply, storage battery, air conditioner, and security monitoring. The base station 103 may be an LTE base station or an NR base station; the LTE base station mainly includes three parts: BBU (Building Base Band Unite, indoor baseband processing unit), RRU (Radio Remote Unit, remote radio frequency unit), and radio frequency antenna. The BBU mainly includes three parts. Responsible for signal modulation, RRU is mainly responsible for radio frequency processing, and the antenna is mainly responsible for the conversion between the guided traveling wave on the cable and the space wave in the air. Compared with the LTE base station, the NR base station combines the RRU and the radio frequency antenna before the LTE base station into an AAU (Active Antenna Unit, active antenna unit), which is connected to the BBU through an optical fiber. According to the size and power of the base station, it can be divided into macro base station (Macro Site), micro base station (Micro Site), pico base station (Pico Site), Femto Site (Femto Site): the single-carrier transmit power of the macro base station is more than 10W , the coverage radius is more than 200 meters; the single carrier transmission power of the micro base station is between 500mW and 10W, and the coverage radius is between 50 meters and 200 meters; the single carrier transmission power of the pico base station is between 100mW and 500mW, and the coverage radius is between Between 20 meters and 50 meters; the single carrier transmission power of the femto base station is less than 100mW, and the coverage radius is between 10 meters and 20 meters.
[0030] It should be understood that figure 1 The numbers of terminals, access control devices, and base stations in are only illustrative. According to actual needs, it can be any number of terminals, access control devices and base stations.
[0031] In the following method embodiments, for convenience of description, only the execution subject of each step is a terminal device for introduction and description.
[0032] The following will be combined with the Figure 2 to Figure 3 , the control method of the NFC access control card provided by the embodiment of the present application is introduced in detail.
[0033] See figure 2 , a schematic flowchart of a method for controlling an NFC access control card is provided in an embodiment of the present application. This embodiment is illustrated by applying an NFC access control card control method to a terminal. The NFC access control card control method may include the following steps:
[0034] S201: Obtain ID information of a registered cell where the terminal is located.
[0035]Among them, ID (Identity Document) is the abbreviation of various proprietary words such as ID card identification number, account number, unique code, exclusive number, industrial design, national abbreviation, legal vocabulary, general account, decoder, software company, etc. Here The ID information refers to the cell identification code of the base station. After obtaining the cell identification code of the registered cell where the terminal is currently located, it can identify the cell identification code used to transmit user calls in the network, and interpret the information into latitude and longitude to determine The location of the user; at the same time, based on the preset mapping relationship set, the currently available analog NFC access control card can be determined through the cell identification code of the registered cell where the terminal is located. A registered cell refers to an area where a terminal can currently obtain network services, and is a cell divided from the entire communication service area. There is a base station in the cell, which is responsible for establishing a wireless connection with the terminal in the cell. The registered cell of the terminal and the surrounding cells of the registered cell where the terminal is located have corresponding cell ID information.
[0036] Generally, the positioning information is obtained through the ID information of the cell, that is, the wireless network reports the cell identification code where the terminal is located, and the location service platform interprets the cell identification code into latitude and longitude coordinates; The cell ID of , determines the currently available simulated NFC access control cards. The cell ID can be obtained in scenarios such as cell routing and paging, positioning area update, cell update, URA update, and routing area update. and other factors.
[0037] S202, when the NFC communication request is detected by the NFC module, the access control card ID associated with the ID information of the registered cell is inquired from a preset mapping relationship set.
[0038] Among them, the NFC communication request refers to the connection request sent by the NFC access control device when the user prepares to establish a communication connection with the NFC access control device through the terminal. The communication mode established between the NFC access control card and the NFC access control device in this application is the NFC passive communication mode , in the passive communication mode of NFC, the initiating device can provide a radio frequency field during the entire communication process, and based on the pre-selected transmission speed, the data is sent to the target device. The power supply of the terminal is based on modulation technology to complete data transmission and reception; the terminal's simulated NFC access control card and NFC access control device can switch roles between the initiating device and the target device, and can also use the device with insufficient or low power as the target device to save power. . The modulation mode of the target device is related to the data transmission speed, usually the data transmission speed can be 106kb/s, 212kb/s or 424kb/s; when the transmission speed is 106kb/s, ASK modulation is used, and the modulation depth is 100%; When the speed is 212kb/s or 424kb/s, ASK modulation is adopted, and the modulation depth is 8% to 30%; and the selection of data transmission speed is defined by the length of work and residence, and the farthest working distance is up to 20cm.
[0039] The set of mapping relationships refers to the set of mapping relationships between the simulated NFC access control card and the cell ID information in the terminal, and the mapping relationship between the simulated NFC access control card and the cell ID information may be one-to-many and/or many-to-one, that is, One simulated NFC access control card can correspond to multiple cell ID information, and one cell ID information can also correspond to multiple simulated NFC access control cards; the mapping relationship between the simulated NFC access control card and the cell ID information in the mapping relationship set can be continuously updated. The access control ID refers to the ID information of the simulated NFC access control card obtained by the terminal after simulating the physical access control card, which is usually consistent with the ID information of the physical access control card.
[0040] Generally, before using the simulated NFC access control card of the terminal, the user needs to put the physical access control card close to the NFC module of the terminal, so that the terminal can read the ID information of the physical access control card, and the terminal configures the ID of the terminal according to the ID information of the physical access control card. file, generate an NFC access control card based on the ID file, that is, simulate an NFC access control card, so that there is at least one simulated NFC access control card in the terminal. Since the terminal may register to the cells of different base stations at different times in the same geographical location, the access control card to be bound (to be bound with the cell ID information of the registered cell where the terminal is registered) can be obtained by obtaining the geographical coordinates of the terminal. (or the associated NFC access control card), determine the geographic location area based on the geographic location coordinates, obtain the ID information of at least one cell covered by the geographic location area, and respectively associate the ID information of at least one cell with the master access control card to be bound The ID of the device is associated and added to the mapping relationship set to ensure that the mapping relationship between the simulated NFC access control card and the cell ID information in the mapping relationship set can cover the cell ID information of all cells that the terminal may register to at the same geographical location. When the terminal detects an NFC communication request through the NFC module, the access control card ID associated with the ID information of the registered cell can be queried from the preset mapping relationship set. If the ID of the registered cell is queried from the preset mapping relationship set After the access control card ID is associated with the information, the target NFC access control card indicated by the access control card ID can be set as the main access control card, and the user can directly open the access control based on the main access control card; if it cannot be queried from the preset mapping relationship set The access control card ID associated with the ID information of the registered community, the user needs to manually select the NFC access control card that meets the requirements on the terminal, and the terminal responds to the selection operation for the NFC access control card. Access control card, the user then opens the access control based on the selected master access control card, and the terminal will also associate the ID information of the registered cell with the access control card ID of the current master access control card and add it to the mapping relationship set to realize the mapping relationship set. The update of the mapping relationship between the simulated NFC access control card and the cell ID information.
[0041] S203, the target NFC access control card indicated by the ID of the access control card is set as the primary access control card.
[0042] Among them, the target NFC access control card refers to the NFC access control card corresponding to the access control card ID associated with the cell ID information of the registered cell where the terminal is currently located; the main access control card refers to the access control card that can directly open the current access control device through the NFC access control card, usually The terminal will select an NFC access control card as the main access control card by default. After the terminal changes the registered cell, when the user needs to use the terminal's NFC access control card again, the terminal will replace the main access control card according to the current registered cell. When replacing the access control card that matches the current access control device, the user needs to manually select one of the NFC access control cards or enter a new NFC access control card as the main access control card.
[0043] Generally, when the NFC access control card indicated by the access control card ID is not the default main access control card, switch the default main access control card to the NFC access control card indicated by the access control card ID; and/or the NFC access control card indicated by the access control card ID When it is the default master access control card, the access control card switching process is not performed.
[0044] It can be seen from the above that in the control method of the NFC access control card provided by this solution, the terminal obtains the ID information of the registered cell where the terminal is located, and when the NFC communication request is detected by the NFC module, the ID of the registered cell is queried from the preset mapping relationship set. The ID of the access control card associated with the information, set the target NFC access control card indicated by the ID of the access control card as the main access control card, and determine the access control card that the user currently needs to use according to the ID information of the current registered cell of the terminal, which is convenient for the user to open the access control and improves the utilization of the user. The efficiency of the terminal opening access control.
[0045] See image 3 , another schematic flowchart of a method for controlling an NFC access control card is provided in an embodiment of the present application. In this embodiment, a method for controlling an NFC access control card is applied to a terminal as an example for illustration. The control method of the NFC access control card may include the following steps:
[0046] S301, read the ID information of the physical access control card.
[0047] Among them, ID is the abbreviation of various proprietary words such as ID card identification number, account number, unique code, exclusive number, industrial design, national abbreviation, legal vocabulary, general account, decoder, software company, etc. The ID information here is Refers to the unique identification number of the physical access control card.
[0048] Generally, by placing the physical access card close to the NFC module of the terminal, the terminal can read the ID information of the physical access card based on the NFC module, and generate a simulated NFC access card based on the ID information of the physical access card.
[0049] S302, configure the ID file of the terminal according to the ID information of the physical access control card.
[0050] Among them, the ID file refers to the accessory file of the NFC module in the terminal. By changing the ID file of the terminal, the terminal can simulate the simulated NFC access control card that is consistent with the ID information of the physical access control card. Configuring the ID file of the terminal means changing the ID file. The process of NFC ID information in the terminal.
[0051] S303, generate an NFC access control card based on the ID file.
[0052] The NFC access control card refers to a simulated access control card obtained after the terminal simulates the ID information of the physical access control card through the NFC module.
[0053] In general, the terminal can modify the ID file of the NFC module according to the ID information of the physical access control card, so that the ID information of the ID file in the terminal is consistent with the ID information of the physical access control card, and then generate ID information with the same ID information as the physical access control card. The simulated NFC access control card.
[0054] S304, obtain the geographic location coordinates of the access control card to be bound.
[0055] The access control card to be bound refers to an analog access control card that exists in the terminal and is not associated with and/or bound to any base station cell, that is, the target NFC access control card. The geographic location coordinates refer to spherical coordinates representing the position of the ground point by latitude and longitude, that is, the coordinates representing the location of the terminal.
[0056] S305, determining a geographic location area based on geographic location coordinates.
[0057] The geographic location area refers to the geographic location area where the terminal is located by dividing a circular area with a certain distance as the radius, taking the geographic location of the terminal as the center point.
[0058] Generally, determining the geographic location area where the terminal is located can further determine the base station cells that the terminal may register to within the geographic location area. Since the cells that the terminal may register to at different times within the same geographic location area may be different, we know The base station cell that the terminal may register to, to ensure that the terminal can also determine the currently available analog NFC access control card based on the cell ID information of the base station cell when the terminal is registered to a different base station cell.
[0059] S306: Obtain ID information of at least one cell covered by the geographic location area.
[0060] Among them, ID is the abbreviation of various proprietary words such as ID card identification number, account number, unique code, exclusive number, industrial design, national abbreviation, legal vocabulary, general account, decoder, software company, etc. The ID information here is Refers to the base station cell identification code. After obtaining the cell identification code of the base station cell in the geographic location area of ​​the terminal, the currently available analog NFC access control card can be determined through the cell identification code based on the preset mapping relationship set.
[0061] S307, the ID information of at least one cell is respectively associated with the ID of the access control card to be bound and added to the mapping relationship set.
[0062] The set of mapping relationships refers to the set of mapping relationships between the simulated NFC access control card and the cell ID information in the terminal, and the mapping relationship between the simulated NFC access control card and the cell ID information may be one-to-many and/or many-to-one, that is, One simulated NFC access control card can correspond to multiple cell ID information, and one cell ID information can also correspond to multiple simulated NFC access control cards; the mapping relationship between the simulated NFC access control card and the cell ID information in the mapping relationship set can be continuously updated. The ID of the access control card to be bound refers to the ID information corresponding to the analog access control card existing in the terminal and not associated with and/or bound to any base station cell.
[0063]Generally, the access control card to be bound is an analog NFC access control card in the terminal, so the geographic location coordinates of the access control card to be bound are also the geographic location coordinates of the terminal, and the geographic location area of ​​the access control card to be bound is also the geographic location of the terminal. Location area: Obtain the ID information of at least one cell covered by the geographic location area where the access control card to be bound is located, that is, obtain the ID information corresponding to the base station cell that may be registered in the geographic location area where the terminal is located. Associate the ID information corresponding to the base station cell that may be registered in the geographical area where the terminal is located with the ID of the access control card to be bound currently, to ensure that when the terminal is registered to different base station cells in the same geographical area, it can be The registered base station cell queries the ID of the access control card to be bound associated with it, and then determines the currently available main access control card.
[0064] S308: Obtain ID information of the registered cell where the terminal is located.
[0065] Among them, ID is the abbreviation of various proprietary words such as ID card identification number, account number, unique code, exclusive number, industrial design, national abbreviation, legal vocabulary, general account, decoder, software company, etc. The ID information here is Refers to the cell identification code of the base station. After obtaining the cell identification code of the registered cell where the terminal is currently located, it can identify the cell identification code used to transmit user calls in the network, and interpret the information into latitude and longitude to determine the location of the user; At the same time, based on the preset mapping relationship set, the currently available analog NFC access control card can be determined through the cell identification code of the registered cell where the terminal is located. A registered cell refers to an area where a terminal can currently obtain network services, and is a cell divided from the entire communication service area. There is a base station in the cell, which is responsible for establishing a wireless connection with the terminal in the cell. The registered cell of the terminal and the surrounding cells of the registered cell where the terminal is located have corresponding cell ID information.
[0066] Generally, the positioning information is obtained through the ID information of the cell, that is, the wireless network reports the cell identification code where the terminal is located, and the location service platform interprets the cell identification code into latitude and longitude coordinates; The cell ID of , determines the currently available simulated NFC access control cards. The cell ID can be obtained in scenarios such as cell routing and paging, positioning area update, cell update, URA update, and routing area update. and other factors.
[0067] S309 , when the NFC communication request is detected by the NFC module, it is determined whether the access control card ID associated with the ID information of the registered cell can be queried from the preset mapping relationship set.
[0068] The NFC communication request refers to a connection request sent by the NFC access control device when the user prepares to establish a communication connection with the NFC access control device through the terminal. The communication mode established between the NFC access control card and the NFC access control device in this application is the passive communication mode of NFC. In the passive communication mode of NFC, the initiating device can provide a radio frequency field during the entire communication process. Based on the pre-selected transmission speed, the When data is sent to the target device, the target device does not need to generate a radio frequency field, and uses the induced electromotive force to provide the power required for work, and completes data transmission and reception based on modulation technology. You can switch roles between them, and you can also target devices with low or low power to save power. The modulation mode of the target device is related to the data transmission speed, usually the data transmission speed can be 106kb/s, 212kb/s or 424kb/s; when the transmission speed is 106kb/s, ASK modulation is used, and the modulation depth is 100%; When the speed is 212kb/s or 424kb/s, ASK modulation is adopted, and the modulation depth is 8% to 30%; and the selection of data transmission speed is defined by the length of work and residence, and the farthest working distance is up to 20cm.
[0069] The set of mapping relationships refers to the set of mapping relationships between the simulated NFC access control card and the cell ID information in the terminal, and the mapping relationship between the simulated NFC access control card and the cell ID information may be one-to-many and/or many-to-one, that is, One simulated NFC access control card can correspond to multiple cell ID information, and one cell ID information can also correspond to multiple simulated NFC access control cards; the mapping relationship between the simulated NFC access control card and the cell ID information in the mapping relationship set can be continuously updated. The access control ID refers to the ID information of the simulated NFC access control card obtained by the terminal after simulating the physical access control card, which is usually consistent with the ID information of the physical access control card.
[0070] Generally, before using the simulated NFC access control card of the terminal, the user needs to put the physical access control card close to the NFC module of the terminal, so that the terminal can read the ID information of the physical access control card, and the terminal configures the ID of the terminal according to the ID information of the physical access control card. file, generate an NFC access control card based on the ID file, that is, simulate an NFC access control card, so that there is at least one simulated NFC access control card in the terminal. Since the terminal may register to the cells of different base stations at different times in the same geographical location, the access control card to be bound (to be bound with the cell ID information of the registered cell where the terminal is registered) can be obtained by obtaining the geographical coordinates of the terminal. (or the associated NFC access control card), determine the geographic location area based on the geographic location coordinates, obtain the ID information of at least one cell covered by the geographic location area, and respectively associate the ID information of at least one cell with the master access control card to be bound The ID of the device is associated and added to the mapping relationship set to ensure that the mapping relationship between the simulated NFC access control card and the cell ID information in the mapping relationship set can cover the cell ID information of all cells that the terminal may register to at the same geographical location. When the terminal detects an NFC communication request through the NFC module, the access control card ID associated with the ID information of the registered cell can be queried from the preset mapping relationship set. If the ID of the registered cell is queried from the preset mapping relationship set After the access control card ID is associated with the information, the target NFC access control card indicated by the access control card ID can be set as the main access control card, and the user can directly open the access control based on the main access control card; if it cannot be queried from the preset mapping relationship set The access control card ID associated with the ID information of the registered community, the user needs to manually select the NFC access control card that meets the requirements on the terminal, and the terminal responds to the selection operation for the NFC access control card. Access control card, the user then opens the access control based on the selected master access control card, and the terminal will also associate the ID information of the registered cell with the access control card ID of the current master access control card and add it to the mapping relationship set to realize the mapping relationship set. The update of the mapping relationship between the simulated NFC access control card and the cell ID information.
[0071] S310, when the access control card ID associated with the ID information of the registered cell is not queried according to the preset mapping relationship, in response to the selection operation for the NFC access control card, determine that the NFC access control card corresponding to the selection operation is the current main access control card.
[0072] Among them, the main access control card refers to the access control card that can directly open the current access control device through the NFC access control card. Usually, the terminal will select an NFC access control card as the main access control card by default. After the terminal changes the registered cell, the user needs to use the terminal's When the NFC access control card is used, the terminal will replace the main access control card according to the current registered community. When the access control card that conforms to the current access control device cannot be replaced according to the preset rules, the user needs to manually select one of the NFC access control cards or enter a new NFC access control card. card as the master access card.
[0073] S311 , associate the ID information of the registered cell with the access control card ID of the current master access control card and add it to the mapping relationship set.
[0074] Generally, if the access control card ID associated with the ID information of the registered cell cannot be queried from the preset mapping relationship set, the user needs to manually select the NFC access control card that meets the requirements on the terminal, and the terminal responds to the NFC access control card. Select operation, determine that the NFC access control card corresponding to the selected operation is the current master access control card, the user will then open the access control based on the selected master access control card, and the terminal will also match the ID information of the registered cell with the current master access control card. After the ID is associated, it is added to the mapping relationship set. At the same time, the ID information of other base station cells covered by the geographic location area of ​​the terminal will be associated with the ID of the NFC access control card selected by the user and added to the mapping relationship. In the set, update the mapping relationship between the simulated NFC access control card and the cell ID information in the mapping relationship set.
[0075] S312, when the access control card ID associated with the ID information of the registered cell is queried from the preset mapping relationship set, set the target NFC access control card indicated by the access control card ID as the primary access control card.
[0076] Among them, the target NFC access control card refers to the NFC access control card corresponding to the access control card ID associated with the cell ID information of the registered cell where the terminal is currently located; the main access control card refers to the access control card that can directly open the current access control device through the NFC access control card, usually The terminal will select an NFC access control card as the main access control card by default. After the terminal changes the registered cell, when the user needs to use the terminal's NFC access control card again, the terminal will replace the main access control card according to the current registered cell. When replacing the access control card that matches the current access control device, the user needs to manually select one of the NFC access control cards or enter a new NFC access control card as the main access control card.
[0077] Generally, after the access control card ID associated with the ID information of the registered cell is queried from the preset mapping relationship set, the target NFC access control card indicated by the access control card ID can be set as the main access control card, and the user can access control based on the main access control card. The card directly opens the door. When the NFC access control card indicated by the access control card ID is not the default main access control card, switch the default main access control card to the NFC access control card indicated by the access control card ID; and/or when the NFC access control card indicated by the access control card ID is the default access control card When the master access control card is used, the access control card switching process is not performed.
[0078] For example: the user uses the terminal to simulate the home access control card and the company access control card to obtain the simulated access control card 1 and the simulated access control card 2. When the user uses the terminal to open the home access control device, select the simulated access control card 1 as the home access control card. The main access control card of the access control device. At the same time, it will also associate or bind the cell ID information of the current registered cell of the terminal and the base station cell in the geographical area where the terminal is located with the ID of the simulated access control card 1, and add it to the mapping relationship set In the same way, when the user uses the terminal to open the company's access control equipment, he selects the simulated access control card 2 as the main access control card for opening the company's access control equipment. The cell ID information of the base station cell is associated or bound with the ID of the simulated access control card 2, and added to the mapping relationship set; when the user wants to turn on the access control device at home or the company's access control device again, he does not need to select the access control card by himself. , the terminal will determine the access control card that can match the current access control device according to the preset mapping relationship set, and then directly open the access control of the access control device.
[0079] S313: Receive control data for failure to open the access control.
[0080] Among them, the control data refers to the data of failure to open the access control sent by the NFC access control device, indicating that the main access control card used at this time cannot open the access control of the current NFC access control device, such as: in the case of temporarily replacing a new NFC access control device, before The simulated NFC access control card obtained by the terminal simulation cannot be matched with the new NFC access control device, so the access control of the new NFC access control device cannot be opened.
[0081] S314, based on the control data, display the reminder information that the ID of the access control card is invalid through the display unit.
[0082] The reminder information is used to remind the user that the current master access control card cannot be used. For example, the reminder information may be prompt words such as "the current access control card information has expired", "failed to open the access control" and so on.
[0083] S315, in response to the selection operation for the NFC access control card, determine that the NFC access control card corresponding to the selection operation is the current master access control card.
[0084]Generally, when the main access control card selected by the terminal based on the cell ID information of the current registered cell cannot open the access control of the current NFC access control device, it indicates that the main access control card selected by the terminal cannot match the current NFC access control device. The ID information of the simulated access control card is invalid or the ID information is incorrectly configured, which leads to the failure to open the access control. It may also be due to the recognition failure of the current NFC access control device or the replacement of a new NFC access control device. Select an NFC access control card that meets the requirements, or re-acquire the ID information of a new physical access control card, simulate a new NFC access control card, and the terminal will respond to the selection operation for the NFC access control card. The current master access control card, the user will then open the access control based on the selected master access control card.
[0085] S316, after associating the ID information of the registered cell with the access control card ID of the current master access control card, and adding it to the mapping relationship set.
[0086] Generally, when the current master access control card of the terminal can open the current NFC access control device, the terminal will associate the ID information of the registered cell with the access control card ID of the current master access control card and add it to the mapping relationship set. , it will also associate the ID information of other base station cells covered by the geographical location area of ​​the terminal with the ID of the NFC access control card selected by the user and add it to the mapping relationship set, so as to realize the simulation of the NFC access control card in the mapping relationship set. Update of the mapping relationship of cell ID information.
[0087] It can be seen from the above that, in the control method of the NFC access control card provided by this solution, the terminal reads the ID information of the physical access control card, configures the ID file of the terminal according to the ID information of the physical access control card, generates the NFC access control card based on the ID file, and obtains the The geographic location coordinates of the access control card to be bound, determine the geographic location area based on the geographic location coordinates, obtain the ID information of at least one cell covered by the geographic location area, and compare the ID information of the at least one cell with the ID of the master access control card to be bound. After the association, it is added to the mapping relationship set, and the ID information of the registered cell where the terminal is located is obtained. When the NFC communication request is detected by the NFC module, it is judged whether the access control associated with the ID information of the registered cell can be queried from the preset mapping relationship set. Card ID, when the access control card ID associated with the ID information of the registered cell is not queried according to the preset mapping relationship, in response to the selection operation for the NFC access control card, it is determined that the NFC access control card corresponding to the selection operation is the current main access control card, The ID information of the registered cell is associated with the access control card ID of the current main access control card and added to the mapping relationship set. When the access control card ID associated with the ID information of the registered cell is queried from the preset mapping relationship set, the The target NFC access control card indicated by the access control card ID is set as the main access control card, receives the control data for the failure to open the access control, based on the control data, displays the reminder information of the invalidation of the access control card ID through the display unit, and responds to the selection operation for the NFC access control card, It is determined that the NFC access control card corresponding to the selection operation is the current master access control card, and the ID information of the registered cell is associated with the access control card ID of the current master access control card, and then added to the mapping relationship set. In this way, when the user uses the analog access control card in the terminal to establish a communication connection with the NFC access control device, the terminal compares the currently used analog access control card with the cell ID information of the registered cell and/or the base station cell in the geographical area where the terminal is located. Association or binding is convenient to improve the opening efficiency of subsequent users who need to reopen the same NFC access control device in the same geographical location, and can also realize the real-time update of the mapping relationship between the ID of the simulated NFC access control card and the cell ID information in the terminal. To a certain extent, it can also improve the success rate of users using the simulated NFC access control card in the terminal to open the access control.
[0088] The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0089] See Figure 4 , which shows a schematic structural diagram of a control device for an NFC access control card provided by an exemplary embodiment of the present application, hereinafter referred to as device 4 . The device 4 can be implemented as all or a part of the terminal through software, hardware or a combination of the two. The device 4 is applied to the terminal, and the device 4 includes:
[0090] An acquisition module 401, configured to acquire ID information of the registered cell where the terminal is located;
[0091] The query module 402 is configured to query the access control card ID associated with the ID information of the registered cell from a preset mapping relationship set when the NFC communication request is detected by the NFC module;
[0092] The setting module 403 is used for setting the target NFC access control card indicated by the ID of the access control card as the main access control card.
[0093] Optionally, the device 4 also includes:
[0094] The first determination unit is used to determine the NFC access control corresponding to the selection operation in response to the selection operation for the NFC access control card when the ID of the access control card associated with the ID information of the registered cell is not queried according to the preset mapping relationship The card is the current master access card;
[0095] The first association unit is configured to associate the ID information of the registered cell with the access control card ID of the current master access control card and add it to the mapping relationship set.
[0096] Optionally, the device 4 also includes:
[0097] a first obtaining unit, configured to obtain the geographic location coordinates of the access control card to be bound; wherein, the access control card to be bound is the target NFC access control card;
[0098] a second determining unit, configured to determine a geographic location area based on the geographic location coordinates;
[0099] a second acquiring unit, configured to acquire ID information of at least one cell covered by the geographic location area;
[0100] The second associating unit is configured to associate the ID information of the at least one cell with the ID of the master access control card to be bound and add them to the mapping relationship set.
[0101] Optionally, the device 4 also includes:
[0102] The reading unit is used to read the ID information of the physical access control card;
[0103] a configuration unit, configured to configure the ID file of the terminal according to the ID information of the physical access control card;
[0104] A first processing unit, configured to generate the NFC access control card based on the ID file.
[0105] Optionally, the setting module 403 includes:
[0106] a second processing unit, configured to switch the default master access card to the NFC access card indicated by the access card ID when the NFC access card indicated by the access card ID is not the default master access card; and/ or
[0107] The third processing unit is configured to not perform the access control card switching process when the NFC access control card indicated by the access control card ID is the default main access control card.
[0108] Optionally, the device 4 also includes:
[0109] a receiving unit for receiving control data for failure to open the access control;
[0110] The display unit is configured to display the reminder information of the invalid ID of the access control card through the display unit based on the control data.
[0111] Optionally, the device 4 further includes:
[0112] A third determining unit, configured to determine, in response to a selection operation for the NFC access control card, the NFC access control card corresponding to the selection operation as the current main access control card;
[0113] A third association unit, configured to associate the ID information of the registered cell with the access control card ID of the current master access control card, and then add it to the mapping relationship set.
[0114] It should be noted that, when the control device for an NFC access control card provided by the above embodiment executes the control method for an NFC access control card, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the control device for an NFC access control card provided by the above embodiment and the embodiment of the control method for an NFC access control card belong to the same concept, and the embodiment and implementation process thereof are detailed in the method embodiment, which will not be repeated here.
[0115] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
[0116] Embodiments of the present application further provide a computer storage medium, where the computer storage medium can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps. For the specific execution process, please refer to figure 2 , image 3 The specific description of the illustrated embodiment will not be repeated here.
[0117] The present application also provides a terminal, comprising a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps.
[0118] see Figure 5 , which shows a schematic structural diagram of a terminal involved in an embodiment of the present application, and the terminal can be used to implement the control method for an NFC access control card in the above embodiment. Specifically:
[0119] The memory 503 can be used to store software programs and modules, and the processor 500 executes various functional applications and data processing by running the software programs and modules stored in the memory 503 . The memory 503 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data (such as audio data, phone book, etc.) created by the use of the terminal device, etc. Additionally, memory 503 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 503 may also include a memory controller to provide access to the memory 503 by the processor 500 and the input unit 505 .
[0120] The input unit 505 may be used to receive input numerical or character information, and to generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 505 may include a touch-sensitive surface 506 (eg, a touch screen, a touch pad, or a touch frame). Touch-sensitive surface 506, also referred to as a touch display or trackpad, may collect user touch operations on or near it (such as a user using a finger, stylus, etc., any suitable object or accessory on or on touch-sensitive surface 506). operation near the touch-sensitive surface 506), and actuate the corresponding connection device according to a preset program. Alternatively, the touch-sensitive surface 506 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 500, and can receive the command sent by the processor 500 and execute it. Additionally, the touch-sensitive surface 506 may be implemented using resistive, capacitive, infrared, and surface acoustic wave types.
[0121]The display unit 513 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 513 may include a display panel 514. Optionally, the display panel 514 may be configured in the form of an LCD (Liquid Crystal Display, liquid crystal display), an OLED (Organic Light-Emitting Diode, organic light emitting diode) and the like. Further, the touch-sensitive surface 506 may cover the display panel 514, and when the touch-sensitive surface 506 detects a touch operation on or near it, it transmits it to the processor 500 to determine the type of the touch event, and then the processor 500 determines the type of the touch event according to the touch event. Type provides corresponding visual output on display panel 514 . Although in Figure 5 Here, touch-sensitive surface 506 and display panel 514 are implemented as two separate components to implement input and input functions, but in some embodiments, touch-sensitive surface 506 and display panel 514 may be integrated to implement input and output functions.
[0122] The processor 500 is the control center of the terminal device, uses various interfaces and lines to connect various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 503, and calls the data stored in the memory 503. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. Optionally, the processor 500 may include one or more processing cores; wherein, the processor 500 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 500.
[0123] Specifically in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be displayed by one or more programs. The execution of the above one or more programs by the above processor includes the steps of implementing the above control method of the NFC access control card.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
[0125] Each functional unit in each embodiment of the present application may be all integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units It can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0126] The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Compositing Windowing System

InactiveUS20100058229A1minimal costimprove efficiency
Owner:QUALCOMM INC

Image reading apparatus

InactiveUS20050238205A1improve efficiency
Owner:FUJIFILM BUSINESS INNOVATION CORP

Method and device for updating data in distributed storage system

ActiveCN103294675AImprove efficiencySolve data consistency
Owner:SHANDA INTERACTIVE ENTERTAINMENT

Classification and recommendation of technical efficacy words

  • Improve efficiency
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products