Simulation card processing method and device, equipment, storage medium and product
By updating the fusion parameters of the simulated card, the problem of other cards being inactivated during the deactivation process is solved, and the user's card swiping experience is improved.
Patent Information
- Application Number
- CN202311284861.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2043-09-28
AI Technical Summary
During the deactivation process of simulated cards, the prior art causes other simulated cards to lose their activation status, affecting the user's card swiping experience.
Make sure that other simulated cards other than the activated cards are still active by obtaining the fusion parameters of multiple simulated cards and updating these parameters according to the deactivated simulated card type.
It is realized that when a simulated card is deactivated, other simulated cards remain active, improving the user's card swiping experience.
Smart Images

Figure CN119721079A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio frequency technology, and in particular to a processing method, device, equipment, storage medium and product for simulating a card. Background Art
[0002] Currently, many mobile phones and other electronic devices have NFC function, through which electronic devices can simulate access cards, bus cards, subway cards and other simulated cards; and before users use the simulated cards, the electronic devices need to activate the simulated cards, and when users do not use the simulated cards, they can deactivate the simulated cards. Summary of the invention
[0003] The embodiments of the present application provide a method, device, equipment, storage medium and product for processing simulated cards, which can improve the user's card swiping experience. The technical solution is as follows:
[0004] In one aspect, a method for processing a simulated card is provided, the method comprising:
[0005] When a first simulated card among multiple activated simulated cards needs to be deactivated, obtaining first fusion parameters of the multiple simulated cards, the first fusion parameters being obtained based on contactless parameter fusion of the multiple simulated cards, and the first fusion parameters being parameters supporting any activated simulated card to communicate with a simulated card recognition device in a contactless manner;
[0006] The card type of the first simulated card is determined, and the first fusion parameter is updated based on the card type of the first simulated card to obtain a second fusion parameter.
[0007] On the other hand, a processing device for simulating a card is provided, the device comprising:
[0008] A first determination module is used for obtaining a first fusion parameter of the plurality of activated simulation cards when a first simulation card among the plurality of activated simulation cards needs to be deactivated, wherein the first fusion parameter is obtained based on the fusion of contactless parameters of the plurality of simulation cards, and the first fusion parameter is a parameter supporting any one of the activated simulation cards to communicate with the simulation card recognition device in a contactless manner;
[0009] An updating module is used to determine the card type of the first simulated card, and update the first fusion parameter based on the card type of the first simulated card to obtain a second fusion parameter.
[0010] On the other hand, an electronic device is provided, which includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the simulation card processing method as described above.
[0011] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to implement the above-mentioned processing method of the simulated card.
[0012] On the other hand, a computer program product is provided, wherein 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 above-mentioned processing method of the simulated card.
[0013] In an embodiment of the present application, when the first simulated card among multiple simulated cards that are activated at the same time needs to be deactivated, the first fusion parameter obtained by fusing the non-contact parameters of the multiple simulated cards is updated to obtain the second fusion parameter. Since the first fusion parameter is updated to the second fusion parameter, the other simulated cards among the multiple simulated cards except the first simulated card are still in an activated state and are available, so that the user can swipe the card through other simulated cards, thereby improving the user's card swiping experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A schematic diagram of an implementation environment of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0015] Figure 2 A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0016] Figure 3 A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0017] Figure 4 A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0018] Figure 5 A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0019] Figure 6 A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0020] Figure 7A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0021] Figure 8 A flowchart of a method for processing a simulated card according to an exemplary embodiment of the present application is shown;
[0022] Fig. 9 A block diagram of a processing device for simulating a card according to an exemplary embodiment of the present application is shown;
[0023] Fig.10 A block diagram of an electronic device according to an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] 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.
[0025] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related 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 related objects are in an "or" relationship.
[0026] 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 analog card, the contactless parameters of the analog card, the fusion parameters (first fusion parameters and / or second fusion parameters) and so on involved in this application are all obtained with full authorization.
[0027] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of a simulated card processing method shown in an exemplary embodiment of the present application. Figure 1, the implementation environment includes a simulated card recognition device 101 and an electronic device 102, the electronic device 102 has an NFC function, and the electronic device 102 can realize a simulated card through the NFC function, and the simulated card recognition device 101 can communicate with the simulated card of the electronic device 102 to read the card information stored in the simulated card, thereby realizing the card swiping function. The simulated card may include a first type of simulated card and a second type of simulated card, the first type of simulated card is a card identified by a unique identification number (Unique Identifier, UID); for example, the first type of simulated card may be an access card. The second type of simulated card is a card not identified by a UID; for example, the second type of simulated card may be a central processing unit (CPU) card; for example, the second type of simulated card may be a bus, subway card, digital car key, electronic ID card, campus card, digital RMB, electronic driver's license or electronic marriage certificate, etc. In some embodiments, the simulated card recognition device 101 may be a card reader or reader; the electronic device 102 may be a mobile phone or a smart wearable device (smart bracelet or smart watch), etc.
[0028] The embodiments of the present application support the simultaneous activation of multiple simulated cards; for example, the simulated card recognition device 101 communicates with the electronic device 102 to activate multiple simulated cards at the same time, so that when the user uses the simulated card, the simulated card recognition device 101 sends a corresponding instruction to select a suitable simulated card, and there is no need to activate the card or switch the card, thereby improving the user's card swiping experience. In addition, after multiple simulated cards are activated at the same time, some simulated cards may no longer be suitable for continued use due to changes in certain conditions or environments; at this time, it is necessary to deactivate or replace some simulated cards. For example, the balance of the activated bus card is insufficient, the user changes cities due to business trips or travel, or the card swiping optimization of a bus card expires, etc., at this time, it is necessary to deactivate the bus card or replace the bus card.
[0029] Please refer to Figure 2 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0030] Step 201: When the first simulated card among multiple activated simulated cards needs to be deactivated, obtain the first fusion parameter of the multiple simulated cards. The first fusion parameter is obtained based on the contactless parameter fusion of the multiple simulated cards. The first fusion parameter is a parameter that supports any activated simulated card to communicate with the simulated card recognition device in a contactless manner.
[0031] Prior to this step, the electronic device simultaneously activates multiple simulation cards; wherein the process of the electronic device simultaneously activating multiple simulation cards may be: the electronic device determines the contactless parameters of the multiple simulation cards, fuses the contactless parameters of the multiple simulation cards to obtain a first fusion parameter, and sets the contactless parameters of the multiple simulation cards to the first fusion parameter to simultaneously activate the multiple simulation cards. Furthermore, after the electronic device simultaneously activates the multiple simulation cards, the first fusion parameter obtained by fusing the contactless parameters of the multiple simulation cards is stored. In this step, the electronic device directly obtains the stored first fusion parameter.
[0032] For any simulated card, the contactless parameters of the simulated card include Answer To Request, Type A, ATQA, UID, Select AcKnowledge, Type A, SAK and Answer To Select, ATS. ATQA is the response of the electronic device to the Request Command, Type A, REQA or WUPA command of the simulated card identification device. ATQA can be 0400 or 0800, and the simulated card identification device can accept and identify both responses. UID is the ID number of the simulated card; for the first type of simulated card, the first type of simulated card is a card identified by UID, and the simulated card identification device uses UID as the only information to identify the simulated card, that is, if the simulated card identification device determines that the UID of the simulated card is correct, the simulated card is successfully identified; for example, if the first type of simulated card is an access card, then the UID of the access card is correct, and the door can be opened. For the second type of simulated card, the second type of simulated card is a card that is not identified by UID, and the simulated card identification device generally does not pay attention to the UID of the simulated card; for example, the second type of simulated card may be a central processing unit (CPU) card; for example, the second type of simulated card may be a bus, subway card, digital car key, electronic ID card, campus card, digital RMB, electronic driver's license or electronic marriage certificate, etc.
[0033] When the analog card recognition device recognizes the analog card, it will send a selection instruction (Select) to the electronic device; SAK is the response of the electronic device to the Select instruction sent by the analog card recognition device. SAK can usually distinguish between the first type of analog card and the second type of analog card. The SAK of the first type of analog card uses the 0x08 parameter, while the SAK of the second type of analog card uses the 0x20 parameter. When the analog card recognition device receives the SAK of 0x08, it will send relevant instructions according to the Mifare protocol; and when the analog card recognition device receives the SAK of 0x02, it will send relevant instructions according to the ISO14443 protocol.
[0034] After identifying the simulated card, the simulated card identification device will send a RATS instruction to the electronic device; ATS is the response of the electronic device to the RATS instruction sent by the simulated card identification device, and ATS contains waiting time parameters, communication rate parameters and private information of the simulated card; the waiting time parameter is used to inform the simulated card identification device how long it will take for the electronic device to respond after receiving the instruction of the simulated card identification device, that is, how long the simulated card identification device needs to wait at most. The communication rate parameter can be 106kbps, 212kbps, 424kbps or 848kbps. The private information of the simulated card can be the description information of the simulated card, etc. The RATS instruction is the instruction sent by the simulated card identification device corresponding to the second type of simulated card, while the simulated card identification device corresponding to the first type of simulated card usually does not send this instruction.
[0035] Correspondingly, the first fusion parameter also includes ATQA, UID, SAK and ATS. The ATQA included in the first fusion parameter can be 0x0400 or 0x0800. In the embodiment of the present application, the ATQA included in the first fusion parameter is 0x0400 as an example for explanation. In the case where a first type of simulation card is included in multiple simulation cards, the first type of simulation card is a card identified by UID; for example, the first type of simulation card is an access card, then the UID included in the first fusion parameter can be the UID of the first type of simulation card; in the case where the first type of simulation card is not included in multiple simulation cards, the UID included in the first fusion parameter can be the UID of any one of the multiple simulation cards. The SAK included in the first fusion parameter can be a 0x20 parameter or a 0x08 parameter. In the embodiment of the present application, the SAK included in the first fusion parameter is a 0x20 parameter as an example for explanation. The ATS included in the first fusion parameter may be an ATS determined based on the ATSs of multiple simulated cards, and the determined ATS is adapted to the multiple simulated cards; for example, if the ATS includes a waiting time parameter, the electronic device determines a maximum waiting time parameter based on the waiting time parameters of the multiple simulated cards, and uses the maximum waiting time parameter as the ATS in the first fusion parameter; for another example, if the ATS includes a communication rate parameter, the electronic device determines a minimum communication rate parameter based on the communication rate parameters of the multiple simulated cards, and uses the minimum communication rate parameter as the ATS in the first fusion parameter.
[0036] In some embodiments, when some simulated cards have ATSs and some simulated cards do not have ATSs, when fusing the non-contact parameters of multiple simulated cards to obtain the first fusion parameter, the ATSs of the simulated cards with ATSs may be fused to obtain the ATSs included in the first fusion parameter. If none of the multiple simulated cards have ATSs, the ATSs of the multiple simulated cards may not be fused.
[0037] Step 202: Determine the card type of the first simulated card, and update the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter.
[0038] Since multiple simulation cards are activated at the same time, that is, the first fusion parameter is a parameter obtained by fusing the non-contact parameters of multiple simulation cards; therefore, when the first simulation card is deactivated, the electronic device needs to update the first fusion parameter. In some embodiments, when the first simulation card is deactivated, the first simulation card is directly deleted, and the updated second fusion parameter is a fusion parameter based on the non-contact parameters of other simulation cards in the multiple simulation cards except the first simulation card. In other embodiments, when the first simulation card is deactivated, a second simulation card is determined as a replacement card for the first simulation card, so that the updated second fusion parameter is a fusion parameter of the non-contact parameters of the second simulation card and other simulation cards in the multiple simulation cards except the first simulation card.
[0039] In some embodiments, the electronic device deactivates the first simulated card, for example, by maintaining the contactless parameter of the first simulated card as the first fusion parameter; or by setting the contactless parameter of the first simulated card to the initial contactless parameter, thereby deactivating the first simulated card. The electronic device sets the contactless parameters of other simulated cards to the second fusion parameter, so that the other simulated cards are still activated, and the number of other simulated cards can be multiple, and the contactless parameters of multiple other simulated cards are all set to the second fusion parameter.
[0040] In an embodiment of the present application, when the first simulated card among multiple simulated cards that are activated at the same time needs to be deactivated, the first fusion parameter obtained by fusing the non-contact parameters of the multiple simulated cards is updated to obtain the second fusion parameter. Since the first fusion parameter is updated to the second fusion parameter, the other simulated cards among the multiple simulated cards except the first simulated card are still in an activated state and are available, so that the user can swipe the card through other simulated cards, thereby improving the user's card swiping experience.
[0041] Please refer to Figure 3 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0042] Step 301: When the first simulated card among multiple activated simulated cards needs to be deactivated, the electronic device obtains the first fusion parameter of the multiple simulated cards, and the first fusion parameter is obtained based on the contactless parameter fusion of the multiple simulated cards. The first fusion parameter is a parameter that supports any activated simulated card to communicate with the simulated card recognition device in a contactless manner.
[0043] In some embodiments, this step is the same as step 201 and will not be repeated here.
[0044] In some embodiments, when deactivating the first simulated card among multiple simulated cards, a second simulated card that is not activated and of the same type as the first simulated card can be found to replace the first simulated card; accordingly, step 302 is executed to determine whether such a second simulated card exists, and when a replacement card of the same type exists, the replacement card of the same type is activated, thereby satisfying the user's card swiping needs. In other embodiments, when deactivating the first simulated card among multiple simulated cards, the second simulated card is not found to replace the first simulated card, but the first simulated card is directly deleted. After executing step 301, step 304 is directly executed, "the electronic device updates the first fusion parameter based on the non-contact parameters of other simulated cards to obtain the second fusion parameter", thereby improving the deactivation efficiency.
[0045] Step 302: The electronic device determines whether there is a second simulated card in the current login account that is not activated and is of the same type as the first simulated card.
[0046] The current login account may be an electronic wallet or electronic card package of an electronic device, etc. If there is an unactivated second simulated card of the same type as the first simulated card in the current login account, step 302 is executed; if there is no unactivated second simulated card of the same type as the first simulated card in the current login account, step 304 is executed.
[0047] In some embodiments, when there are multiple unactivated second simulated cards of the same type as the first simulated card in the current login account, the electronic device determines the second simulated card from the multiple second simulated cards, and then executes "the electronic device updates the first fusion parameter to obtain the second fusion parameter based on the contactless parameter of the second simulated card" in step 303. The step of the electronic device determining the second simulated card from the multiple second simulated cards may be: when the card type of the first simulated card is an access card, and there are multiple unactivated access cards of the same type in the current login account, the electronic device selects the second simulated card closest to the current location from the multiple access cards based on the current location; for example, the electronic device detects whether there are other unactivated access cards in the electronic wallet; if there are other unactivated access cards in the electronic wallet, another access card is selected to replace the deactivated access card according to the current geographic location. In other embodiments, when the card type of the first simulated card is a bus card and there are multiple inactivated bus cards of the same type in the currently logged-in account, the electronic device selects a second simulated card from multiple bus cards whose adapted city is the current city and whose balance is not less than a preset balance based on the current city and the adapted cities and balances of the multiple bus cards.
[0048] In an embodiment of the present application, when there are multiple second simulated cards that meet the conditions (not activated and of the same type as the first simulated card) in the current login account, a replacement card for the first simulated card will be determined from the multiple second simulated cards, thereby ensuring that even if the first simulated card is deactivated, the user can still swipe the card through the replacement card for the first simulated card, thereby improving the user's card swiping experience.
[0049] Step 303: When there is an inactivated second simulated card of the same type as the first simulated card in the current login account, the electronic device activates the second simulated card and updates the first fusion parameters based on the contactless parameters of the second simulated card to obtain second fusion parameters. The second simulated card is a replacement card for the first simulated card.
[0050] The electronic device sets the status of the second simulated card from inactivated to activated. The first simulated card and the second simulated card are simulated cards of the same type. In some embodiments, the first simulated card and the second simulated card are both simulated cards of the first type, that is, the first simulated card and the second simulated card are both cards identified by a unique identification number UID, then the electronic device modifies the UID in the first fusion parameter from the UID of the first simulated card to the UID of the second simulated card, and keeps the contactless parameters in the first fusion parameter except the UID unchanged to obtain the second fusion parameter, that is, the contactless parameters of the second simulated card and the contactless parameters of other simulated cards are all set to the second fusion parameters.
[0051] In some embodiments, the first simulated card and the second simulated card are both simulated cards of the second type, that is, the first simulated card and the second simulated card are not cards identified by UID, then the electronic device fuses the contactless parameters of the second simulated card and the contactless parameters of other simulated cards to obtain second fused parameters, that is, the contactless parameters of the second simulated card and the contactless parameters of other simulated cards are both set to the second fused parameters.
[0052] In some embodiments, the contactless parameters of the simulated card include ATQA, UID, SAK and ATS; accordingly, the step for the electronic device to fuse the contactless parameters of the second simulated card with the contactless parameters of other simulated cards to obtain the second fused parameters can be: the electronic device unifies the ATQA of the second simulated card and the ATQA of the other simulated cards to be the same, for example, all unified to 0x0400; the electronic device unifies the UID of the second simulated card and the UID of the other simulated cards to the UID of any one of the simulated cards; the electronic device unifies the SAK of the second simulated card and the SAK of the other simulated cards to be the same, for example, all unified to 0x28; the electronic device determines the ATS based on the ATS of the second simulated card and the ATS of the other simulated cards, and sets the ATS of the second simulated card and the ATS of the other simulated cards to the determined ATS.
[0053] In some embodiments, the ATS includes a waiting time parameter, and the electronic device determines the maximum waiting time parameter based on the waiting time parameter of the second simulated card and the waiting time parameters of other simulated cards; in other embodiments, the ATS includes a communication rate parameter, and the electronic device determines the minimum communication rate parameter based on the communication rate parameter of the second simulated card and the communication rate parameter of other simulated cards. Accordingly, the determined ATS includes the maximum waiting time parameter and the minimum communication rate parameter, that is, the ATS of the second simulated card and the ATS of the other simulated cards are set to the maximum waiting time parameter and the minimum communication rate parameter.
[0054] In some embodiments, since the second simulated card is not a simulated card of the first type, the parameter of more concern in the contactless parameters of the second simulated card is ATS, while other contactless parameters have been set to be unified; therefore, the step for the electronic device to fuse the contactless parameters of the second simulated card with the contactless parameters of the other simulated cards to obtain second fused parameters can be: the electronic device determines the ATS based on the ATS of the second simulated card and the ATS of the other simulated cards, sets the ATS of the second simulated card and the ATS of the other simulated cards to the determined ATS, keeps other contactless parameters unchanged to obtain the second fused parameters, thereby saving workload and improving card processing efficiency.
[0055] Step 304: When there is no inactivated second simulated card of the same type as the first simulated card in the current login account, the electronic device updates the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of other simulated cards.
[0056] In some embodiments, the first simulated card is a simulated card of the first type, that is, the first simulated card is a card identified by UID, then the electronic device selects a third simulated card from other simulated cards, modifies the UID in the first fusion parameter from the UID of the first simulated card to the UID of the third simulated card, keeps the contactless parameters in the first fusion parameter other than UID unchanged, and obtains the second fusion parameter. In an embodiment of the present application, the electronic device only modifies the UID in the first fusion parameter, while the other contactless parameters in the first fusion parameter remain unchanged, thereby reducing the workload of updating the first fusion parameter and improving the update efficiency. In other embodiments, the first simulated card is not a simulated card of the first type, that is, the first simulated card is not a card identified by UID, then the electronic device fuses the contactless parameters of other simulated cards to obtain the second fusion parameter.
[0057] In some embodiments, the contactless parameters of the simulated card include ATQA, UID, SAK and ATS; accordingly, the step for the electronic device to fuse the contactless parameters of other simulated cards to obtain a second fused parameter may be: the electronic device unifies the ATQA of other simulated cards to be the same, for example, all unified to 0x0400; the electronic device unifies the UID of other simulated cards to be the UID of any one of the simulated cards; the electronic device unifies the SAK of other simulated cards to be the same, for example, all unified to 0x28; the electronic device determines the ATS based on the ATS of other simulated cards, and sets the ATS of other simulated cards to the determined ATS.
[0058] In some embodiments, the ATS includes a waiting time parameter, and the electronic device determines the maximum waiting time parameter based on the waiting time parameters of other simulated cards; in other embodiments, the ATS includes a communication rate parameter, and the electronic device determines the minimum communication rate parameter based on the communication rate parameters of other simulated cards. Accordingly, the determined ATS includes the maximum waiting time parameter and the minimum communication rate parameter, that is, the ATS of other simulated cards are all set to the maximum waiting time parameter and the minimum communication rate parameter.
[0059] In an embodiment of the present application, when the first simulated card among multiple simulated cards that are activated at the same time needs to be deactivated, if there is a second simulated card of the same type that is not activated, the second simulated card is used as a replacement card for the first simulated card, and the first fusion parameter is updated based on the contactless parameter of the second simulated card, so that it can be ensured that even if the first simulated card is deactivated, the user can still swipe the card through the replacement card of the first simulated card, thereby improving the user's card swiping experience. In the absence of a second simulated card of the same type that is not activated, the first simulated card is directly deleted and the first fusion parameter is updated, so that other simulated cards are still activated and available, so that the user can swipe the card through other simulated cards, thereby improving the user's card swiping experience.
[0060] Please refer to Figure 4 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0061] Step 401: The electronic device determines the card information of multiple activated simulated cards.
[0062] Prior to this step, the electronic device simultaneously activates multiple simulated cards; in this step, the electronic device determines the card information of the multiple activated simulated cards. For each simulated card, the electronic device determines whether the card information of the simulated card meets the usage conditions; if the card information of the simulated card does not meet the usage conditions, it is determined that the simulated card needs to be deactivated, that is, step 402 is executed. For the sake of distinction, the simulated card that needs to be deactivated is called the first simulated card. If the card information of the simulated card meets the usage conditions, the simulated card is not deactivated.
[0063] In some embodiments, the step of the electronic device determining whether the card information of the first simulated card meets the usage condition may include any of the following implementations:
[0064] For the first implementation, the card information includes a valid period of use, and the electronic device determines whether the current time is within the valid period of use of the first simulated card. If the current time is within the valid period of use of the first simulated card, it is determined that the card information of the first simulated card meets the use condition; and if the current time is not within the valid period of use of the first simulated card, it is determined that the card information of the first simulated card does not meet the use condition. For example, the first simulated card is an access card, and a valid period is set for the access card. When the valid period of the access card has expired, the access card needs to be deactivated.
[0065] For the second implementation, the card information includes an adapted city, and the electronic device determines whether the current location is in the adapted city of the first simulated card. If the current location is in the adapted city of the first simulated card, it determines that the card information of the first simulated card meets the use conditions; and if the current location is not in the adapted city of the first simulated card, it determines that the card information of the first simulated card does not meet the use conditions. For example, the first simulated card is a bus card or a subway card. When the user changes cities due to business trips, the bus card or subway card cannot be used in the new city, and the bus card or subway card needs to be activated.
[0066] For the third implementation, the card information includes a balance; the electronic device determines whether the balance of the first simulated card is greater than a preset balance; if the balance of the first simulated card is greater than the preset balance, it is determined that the card information of the first simulated card meets the use condition; and if the balance of the first simulated card is not greater than the preset balance, it is determined that the card information of the first simulated card does not meet the use condition. For example, the first simulated card is a bus card or a subway card, and when the balance of the bus card or the subway card is insufficient, the bus card or the subway card needs to be activated.
[0067] For the fourth implementation, the card information includes discount information; the electronic device determines whether the discount information of the first simulated card is available; if the discount information of the first simulated card is available, it is determined that the card information of the first simulated card meets the use condition; and if the discount information of the first simulated card is not available, it is determined that the card information of the first simulated card does not meet the use condition. For example, the first simulated card is a bus card or a subway card, and the card swiping discount has expired, so it is necessary to activate the bus card or the subway card.
[0068] Step 402: When the card information of a first simulated card among the multiple simulated cards does not meet the usage condition, the electronic device determines that the first simulated card needs to be deactivated.
[0069] In an embodiment of the present application, the electronic device automatically detects whether the card information of the first simulated card meets the usage conditions; when it is detected that the card information of the first simulated card does not meet the usage conditions, the first simulated card is deactivated, thereby automatically deactivating the inappropriate simulated card without the user's perception, while keeping other simulated cards still in an available state, thereby improving the user's card swiping experience.
[0070] Step 403: The electronic device obtains first fusion parameters of multiple simulated cards, where the first fusion parameters are obtained based on the fusion of contactless parameters of multiple simulated cards, and the first fusion parameters are parameters that support any activated simulated card to communicate with the simulated card recognition device in a contactless manner.
[0071] In some embodiments, this step is the same as the process of obtaining the first fusion parameters of multiple simulated cards in step 201, and will not be repeated here.
[0072] Step 404: the electronic device determines the card type of the first simulated card, and updates the first fusion parameter based on the card type of the first simulated card to obtain a second fusion parameter.
[0073] In some embodiments, this step is the same as step 202; or this step can be implemented through steps 302-304, which will not be repeated here.
[0074] In an embodiment of the present application, when the usage conditions of the simulated card change, the electronic device automatically deactivates an inappropriate first simulated card; and, when the electronic device updates the first fusion parameter obtained by the contactless parameter fusion of multiple simulated cards, it can also select other suitable second simulated cards from the currently logged-in account, and activate the second simulated card as a supplement to the first simulated card, thereby avoiding to a certain extent the situation where the user's simulated card cannot be swiped due to changes in usage conditions.
[0075] Please refer to Figure 5 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0076] Step 501: When receiving a deactivation instruction triggered by a user, the electronic device determines that a deactivation operation needs to be performed on a first simulated card, and the deactivation instruction is used to instruct to deactivate the first simulated card.
[0077] The user can also manually select an inappropriate simulated card for deactivation; accordingly, the electronic device displays the card interface corresponding to the current login account, which includes multiple simulated cards in the current login account, and the multiple activated simulated cards are located at the top of the card interface, while the unactivated simulated cards are located at the bottom of the card interface; in addition, the electronic device can distinguish between activated simulated cards and unactivated simulated cards by different colors in the card interface; for example, the color of the activated simulated card is dark, and the color of the unactivated simulated card is light. In addition, the electronic device can set label information on the simulated card in the card interface, and the label information includes the card type of the simulated card and can also include description information of the simulated card; for example, if the simulated card is an access card, the label information of the access card includes the first type and "access card at home". The user can select the first simulated card from the multiple activated simulated cards in the card interface, and trigger the deactivation instruction to the electronic device; when the electronic device receives the deactivation instruction, the electronic device determines that the first simulated card needs to be deactivated.
[0078] Step 502: The electronic device obtains first fusion parameters of multiple simulated cards, where the first fusion parameters are obtained based on the fusion of contactless parameters of multiple simulated cards, and the first fusion parameters are parameters that support any activated simulated card to communicate with the simulated card recognition device in a contactless manner.
[0079] In some embodiments, this step is the same as step 201 and will not be repeated here.
[0080] Step 503: the electronic device determines the card type of the first simulated card, and updates the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter.
[0081] In some embodiments, in some embodiments, this step is the same as step 202; or this step can be implemented through steps 302-304, which will not be repeated here.
[0082] In an embodiment of the present application, a user can manually select a suitable simulated card for deactivation operation, thereby meeting the needs of the user; for example, after the user moves, the access card of the old home can be deactivated, thereby timely updating the fusion operation, so that after the access card of the old home is deactivated, the normal use of other simulated cards can still be guaranteed, thereby improving the user's card swiping experience.
[0083] Please refer to Figure 6 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0084] Step 601: When receiving a deactivation instruction triggered by the user, the electronic device determines that the first simulated card needs to be deactivated, the deactivation instruction is used to instruct the deactivation operation to be performed on the first simulated card, and the deactivation instruction also indicates a fourth simulated card to be activated.
[0085] The user can also manually select an inappropriate simulated card for deactivation; accordingly, the electronic device displays the card interface corresponding to the current login account, which includes multiple simulated cards in the current login account, and the multiple activated simulated cards are located at the top of the card interface, while the unactivated simulated cards are located at the bottom of the card interface; in addition, the electronic device can distinguish the activated simulated cards from the unactivated simulated cards by different colors in the card interface; for example, the color of the activated simulated card is dark, and the color of the unactivated simulated card is light. In addition, the electronic device can set label information on the simulated card in the card interface, and the label information includes the card type of the simulated card and the description information of the simulated card; for example, if the simulated card is an access card, the label information of the access card includes the first type and "access card at home". The user can select the first simulated card from the multiple activated simulated cards in the card interface, and select the second simulated card from the unactivated simulated cards in the card interface, and trigger the deactivation instruction to the electronic device; when the electronic device receives the deactivation instruction, the electronic device determines that the first simulated card needs to be deactivated.
[0086] Step 602: The electronic device obtains first fusion parameters of multiple simulated cards. The first fusion parameters are obtained based on the fusion of contactless parameters of multiple simulated cards. The first fusion parameters are parameters that support any activated simulated card to communicate with the simulated card recognition device in a contactless manner.
[0087] In some embodiments, this step is the same as step 201 and will not be repeated here.
[0088] Step 603: the electronic device activates the fourth simulated card, and based on the card type of the first simulated card and the contactless parameter of the fourth simulated card, updates the first fusion parameter to obtain the second fusion parameter.
[0089] In the case where the card type of the first simulated card is the same as the card type of the fourth simulated card, the electronic device activates the fourth simulated card, and based on the contactless parameters of the fourth simulated card, updates the first fusion parameters to obtain the second fusion parameters. In some embodiments, the process in which the electronic device activates the fourth simulated card and updates the first fusion parameters to obtain the second fusion parameters based on the contactless parameters of the fourth simulated card is similar to the process in which the electronic device activates the second simulated card and updates the first fusion parameters to obtain the second fusion parameters based on the contactless parameters of the second simulated card, and will not be repeated here.
[0090] In the case where the card type of the first simulated card is different from the card type of the fourth simulated card, for example, the card type of the first simulated card is the first type, and the card type of the fourth simulated card is the second type, the electronic device fuses the contactless parameters of the fourth simulated card with the contactless parameters of other simulated cards in the plurality of simulated cards to obtain the second fusion parameter. For another example, if the card type of the first simulated card is the second type, and the card type of the fourth simulated card is the first type, and there is no simulated card of the first type in the other simulated cards in the plurality of simulated cards, the electronic device modifies the UID in the first fusion parameter to the UID of the fourth simulated card to obtain the second fusion parameter.
[0091] In an embodiment of the present application, a user can manually select a suitable analog card for deactivation operation, and the user can also manually select a suitable analog card as a replacement card, thereby meeting the needs of the user; for example, after the user moves, the access control card of the old home can be deactivated, and then the access control card of the new home can be activated, thereby timely updating the fusion operation, so that after the access control card of the old home is deactivated, the contactless parameters of the access control card of the new home and the contactless parameters of other analog cards are merged, thereby ensuring the normal use of the access control card of the new home and other analog cards, and improving the user's card swiping experience.
[0092] Please refer to Figure 7 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0093] Step 701: When receiving a deactivation instruction triggered by the user, the electronic device determines that the first simulated card needs to be deactivated, the deactivation instruction is used to instruct the deactivation operation to be performed on the first simulated card, and the deactivation instruction also indicates a fourth simulated card to be activated.
[0094] In some embodiments, this step is the same as step 601 and will not be repeated here.
[0095] Step 702: The electronic device obtains first fusion parameters of multiple simulated cards, where the first fusion parameters are obtained based on the fusion of contactless parameters of multiple simulated cards, and the first fusion parameters are parameters that support any activated simulated card to communicate with the simulated card recognition device in a contactless manner.
[0096] In some embodiments, this step is the same as step 201 and will not be repeated here.
[0097] Step 703: The electronic device determines whether there is an inactivated second simulated card of the same type as the first simulated card in the currently logged-in account.
[0098] In some embodiments, this step is the same as step 302 and will not be repeated here.
[0099] Step 704: When there is an inactivated second simulated card of the same type as the first simulated card in the current login account, the electronic device determines the second simulated card.
[0100] When there is no inactivated second simulated card of the same type as the first simulated card in the current login account, the electronic device obtains the contactless parameters of the fourth simulated card, and then executes step 706: "The electronic device updates the first fusion parameters based on the contactless parameters of the fourth simulated card to obtain second fusion parameters, and the fourth simulated card is a replacement card for the first simulated card."
[0101] Step 705: When the second simulated card and the fourth simulated card are the same, the electronic device activates the second simulated card, and based on the contactless parameters of the second simulated card, updates the first fusion parameters to obtain second fusion parameters, and the second simulated card is a replacement card for the first simulated card.
[0102] The step in which the electronic device updates the first fusion parameters to obtain the second fusion parameters based on the contactless parameters of the second simulated card is the same as the step in step 303 of "the electronic device activates the second simulated card, and based on the contactless parameters of the second simulated card, updates the first fusion parameters to obtain the second fusion parameters", and will not be repeated here.
[0103] Step 706: When the second simulated card and the fourth simulated card are different, the electronic device activates the fourth simulated card, and based on the contactless parameters of the fourth simulated card, updates the first fusion parameters to obtain second fusion parameters, and the fourth simulated card is a replacement card for the first simulated card.
[0104] In some embodiments, the process in which the electronic device activates a fourth simulation card and updates the first fusion parameters to obtain second fusion parameters based on the contactless parameters of the fourth simulation card is similar to the process in which the electronic device activates the second simulation card and updates the first fusion parameters to obtain second fusion parameters based on the contactless parameters of the second simulation card, and will not be repeated here.
[0105] In some embodiments, when the replacement card automatically determined by the electronic device is different from the replacement card manually selected by the user, the replacement card manually selected by the user shall prevail, thereby meeting the needs of the user. In other embodiments, when the replacement card automatically determined by the electronic device is different from the replacement card manually selected by the user, a confirmation interface is displayed, the confirmation interface includes the card information of the second simulated card and the card information of the fourth simulated card, the selected simulated card of the second simulated card and the fourth simulated card is obtained, and the first fusion parameter is updated to obtain the second fusion parameter based on the contactless parameter of the selected simulated card, thereby performing a second confirmation to ensure the accuracy of the activated replacement card. In other embodiments, when the replacement card automatically determined by the electronic device is different from the replacement card manually selected by the user, the electronic device activates both the automatically determined replacement card and the replacement card manually selected by the user; accordingly, the electronic device updates the first fusion parameter to obtain the second fusion parameter based on the contactless parameter of the second simulated card and the contactless parameter of the fourth simulated card, and the second simulated card and the fourth simulated card are both replacement cards for the first simulated card, thereby enriching the replacement cards and further improving the user's card swiping experience.
[0106] In an embodiment of the present application, when the replacement card automatically determined by the electronic device is different from the replacement card manually selected by the user, the replacement card manually selected by the user shall prevail, thereby satisfying the needs of the user.
[0107] Please refer to Figure 8 , which shows a flowchart of a processing method for simulating a card according to an exemplary embodiment of the present application. The method includes:
[0108] Step 801: The electronic device determines the card information of multiple activated simulated cards.
[0109] In some embodiments, this step is the same as step 401 and will not be repeated here.
[0110] Step 802: When the card information of a first simulated card among the multiple simulated cards does not meet the usage condition, the electronic device determines that the first simulated card needs to be deactivated.
[0111] In some embodiments, this step is the same as step 402 and will not be repeated here.
[0112] Step 803: The electronic device determines whether the card type of the first simulated card is an access control card.
[0113] Since the access card is identified by the UID, the key to update the first fusion parameter of the access card is the UID. Therefore, the electronic device first determines whether the first simulated card is an access card. If the first simulated card is an access card, execute step 804; if the first simulated card is not an access card, execute step 807. In some embodiments, the electronic device stores the card type of the first simulated card, and if the card type of the first simulated card is the first type, it is determined that the first simulated card is an access card; if the card type of the first simulated card is not the first type (it is the second type), it is determined that the first simulated card is not an access card.
[0114] Step 804: When the card type of the first simulated card is an access card, the electronic device determines whether there are other access cards in the current login account as substitutes.
[0115] The electronic device determines whether there is an unactivated access control card in the current login account; if there is an unactivated access control card in the current login account, it determines whether there are other access control cards in the current login account to replace it, and executes step 805; if there is no unactivated access control card in the current login account, it determines that there are no other access control cards in the current login account to replace it, and executes step 806.
[0116] Step 805: When there are other access control cards as replacement in the current login account, the electronic device activates the other access control cards and uses the UID of the newly activated access control card as the UID in the first fusion parameter to obtain the second fusion parameter.
[0117] The electronic device sets the status of other access control cards from unactivated to activated; and uses the UID of the newly activated access control card as the UID in the first fusion parameter, keeping other contactless parameters in the first fusion parameter except the UID unchanged to obtain the second fusion parameter; the electronic device sets the contactless parameters of other access control cards and the contactless parameters of other simulated cards among the activated multiple access control cards except the activated access control card to the second fusion parameter to ensure that other access control cards and other simulated cards are in an available state, thereby improving the user's card swiping experience.
[0118] Step 806: When there is no other access card replacement in the current login account, the electronic device selects a UID of a simulated card from multiple activated other simulated cards as the UID in the first fusion parameter to obtain the second fusion parameter.
[0119] The electronic device randomly selects a simulated card from multiple other activated simulated cards, modifies the UID in the first fusion parameter from the UID of the deactivated access card to the UID of the selected simulated card, keeps other contactless parameters except the UID in the first fusion parameter unchanged to obtain the second fusion parameter; sets the contactless parameters of other simulated cards to the second fusion parameter, thereby ensuring that other simulated cards are in an available state and improving the user's card swiping experience.
[0120] Step 807: When the card type of the first simulated card is not an access card, the electronic device determines whether there is a replacement card of the same type in the current login account.
[0121] In some embodiments, if the first simulated card is not an access card, the first simulated card is a CPU card. For example, if the first simulated card is a bus card, the electronic device determines whether there is an unactivated bus card in the current login account. For another example, if the first simulated card is a subway card, the electronic device determines whether there is an unactivated subway card in the current login account.
[0122] Step 808: When there is a replacement card of the same type in the current login account, the electronic device activates the replacement card and updates the fused ATS of the newly activated replacement card to obtain a second fusion parameter.
[0123] In some embodiments, if the first simulated card is not an access card, then the first simulated card is a CPU card, and the key to the contactless parameters of the CPU card is ATS, then the electronic device activates the replacement card, and then determines the ATS based on the ATS of the replacement card and the ATS in the first fusion parameter, modifies the ATS in the first fusion parameter to the determined ATS to obtain the second fusion parameter, and sets the contactless parameters of the newly activated replacement card and the contactless parameters of other simulated cards to the second fusion parameter. In other embodiments, since only the ATS is different in the first fusion parameter and the second fusion parameter; therefore, the electronic device may not perform an overall update of the fusion parameters, but instead modifies the ATS of the newly activated replacement card and the ATS of other simulated cards to the determined ATS to achieve the setting of the second fusion parameter.
[0124] Step 809: When there is no replacement card of the same type in the current login account, the electronic device updates the fused ATS of multiple other activated simulated cards to obtain a second fusion parameter.
[0125] The electronic device determines the ATS based on the ATS of other simulated cards, modifies the ATS in the first fusion parameter to the determined ATS to obtain the second fusion parameter, and sets the contactless parameter of other simulated cards to the second fusion parameter. In other embodiments, since only the ATS is different between the first fusion parameter and the second fusion parameter, the electronic device may not perform an overall update of the fusion parameter, but may modify the ATS of other simulated cards to the determined ATS to achieve the setting of the second fusion parameter.
[0126] In an embodiment of the present application, when the first simulated card among multiple simulated cards that are activated at the same time needs to be deactivated, the first fusion parameter obtained by fusing the contactless parameters of the multiple simulated cards is updated. Since the contactless parameters of the other simulated cards except the first simulated card among the multiple simulated cards are set to the second fusion parameter, the other simulated cards are still in an activated state and are available, so that the user can swipe the card through the other simulated cards, thereby improving the user's card swiping experience.
[0127] Please refer to Fig. 9 , which shows a block diagram of a processing device for simulating a card according to an exemplary embodiment of the present application, the device comprising:
[0128] The first determination module 901 is used to obtain a first fusion parameter of the multiple simulated cards when the first simulated card among the multiple activated simulated cards needs to be deactivated, the first fusion parameter being obtained based on the fusion of contactless parameters of the multiple simulated cards, and the first fusion parameter being a parameter supporting any activated simulated card to communicate with the simulated card recognition device in a contactless manner;
[0129] The updating module 902 is used to determine the card type of the first simulated card, and update the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter.
[0130] In some embodiments, the update module 902 is used to activate the second simulated card when there is an inactivated second simulated card of the same type as the first simulated card in the current login account, and to update the first fusion parameter to obtain the second fusion parameter based on the contactless parameter of the second simulated card.
[0131] In some embodiments, the update module 902 is used to modify the UID in the first fusion parameter from the UID of the first simulated card to the UID of the second simulated card to obtain the second fusion parameter when both the first simulated card and the second simulated card are cards identified by a unique identification number UID.
[0132] In some embodiments, the update module 902 is used to fuse the contactless parameters of the second simulated card with the contactless parameters of other simulated cards in the multiple simulated cards to obtain second fused parameters when neither the first simulated card nor the second simulated card is identified by UID.
[0133] In some embodiments, the update module 902 is used to update the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of other simulated cards in the multiple simulated cards when there is no inactivated second simulated card of the same type as the first simulated card in the current login account.
[0134] In some embodiments, the updating module 902 is used to select a third simulated card from other simulated cards when the first simulated card is a card identified by UID, and to modify the UID in the first fusion parameter from the UID of the first simulated card to the UID of the third simulated card to obtain the second fusion parameter;
[0135] In the case that the first simulated card is not a card identified by UID, the contactless parameters of other simulated cards are fused to obtain the second fused parameters.
[0136] In some embodiments, the apparatus further comprises:
[0137] The first selection module is used to select a second simulation card closest to the current location from multiple access control cards based on the current location when the card type of the first simulation card is an access control card and there are multiple inactivated access control cards of the same type in the current login account.
[0138] In some embodiments, the apparatus further comprises:
[0139] The second selection module is used to select a second simulated card whose adaptation city is the current city and whose balance is not less than the preset balance from multiple bus cards based on the current city and the adaptation cities and balances of the multiple bus cards when the card type of the first simulated card is a bus card and there are multiple inactivated bus cards of the same type in the currently logged-in account.
[0140] In some embodiments, the apparatus further comprises:
[0141] The second determination module is used to determine the card information of multiple activated simulated cards; when the card information of the first simulated card among the multiple simulated cards does not meet the usage conditions, determine that the first simulated card needs to be deactivated.
[0142] In some embodiments, the apparatus further comprises:
[0143] The third determination module is used to determine that the first simulated card needs to be deactivated when receiving a deactivation instruction triggered by the user, where the deactivation instruction is used to instruct to deactivate the first simulated card.
[0144] In some embodiments, the deactivation instruction further indicates a fourth simulated card to be activated;
[0145] The updating module 902 is used to activate the fourth simulated card, and based on the card type of the first simulated card and the contactless parameter of the fourth simulated card, update the first fusion parameter to obtain the second fusion parameter.
[0146] In an embodiment of the present application, when the first simulated card among multiple simulated cards that are activated at the same time needs to be deactivated, the first fusion parameter obtained by fusing the non-contact parameters of the multiple simulated cards is updated to obtain the second fusion parameter. Since the first fusion parameter is updated to the second fusion parameter, the other simulated cards among the multiple simulated cards except the first simulated card are still in an activated state and are available, so that the user can swipe the card through other simulated cards, thereby improving the user's card swiping experience.
[0147] It should be noted that the processing device for simulating a card provided in the above embodiment only uses the division of the above functional modules as an example when processing a simulated card. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In addition, the processing device for simulating a card provided in the above embodiment and the embodiment of the processing method for simulating a card belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0148] Please refer to Fig.10 , which shows a block diagram of an electronic device 1000 according to an exemplary embodiment of the present application. The electronic device 1000 in the present application includes an NFC chip 1010 and may also include one or more of the following components: a processor 1020, a memory 1030 and a display screen 1040.
[0149] The processor 1020 may include one or more processing cores. The processor 1020 uses various interfaces and lines to connect the various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1030, and calling data stored in the memory 1030. Optionally, the processor 1020 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1020 can integrate one or more combinations of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, 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 by the display screen 1040; the NPU is used to implement artificial intelligence (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 1020, but may be implemented by a separate chip.
[0150] The memory 1030 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1030 includes a non-transitory computer-readable storage medium. The memory 1030 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1030 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 (such as audio data, a phone book), etc., created according to the use of the electronic device 1000.
[0151] The display screen 1040 is a display component for displaying a user interface. Optionally, the display screen 1040 is a display screen with a touch function, through which the user can use any suitable object such as a finger, a touch pen, etc. to perform touch operations on the display screen 1040.
[0152] The display screen 1040 is usually arranged on the front panel of the electronic device 1000. The display screen 1040 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. The display screen 1040 can also be designed as 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.
[0153] In addition, those skilled in the art can understand that the structure of the electronic device 1000 shown in the above drawings does not constitute a limitation on the electronic device 1000, and the electronic device 1000 may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device 1000 also includes an audio acquisition device, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, Wi-Fi) module, a power supply, a Bluetooth module and other components, which will not be repeated here.
[0154] An embodiment of the present application also provides a computer-readable 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 processing method of the simulated card shown in the above embodiments.
[0155] An embodiment of the present application also provides a computer program product, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the processing method of the simulated card shown in the above embodiments.
[0156] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed and executed on a user electronic device, or on multiple user electronic devices located at one location, or on multiple user electronic devices distributed at multiple locations and interconnected by a communication network. Multiple user electronic devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.
[0157] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0158] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for processing a simulated card, characterized in that: The method comprises: When a first simulated card among multiple activated simulated cards needs to be deactivated, obtaining first fusion parameters of the multiple simulated cards, the first fusion parameters being obtained based on contactless parameter fusion of the multiple simulated cards, and the first fusion parameters being parameters supporting any activated simulated card to communicate with a simulated card recognition device in a contactless manner; The card type of the first simulated card is determined, and the first fusion parameter is updated based on the card type of the first simulated card to obtain a second fusion parameter.
2. The method according to claim 1, characterized in that The updating of the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter includes: When there is an inactivated second simulated card of the same type as the first simulated card in the current login account, the second simulated card is activated, and based on the contactless parameters of the second simulated card, the first fusion parameters are updated to obtain the second fusion parameters.
3. The method according to claim 2, characterized in that The updating of the first fusion parameter based on the contactless parameter of the second simulated card to obtain the second fusion parameter includes: In the case where both the first simulated card and the second simulated card are cards identified by a unique identification number UID, the UID in the first fusion parameter is modified from the UID of the first simulated card to the UID of the second simulated card to obtain the second fusion parameter.
4. The method according to claim 2, characterized in that: The updating of the first fusion parameter based on the contactless parameter of the second simulated card to obtain the second fusion parameter includes: In the case that neither the first simulated card nor the second simulated card is a card identified by UID, the contactless parameter of the second simulated card is fused with the contactless parameters of other simulated cards in the plurality of simulated cards to obtain the second fused parameter.
5. The method according to claim 1, characterized in that The updating of the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter includes: When there is no inactivated second simulated card of the same type as the first simulated card in the current login account, the first fusion parameter is updated to obtain the second fusion parameter based on the contactless parameters of other simulated cards among the multiple simulated cards.
6. The method according to claim 5, characterized in that The updating of the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of other simulated cards among the multiple simulated cards includes: In the case where the first simulated card is a card identified by UID, a third simulated card is selected from the other simulated cards, and the UID in the first fusion parameter is modified from the UID of the first simulated card to the UID of the third simulated card to obtain the second fusion parameter; In the case that the first simulated card is not a card identified by UID, the contactless parameters of the other simulated cards are fused to obtain the second fused parameters.
7. The method according to claim 2, characterized in that The method further comprises: When the card type of the first simulated card is an access card and there are multiple inactivated access cards of the same type in the currently logged-in account, based on the current location, a second simulated card closest to the current location is selected from the multiple access cards.
8. The method according to claim 2, characterized in that: The method further comprises: When the card type of the first simulated card is a bus card and there are multiple inactivated bus cards of the same type in the currently logged-in account, based on the current city and the adapted cities and balances of the multiple bus cards, a second simulated card whose adapted city is the current city and whose balance is not less than the preset balance is selected from the multiple bus cards.
9. The method according to claim 1, characterized in that: The method further comprises: Determine the card information of multiple activated simulated cards; When the card information of a first simulated card among the plurality of simulated cards does not satisfy the usage condition, it is determined that the first simulated card needs to be deactivated.
10. The method according to claim 1, characterized in that The method further comprises: When a deactivation instruction triggered by a user is received, it is determined that the first simulated card needs to be deactivated, and the deactivation instruction is used to instruct to deactivate the first simulated card.
11. The method according to claim 10, characterized in that The deactivation instruction also indicates a fourth simulated card to be activated; The updating of the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter includes: The fourth simulated card is activated, and based on the card type of the first simulated card and the contactless parameter of the fourth simulated card, the first fusion parameter is updated to obtain the second fusion parameter.
12. A processing device for simulating a card, characterized in that: The device comprises: A first determination module is used for obtaining a first fusion parameter of the plurality of activated simulation cards when a first simulation card among the plurality of activated simulation cards needs to be deactivated, wherein the first fusion parameter is obtained based on the fusion of contactless parameters of the plurality of simulation cards, and the first fusion parameter is a parameter supporting any one of the activated simulation cards to communicate with the simulation card recognition device in a contactless manner; An updating module is used to determine the card type of the first simulated card, and update the first fusion parameter based on the card type of the first simulated card to obtain a second fusion parameter.
13. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the processing method of the simulated card as described in any one of claims 1 to 11.
14. 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 loaded and executed by the processor to implement the processing method of the simulated card according to any one of claims 1 to 11.
15. A computer program product, 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 simulated card processing method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Mobile terminal and resource management method thereof
CN104536869A
One-card multi-account financial IC (integrated circuit) card
CN104809613A
Virtual SIM (Subscriber Identity Module) card management method and device
CN106304037A
Communication method and device, and electronic equipment
CN108596604A
Simulation card management method, simulation card management device, storage medium and electronic equipment
CN111784335A