Multi-card simultaneous activation method and device, terminal and storage medium
By creating a synchronized card set in a wearable device, using the integration of non-connected parameters and card types, the complexity problem of users manually selecting and activate cards in multiple virtual NFC cards is solved, and card swiping efficiency is improved.
Patent Information
- Application Number
- CN202311284810.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
In the case where multiple virtual NFC cards exist in the wearable device, the user needs to manually select and activate the target card, which is complex and inefficient.
By obtaining the simultaneous activation logo of the user account, we can determine whether there is a card group that supports simultaneous activation, and obtain the fused non-connection parameters and card types to create a synchronous card group to achieve simultaneous activation of multiple cards.
It simplifies the card swiping operation of users on wearable devices and improves card swiping efficiency, so users do not need to manually select cards or switch cards.
Smart Images

Figure CN119729426A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, terminal and storage medium for activating multiple cards simultaneously. Background Art
[0002] With the development of computer technology, Near Field Communication (NFC) is increasingly used in wearable devices such as smart watches and smart bracelets. Through the NFC function, a virtual NFC card can be recorded in a wearable device to simulate physical cards such as access cards and bus cards. Therefore, when there are multiple virtual NFC cards in a wearable device, how to determine the default virtual NFC card is a technical problem that needs to be solved.
[0003] In the related art, when a user uses a wearable device to swipe a card, the user first selects a target card to be used from multiple virtual NFC cards recorded in the wearable device, and the wearable device activates the target card. Then, the user swipes the card with the activated target card.
[0004] However, with the above method, before using the wearable device to swipe the card, the user needs to flip through multiple virtual NFC cards from the wearable device and select the target card to be used. The operation is relatively complicated and cumbersome, and the efficiency of swiping the card is low. Summary of the invention
[0005] The embodiments of the present application provide a method, device, terminal and storage medium for activating multiple cards simultaneously, which can improve the efficiency of users swiping cards using wearable devices. The technical solution is as follows:
[0006] According to one aspect of an embodiment of the present application, a method for activating multiple cards simultaneously is provided, which is applied to a first terminal, and the method includes:
[0007] Acquire a multi-card simultaneous activation flag of the current user account, where the multi-card simultaneous activation flag is used to indicate whether there is a first card group that is simultaneously activated on the second terminal for the user account, where the first card group includes multiple virtual near field communication (NFC) cards that support simultaneous activation;
[0008] In the case that the user account has a first card group activated at the same time on the second terminal, acquiring a fused contactless parameter corresponding to the first card group activated at the same time and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to simultaneously activate multiple virtual NFC cards in the first card group;
[0009] Based on the fused contactless parameter and the type of each virtual NFC card in the first card group, a second card group activated simultaneously is created on the first terminal, wherein the second card group activated simultaneously includes at least one virtual NFC card of the same type as that in the first card group.
[0010] According to another aspect of an embodiment of the present application, a device for activating multiple cards simultaneously is provided, the device comprising:
[0011] A first acquisition module, configured to acquire a multi-card simultaneous activation flag of a current user account, wherein the multi-card simultaneous activation flag is used to indicate whether there is a first card group that is simultaneously activated on the second terminal for the user account, wherein the first card group includes multiple virtual near field communication (NFC) cards that support simultaneous activation;
[0012] a second acquisition module, configured to, when there is a first card group activated simultaneously on the second terminal in the user account, acquire a fused contactless parameter corresponding to the first card group activated simultaneously and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to simultaneously activate multiple virtual NFC cards in the first card group;
[0013] The creation module is used to create a second card group that is activated simultaneously on the first terminal based on the fused contactless parameter and the type of each virtual NFC card in the first card group, wherein the second card group that is activated simultaneously includes at least one virtual NFC card of the same type as that in the first card group.
[0014] In some embodiments, the second acquisition module is used to display a first prompt message when there is a first card group activated simultaneously on the second terminal of the user account, and the first prompt message is used to prompt whether to create a second card group activated simultaneously on the second terminal; in response to a confirmation operation on the first prompt message, obtain the fused contactless parameters corresponding to the first card group activated simultaneously and the type of each virtual NFC card contained in the first card group.
[0015] In some embodiments, the apparatus further comprises:
[0016] The display module is used to display a card entry interface when there is no first card group activated simultaneously on the second terminal for the user account, or in response to a rejection operation of the first prompt information, wherein the card entry interface is used to enter a virtual NFC card in the first terminal.
[0017] In some embodiments, the display module is also used to display the synchronization control of each first card on the card entry interface when there is no first card group activated simultaneously on the second terminal for the user account and there is at least one first card in the user account in the second terminal, and the first card is a virtual NFC card that does not support simultaneous activation with other first cards; in response to a triggering operation on the synchronization control of any first card, the first card is added to the first terminal.
[0018] In some embodiments, the creation module is used to determine whether there is a second card in the first card group based on the type of each virtual NFC card in the first card group, and the second card does not support simultaneous existence in multiple terminals; when there is at least one second card in the first card group, display a second prompt message, and the second prompt message is used to prompt the creation of a new second card in the first terminal; in response to a confirmation operation on the second prompt message, display a card creation interface, and the card creation interface is used to create a second card in the first terminal; in response to successfully creating the second card in the card creation interface, create a second card group that is activated simultaneously in the first terminal, and the second card group that is activated simultaneously includes the second card and multiple third cards in the first card group, and the third card supports simultaneous existence in multiple terminals; based on the contactless parameters of the second card, update the fused contactless parameters.
[0019] In some embodiments, the creation module is further used to create a second card group that is activated simultaneously on the first terminal in response to a rejection operation on the second prompt information, and the second card group that is activated simultaneously includes multiple third cards in the first card group.
[0020] In some embodiments, the creation module is also used to create a second card group that is activated simultaneously on the first terminal based on the fused contactless parameters when the second card does not exist in the first card group, and the second card group that is activated simultaneously includes virtual NFC cards of the same type as in the first card group.
[0021] In some embodiments, the apparatus further comprises:
[0022] a first receiving module, configured to receive a synchronization activation instruction from the second terminal, the synchronization activation instruction carrying an identifier of a target first card, the synchronization activation instruction being an instruction sent when the second terminal enters a target geographical area, the target geographical area being a geographical area associated with a geographical fence feature of the target first card, the second terminal using the target first card by default within the target geographical area, and the first terminal and the second terminal being located in the same geographical area;
[0023] A first determining module, configured to determine a target card group from at least one simultaneously activated card group of the first terminal based on the identifier of the target first card, the target card group including the target first card;
[0024] The activation module is used to activate the multiple virtual NFC cards in the target card group and adjust the first terminal to use the multiple virtual NFC cards in the target card group by default in the target geographical area.
[0025] In some embodiments, the apparatus further comprises:
[0026] A second receiving module is used to receive a card adding instruction from the second terminal, the card adding instruction carries the card information of the target card, and the card adding instruction is an instruction sent by the second terminal when the user account successfully adds the target card in the second terminal;
[0027] An adding module, configured to add the target card in the first terminal based on the card information of the target card;
[0028] The second determining module is configured to determine, in response to the target card being successfully added at the first terminal, a simultaneously activated card group in which the target card is located based on the card information of the target card.
[0029] According to another aspect of an embodiment of the present application, a terminal is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the method for simultaneously activating multiple cards as described in the above aspect.
[0030] According to another aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the method for simultaneously activating multiple cards described in the above aspect.
[0031] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for simultaneously activating multiple cards as described in the above aspect.
[0032] According to another aspect of an embodiment of the present application, a computer program product is provided. The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for simultaneously activating multiple cards described in the above aspect.
[0033] The embodiment of the present application provides a method for activating multiple cards simultaneously. After successfully logging into a user account on a wearable device, the wearable device determines whether there is a card group activated simultaneously on the mobile phone that logs into the user account based on the user account. In the case that there is a card group activated simultaneously in the mobile phone, the wearable device obtains the fused contactless parameters of the card group and the types of multiple virtual NFC cards in the card group from the mobile phone, and creates a card group activated simultaneously in the wearable device based on the above information. Using the above method, the card group activated simultaneously in the mobile phone can be synchronized to the wearable device logged in with the same user account, thereby realizing the card activation strategy shared by the wearable device and the mobile phone. Therefore, the user can swipe the card through multiple virtual NFC cards in the card group activated simultaneously in the wearable device, without the user manually selecting the card or manually switching the card in the wearable device, thereby improving the efficiency of the user swiping the card using the wearable device. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0035] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0036] Figure 2 is a flow chart of a method for activating multiple cards simultaneously provided in an embodiment of the present application;
[0037] Figure 3 is a flow chart of another method for activating multiple cards simultaneously provided by an embodiment of the present application;
[0038] Figure 4 is a schematic diagram of a first prompt information provided in an embodiment of the present application;
[0039] Figure 5 is a flow chart of creating a second card provided by an embodiment of the present application;
[0040] Figure 6 is a schematic diagram of a card entry interface provided in an embodiment of the present application;
[0041] Figure 7 is a schematic diagram of another card entry interface provided in an embodiment of the present application;
[0042] Figure 8 This is a flow chart of a synchronous virtual NFC card provided by an embodiment of the present application;
[0043] Fig. 9 is a schematic diagram of activating a target first card provided in an embodiment of the present application;
[0044] Fig.10 is a schematic diagram of a data interaction provided in an embodiment of the present application;
[0045] Fig.11 It is a structural schematic diagram of a device for activating multiple cards simultaneously provided in an embodiment of the present application;
[0046] Fig.12 It is a structural schematic diagram of another device for activating multiple cards simultaneously provided in an embodiment of the present application;
[0047] Fig.13 It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0049] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0050] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the virtual NFC card and geo-fencing features involved in this application are all obtained with full authorization.
[0051] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 The implementation environment includes a first terminal 101, a second terminal 102 and a server 103. The first terminal 101 and the second terminal 102 can be directly or indirectly connected to the server 103 through wired or wireless communication.
[0052] Optionally, the first terminal 101 may be a wearable device such as a smart watch, smart bracelet, smart glasses, and smart helmet that supports NFC (Near Field Communication) function. The second terminal 102 may be a variety of mobile devices such as a mobile phone, a tablet computer, and a laptop computer that supports NFC function. Data can be transmitted between the first terminal 101 and the second terminal 102 through wired or wireless communication. For example, after the first terminal 101 establishes a Bluetooth communication connection with the second terminal 102, the second terminal 102 sends the relevant data of the recorded virtual NFC card, such as the card name, card type, etc., to the first terminal 101. Accordingly, the first terminal 101 can enter multiple virtual NFC cards in the first terminal 101 according to the received data, thereby realizing the copying of the relevant data of the virtual NFC card in the second terminal 102 to the first terminal 101.
[0053] In some embodiments, the first terminal 101 and the second terminal 102 can also achieve data communication through the server 103. Accordingly, the second terminal 102 sends the relevant data of the virtual NFC card to the server 103, and the first terminal 101 reads the data from the server 103, thereby achieving data communication between the first terminal 101 and the second terminal 102.
[0054] Optionally, the server 103 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, the server 103 undertakes the main computing work, and the first terminal 101 undertakes the secondary computing work; or, the server 103 undertakes the secondary computing work, and the first terminal 101 undertakes the main computing work; or, the server 103 and the first terminal 101 adopt a distributed computing architecture for collaborative computing.
[0055] Figure 2 is a flowchart of a method for activating multiple cards simultaneously provided by an embodiment of the present application. The method is executed by the first terminal, see Figure 2 , the method comprising:
[0056] 201. Obtain a multi-card simultaneous activation flag of a current user account, where the multi-card simultaneous activation flag is used to indicate whether a first card group is simultaneously activated on a second terminal for the user account, where the first card group includes multiple virtual near field communication (NFC) cards that support simultaneous activation.
[0057] In an embodiment of the present application, the second terminal is a mobile terminal of various types, such as a mobile phone, a tablet computer, and a laptop computer, which supports the NFC (Near Field Communication) function. The first terminal is a wearable terminal of various types, such as a smart watch, a smart bracelet, a smart glasses, and a smart helmet, which supports the NFC function. Therefore, for the convenience of description, the first terminal is referred to as a wearable terminal and the second terminal is referred to as a mobile terminal. The mobile terminal has multiple virtual NFC cards recorded. A virtual NFC card refers to a virtual card with the same function as a physical card recorded in an electronic device through the NFC function. In the case where there are multiple virtual NFC cards that support simultaneous activation among the multiple virtual NFC cards recorded by the mobile terminal, the mobile terminal can create multiple virtual NFC cards that support simultaneous activation as a first card group that is activated at the same time. Among them, simultaneous activation means that for a mobile terminal with the NFC function turned on, the mobile terminal can simultaneously switch the multiple virtual NFC cards that have been recorded to an activated state. The virtual NFC card in the activated state can be read by a card reader. Therefore, the mobile terminal can use multiple virtual NFC cards in the first card group that is activated at the same time to swipe the card.
[0058] In response to the user successfully logging into the user account on the wearable terminal, the wearable terminal obtains the multi-card simultaneous activation identifier of the current user account through the server according to the user account. The wearable terminal determines whether there is a first card group activated simultaneously in the mobile terminal logged in with the user account according to the multi-card simultaneous activation identifier.
[0059] 202. When a first card group is activated simultaneously in the user account on the second terminal, obtain a fused contactless parameter corresponding to the first card group activated simultaneously and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to simultaneously activate multiple virtual NFC cards in the first card group.
[0060] In an embodiment of the present application, when there is a first card group in the mobile terminal, the wearable terminal obtains the fused contactless parameters of the first card group and the types of multiple virtual NFC cards in the first card group from the mobile terminal. The fused contactless parameters are obtained by fusion of the contactless parameters of multiple virtual NFC cards in the first card group. The contactless parameters include multiple parameters for verifying virtual NFC cards. The fused contactless parameters are used to verify multiple virtual NFC cards in the first card group. Through the fused contactless parameters, the card reader can verify multiple virtual NFC cards in the first card group at the same time. Therefore, the mobile terminal can use multiple virtual NFC cards in the first card group for card swiping at the same time.
[0061] 203. Based on the fused contactless parameter and the type of each virtual NFC card in the first card group, create a second card group activated simultaneously on the first terminal, wherein the second card group activated simultaneously includes at least one virtual NFC card of the same type as that in the first card group.
[0062] In an embodiment of the present application, in order to enable the wearable terminal to use multiple virtual NFC cards in the first card group for card swiping at the same time, the wearable terminal adds multiple virtual NFC cards of the same type in the wearable terminal according to the type of each virtual NFC card in the first card group. Then, the wearable terminal activates the multiple virtual NFC cards at the same time, and creates the multiple virtual NFC cards as a second card group that is activated at the same time. By creating a second card group that is activated at the same time in the wearable terminal, at least one virtual NFC card in the mobile terminal and the card group that is activated at the same time can be synchronized to the wearable terminal, thereby realizing the card activation strategy shared by the wearable device and the mobile phone.
[0063] For example, when the first card group includes two virtual NFC cards, access card 1 and car key 1, the wearable device enters access card 1 and car key 1, and creates access card 1 and car key 1 as a second card group that is activated at the same time. Then, the wearable terminal can use access card 1 and car key 1 for swiping at the same time.
[0064] The embodiment of the present application provides a method for activating multiple cards simultaneously. After successfully logging into a user account on a wearable device, the wearable device determines whether there is a card group activated simultaneously on the mobile phone that logs into the user account based on the user account. In the case that there is a card group activated simultaneously in the mobile phone, the wearable device obtains the fused contactless parameters of the card group and the types of multiple virtual NFC cards in the card group from the mobile phone, and creates a card group activated simultaneously in the wearable device based on the above information. Using the above method, the card group activated simultaneously in the mobile phone can be synchronized to the wearable device logged in with the same user account, thereby realizing the card activation strategy shared by the wearable device and the mobile phone. Therefore, the user can swipe the card through multiple virtual NFC cards in the card group activated simultaneously in the wearable device, without the user manually selecting the card or manually switching the card in the wearable device, thereby improving the efficiency of the user swiping the card using the wearable device.
[0065] Figure 3 is a flowchart of another method for activating multiple cards simultaneously provided by an embodiment of the present application. The method is executed by the first terminal, see Figure 3 , the method comprising:
[0066] 301. Obtain a multi-card simultaneous activation flag of a current user account, where the multi-card simultaneous activation flag is used to indicate whether a first card group is simultaneously activated on a second terminal for the user account, where the first card group includes multiple virtual near field communication (NFC) cards that support simultaneous activation.
[0067] In the embodiment of the present application, the first terminal is a wearable terminal of various types such as a smart watch, a smart bracelet, smart glasses, and a smart helmet that supports the NFC function. The second terminal is a mobile terminal of various types such as a mobile phone, a tablet computer, and a laptop computer that supports the NFC function. The first terminal and the second terminal are logged in to the same user account. Therefore, for the convenience of description, the first terminal is referred to as the wearable terminal of the user account, and the second terminal is referred to as the mobile terminal of the user account.
[0068] In response to the user successfully logging into the user account on the wearable terminal, the wearable terminal determines the mobile terminal logged in to the user account through the server based on the user account. Then, the wearable terminal obtains the multi-card simultaneous activation identifier of the user account through the server, and determines whether there is a first card group activated at the same time in the mobile terminal based on the multi-card simultaneous activation identifier. Among them, simultaneous activation means that for a mobile terminal with an NFC function turned on, the mobile terminal can simultaneously switch multiple virtual NFC cards that have been entered to an activated state. The virtual NFC card in the activated state can be read by the card reader. Therefore, the mobile terminal can use multiple activated virtual NFC cards in the first card group to swipe the card at the same time.
[0069] 302. When a first card group is activated simultaneously in the user account on the second terminal, obtain a fused contactless parameter corresponding to the first card group activated simultaneously and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to simultaneously activate multiple virtual NFC cards in the first card group.
[0070] In an embodiment of the present application, after the wearable terminal determines that there is a first card group activated at the same time in the mobile terminal, the wearable terminal obtains the fused contactless parameters of the first card group and the types of multiple virtual NFC cards in the first card group from the server. Alternatively, when the wearable terminal establishes a communication connection with the mobile terminal, the wearable terminal can also obtain the fused contactless parameters of the first card group and the types of multiple virtual NFC cards in the first card group from the mobile terminal through the communication connection. Among them, the fused contactless parameters are obtained by fusion of the contactless parameters of multiple virtual NFC cards in the first card group. The contactless parameters include at least one parameter of ATQA (Answer To Request Type A, A-type card query response), UID (Unique Identifier, unique identification number), SAK (Select Ac Knowledg Type A, A-type card selection response) and ATS (Answer To Select, card selection response) defined in ISO14443-3 (a contactless IC card standard protocol). By fusing the contactless parameters, the card reader can simultaneously verify multiple virtual NFC cards in the first card group. Therefore, the mobile terminal can use multiple virtual NFC cards in the first card group to swipe cards at the same time.
[0071] 303. Based on the fused contactless parameter and the type of each virtual NFC card in the first card group, create a second card group activated simultaneously on the first terminal, wherein the second card group activated simultaneously includes at least one virtual NFC card of the same type as that in the first card group.
[0072] In the embodiment of the present application, the wearable terminal adds multiple virtual NFC cards of the same type to the wearable terminal according to the type of each virtual NFC card in the first card group, so that the wearable terminal can also use the newly added multiple virtual NFC cards for card swiping at the same time. Then, the wearable terminal activates the newly added multiple virtual NFC cards at the same time, and creates the multiple virtual NFC cards as a second card group that is activated at the same time.
[0073] The following describes the process of creating a second card group that is activated simultaneously by the wearable terminal through the following steps (1)-(3).
[0074] (1) When a user account has a first card group that is activated simultaneously on the mobile terminal, the wearable terminal displays a first prompt message. The first prompt message is used to prompt whether to create a second card group that is activated simultaneously on the wearable terminal, that is, whether to synchronize multiple virtual NFC cards in the first card group in the mobile terminal to the wearable terminal. In response to the user's confirmation operation on the first prompt message, the wearable terminal obtains the fused contactless parameters corresponding to the first card group that is activated simultaneously and the type of each virtual NFC card included in the first card group. Then, the wearable terminal creates a second card group that is activated simultaneously on the wearable terminal based on the fused contactless parameters and the type of each virtual NFC card included in the first card group. Among them, the type of at least one virtual NFC card in the second card group is the same as the type of at least one virtual NFC card in the first card group.
[0075] In some embodiments, in response to the user's confirmation operation on the first prompt information, the wearable terminal determines whether there is a second card in the first card group according to the type of each virtual NFC card in the first card group. Among them, the second card does not support the simultaneous existence in multiple terminals. Schematically, the second card is a card involving fee information such as a virtual bus card and a virtual subway card. Since the number of remaining resources of the second card cannot be unified on different terminals, the second card does not support the simultaneous existence in multiple terminals, that is, the second card in the mobile terminal cannot be synchronized to the wearable terminal. In the case where there is at least one second card in the first card group, the wearable terminal displays a second prompt information to prompt the user that the at least one second card cannot be synchronized to the wearable terminal, and the user needs to create a new second card in the wearable terminal. In response to the user's confirmation operation on the second prompt information, the wearable terminal displays a card creation interface, and the user creates a second card by himself in the card creation interface. In response to the user successfully creating the second card in the card creation interface, the wearable terminal creates a second card group that is activated at the same time. Among them, the second card group that is activated at the same time contains the second card newly created by the user and multiple third cards in the first card group. The third card supports the simultaneous existence in multiple terminals. Then, the wearable terminal updates the fused contactless parameters of the first card group according to the contactless parameters of the second card, so that the updated fused contactless parameters can be used to verify multiple virtual NFC cards in the second card group.
[0076] For example, Figure 4 is a schematic diagram of a first prompt message. Figure 4As shown, the wearable terminal displays a first prompt message 401. The first prompt message 401 can not only prompt to synchronize the virtual NFC card in the first card group in the mobile terminal (mobile phone) to the wearable terminal, but also prompt that the model of the mobile terminal is X123, so that the user can quickly determine the mobile terminal of the synchronized virtual NFC card. In response to the user's triggering operation on the confirmation control 402, the wearable terminal determines at least one third card from the multiple virtual NFC cards in the first card group, and synchronizes the at least one third card to the wearable terminal. In response to the successful synchronization of at least one third card to the wearable terminal, the wearable terminal creates the at least one third card as a second card group that is activated at the same time.
[0077] Figure 5 is a flow chart for creating a second card. Figure 5 As shown, when there is a virtual bus card that cannot be synchronized in the mobile terminal, the wearable terminal displays a second prompt message 501, prompting the user whether to activate a new virtual bus card on the wearable terminal. In response to the user's triggering operation on the confirmation control 502, the wearable terminal displays a card creation interface 504. The card creation interface 504 displays multiple virtual bus cards and activation controls for each virtual bus card. The user activates the corresponding virtual bus card on the wearable terminal by triggering the activation control of any virtual bus card. After the user successfully activates the virtual bus card, or after the user triggers the rejection control 503, the wearable terminal determines at least one third card from the multiple virtual NFC cards that have been entered into the mobile terminal, and synchronizes at least one third card to the wearable terminal.
[0078] It should be noted that the second card newly created by the user on the wearable terminal is independent of the second card in the mobile terminal. For example, the user can re-activate a new virtual bus card in the card creation interface, and then the user can use the new virtual bus card to swipe the card on the wearable terminal. The virtual bus card newly activated by the user on the wearable terminal is independent of the virtual bus card entered in the mobile terminal. The remaining resource quantity of the two virtual bus cards and the resource quantity deducted by swiping the card are independent of each other.
[0079] In addition, since the third card supports existing in multiple terminals at the same time. Therefore, the user can use the third card to swipe the card through the wearable terminal, or use the same third card to swipe the card through the mobile terminal. Schematically, the third card is a permission-type virtual NFC card such as a virtual access card and a digital car key that does not involve fee information. When the user uses a permission-type virtual NFC card to swipe the card, the card reader mainly verifies the permissions of the virtual NFC card, and does not pay attention to the remaining resources of the virtual NFC card, the number of resources deducted by swiping the card, etc. Among them, the wearable terminal can determine at least one third card based on the type of each virtual NFC card in the first card group. For example, the wearable terminal determines the virtual NFC card of the type of virtual access card and digital car key as the third card from the multiple virtual NFC cards in the first card group.
[0080] In some embodiments, in response to the user's rejection of the second prompt information, the wearable terminal creates a second card group that is activated simultaneously. Specifically, the wearable terminal adds multiple third cards that can be synchronized in the first card group, and creates the multiple third cards as a second card group that is activated simultaneously.
[0081] In some embodiments, when there is no second card in the first card group, it indicates that each virtual NFC card in the first card group can be synchronized to the wearable terminal. Therefore, the wearable terminal creates a second card group that is activated simultaneously according to the fusion non-contact parameter. The second card group that is activated simultaneously includes each type of virtual NFC card in the first card group.
[0082] For example, when the first card group includes three virtual NFC cards, namely, access card 1, car key 1 and car key 2, the wearable terminal adds the three virtual NFC cards and creates a second card group that is activated simultaneously. Then, the wearable terminal can use access card 1, car key 1 and car key 2 to swipe cards simultaneously.
[0083] (2) If there is no first card group activated at the same time in the mobile terminal, or the user refuses the first prompt, the wearable terminal displays a card entry interface, and the user can enter the virtual NFC card in the wearable terminal. Figure 4 As shown, when the wearable terminal displays the first prompt information, a rejection control 403 for the first prompt information is also displayed. In the case where there is no first card group activated at the same time in the mobile terminal, or in response to the user triggering the rejection control 403 for the first prompt information, the wearable terminal displays a card entry interface. The card entry interface is used to enter a virtual NFC card in the wearable terminal.
[0084] For example, Figure 6 Figure 1 is a schematic diagram of a card entry interface. Figure 6As shown in the figure, the card entry interface displays a picture tutorial and a text tutorial. The user can enter a virtual NFC card with the same function as a physical card in the wearable terminal according to the operations indicated in the picture tutorial and the text tutorial. After successful entry, the user can use the wearable terminal as a physical card and swipe the card through the wearable terminal.
[0085] (3) When there is no first card group activated at the same time in the mobile terminal, but there is at least one first card in the mobile terminal, the user can select the first card to be synchronized to the wearable terminal. The first card is a virtual NFC card that cannot be activated at the same time with other first cards. Indicatively, the virtual access control card is the first card. Since the first card does not support simultaneous activation with other first cards, when the mobile terminal only has at least one first card recorded, there is no first card group activated at the same time in the mobile terminal. In the above case, it indicates that the mobile terminal does not activate multiple virtual NFC cards at the same time. Therefore, the wearable terminal does not need to synchronize the first card to ensure the user's card swiping experience on the wearable terminal. Accordingly, the wearable terminal displays the synchronization control of each first card on the card entry interface, and the user selects the first card to be synchronized to the wearable terminal. For any first card, the wearable terminal adds the first card to the wearable terminal in response to the user's triggering operation on the synchronization control of the first card, so as to synchronize the first card to the wearable terminal.
[0086] For example, Figure 7 This is a schematic diagram of another card entry interface. Figure 7 As shown, the card entry interface displays three first cards and a synchronization control for each first card. The user can add the first card to the wearable terminal by triggering the synchronization control of any first card.
[0087] Through the above steps (1)-(3), the wearable terminal can synchronize at least one virtual NFC card in the first card group in the mobile terminal to the wearable terminal. Figure 8 The flowchart of synchronizing a virtual NFC card shown in the figure illustrates the above overall process. For ease of description, in the process of describing the overall process, the virtual NFC card is referred to as a card.
[0088] like Figure 8As shown, in response to the wearable terminal successfully logging into the user account, the wearable terminal determines the mobile terminal that logs into the user account through the server according to the user account. Then, the wearable terminal determines whether there is a first card group activated at the same time in the mobile terminal. In the case that there is a first card group activated at the same time in the mobile terminal, the wearable terminal displays a first prompt message, prompting the user whether to synchronize the first card group activated at the same time to the wearable terminal. In response to the user's confirmation operation on the first prompt message, the wearable terminal determines whether there is a card that does not support synchronization in the mobile terminal. In the case that there is no card that does not support synchronization in the mobile terminal, all cards in the mobile terminal are synchronized to the wearable terminal. In the case that there is a card that does not support synchronization in the mobile terminal, the wearable terminal displays a second prompt message, prompting the user whether to create the above-mentioned card that cannot be synchronized on the wearable terminal. In response to the user's confirmation operation on the second prompt message, the wearable terminal displays a card creation interface, and the user creates a card on the card creation interface. In response to the user's rejection operation on the second prompt message, the wearable terminal synchronizes other cards that can be synchronized in the mobile terminal. In addition, when there is no virtual NFC card group in the mobile terminal, or in response to the user's rejection of the first prompt information, the wearable terminal displays a card entry interface, and the user enters the card in the wearable terminal on the card entry interface. Then, the wearable terminal creates a second card group that is activated simultaneously with at least one synchronized card and the newly created card by the user. In addition, the wearable terminal can also update the fused contactless parameters of the first card group according to the contactless parameters of the newly created card, so that the card reader can verify multiple virtual NFC cards in the second card group through the updated fused contactless parameters.
[0089] In some embodiments, the wearable terminal can also support user-defined virtual NFC card groups and virtual NFC cards in the virtual NFC card groups. In response to the user's operation of creating a virtual NFC card group, the wearable terminal displays a card group creation interface. The card group creation interface displays multiple virtual NFC cards that have been entered into the wearable terminal. In response to the user's selection operation of multiple virtual NFC cards, the wearable terminal determines the multiple virtual NFC cards selected by the user as a virtual NFC card group.
[0090] For example, the wearable terminal has access card 1, access card 2, access card 3, bus card 1 and subway card 1 recorded in it. Among them, access card 1 is the company's access card, and access card 2 and access card 3 are the access cards of community a and community b respectively. In the case where the user starts from community a and often takes the subway to the company, or the user starts from community b and often takes the bus to the company, the user can select access card 2 and subway card 1 in the card group creation interface, and the wearable terminal determines access card 2 and subway card 1 as a virtual NFC card group. Alternatively, the user selects access card 3 and bus card 1 in the card group creation interface, and the wearable terminal determines access card 3 and bus card 1 as a virtual NFC card group. By customizing the above two virtual NFC card groups on the wearable terminal, when the user carries the wearable terminal from community a to the company, the wearable terminal can activate access card 2 and subway card 1; when the user carries the wearable terminal from community b to the company, the wearable terminal can activate access card 3 and bus card 1. This enables users to customize the virtual NFC card groups activated by the wearable terminal during travel, thereby improving the card swiping efficiency of users during travel.
[0091] It should be noted that, when there are multiple first cards among the multiple virtual NFC cards selected by the user, the wearable terminal displays a third prompt message. The third prompt message is used to prompt the user to keep one first card from multiple first cards. For example, when the user selects access card 1, access card 2, and subway card 1 in the card group creation interface, the wearable terminal displays a third prompt message, prompting the user to keep one access card from access card 1 and access card 2. Then, the wearable terminal determines the access card and subway card 1 retained by the user as a virtual NFC card group.
[0092] In addition, the wearable terminal can also update the virtual NFC card group in the wearable terminal after recording a new virtual NFC card. For example, in response to the wearable terminal successfully recording a virtual subway card (subway card 1), since the virtual subway card supports simultaneous activation with other virtual NFC cards, the wearable terminal adds subway card 1 to the above two virtual NFC card groups respectively, thereby realizing the update of the virtual NFC card group.
[0093] It should be noted that, for any terminal logged in to a user account, when the user updates the relevant data of the virtual NFC card in the terminal, for example, in response to the user deleting the virtual NFC card, entering a new virtual NFC card, or activating a new virtual NFC card in the mobile terminal, the mobile terminal uploads the updated relevant data of the virtual NFC card to the server, and the server synchronizes the updated relevant data to multiple terminals logged in to the user account.
[0094] In some embodiments, after the user account successfully adds the target card in the mobile terminal, the mobile terminal sends a card adding instruction to the wearable terminal to instruct the wearable terminal to add the same target card. Accordingly, after the wearable terminal receives the card adding instruction from the mobile terminal, it parses the card adding instruction to obtain the card information of the target card carried in the card adding instruction. Among them, the card information includes at least one information such as the card name, card type, contactless parameters and the simultaneously activated card group of the target card. The wearable terminal adds the target card to the wearable terminal according to the card information of the target card. Then, in response to successfully adding the target card to the wearable terminal, the wearable terminal determines the simultaneously activated card group where the target card is located according to the card information of the target card, adds the target card to the card group, and updates the fused contactless parameters of the card group according to the contactless parameters of the wearable terminal.
[0095] In some embodiments, for any terminal logged in with a user account, when the fused contactless parameters of the virtual NFC card group in the terminal, the geo-fence features of the first card learned by the terminal, and the card reader polling features and other data are updated, the terminal can also upload the updated latest data to the server, and the server synchronizes the latest data to multiple terminals logged in with the user account. Among them, the polling feature is used to represent the association between the geographical area where the corresponding card reader is located and the card type that the card reader supports reading. Based on the polling feature of the card reader, the terminal can determine the card type that the card reader located in a certain geographical area supports reading, and then when the terminal is located in the geographical area, the virtual NFC card of the corresponding card type is used by default.
[0096] 304. Receive a synchronization activation instruction from the second terminal. The synchronization activation instruction carries the identifier of the target first card. The synchronization activation instruction is an instruction sent when the second terminal enters the target geographical area. The target geographical area is the geographical area associated with the geographical fence feature of the target first card. The second terminal uses the target first card by default within the target geographical area. The first terminal and the second terminal are located in the same geographical area.
[0097] In an embodiment of the present application, when multiple first cards are recorded in the mobile terminal, since the first card cannot be activated at the same time as other first cards. Therefore, in the historical card swiping process, the mobile terminal usually learns the geo-fence feature of the first card to determine the first card used by the mobile terminal by default in different geographical areas based on the geo-fence features of multiple first cards, so as to avoid the user manually selecting a card or manually switching cards, thereby improving the user's card swiping efficiency. Among them, the geo-fence feature of the first card is used to indicate the geographical area associated with the first card. The mobile terminal uses the first card associated with the geographical area by default in any geographical area.
[0098] When the target geographical area where the mobile terminal is currently located is associated with the geo-fence feature of the target first card, the mobile terminal activates the target first card and sends a synchronization activation instruction to the wearable terminal located in the same geographical area. Correspondingly, the wearable terminal receives the synchronization activation instruction sent by the mobile terminal. Among them, the synchronization activation instruction carries the identifier of the target first card, and the synchronization activation instruction is used to instruct the wearable terminal to activate the target first card. The identifier of the target first card can be the name of the target first card, the UID (Unique Identifier) of the target first card, etc., and the embodiments of the present application are not limited to this.
[0099] It should be noted that the mobile terminal will send a synchronization activation instruction to the wearable terminal only when the mobile terminal and the wearable terminal are located in the same geographical area. In addition, since Bluetooth communication is a short-range wireless communication technology, when a Bluetooth communication connection is established between the mobile terminal and the wearable terminal, it can be considered that the mobile terminal and the wearable terminal are located in the same geographical area. Accordingly, the mobile terminal sends a synchronization activation instruction to the wearable terminal via the Bluetooth communication connection. When a Bluetooth communication connection is not established between the mobile terminal and the wearable terminal, it can be considered that the mobile terminal and the wearable terminal are not in the same geographical area.
[0100] 305. Based on the identifier of the target first card, determine a target card group from at least one simultaneously activated card group of the first terminal, where the target card group includes the target first card.
[0101] In an embodiment of the present application, after receiving the synchronization activation instruction, the wearable terminal parses the synchronization activation instruction to obtain the identifier of the target first card carried by the synchronization activation instruction. Then, the wearable terminal determines the target first card from multiple virtual NFC cards that have been recorded in the wearable terminal according to the identifier of the target first card. In the case where there is at least one simultaneously activated card group in the wearable terminal, the wearable terminal determines the target card group from at least one simultaneously activated card group. The target card group includes the target first card.
[0102] 306. Activate multiple virtual NFC cards in the target card group, and adjust the first terminal to use the multiple virtual NFC cards in the target card group by default in the target geographical area.
[0103] In the embodiment of the present application, the wearable terminal activates multiple virtual NFC cards in the target card group at the same time, that is, the wearable terminal switches the multiple virtual NFC cards in the target card group to an activated state. Since the multiple virtual NFC cards include the target first card, by activating multiple virtual NFC cards at the same time, the wearable terminal and the mobile terminal execute the same card activation strategy, that is, both the wearable terminal and the mobile terminal activate the target first card.
[0104] When the mobile terminal and the wearable terminal implement the same card activation strategy, the user can use both the mobile terminal and the wearable terminal to swipe the card. For example, when the user's mobile terminal is in the pocket, the user can use the wearable terminal to swipe the card, and when the user holds the mobile terminal in his hand, the user can use the mobile terminal to swipe the card, which enriches the user's card swiping options. In addition, because the wearable terminal activates the other virtual NFC cards in the target card group at the same time as activating the first target card. Therefore, the user can use multiple virtual NFC cards in the wearable terminal to swipe the card at the same time, without the user manually selecting the card or manually switching the card, which simplifies the user's card swiping operation and improves the efficiency of the user's successful card swiping.
[0105] In addition, the wearable terminal adjusts the above-mentioned multiple virtual NFC cards to the virtual NFC cards used by the wearable terminal by default in the target geographical area where the wearable terminal is currently located. Then, the next time the user carries the wearable terminal into the target geographical area, the user can directly use the above-mentioned multiple virtual NFC cards to swipe the card without the user manually selecting the card in the wearable terminal, thereby improving the efficiency of the user using the wearable terminal to swipe the card.
[0106] Fig. 9 FIG. 1 is a schematic diagram of activating the first target card. Fig. 9 As shown, access card 1 is the company's access card, and the geo-fence feature of access card 1 is associated with geographic area 1; access card 2 is the access card of the community, and the geo-fence feature of access card 2 is associated with geographic area 2. When the geographical area where the mobile terminal is currently located is geographic area 1, the mobile terminal activates access card 1 and bus card 3 according to the geo-fence feature of access card 1, and sends a synchronous activation instruction carrying the identification of access card 1 to the wearable terminal. According to the synchronous activation instruction, the wearable terminal activates access card 1, bus card 1 and bus card 2 in the target card group where access card 1 is located. Similarly. When the geographical area where the mobile terminal is currently located is geographic area 2, the mobile terminal activates access card 2 and bus card 3, and sends a synchronous activation instruction to the wearable terminal. According to the synchronous activation instruction, the wearable terminal activates access card 2, bus card 1 and bus card 2.
[0107] The following describes the process of activating multiple virtual NFC cards in the target card group by the wearable terminal.
[0108] In some embodiments, the wearable terminal activates multiple virtual NFC cards in the target card group according to the fused contactless parameters of the target card group. First, the wearable terminal obtains the fused contactless parameters of the target card group. Among them, the fused contactless parameters are used to simultaneously activate multiple virtual NFC cards in the target card group. Because the fused contactless parameters are obtained by fusing the contactless parameters of multiple virtual NFC cards in the target card group. The contactless parameters include multiple parameters for verifying virtual NFC cards sent by the wearable terminal to the card reader during the card swiping process. Therefore, by fusing the contactless parameters, the card reader can verify multiple virtual NFC cards at the same time, so that the wearable terminal activates multiple virtual NFC cards at the same time. The wearable terminal activates multiple virtual NFC cards in the target card group according to the fused contactless parameters, and adjusts the virtual NFC card used by the wearable terminal by default in the current geographical area to multiple virtual NFC cards in the target card group.
[0109] The following steps (1)-(2) are used to illustrate the process of the wearable terminal acquiring the fused contactless parameters.
[0110] (1) The wearable terminal obtains the contactless parameters of each virtual NFC card in the target card group.
[0111] Among them, the contactless parameters include at least one of ATQA (Answer To Request Type A), UID (Unique Identifier), SAK (Select AcKnowledg Type A) and ATS (Answer To Select) defined in ISO14443-3 (a contactless IC card standard protocol).
[0112] ATQA is the response signal that the wearable terminal replies to REQA (Request Command Type A) or WUPA (Wake-UP command Type A) sent by the card reader. REQA and WUPA are card inquiry commands sent by the card reader during the process of detecting NFC cards in the energy field. For NFC cards in the energy field of the card reader or wearable terminals with virtual NFC cards recorded, after receiving REQA or WUPA, ATQA is sent to the card reader. ATQA generally has two types: 0400 and 0800, and the card reader can receive both response signals.
[0113] UID is the unique identifier of the NFC card. The access card type card reader mainly verifies the UID of the virtual access card. If the UID verification passes, the virtual access card is successfully swiped; if the UID verification fails, the virtual access card fails to be swiped. For other types of card readers, such as bus card, subway card and other types of card readers, when verifying virtual bus cards and virtual subway cards, UID is generally not verified.
[0114] SAK is the response signal that the wearable terminal replies to the Select command sent by the card reader. Through SAK, the card reader can determine the type of NFC card, and based on the type of NFC card, determine the protocol for subsequent data communication with the NFC card. For example, the SAK of a virtual access card is 0x08, and the SAK of a virtual bus card and a virtual subway card is 0x20. When the card reader receives a SAK with a value of 0x08 sent by the wearable terminal, the card reader subsequently communicates with the wearable terminal in accordance with Mifare (a communication protocol). When the card reader receives a SAK with a value of 0x20 sent by the wearable terminal, the card reader subsequently communicates with the wearable terminal in accordance with the ISO14443 protocol.
[0115] ATS is the response signal that the wearable terminal sends to the RATS (Request for Answer To Select) sent by the card reader. Among them, ATS includes parameters such as waiting time, and the waiting time is used to specify the waiting time before sending the next instruction. In addition, ATS also includes other parameters for specifying the subsequent communication process. The embodiment of the present application does not limit the specific parameters contained in ATS. It should be noted that since the card reader of the access control card type mainly verifies the UID of the NFC card. Therefore, the virtual access control card usually does not send ATS, that is, when the user uses the virtual access control card to swipe the card through the wearable terminal, the wearable terminal usually does not send ATS to the card reader.
[0116] (2) The wearable terminal fuses the contactless parameters of each virtual NFC card to obtain the fused contactless parameters of the target card group, wherein the fused contactless parameters include at least one of the fused ATQA, the fused UID, the fused SAK, and the fused ATS.
[0117] For example, when the target card group includes a virtual access card and multiple virtual bus cards, the wearable terminal fuses the contactless parameters ATQA of the multiple virtual NFC cards, and the fused ATQA is 0x0400. Since the access card type reader mainly verifies the UID, and other types of card readers generally do not verify the UID. Therefore, the wearable terminal determines the UID of the virtual access card as the fused UID. The wearable terminal fuses the contactless parameters SAK of the multiple virtual cards, and the fused SAK is 0x28.
[0118] When the target card group includes multiple virtual bus cards, the wearable terminal determines that the fused ATQA is the more commonly used 0x0400. The wearable terminal determines the UID of any virtual bus card among the multiple virtual bus cards as the fused UID. The wearable terminal determines that the fused SAK is 0x20 based on the SAK of each virtual bus card. In the process of fusing ATS, for any parameter in ATS, if the parameter of multiple virtual bus cards is the same, the wearable terminal fuses the parameter. After fusing multiple parameters in ATS, the wearable terminal obtains the fused ATS parameters.
[0119] In some embodiments, after the wearable terminal activates multiple virtual NFC cards in the target card group, the wearable terminal can also send the fused contactless parameters of the target card group to the card reader, and the card reader verifies the fused contactless parameters, thereby enabling the user to swipe the multiple virtual NFC cards in the wearable terminal.
[0120] In order to more clearly explain the above card swiping process, Fig.10 The data interaction diagram shown in the figure illustrates the data interaction process between the wearable terminal and the card reader during the card swiping process through the following steps (1)-(4). The data interaction process is illustrated by taking the data communication between the wearable terminal and the card reader according to the ISO14443 protocol as an example. The wearable terminal and the card reader can also exchange data according to other communication protocols, which is not limited in the embodiments of the present application.
[0121] (1) Fig.10 As shown, PCD (Proximity coupling device) periodically sends WUPA (Wake-UP command Type A) to detect PICC (ProximityCard) in the energy field. In the embodiment of the present application, PCD is the card reader and PICC is the wearable terminal. Then, when the PICC is in the energy field of the PCD, the PICC replies to the PCD with the fused ATQA to inform the PCD that there is a readable PICC in its energy field.
[0122] (2) Since the PCD may receive at least one ATQA, in order to prevent conflicts in responses sent by different PICC cards, the PCD sends an anti-collision instruction ANTICOLLISION to the PICC to obtain the UIDs of different PICCs. After receiving the anti-collision instruction, the PICC sends the fused UID to the PCD. For the access card type PCD, the fused UID sent by the PICC is verified. If the UID verification passes, the access card type PICC card swipe is successful; if the verification fails, the access card type PICC card swipe fails.
[0123] (3) After receiving the UID of the PICC, the PCD usually sends a SELLECT card selection command to the PICC to request the card type of the PICC. After receiving the card selection command, the PICC sends the fused SAK to the PCD. The PCD can determine the protocol for subsequent data communication with the PICC based on the value of the SAK. For example, when the reading PCD receives a SAK with a value of 0x08 sent by the PICC, the PCD subsequently communicates with the PICC according to Mifare (a communication protocol). When the PCD receives a SAK with a value of 0x20 sent by the PICC, the PCD subsequently communicates with the PICC according to the ISO14443 protocol.
[0124] (4) After the PCD determines the card type of the PICC, the PCD sends a RATS (Request for Answer To Select) to the PICC to request the PICC's card selection response and to define the subsequent communication process. After receiving the RATS, the PICC sends a merged ATS to the PCD, which includes a variety of parameters that define the communication process.
[0125] By executing the above steps (1)-(4), the wearable terminal can realize data interaction with the card reader, thereby completing the card swiping process of the wearable terminal.
[0126] The embodiment of the present application provides a method for activating multiple cards simultaneously. After successfully logging into a user account on a wearable device, the wearable device determines whether there is a card group activated simultaneously on the mobile phone that logs into the user account based on the user account. In the case that there is a card group activated simultaneously in the mobile phone, the wearable device obtains the fused contactless parameters of the card group and the types of multiple virtual NFC cards in the card group from the mobile phone, and creates a card group activated simultaneously in the wearable device based on the above information. Using the above method, the card group activated simultaneously in the mobile phone can be synchronized to the wearable device logged in with the same user account, thereby realizing the card activation strategy shared by the wearable device and the mobile phone. Therefore, the user can swipe the card through multiple virtual NFC cards in the card group activated simultaneously in the wearable device, without the user manually selecting the card or manually switching the card in the wearable device, thereby improving the efficiency of the user swiping the card using the wearable device.
[0127] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0128] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0129] Fig.11 is a schematic diagram of the structure of a device for activating multiple cards simultaneously provided in an embodiment of the present application. Fig.11 The device includes: a first acquisition module 1101, a second acquisition module 1102 and a creation module 1103.
[0130] The first acquisition module 1101 is used to acquire a multi-card simultaneous activation flag of the current user account, where the multi-card simultaneous activation flag is used to indicate whether there is a first card group that is simultaneously activated on the second terminal of the user account, where the first card group includes multiple virtual near field communication NFC cards that support simultaneous activation;
[0131] The second acquisition module 1102 is used to acquire, when there is a first card group activated at the same time in the user account on the second terminal, a fused contactless parameter corresponding to the first card group activated at the same time and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to activate multiple virtual NFC cards in the first card group at the same time;
[0132] The creation module 1103 is used to create a second card group activated simultaneously on the first terminal based on the fused contactless parameter and the type of each virtual NFC card in the first card group, wherein the second card group activated simultaneously includes at least one virtual NFC card of the same type as the first card group.
[0133] In some embodiments, the second acquisition module 1102 is used to display a first prompt message when there is a first card group activated simultaneously on the second terminal in the user account, and the first prompt message is used to prompt whether to create a second card group activated simultaneously on the second terminal; in response to the confirmation operation of the first prompt message, obtain the fused contactless parameters corresponding to the first card group activated simultaneously and the type of each virtual NFC card contained in the first card group.
[0134] In some embodiments, Fig.12 is a schematic diagram of another structure of a multi-card simultaneous activation device provided in an embodiment of the present application, see Fig.12 , the device further comprises:
[0135] The display module 1104 is used to display a card entry interface when there is no first card group activated simultaneously in the user account on the second terminal, or in response to a rejection operation of the first prompt information, and the card entry interface is used to enter a virtual NFC card in the first terminal.
[0136] In some embodiments, the display module 1104 is also used to display the synchronization control of each first card on the card entry interface when there is no first card group activated simultaneously in the user account on the second terminal and there is at least one first card in the user account in the second terminal, and the first card is a virtual NFC card that does not support simultaneous activation with other first cards; in response to the triggering operation of the synchronization control of any first card, the first card is added to the first terminal.
[0137] In some embodiments, a creation module 1103 is used to determine whether there is a second card in the first card group based on the type of each virtual NFC card in the first card group, and the second card does not support existing in multiple terminals at the same time; when there is at least one second card in the first card group, a second prompt message is displayed, and the second prompt message is used to prompt the creation of a new second card in the first terminal; in response to a confirmation operation on the second prompt message, a card creation interface is displayed, and the card creation interface is used to create a second card in the first terminal; in response to successfully creating the second card in the card creation interface, a second card group is created and activated at the first terminal, and the second card group activated at the same time includes the second card and multiple third cards in the first card group, and the third card supports existing in multiple terminals at the same time; based on the contactless parameters of the second card, the fused contactless parameters are updated.
[0138] In some embodiments, the creation module 1103 is further used to create a second card group that is activated simultaneously on the first terminal in response to a rejection operation on the second prompt information, wherein the second card group that is activated simultaneously includes multiple third cards in the first card group.
[0139] In some embodiments, the creation module 1103 is also used to create a second card group that is activated simultaneously on the first terminal based on the fusion of contactless parameters when there is no second card in the first card group, and the second card group that is activated simultaneously includes virtual NFC cards of the same type as in the first card group.
[0140] In some embodiments, the apparatus further comprises:
[0141] The first receiving module 1105 is used to receive a synchronization activation instruction from the second terminal, the synchronization activation instruction carries the identification of the target first card, the synchronization activation instruction is an instruction sent when the second terminal enters a target geographical area, the target geographical area is a geographical area associated with the geo-fence feature of the target first card, the second terminal uses the target first card by default in the target geographical area, and the first terminal and the second terminal are located in the same geographical area;
[0142] A first determining module 1106, configured to determine a target card group from at least one simultaneously activated card group of the first terminal based on the identifier of the target first card, the target card group including the target first card;
[0143] The activation module 1107 is used to activate multiple virtual NFC cards in the target card group, and adjust the first terminal to use the multiple virtual NFC cards in the target card group by default in the target geographical area.
[0144] In some embodiments, the apparatus further comprises:
[0145] The second receiving module 1108 is used to receive a card adding instruction from the second terminal, the card adding instruction carries the card information of the target card, and the card adding instruction is an instruction sent by the second terminal when the user account successfully adds the target card in the second terminal;
[0146] An adding module 1109, configured to add a target card to the first terminal based on the card information of the target card;
[0147] The second determining module 1110 is configured to determine, in response to successfully adding a target card at the first terminal, a simultaneously activated card group in which the target card is located based on the card information of the target card.
[0148] The embodiment of the present application provides a device for activating multiple cards simultaneously. After successfully logging into a user account on a wearable device, the wearable device determines whether there is a card group activated simultaneously on the mobile phone that logs into the user account based on the user account. In the case that there is a card group activated simultaneously in the mobile phone, the wearable device obtains the fused contactless parameters of the card group and the types of multiple virtual NFC cards in the card group from the mobile phone, and creates a card group activated simultaneously in the wearable device based on the above information. Using the above method, the card group activated simultaneously in the mobile phone can be synchronized to the wearable device logged in with the same user account, thereby realizing the card activation strategy shared by the wearable device and the mobile phone. Therefore, the user can swipe the card through multiple virtual NFC cards in the card group activated simultaneously in the wearable device, without the user manually selecting the card or manually switching the card in the wearable device, thereby improving the efficiency of the user swiping the card using the wearable device.
[0149] It should be noted that the multi-card simultaneous activation device provided in the above embodiment, when realizing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the multi-card simultaneous activation device provided in the above embodiment and the multi-card simultaneous activation method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0150] An embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the multi-card simultaneous activation method provided by the above-mentioned various method embodiments.
[0151] Fig.13 13 is a block diagram of a terminal provided in an embodiment of the present application. In some embodiments, the terminal 1300 is a terminal such as a smart phone, a tablet computer, a wearable device, etc. that can access a wireless local area network as a wireless station. The terminal 1300 in the present application includes at least one or more of the following components: a processor 1310, a memory 1320, and at least two wireless links 1330.
[0152] In some embodiments, the processor 1310 includes one or more processing cores. The processor 1310 uses various interfaces and lines to connect various parts of the entire terminal 1300, and executes various functions and processes data of the terminal 1300 by running or executing program codes stored in the memory 1320, and calling data stored in the memory 1320. In some embodiments, the processor 1310 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1310 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1310, but may be implemented by a separate chip.
[0153] In some embodiments, the processor 1310 is used to control the working conditions of at least two wireless links 1330. Accordingly, the processor 1310 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip.
[0154] In some embodiments, the memory 1320 includes a random access memory (RAM), and in some embodiments, the memory 1320 includes a read-only memory (ROM). In some embodiments, the memory 1320 includes a non-transitory computer-readable storage medium. The memory 1320 can be used to store program codes. The memory 1320 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 1300 (such as audio data, a phone book), etc.
[0155] In some embodiments, the memory 1320 stores reception schemes for receiving beacon frames of different wireless links 1330, as well as identifiers of access nodes connected to different wireless links 1330, identifiers of wireless links 1330, and the like.
[0156] The at least two wireless links 1330 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.
[0157] In some embodiments, the terminal 1300 also includes a display screen. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen. In some embodiments, the display screen is usually arranged on the front panel of the terminal 1300. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
[0158] In addition, those skilled in the art will appreciate that the structure of the terminal 1300 shown in the above drawings does not limit the terminal 1300, and the terminal 1300 includes more or fewer components than shown in the drawings, or combines certain components, or arranges components differently. For example, the terminal 1300 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.
[0159] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the method for simultaneously activating multiple cards as shown in the above embodiments.
[0160] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the method for simultaneously activating multiple cards as shown in the above embodiments.
[0161] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for simultaneously activating multiple cards as shown in the above embodiments.
[0162] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0163] Those skilled in the art can understand that all or part of the steps in the method for activating multiple cards simultaneously in the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete the steps. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for activating multiple cards simultaneously, characterized in that: Applied to a first terminal, the method includes: Acquire a multi-card simultaneous activation flag of the current user account, where the multi-card simultaneous activation flag is used to indicate whether there is a first card group that is simultaneously activated on the second terminal for the user account, where the first card group includes multiple virtual near field communication (NFC) cards that support simultaneous activation; In the case that the user account has a first card group activated at the same time on the second terminal, acquiring a fused contactless parameter corresponding to the first card group activated at the same time and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to simultaneously activate multiple virtual NFC cards in the first card group; Based on the fused contactless parameter and the type of each virtual NFC card in the first card group, a second card group activated simultaneously is created on the first terminal, wherein the second card group activated simultaneously includes at least one virtual NFC card of the same type as that in the first card group.
2. The method according to claim 1, characterized in that In the case that there is a first card group activated simultaneously on the second terminal in the user account, obtaining the fused contactless parameter corresponding to the first card group activated simultaneously and the type of each virtual NFC card included in the first card group includes: In the case that the user account has a first card group activated simultaneously on the second terminal, displaying first prompt information, wherein the first prompt information is used to prompt whether to create a second card group activated simultaneously on the second terminal; In response to a confirmation operation on the first prompt information, a fused contactless parameter corresponding to the simultaneously activated first card group and a type of each virtual NFC card included in the first card group are obtained.
3. The method according to claim 2, characterized in that The method further comprises: In the case that the user account does not have a first card group activated simultaneously on the second terminal, or in response to a rejection operation of the first prompt information, a card entry interface is displayed, and the card entry interface is used to enter a virtual NFC card in the first terminal.
4. The method according to claim 3, characterized in that The method further comprises: In a case where the user account does not have a first card group activated simultaneously on the second terminal, and the user account has at least one first card in the second terminal, displaying a synchronization control for each first card on the card entry interface, wherein the first card is a virtual NFC card that does not support simultaneous activation with other first cards; In response to a triggering operation on a synchronization control of any first card, the first card is added to the first terminal.
5. The method according to claim 1, characterized in that The step of creating a second card group activated simultaneously on the first terminal based on the fused contactless parameter and the type of each virtual NFC card in the first card group includes: Based on the type of each virtual NFC card in the first card group, determining whether there is a second card in the first card group, where the second card does not support being in multiple terminals at the same time; In the case where there is at least one second card in the first card group, displaying second prompt information, where the second prompt information is used to prompt to create a new second card in the first terminal; In response to a confirmation operation on the second prompt information, displaying a card creation interface, wherein the card creation interface is used to create a second card in the first terminal; In response to successfully creating a second card in the card creation interface, creating a second card group that is activated simultaneously in the first terminal, the second card group that is activated simultaneously includes the second card and multiple third cards in the first card group, and the third card supports being simultaneously present in multiple terminals; Based on the contactless parameters of the second card, the fused contactless parameters are updated.
6. The method according to claim 5, characterized in that The method further comprises: In response to a rejection operation on the second prompt information, a second card group activated simultaneously is created on the first terminal, wherein the second card group activated simultaneously includes a plurality of third cards in the first card group.
7. The method according to claim 5, characterized in that The method further comprises: In the case that the second card does not exist in the first card group, based on the fused contactless parameter, a second card group activated simultaneously is created on the first terminal, and the second card group activated simultaneously includes virtual NFC cards of the same type as those in the first card group.
8. The method according to claim 1, characterized in that The method further comprises: receiving a synchronization activation instruction from the second terminal, the synchronization activation instruction carrying an identifier of a target first card, the synchronization activation instruction being an instruction sent when the second terminal enters a target geographical area, the target geographical area being a geographical area associated with a geographical fence feature of the target first card, the second terminal using the target first card by default within the target geographical area, and the first terminal and the second terminal being located in the same geographical area; Based on the identifier of the target first card, determining a target card group from at least one simultaneously activated card group of the first terminal, the target card group including the target first card; The multiple virtual NFC cards in the target card group are activated, and the first terminal is adjusted to use the multiple virtual NFC cards in the target card group by default in the target geographical area.
9. The method according to claim 1, characterized in that: The method further comprises: receiving a card adding instruction from the second terminal, the card adding instruction carrying card information of a target card, the card adding instruction being an instruction sent by the second terminal when the user account successfully adds the target card in the second terminal; Based on the card information of the target card, adding the target card in the first terminal; In response to successfully adding the target card at the first terminal, a simultaneously activated card group in which the target card is located is determined based on the card information of the target card.
10. A device for activating multiple cards simultaneously, characterized in that: The device comprises: A first acquisition module, configured to acquire a multi-card simultaneous activation flag of a current user account, wherein the multi-card simultaneous activation flag is used to indicate whether there is a first card group that is simultaneously activated on the second terminal for the user account, wherein the first card group includes multiple virtual near field communication (NFC) cards that support simultaneous activation; a second acquisition module, configured to, when there is a first card group activated simultaneously on the second terminal in the user account, acquire a fused contactless parameter corresponding to the first card group activated simultaneously and a type of each virtual NFC card included in the first card group, wherein the fused contactless parameter is used to simultaneously activate multiple virtual NFC cards in the first card group; The creation module is used to create a second card group that is activated simultaneously on the first terminal based on the fused contactless parameter and the type of each virtual NFC card in the first card group, wherein the second card group that is activated simultaneously includes at least one virtual NFC card of the same type as that in the first card group.
11. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the method for simultaneously activating multiple cards as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for simultaneously activating multiple cards as described in any one of claims 1 to 9.
13. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip is run on a terminal, it is used to implement the method for simultaneously activating multiple cards as described in any one of claims 1 to 9.
14. A computer program product comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for simultaneously activating multiple cards as described in any one of claims 1 to 9.