Interaction system and interaction method of terminal equipment and access control equipment

By configuring NFC functions and related modules in the terminal device, the automatic identification and switching of multiple access control cards is solved, and the problem of users needing to manually switch cards in the existing technology is solved, which improves card swiping efficiency and user experience, and saves management costs.

CN119600712APending Publication Date: 2025-03-11BEIJING TSINGTENG MICROSYSTEM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411798448.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The prior art cannot realize automatic identification and switching of multiple access control cards when electronic devices interact with access control devices, resulting in users needing to manually switch cards, reducing card swiping efficiency and user experience.

Method used

By configuring NFC functions, reading modules and chip registers in the terminal device, the host card simulation mode is realized. The chip register controls the automatic switching of multiple access control cards. The NFC card reader reads and stores access control card data information, the identification module judges the data legality, and the controller controls the access control device to open or close the door.

Benefits of technology

Automatic card switching during access control card swiping is realized, improving card swiping efficiency, improving user experience, and saving the cost of managing access control cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600712A_ABST
    Figure CN119600712A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of near field communication, and discloses an interaction system and an interaction method of terminal equipment and access control equipment, the terminal equipment in the interaction system comprises a reading module and a chip register, and the reading module is configured to read data information of a plurality of access control cards; the chip register is configured to store data information of a plurality of access control cards; in a host card simulation mode of the terminal equipment, the chip register is configured to control the plurality of access control cards to be automatically switched; the NFC card reader of the access control equipment is configured to read data information of a plurality of access control cards stored in the terminal equipment, and the identification module is configured to identify whether the data information of the access control cards is legal or not; and the controller is configured to control the access control equipment to open or close the door. The interaction method is applied to the interaction system. According to the method and the device, card switching can be automatically carried out during entrance guard card swiping, so that a user can quickly open a door without manual intervention, the card swiping efficiency can be improved, the use experience of the user can be improved, and the cost can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of near field communication technology, and in particular to an interaction system and an interaction method between a terminal device and a door access control device. Background Art

[0002] NFC card emulation (Near Field Communication Card Emulation) is an application mode of near field communication technology. Terminal devices (such as smart phones or other NFC devices) can simulate the functions of NFC cards in order to communicate with NFC card readers. Access control devices have been widely used in various scenarios of life and production. With the promotion of smart devices and NFC, the method of copying access control cards on mobile phones, watches and other electronic devices equipped with NFC chips and then unlocking access control is becoming more and more popular.

[0003] Most card simulation scenarios are concentrated on access control and door opening. There are many types of access control cards that can be simulated by existing NFC, such as enterprise access control, school access control, residential access control, parking lot access control, etc. However, due to the excessive types of access control cards bound by users, when entering and exiting the access control, when the electronic device interacts with the access control device, it is necessary to select the type of access control card in advance before the access control card swiping operation can be performed. This operation is relatively troublesome and requires manual switching of different cards. It is impossible to automatically identify different types of access control cards and automatically switch the cards. The user experience is not good, which reduces the efficiency and convenience of card swiping. Although there are some automatic card cutting solutions in the prior art, such as using the SE (Secure Element) key stored in the TSM (Trusted Service Manager) server to write the access control card information data to the device, so that the NFC card can imitate the information of the access control card including the encryption area as much as possible, but this solution will increase the hardware cost and also require high labor costs and TSM server rental costs.

[0004] Therefore, it is a technical problem that needs to be urgently solved by technical personnel in this field to provide an interactive system and method between a terminal device and an access control device, which can automatically switch cards when swiping an access control card, allowing users to quickly open the door without manual intervention, and can also improve the efficiency of swiping cards, enhance the user experience, and save costs. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides an interaction system and interaction method between a terminal device and an access control device to solve the problem in the prior art that when an electronic device interacts with an access control device, the card cutting speed cannot be improved, which affects the user experience satisfaction and the cost is high.

[0006] The present disclosure provides an interactive system between a terminal device and an access control device, wherein the terminal device has an NFC function;

[0007] The terminal device includes an electrically connected reading module and a chip register, wherein the reading module is configured to read data information of multiple access control cards; and the chip register is configured to store data information of multiple access control cards;

[0008] Access control equipment includes NFC card reader, identification module, and controller;

[0009] The terminal device includes a host card emulation mode;

[0010] In host card emulation mode, the chip registers are configured to control the automatic switching of multiple access control cards;

[0011] The NFC card reader is configured to read data information of multiple access control cards stored in the terminal device;

[0012] The identification module is electrically connected to the NFC card reader and is configured to identify whether the data information of the access control card read by the NFC card reader is legal;

[0013] The controller is electrically connected to the identification module and is configured to control the access control device to open or close the door.

[0014] Optionally, the reading module includes an acquisition module, a generation module, and a sending module;

[0015] An acquisition module is configured to acquire data information of a plurality of access control cards to be stored;

[0016] A generating module, configured to generate a plurality of different door opening instructions according to the data information of a plurality of access control cards acquired by the acquiring module;

[0017] The sending module is configured to send the door opening instruction to the chip register for storage and make it effective.

[0018] Optionally, the data information includes any one or more of a user identity UID, a selection response SAK, and a request response ATQA.

[0019] Optionally, the identification module includes a radio frequency field sensing module, and the radio frequency field sensing module is configured to sense the terminal device;

[0020] When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is less than or equal to the first distance, the identification module feeds back a first signal to the terminal device, the terminal device activates the host card simulation mode, and the chip register controls the automatic switching of multiple access control cards;

[0021] When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is greater than the first distance, the identification module feeds back a second signal to the terminal device, and the chip register controls to stop switching of multiple access control cards.

[0022] Optionally, when the NFC card reader reads data information of multiple access control cards stored in the terminal device, the first protocol is also determined according to the data information of the multiple access control cards read and the protocols supported by the NFC card reader;

[0023] The first protocol includes the ISO14443.3 protocol.

[0024] Based on the same inventive concept, the present disclosure also provides an interaction method between a terminal device and an access control device, the interaction method comprising a card reading interaction mode and a card cutting interaction mode, wherein the card reading interaction mode is executed before the card cutting interaction mode;

[0025] In the card reading interaction mode, the reading module of the terminal device reads the data information of multiple access control cards, and the chip register of the terminal device stores the data information of multiple access control cards; the data information includes any one or more of the user identity UID, the selection answer SAK and the request answer ATQA;

[0026] In the card switching interaction mode, the host card simulation mode of the terminal device is activated, and the chip register controls the automatic switching of multiple access control cards;

[0027] The NFC card reader of the access control device reads the data information of multiple access control cards stored in the terminal device;

[0028] The identification module of the access control device identifies whether the data information of the access control card read by the NFC card reader is legal;

[0029] The controller of the access control device controls the access control device to open the door;

[0030] The chip register controls the switching of multiple access control cards.

[0031] Optionally, the reading module includes an acquisition module, a generation module, and a sending module;

[0032] In the card reading interaction mode, the reading module of the terminal device reads the data information of multiple access control cards, including:

[0033] The acquisition module acquires data information of multiple access control cards to be stored;

[0034] A generating module generates a plurality of different door opening instructions according to the data information of a plurality of access control cards acquired by the acquiring module;

[0035] The sending module sends the door opening command to the chip register for storage and makes it effective.

[0036] Optionally, before activating the card switching interaction mode, the terminal device is routed to the host card emulation mode;

[0037] The identification module includes a radio frequency field sensing module, which senses the distance between the terminal device and the access control device;

[0038] When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is less than or equal to the first distance, the identification module feeds back a first signal to the terminal device, the terminal device activates the host card simulation mode, and the chip register controls the automatic switching of multiple access control cards;

[0039] When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is greater than the first distance, the identification module feeds back a second signal to the terminal device, and the chip register controls to stop switching of multiple access control cards.

[0040] Optionally, when the NFC card reader reads data information of multiple access control cards stored in the terminal device, it also determines the first protocol according to the data information of the multiple access control cards read and the protocols supported by itself; wherein the first protocol includes the ISO14443.3 protocol.

[0041] Further optionally, in the card switching interaction mode, the host card simulation mode of the terminal device is activated, and the chip register controls the automatic switching of multiple access control cards, and also includes:

[0042] The terminal device interacts with the access control device and executes the first protocol, and the chip register starts to control the automatic switching of multiple access control cards.

[0043] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0044] The interactive system and interactive method between the terminal device and the access control device provided by the present disclosure, the terminal device includes a host card simulation mode, the chip register in the terminal device is configured to control the automatic switching of multiple access control cards based on the host card simulation mode, and the software program that controls the automatic switching of the access control cards, that is, controls the automatic switching of the data information of different access control cards, can be written into the chip register in advance, and the chip register controls the automatic switching of the data information of different access control cards, which can be understood as the chip register performing software action simulation under the control of the software program written therein, and completing the automatic switching operation of multiple access control cards when interacting with the access control device. When the multiple access control cards to be opened for access control are read and interacted, the data information of the access control cards is read by the reading module integrated in the NFC control chip included in the terminal device itself, and stored in the chip register included in the terminal device itself, which can realize offline operation, does not need to rely on the TSM server and SE chip, and can save the cost of managing access control cards. Furthermore, when switching multiple access control cards that have been enabled for access control, based on the host card simulation mode of the terminal device, the chip register of the terminal device can be used to simulate software actions to achieve automatic switching of different access control card information without manual intervention. The above-mentioned card switching logic operation is placed in the chip register of the terminal device for automatic switching of access control cards. There is no need for the participation of I2C and HAL libraries, which has more advantages in speed and user experience. Even if multiple different access control cards are switched, the user will not have obvious perception, allowing the user to quickly open the door, which is conducive to improving card swiping efficiency and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0047] Figure 1 It is a structural block diagram of an interactive system between a terminal device and a door access control device provided by an embodiment of the present invention;

[0048] Figure 2 yes Figure 1 The interactive relationship diagram between the terminal device and the access card;

[0049] Figure 3 is another structural block diagram of the interactive system between the terminal device and the access control device provided by the embodiment of the present invention;

[0050] Figure 4is another structural block diagram of the interactive system between the terminal device and the access control device provided by the embodiment of the present invention;

[0051] Figure 5 This is a flowchart of a method for interacting between a terminal device and a door access control device provided by an embodiment of the present invention;

[0052] Figure 6 It is a timing diagram of the interaction method between the terminal device and the access control device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0055] Existing access card technology is usually based on hardware such as TSM servers and built-in security chips (eSE) in devices. This hardware-based card simulation uses the security elements inside the device (such as SIM cards, embedded security chips, etc.) to simulate NFC cards, providing higher security. The specific process is to use NFC to read the access card information, upload the access card information to the TSM server, and use the SE key stored in the TSM server to write the access card information data to the SE chip of the device, so that when NFC cards are swiped, they can imitate the information of the access card including the encrypted area as much as possible. However, the disadvantage of this solution is that it will increase hardware costs, and it also requires high labor costs and TSM server rental costs.

[0056] There are also solutions in the prior art that implement access control card technology through software based on host card emulation (HCE). That is, the NFC software determines that the device automatically polls the saved UID (User Identification) when performing card emulation to complete the UID card switching. However, the disadvantage of this solution is that only one access control card can be set at present. For multiple UID cards, manual switching is required. Multiple UID access control cards cannot be automatically switched, resulting in a long switching time. In addition, this solution needs to receive information from the chip reporting data, exchange the UID data to the HAL (Hardware Abstraction Layer) library for the first time and then judge it, and then give the chip data through I2C (Inter-Integrated Circuit). The entire time delay will be relatively long, and the user experience is not good.

[0057] Based on the above problems, the present application proposes an interactive system and method between a terminal device and an access control device, which can automatically switch cards when swiping a card, allowing users to quickly open the door without manual intervention, and can also improve the efficiency of swiping cards, enhance the user experience, and save costs. The specific embodiments of the interactive system and method between a terminal device and an access control device proposed in the present application are described in detail as follows.

[0058] Please refer to Figure 1 and Figure 2 , Figure 1 is a structural block diagram of an interactive system between a terminal device and a door access control device provided by an embodiment of the present invention, Figure 2 yes Figure 1 In the diagram of the interaction relationship between the terminal device and the access control card, the present embodiment provides an interactive system 000 between a terminal device and an access control device, wherein the terminal device 10 has an NFC function;

[0059] The terminal device 10 includes an electrically connected reading module 101 and a chip register 102, wherein the reading module 101 is configured to read data information of a plurality of access control cards 30; the chip register 102 is configured to store data information of a plurality of access control cards 30;

[0060] The access control device 20 includes an NFC card reader 201, an identification module 202, and a controller 203;

[0061] The terminal device 10 includes a host card emulation mode (HCE, Host-based Card Emulation);

[0062] In the host card emulation mode, the chip register 102 is configured to control the automatic switching of data information of multiple access control cards 30;

[0063] The NFC card reader 201 is configured to read data information of multiple access control cards 30 stored in the terminal device 10;

[0064] The identification module 202 is electrically connected to the NFC card reader 201 and is configured to identify whether the data information of the access control card 30 read by the NFC card reader 201 is legal;

[0065] The controller 203 is electrically connected to the identification module 202 and is configured to control the access control device 20 to open or close a door.

[0066] Specifically, in the interactive system 000 between the terminal device and the access control device provided in this embodiment, the terminal device 10 has an NFC function, that is, the terminal device can be equipped with an electronic device with an NFC chip in time, and the terminal device 10 can read the card data of the access control card and store the card data. The interaction between the terminal device 10 and the access control device 20 can be a card reading interaction, that is, the data information of different access control cards to be stored is read through the card reading function of the terminal device 10, and the data information is stored. Different access control cards can include at least three types of access control cards, such as company access control, community gate access control, elevator card access control and other scenes that are more commonly used in existing actual scenes. Under normal circumstances, at least three access control cards (company access control card, community gate access control card, elevator access control card) can meet daily use. The interaction between the terminal device 10 and the access control device 20 can also be a card cutting interaction, that is, the data information of different access control cards to be stored is read through the card reading function of the terminal device 10, and after the data information is stored, when the access control device 20 swipes the card to enter, the terminal device 10 automatically cuts the card, and the access control device 20 determines whether the read access control card is legal, whether to open the door, and other interactive operations.

[0067] In the interactive system 000 between the terminal device and the access control device provided in this embodiment, the terminal device 10 includes an electrically connected reading module 101 and a chip register 102. The reading module 101 is configured to read the data information of multiple access control cards 30 to be opened for access control. Optionally, the data information of the access control cards 30 may include information such as UID (User Identification), SAK (Select Acknowledge), and ATQA (Answer To Request). The chip register 102 is configured to store the data information of multiple access control cards 30. In this embodiment, the data information of the access control cards is read by the reading module 101 and stored in the chip register 102 included in the terminal device 10 itself, so that offline operation can be realized without relying on the TSM server and SE chip, which can save the cost of managing access control cards.

[0068] It can be understood that the reading module 101 and the chip register 102 in this embodiment can be integrated into the NFC chip of the terminal device. Generally, terminal devices with NFC function include an NFC control chip. The reading module 101 and the chip register 102 included in the terminal device 10 itself can be used to realize the reading and storage of the access card 30 data information without increasing other hardware costs.

[0069] The access control device 20 of this embodiment includes an NFC card reader 201, an identification module 202, and a controller 203; the NFC card reader 201 is configured to read the data information of multiple access control cards 30 stored in the terminal device 10 when the terminal device 10 needs to interact with the access control device 20, and the identification module 202 is electrically connected to the NFC card reader 201. When the NFC card reader 201 continuously reads the data information of multiple access control cards 30 stored in the terminal device 10, the identification module 202 identifies whether the data information of the access control card 30 read by the NFC card reader 201 is legal, that is, whether it complies with the door opening instruction of the access control device 20. The controller 203 is electrically connected to the identification module 202 and is configured to control the access control device 20 to open or close the door, that is, when the identification module 202 identifies and determines that the data information of the access control card 30 read by the NFC card reader 201 is legal, the controller 203 controls the access control device 20 to open the door, otherwise, the access control device 20 is kept in the closed state.

[0070] The terminal device 10 of this embodiment includes a host card simulation mode, namely, an HCE mode. The chip register 102 in the terminal device 10 is configured to control the automatic switching of multiple access control cards 30 based on the host card simulation mode. The software program that controls the automatic switching of the access control cards 30, namely, controls the automatic switching of data information of different access control cards 30, can be written into the chip register 102 in advance. The chip register 102 controls the automatic switching of data information of different access control cards 30. It can be understood that the chip register 102 performs software action simulation under the control of the software program written therein, and completes the automatic switching operation of multiple access control cards 30 when interacting with the access control device 20.

[0071] The interactive system 000 of the terminal device and the access control device of this embodiment, when performing card reading interaction on multiple access control cards to be activated for access control, reads the data information of the access control card through the reading module 101 integrated in the NFC control chip included in the terminal device 10 itself and stores it in the chip register 102 included in the terminal device 10 itself, which can realize offline operation, does not need to rely on the TSM server and the SE chip, can save the cost of managing the access control card, and when performing card switching interaction on multiple access control cards that have been activated for access control, based on the host card simulation mode of the terminal device 10, the chip register 102 of the terminal device 10 can be used to simulate software actions to realize automatic switching of different access control card information without manual intervention, and the above-mentioned card switching logic operation is placed in the chip register 102 of the terminal device 10 for automatic switching of access control cards, without the participation of I2C and HAL library, which has more advantages in speed and user experience, even if multiple different access control cards are switched, the user has no obvious perception, so that the user can complete the quick door opening, which is conducive to improving the card swiping efficiency and enhancing the user experience.

[0072] It should be noted that, since the interactive system 000 between the terminal device and the access control device of this embodiment does not need to rely on the SE chip for card reading interaction and card cutting interaction, the user can realize automatic switching of multiple access control cards by only using the characteristics of HCE in NFC devices without ESE hardware, which has a wider scope of application and lower hardware requirements for NFC devices.

[0073] In some optional embodiments, please refer to Figure 2 and Figure 3 , Figure 3 It is another structural block diagram of the interactive system between the terminal device and the access control device provided in an embodiment of the present invention. In this embodiment, the reading module 101 of the terminal device 10 includes an acquisition module 1011, a generation module 1012, and a sending module 1013;

[0074] The acquisition module 1011 is configured to acquire data information of a plurality of access control cards 30 to be stored;

[0075] A generating module 1012 is configured to generate a plurality of different door opening instructions according to the data information of the plurality of access control cards 30 acquired by the acquiring module;

[0076] The sending module 1013 is configured to send the door opening instruction to the chip register 102 for storage and to make it effective.

[0077] This embodiment explains that the reading module 101 of the terminal device 10 reads the data information of multiple access control cards 30, which can be specifically that the acquisition module 1011 respectively acquires the data information of multiple access control cards 30 to be opened for access control, such as acquiring the first data information of the company access control card, acquiring the second data information of the community gate access control card, and acquiring the third data information of the elevator access control card; the generation module 1012 generates multiple different door opening instructions according to the data information of the multiple access control cards 30 acquired by the acquisition module 1011, such as generating the first door opening instruction according to the first data information of the company access control card, generating the second door opening instruction according to the second data information of the community gate access control card, and generating the third door opening instruction according to the third data information of the elevator access control card. Finally, the different door opening instructions corresponding to different access control cards are sent to the chip register 102 for storage and take effect in the chip register 102 through the sending module 1013, which is convenient for subsequent card cutting operations. This embodiment directly obtains the data information corresponding to the access card to generate different door opening instructions, and stores them in the chip register 102 of the NFC chip of the terminal device 10, thereby realizing the activation of the access card and further reducing the cost of managing the access card.

[0078] In some optional embodiments, please refer to Figure 2 and Figure 4 , Figure 4 It is another structural block diagram of the interactive system between the terminal device and the access control device provided in an embodiment of the present invention. In this embodiment, the identification module 202 of the access control device 20 includes a radio frequency field sensing module 2021, and the radio frequency field sensing module 2021 is configured to sense the terminal device 10; specifically, the radio frequency field sensing module 2021 is used to sense the distance between the terminal device 10 and the access control device 20, that is, to sense whether the terminal device 10 enters the radio frequency field range of the access control device 20.

[0079] When the NFC card reader 201 reads the data information of the multiple access control cards 30 stored in the terminal device 10, it also determines the first protocol according to the read data information of the multiple access control cards 30 and the protocols supported by itself; the first protocol includes the ISO14443.3 protocol.

[0080] In specific operation, when the RF field sensing module 2021 senses that the distance between the terminal device 10 and the access control device 20 is less than or equal to the first distance, that is, the terminal device 10 enters the RF field range of the access control device 20, optionally, when the terminal device 10 is close to the NFC card reader 201 of the access control device 20, there will be a Field On mark, indicating that the terminal device 10 has entered the RF field range of the access control device 20, and the NFC card reader 201 and the chip register 102 can start the card switching interaction. The identification module 202 feeds back the first signal to the terminal device 10, the terminal device 10 activates the host card simulation mode, and the chip register 102 controls the automatic switching of multiple access control cards, that is, the data information of multiple access control cards is automatically switched continuously. When the NFC card reader 201 interacts with the chip register 102, and the chip register 102 executes the first protocol, that is, the ISO14443.3 protocol, the NFC card reader 201 reads the data information of the access control card 30 being switched stored in the chip register 102 of the terminal device 10. When the chip register 102 controls the automatic switching of multiple access control cards, the identification module 202 of the access control device 10 identifies that the data information of the access control card 30 read by the NFC card reader 201 is legal, and the identification module 202 feeds back to the controller 203, and the controller 203 of the access control device 20 controls the access control device 20 to open the door.

[0081] When the RF field sensing module 2021 senses that the distance between the terminal device 10 and the access control device 20 is greater than the first distance, that is, the terminal device 10 leaves the RF field range of the access control device 20, optionally, the terminal device 10 will have a Field Off mark when the NFC card reader 201 of the access control device 20 is pulled open, indicating that the terminal device 10 has left the RF field range of the access control device 20. At this time, the identification module 202 feeds back a second signal to the terminal device 10, and the chip register 102 controls the stop of the switching of multiple access control cards 30. In this way, the user completes the operation of swiping the card to enter the door.

[0082] It is understandable that since the NFC card reader 201 of the existing access control device 20 does not perform more data interaction with the access control card when reading the card, the terminal device 10 with NFC function cannot determine whether the access control card information has been read and whether the read data information is legal. The judgment logic of whether to open the door is also processed by the access control device 20. Therefore, when the chip register 102 of this embodiment controls the automatic switching of multiple access control cards 30, the automatic switching of the access control card 30 can only be performed after the ISO14443.3 protocol interaction is completed, and the data information of other access control cards is polled until the correct access control card 30 information is polled. The correct access control card can open the access control device 20.

[0083] It should be noted that the first distance in this embodiment can be a preset value. It is obtained through experiments that when the distance between the terminal device 10 and the access control device 20 is less than or equal to the first distance, it means that the terminal device 10 enters the radio frequency field range of the access control device 20; when the distance between the terminal device 10 and the access control device 20 is greater than the first distance, it means that the terminal device 10 leaves the radio frequency field range of the access control device 20.

[0084] In some optional embodiments, please refer to Figure 1-Figure 4 , Figure 5 , Figure 5 It is a flowchart of the interaction method between the terminal device and the access control device provided by an embodiment of the present invention. The interaction method between the terminal device and the access control device provided by this embodiment includes a card reading interaction mode and a card cutting interaction mode. The card reading interaction mode is executed before the card cutting interaction mode.

[0085] S10: In the card reading interaction mode, the reading module 101 of the terminal device 10 reads data information of multiple access control cards 30;

[0086] S11: The chip register 102 of the terminal device 10 stores data information of multiple access control cards 30; the data information includes any one or more of a user identity identifier UID, a selection answer SAK, and a request answer ATQA;

[0087] S12: In the card switching interaction mode, the host card simulation mode of the terminal device 10 is activated, and the chip register 102 controls the automatic switching of multiple access control cards 30;

[0088] S13: The NFC card reader 201 of the access control device 20 reads data information of multiple access control cards 30 stored in the terminal device 10;

[0089] S14: The identification module 202 of the access control device 20 identifies whether the data information of the access control card 30 read by the NFC card reader 201 is legal;

[0090] S15: The controller 203 of the access control device 20 controls the access control device 20 to open the door;

[0091] S16: The chip register 102 controls to stop switching of the plurality of access control cards 30 .

[0092] The interactive method between the terminal device and the access control device provided in this embodiment can be used in the interactive system between the terminal device and the access control device in the above embodiment to realize card reading interaction and card cutting interaction, that is, the interactive method includes a card reading interaction mode and a card cutting interaction mode, and the card reading interaction mode is executed before the card cutting interaction mode. First, in the card reading interaction mode, the reading module 101 of the terminal device 10 reads the data information of multiple access control cards 30 to be opened for access control. Optionally, the data information of the access control card 30 may include information such as UID (User Identification), SAK (Select Acknowledge), and ATQA (Answer To Request). The chip register 102 stores the data information of multiple access control cards 30. In this embodiment, the data information of the access control card is read by the reading module 101 and stored in the chip register 102 included in the terminal device 10 itself, so that offline operation can be realized, without relying on the TSM server and SE chip, and the cost of managing the access control card can be saved.

[0093] After completing the reading and storage of different access control card data information in the card reading interaction mode, when the terminal device 10 and the access control device 20 need to interact and swipe the card, the card switching interaction mode is entered. In the card switching interaction mode, the NFC card reader 201 reads the data information of multiple access control cards 30 stored in the terminal device 10 when the terminal device 10 interacts with the access control device 20; when the NFC card reader 201 continuously reads the data information of multiple access control cards 30 stored in the terminal device 10, the identification module 202 identifies whether the data information of the access control card 30 read by the NFC card reader 201 is legal, that is, whether it complies with the door opening instruction of the access control device 20. The controller 203 controls the access control device 20 to open or close the door, that is, when the identification module 202 identifies and determines that the data information of the access control card 30 read by the NFC card reader 201 is legal, the controller 203 controls the access control device 20 to open the door, otherwise the access control device 20 is kept in the closed state.

[0094] The interaction method between the terminal device and the access control device provided in this embodiment, when performing card reading interaction for multiple access control cards to be opened for access control, the data information of the access control card is read by the reading module 101 integrated in the NFC control chip included in the terminal device 10 itself and stored in the chip register 102 included in the terminal device 10 itself, which can realize offline operation, does not need to rely on the TSM server and the SE chip, can save the cost of managing the access control card, and when performing card switching interaction for multiple access control cards that have opened for access control, based on the host card simulation mode of the terminal device 10, the chip register 102 of the terminal device 10 can be used to simulate software actions to realize automatic switching of different access control card information without manual intervention, and the above-mentioned card switching logic operation is placed in the chip register 102 of the terminal device 10 for automatic switching of access control cards, without the participation of I2C and HAL library, which has more advantages in speed and user experience, even if multiple different access control cards are switched, the user has no obvious perception, so that the user can complete the door opening quickly, which is conducive to improving the card swiping efficiency and enhancing the user experience.

[0095] In some optional embodiments, please refer to Figure 1-Figure 5 , Figure 6 , Figure 6It is a timing diagram of the interaction method between the terminal device and the access control device provided in an embodiment of the present invention. In this embodiment, the reading module 101 of the terminal device 10 includes an acquisition module 1011, a generation module 1012, and a sending module 1013; in the card reading interaction mode, the reading module 101 of the terminal device 10 reads the data information of multiple access control cards, and also includes: the acquisition module 1011 acquires the data information of multiple access control cards 30 to be stored; the generation module 1012 generates multiple different door opening instructions according to the data information of multiple access control cards 30 acquired by the acquisition module 1011; the sending module 1013 sends the door opening instruction to the chip register 102 for storage and makes it effective. The acquisition module 1011 respectively acquires data information of multiple access control cards 30 to be opened for access control, such as the first data information of the company access control card, the second data information of the community gate access control card, and the third data information of the elevator access control card; the generation module 1012 generates multiple different door opening instructions according to the data information of the multiple access control cards 30 acquired by the acquisition module 1011, such as generating a first door opening instruction according to the first data information of the company access control card, generating a second door opening instruction according to the second data information of the community gate access control card, and generating a third door opening instruction according to the third data information of the elevator access control card. Finally, the different door opening instructions corresponding to different access control cards are sent to the chip register 102 for storage and take effect in the chip register 102 through the sending module 1013, which is convenient for subsequent card cutting operations. In this embodiment, different door opening instructions are generated after directly acquiring the data information corresponding to the access control card, and stored in the chip register 102 of the NFC chip of the terminal device 10, so as to realize the opening of the access control card, thereby reducing the cost of managing the access control card.

[0096] Optionally, before activating the card-cutting interaction mode, the terminal device 10 is routed to the host card emulation mode (HCE); the identification module 202 includes a radio frequency field sensing module 2021, and the radio frequency field sensing module 2021 senses the distance between the terminal device 10 and the access control device 20; the radio frequency field sensing module 2021 is configured to sense the terminal device 10; specifically, the radio frequency field sensing module 2021 is used to sense the distance between the terminal device 10 and the access control device 20, that is, to sense whether the terminal device 10 enters the radio frequency field range of the access control device 20. When the NFC card reader 201 reads the data information of multiple access control cards 30 stored in the terminal device 10, it also determines the first protocol according to the data information of the multiple access control cards 30 read and the protocol supported by itself; the first protocol includes the ISO14443.3 protocol.

[0097] When the RF field sensing module 2021 senses that the distance between the terminal device 10 and the access control device 20 is less than or equal to the first distance, that is, the terminal device 10 enters the RF field range of the access control device 20, optionally, the terminal device 10 will have a Field On mark when it is close to the NFC card reader 201 of the access control device 20, indicating that the terminal device 10 has entered the RF field range of the access control device 20, and the NFC card reader 201 and the chip register 102 can start the card switching interaction. The identification module 202 feeds back the first signal to the terminal device 10, the terminal device 10 activates the host card simulation mode, and the chip register 102 controls the automatic switching of multiple access control cards, that is, the data information of multiple access control cards is automatically switched continuously. When the NFC card reader 201 interacts with the chip register 102, and the chip register 102 executes the first protocol, that is, the ISO14443.3 protocol, the NFC card reader 201 starts to read the data information of the access control card 30 being switched stored in the chip register 102 of the terminal device 10. When the chip register 102 controls the automatic switching of multiple access control cards, the identification module 202 of the access control device 10 identifies that the data information of the access control card 30 read by the NFC card reader 201 is legal, and the identification module 202 feeds back to the controller 203, and the controller 203 of the access control device 20 controls the access control device 20 to open the door.

[0098] When the RF field sensing module 2021 senses that the distance between the terminal device 10 and the access control device 20 is greater than the first distance, that is, the terminal device 10 leaves the RF field range of the access control device 20, optionally, the terminal device 10 will have a Field Off mark when the NFC card reader 201 of the access control device 20 is pulled open, indicating that the terminal device 10 has left the RF field range of the access control device 20. At this time, the identification module 202 feeds back a second signal to the terminal device 10, and the chip register 102 controls the stop of the switching of multiple access control cards 30. In this way, the user completes the operation of swiping the card to enter the door.

[0099] like Figure 6 As shown, the interaction method between the terminal device 10 and the access control device 20 provided in this embodiment includes: firstly, entering the card reading interaction mode, the terminal device 10 with NFC function reads the UID data information of different access control cards 30 to be opened for access control (such as three different access control cards, i.e., company access control card, community access control card, and elevator access control card) through the reading module 101 integrated in the NFC chip of the terminal device 10, and stores the UID data information, which can be stored in the chip register 102 of the terminal device 10. The reading module 101 reads the data information of different access control cards 30 to be opened for access control, and can generate different door opening instructions and send them to the chip register 102 for storage.

[0100] Then, the card switching interaction mode is entered. When the terminal device 10 interacts with the access control device 20, when the terminal device 10 is close to the card reader 201 of the access control device 20, the RF field sensing module 2021 of the access control device 20 senses that the distance between the terminal device 10 and the access control device 20 is less than or equal to the first distance, that is, the terminal device 10 enters the RF field range of the access control device 20. At this time, the terminal device 10 will have a Field On mark when it is close to the NFC card reader 201, indicating that the terminal device 10 has entered the RF field range of the access control device 20, and the NFC card reader 201 and the chip register 102 can start the card switching interaction. The identification module 202 feeds back the first signal to the terminal device 10, the terminal device 10 activates the host card simulation mode, and the chip register 102 controls the automatic switching of multiple access control cards, that is, the data information of multiple access control cards is automatically switched continuously. When the NFC card reader 201 interacts with the chip register 102, and the chip register 102 executes the first protocol, i.e., the ISO14443.3 protocol, the NFC card reader 201 reads the data information of the access control card 30 being switched stored in the chip register 102 of the terminal device 10. During the process of the chip register 102 controlling the automatic switching of multiple access control cards, the identification module 202 of the access control device 10 identifies that the data information of the access control card 30 read by the NFC card reader 201 is legal, and the identification module 202 feeds back to the controller 203, and the controller 203 of the access control device 20 controls the access control device 20 to open the door.

[0101] After the access control device 20 opens the door, the user leaves the door with the terminal device 10, and the RF field sensing module 2021 senses that the distance between the terminal device 10 and the access control device 20 is greater than the first distance, that is, the terminal device 10 leaves the RF field range of the access control device 20. At this time, the terminal device 10 will have a Field Off mark when the NFC card reader 201 of the access control device 20 is pulled open, indicating that the terminal device 10 has left the RF field range of the access control device 20. At this time, the identification module 202 feeds back a second signal to the terminal device 10, and the chip register 102 controls the stop of the switching of multiple access control cards 30. In this way, the user completes the operation of swiping the card to enter the door.

[0102] The interaction method between the terminal device and the access control device of this embodiment does not need to rely on the TSM server and the SE chip, which can save the cost of managing access control cards. In addition, when switching multiple access control cards that have been enabled for access control, based on the host card simulation mode of the terminal device 10, the chip register 102 of the terminal device 10 can be used to simulate software actions to achieve automatic switching of different access control card information without manual intervention. The logical operation of switching the card is placed in the chip register 102 of the terminal device 10 to automatically switch the access control card, which has more advantages in speed and user experience. Even if multiple different access control cards are switched, the user has no obvious perception, which can better improve the card swiping efficiency and enhance the user experience.

[0103] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0104] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An interactive system between a terminal device and an access control device, characterized in that: The terminal device has an NFC function; The terminal device comprises an electrically connected reading module and a chip register, wherein the reading module is configured to read data information of a plurality of access control cards; and the chip register is configured to store data information of a plurality of access control cards; The access control device includes an NFC card reader, an identification module, and a controller; The terminal device includes a host card emulation mode; In the host card emulation mode, the chip register is configured to control the automatic switching of the plurality of access control cards; The NFC card reader is configured to read data information of the plurality of access control cards stored in the terminal device; The identification module is electrically connected to the NFC card reader and is configured to identify whether the data information of the access control card read by the NFC card reader is legal; The controller is electrically connected to the identification module and is configured to control the access control device to open or close a door.

2. The interactive system between the terminal device and the access control device according to claim 1, characterized in that: The reading module includes an acquisition module, a generation module, and a sending module; The acquisition module is configured to acquire data information of a plurality of access control cards to be stored; The generating module is configured to generate a plurality of different door opening instructions according to the data information of the plurality of access control cards acquired by the acquiring module; The sending module is configured to send the door opening instruction to the chip register for storage and make it effective.

3. The interactive system between a terminal device and a door access control device according to claim 1, characterized in that: The data information includes any one or more of a user identity identifier UID, a selection answer SAK, and a request answer ATQA.

4. The interactive system between a terminal device and a door access control device according to claim 1, characterized in that: The identification module includes a radio frequency field sensing module, and the radio frequency field sensing module is configured to sense the terminal device; When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is less than or equal to the first distance, the identification module feeds back a first signal to the terminal device, the terminal device activates the host card simulation mode, and the chip register controls the automatic switching of the plurality of access control cards; When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is greater than the first distance, the identification module feeds back a second signal to the terminal device, and the chip register controls to stop switching of the plurality of access control cards.

5. The interactive system between a terminal device and a door access control device according to claim 1, characterized in that: When the NFC card reader reads the data information of the plurality of access control cards stored in the terminal device, the NFC card reader also determines the first protocol according to the data information of the plurality of access control cards read and the protocol supported by the NFC card reader; The first protocol includes the ISO14443.3 protocol.

6. A method for interaction between a terminal device and a door access control device, characterized in that: The interaction method includes a card reading interaction mode and a card cutting interaction mode, wherein the card reading interaction mode is executed before the card cutting interaction mode; In the card reading interaction mode, the reading module of the terminal device reads data information of multiple access control cards, and the chip register of the terminal device stores data information of multiple access control cards; the data information includes any one or more of the user identity identifier UID, the selection answer SAK and the request answer ATQA; In the card switching interaction mode, the host card simulation mode of the terminal device is activated, and the chip register controls the automatic switching of the plurality of access control cards; The NFC card reader of the access control device reads the data information of the plurality of access control cards stored in the terminal device; The identification module of the access control device identifies whether the data information of the access control card read by the NFC card reader is legal; The controller of the access control device controls the access control device to open the door; The chip register controls and stops the switching of the plurality of access control cards.

7. The method for interaction between a terminal device and a door access control device according to claim 6, characterized in that: The reading module includes an acquisition module, a generation module, and a sending module; In the card reading interaction mode, the reading module of the terminal device reads data information of multiple access control cards, and also includes: The acquisition module acquires data information of a plurality of access control cards to be stored; The generating module generates a plurality of different door opening instructions according to the data information of the plurality of access control cards acquired by the acquiring module; The sending module sends the door opening instruction to the chip register for storage and makes it effective.

8. The method for interaction between a terminal device and a door access control device according to claim 6, characterized in that: Before activating the card switching interaction mode, the terminal device is routed to the host card emulation mode; The identification module includes a radio frequency field sensing module, and the radio frequency field sensing module senses the distance between the terminal device and the access control device; When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is less than or equal to the first distance, the identification module feeds back a first signal to the terminal device, the terminal device activates the host card simulation mode, and the chip register controls the automatic switching of the plurality of access control cards; When the radio frequency field sensing module senses that the distance between the terminal device and the access control device is greater than the first distance, the identification module feeds back a second signal to the terminal device, and the chip register controls to stop switching of the plurality of access control cards.

9. The method for interaction between a terminal device and a door access control device according to claim 6, characterized in that: When the NFC card reader reads the data information of the multiple access control cards stored in the terminal device, it also determines the first protocol based on the read data information of the multiple access control cards and the protocols supported by itself; wherein the first protocol includes the ISO14443.3 protocol.

10. The method for interaction between a terminal device and a door access control device according to claim 9, characterized in that: In the card switching interaction mode, the host card simulation mode of the terminal device is activated, and the chip register controls the automatic switching of the plurality of access control cards, further comprising: The terminal device interacts with the access control device to execute the first protocol, and the chip register starts to control the automatic switching of the plurality of access control cards.