Method, device, equipment, storage medium and product for processing analog card
By integrating and updating the contactless parameters of simulated cards, the problem of inefficient card deactivation in multi-card management is solved, achieving an efficient card-swiping experience where other cards are still usable after deactivation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
- Filing Date
- 2023-09-28
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, users need to frequently activate or deactivate simulated cards, resulting in a poor card-swiping experience. This is especially true when multiple cards are activated simultaneously, making it difficult to efficiently manage and replace cards that are no longer suitable for use.
The first fusion parameter is obtained by fusing the contactless parameters of multiple simulated cards. When a card is deactivated, the second fusion parameter is updated to ensure that other cards remain active. This supports contactless communication, enables card type replacement or direct update of contactless parameters, and maintains the usability of the cards.
It improves the user's card-swiping experience, ensures that other cards remain usable after one card is deactivated, reduces the frequency of user operations and the complexity of card management, and improves the system's deactivation efficiency.
Smart Images

Figure CN119721079B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of radio frequency technology, and in particular to a method, apparatus, device, storage medium and product for processing analog cards. Background Technology
[0002] Many mobile phones and other electronic devices now have NFC functionality. These devices can simulate access cards, public transport cards, subway cards, and other similar cards. Before using the simulated card, the electronic device needs to activate it, and the user can also activate the simulated card when not in use. Summary of the Invention
[0003] This application provides a method, apparatus, device, storage medium, and product for processing simulated cards, which can improve the user's card-swiping experience. The technical solution is as follows:
[0004] On the one hand, a method for processing simulated cards is provided, the method comprising:
[0005] When the first analog card among multiple activated analog cards needs to be deactivated, the first fusion parameter of the multiple analog cards is obtained. The first fusion parameter is obtained by fusing the contactless parameters of the multiple analog cards. The first fusion parameter is a parameter that supports any activated analog card to communicate with the analog 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 the second fusion parameter.
[0007] On the other hand, a processing apparatus for simulating cards is provided, the apparatus comprising:
[0008] The first determining module is used to obtain the 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 is obtained based on the non-contact parameters of the multiple simulated cards. The first fusion parameter is a parameter that supports any of the activated simulated cards to communicate with the simulated card recognition device in a non-contact manner.
[0009] An update 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 the second fusion parameter.
[0010] On the other hand, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to implement the analog card processing method as described above.
[0011] On the other hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored in the storage medium, the at least one piece of program code being loaded and executed by a processor to implement the above-described method for processing the simulated card.
[0012] On the other hand, a computer program product is provided, which stores at least one piece of program code for execution by a processor to implement the above-described method for processing the simulated card.
[0013] In this embodiment, when the first simulated card among multiple simulated cards that are activated simultaneously 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 for the first simulated card, are still active and usable. Thus, the user can perform card swiping operations through other simulated cards, thereby improving the user's card swiping experience. Attached Figure Description
[0014] Figure 1 A schematic diagram illustrating the implementation environment of a method for processing simulated cards, as shown in an exemplary embodiment of this application, is provided.
[0015] Figure 2 A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0016] Figure 3 A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0017] Figure 4 A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0018] Figure 5 A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0019] Figure 6 A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0020] Figure 7A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0021] Figure 8 A flowchart illustrating a method for processing a simulated card, as shown in an exemplary embodiment of this application, is provided.
[0022] Figure 9 A block diagram of a processing apparatus for an analog card is shown in an exemplary embodiment of this application;
[0023] Figure 10 A block diagram of an electronic device illustrated in an exemplary embodiment of this application is shown. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0025] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0026] It should be noted that all 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 have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the analog cards, contactless parameters of the analog cards, and fusion parameters (first fusion parameter and / or second fusion parameter) involved in this application were all obtained with full authorization.
[0027] Please refer to Figure 1 This illustration shows a schematic diagram of the implementation environment for a method of processing simulated cards according to an exemplary embodiment of this application. See also... Figure 1The implementation environment includes a card emulation device 101 and an electronic device 102. The electronic device 102 has NFC functionality and can simulate a card through NFC. The card emulation device 101 can communicate with the simulated card in the electronic device 102 to read the card information stored in the simulated card, thereby realizing the card swiping function. The simulated card can 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 identifier (UID); for example, the first type of simulated card can be an access control card. The second type of simulated card is a card not identified by a UID; for example, the second type of simulated card can be a Central Processing Unit (CPU) card; for example, the second type of simulated card can be a bus card, 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 card emulation device 101 can be a card reader or a smart reader; the electronic device 102 can be a mobile phone or a smart wearable device (smart bracelet or smartwatch), etc.
[0028] This application embodiment supports 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 simultaneously. When a user uses a simulated card, the simulated card recognition device 101 sends a corresponding instruction to select the appropriate simulated card, eliminating the need for card activation or switching, thus improving the user's card-swiping experience. Furthermore, after multiple simulated cards are activated simultaneously, some cards may become unsuitable for continued use due to changes in conditions or environment. In such cases, it is necessary to deactivate or replace some simulated cards. For example, if the activated bus card has insufficient balance, the user changes cities due to business trips or travel, or the optimization period for a bus card expires, it is necessary to deactivate or replace the bus card.
[0029] Please refer to Figure 2 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0030] Step 201: When the first analog card among the multiple activated analog cards needs to be deactivated, obtain the first fusion parameter of the multiple analog cards. The first fusion parameter is obtained by fusing the contactless parameters of the multiple analog cards. The first fusion parameter is a parameter that supports any activated analog card to communicate with the analog card recognition device in a contactless manner.
[0031] Prior to this step, the electronic device simultaneously activates multiple analog cards. The process of simultaneously activating multiple analog cards can be as follows: the electronic device determines the contactless parameters of the multiple analog cards, fuses the contactless parameters of the multiple analog cards to obtain a first fusion parameter, and sets all the contactless parameters of the multiple analog cards to the first fusion parameter to simultaneously activate the multiple analog cards. Furthermore, after simultaneously activating the multiple analog cards, the electronic device stores the first fusion parameter obtained by fusing the contactless parameters of the multiple analog cards. In this step, the electronic device directly retrieves the stored first fusion parameter.
[0032] For any simulated card, its contactless parameters include the Request To Request (Type A, ATQA) response, UID, Select AcKnowledge (Type A, SAK) response, and Answer To Select (ATS) response. ATQA is the electronic device's response to the simulated card reader's Request To Request (Type A, REQA) or WUPA command. ATQA can be 0400 or 0800, and the simulated card reader can accept and recognize both responses. UID is the simulated card's ID number. For Type 1 simulated cards, which are identified by UID, the simulated card reader uses the UID as the unique information to identify the simulated card. That is, if the simulated card reader determines that the UID is correct, the simulated card is successfully identified. For example, if the Type 1 simulated card is an access card, then if the access card's UID is correct, the door can be opened. For the second type of analog card, which is not identified by UID, the analog card identification device generally does not pay attention to the UID of the analog card; for example, the second type of analog card can be a Central Processing Unit (CPU) card; for example, the second type of analog card can be a bus card, subway card, digital car key, electronic ID card, campus card, digital RMB, electronic driver's license or electronic marriage certificate, etc.
[0033] When a card reader identifies a simulacrum card, it sends a Select command to the electronic device. The SAK (Select Response) is the electronic device's response to this Select command. SAKs typically distinguish between Type 1 and Type 2 simulacrum cards. Type 1 cards use a 0x08 parameter for their SAK, while Type 2 cards use a 0x20 parameter. When the card reader receives a 0x08 SAK, it sends relevant instructions according to the Mifare protocol; when it receives a 0x02 SAK, it sends relevant instructions according to the ISO 14443 protocol.
[0034] After recognizing a simulated card, the emulated card reader sends a RATS command to the electronic device. The ATS is the electronic device's response to the RATS command, containing latency parameters, communication rate parameters, and the simulated card's private information. The latency parameter informs the emulated card reader how long it will take for the electronic device to respond after receiving the command; in other words, the maximum waiting time the emulated card reader must wait. The communication rate parameter can be 106kbps, 212kbps, 424kbps, or 848kbps. The simulated card's private information can include its description. The RATS command is sent by the emulated card reader for the second type of simulated card, while the emulated card reader for the first type of simulated card typically does not send this command.
[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 this embodiment, ATQA of 0x0400 is used as an example. When the first type of simulated card is included among the multiple simulated cards, the first type of simulated card is a card identified by its UID; for example, if the first type of simulated card is an access control card, then the UID included in the first fusion parameter can be the UID of the first type of simulated card. When the first type of simulated card is not included among the multiple simulated cards, the UID included in the first fusion parameter can be the UID of any one of the multiple simulated cards. The SAK included in the first fusion parameter can be 0x20 or 0x08. In this embodiment, SAK of 0x20 is used as an example. The ATS included in the first fusion parameter can be an ATS determined based on the ATS of multiple analog cards, and the determined ATS is adapted to multiple analog cards; for example, if the ATS includes a latency parameter, then the electronic device determines the maximum latency parameter based on the latency parameters of multiple analog cards, and uses the maximum latency parameter as the ATS in the first fusion parameter; as another example, if the ATS includes a communication rate parameter, then the electronic device determines the minimum communication rate parameter based on the communication rate parameters of multiple analog cards, and uses the minimum communication rate parameter as the ATS in the first fusion parameter.
[0036] In some embodiments, where some analog cards have ATS and some analog cards do not have ATS, when fusing the non-connected parameters of multiple analog cards to obtain the first fusion parameter, the ATS of the analog cards with ATS can be fused to obtain the ATS included in the first fusion parameter. However, if none of the multiple analog cards have ATS, the ATS of the multiple analog 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 analog cards are activated simultaneously, meaning the first fusion parameter is obtained by fusing the contactless parameters of the multiple analog cards, the electronic device needs to update the first fusion parameter when deactivating the first analog card. In some embodiments, when deactivating the first analog card, the first analog card is directly deleted, and the updated second fusion parameter is a fusion parameter based on the contactless parameters of the other analog cards besides the first analog card. In other embodiments, when deactivating the first analog card, a second analog card is determined as a replacement card for the first analog card, and the updated second fusion parameter is a fusion parameter of the second analog card and the contactless parameters of the other analog cards besides the first analog card.
[0039] In some embodiments, the electronic device deactivates the first analog card, for example by keeping the contactless parameters of the first analog card at the first fusion parameter; or by setting the contactless parameters of the first analog card to the initial contactless parameters, thereby deactivating the first analog card. The electronic device sets the contactless parameters of other analog cards to the second fusion parameter, thereby keeping the other analog cards active, and there can be multiple other analog cards, with the contactless parameters of multiple other analog cards all set to the second fusion parameter.
[0040] In this embodiment, when the first simulated card among multiple simulated cards that are activated simultaneously 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 for the first simulated card, are still active and usable. Thus, the user can perform card swiping operations through other simulated cards, thereby improving the user's card swiping experience.
[0041] Please refer to Figure 3 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0042] Step 301: When the first analog card among the multiple activated analog cards needs to be deactivated, the electronic device obtains the first fusion parameter of the multiple analog cards. The first fusion parameter is obtained by fusing the contactless parameters of the multiple analog cards. The first fusion parameter is a parameter that supports any activated analog card to communicate with the analog card recognition device in a contactless manner.
[0043] In some embodiments, this step is the same as step 201, and will not be described again here.
[0044] In some embodiments, when deactivating a first simulated card among multiple simulated cards, an unactivated second simulated card 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 if such a second simulated card exists. If a replacement card of the same type exists, it is activated to meet the user's card-swiping needs. In other embodiments, when deactivating a first simulated card among multiple simulated cards, a second simulated card is not found to replace the first simulated card; instead, the first simulated card is directly deleted. After step 301, step 304 is executed directly, where "the electronic device updates the first fusion parameter based on the contactless parameters of other simulated cards to obtain the second fusion parameter," thereby improving deactivation efficiency.
[0045] Step 302: The electronic device determines whether there is an inactive second simulated card of the same type as the first simulated card in the currently logged-in account.
[0046] The currently logged-in account can be an electronic wallet or electronic card holder from an electronic device. If an inactive second simulated card of the same type as the first simulated card exists in the currently logged-in account, proceed to step 302; if no inactive second simulated card of the same type as the first simulated card exists in the currently logged-in account, proceed to step 304.
[0047] In some embodiments, if multiple inactive second simulated cards of the same type as the first simulated card exist in the currently logged-in account, the electronic device determines the second simulated card from among the multiple second simulated cards, and then executes step 303, "the electronic device updates the first fusion parameter based on the contactless parameters of the second simulated card to obtain the second fusion parameter." The step of the electronic device determining the second simulated card from among the multiple second simulated cards can be as follows: if the first simulated card is an access card and multiple inactive access cards of the same type exist in the currently logged-in account, the electronic device selects the second simulated card closest to its current location from among the multiple access cards; for example, the electronic device checks whether there are other inactive access cards in the electronic wallet; if there are other inactive access cards in the electronic wallet, another access card is selected to replace the deactivated access card based on the current geographical location. In other embodiments, when the first simulated card is a public transport card and there are multiple inactive public transport cards of the same type in the currently logged-in account, the electronic device selects a second simulated card from the multiple public transport cards based on the current city, the compatible cities of the multiple public transport cards, and their balances, and the compatible city is the current city and the balance is not less than a preset balance.
[0048] In this embodiment of the application, if there are multiple second simulated cards in the currently logged-in account that meet the conditions (not activated and of the same type as the first simulated card), a substitute card for the first simulated card will be determined from the multiple second simulated cards. This ensures that even if the first simulated card is deactivated, the user can still perform card swiping operations using the substitute card, thereby improving the user's card swiping experience.
[0049] Step 303: If there is an inactive second simulated card of the same type as the first simulated card in the currently logged-in 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 the second fusion parameters. The second simulated card is a replacement card for the first simulated card.
[0050] The electronic device changes the status of the second simulated card from inactive to activated. The first and second simulated cards are of the same type. In some embodiments, both the first and second simulated cards are of the first type, meaning they are both identified by a unique identifier (UID). In this case, 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, while keeping all contactless parameters in the first fusion parameter unchanged to obtain the second fusion parameter. In other words, the contactless parameters of the second simulated card and other simulated cards are both set to the second fusion parameter.
[0051] In some embodiments, both the first analog card and the second analog card are second type analog cards, that is, neither the first analog card nor the second analog card is a card identified by a UID. In this case, the electronic device fuses the non-contact parameters of the second analog card with the non-contact parameters of the other analog cards to obtain a second fusion parameter, that is, both the non-contact parameters of the second analog card and the non-contact parameters of the other analog cards are set as the second fusion parameter.
[0052] In some embodiments, the contactless parameters of the analog card include ATQA, UID, SAK, and ATS; correspondingly, the step of the electronic device fusing the contactless parameters of the second analog card with the contactless parameters of other analog cards to obtain the second fused parameter can be as follows: the electronic device unifies the ATQA of the second analog card with the ATQA of other analog cards to be the same, for example, all are unified to 0x0400; the electronic device unifies the UID of the second analog card with the UID of other analog cards to the UID of any one of the analog cards; the electronic device unifies the SAK of the second analog card with the SAK of other analog cards to be the same, for example, all are unified to 0x28; the electronic device determines the ATS based on the ATS of the second analog card and the ATS of other analog cards, and sets the ATS of the second analog card and the ATS of other analog cards to the determined ATS.
[0053] In some embodiments, the ATS includes a latency parameter, and the electronic device determines a maximum latency parameter based on the latency parameters of the second analog card and other analog cards. In other embodiments, the ATS includes a communication rate parameter, and the electronic device determines a minimum communication rate parameter based on the communication rate parameters of the second analog card and other analog cards. Accordingly, the determined ATS includes both a maximum latency parameter and a minimum communication rate parameter, that is, the ATS of the second analog card and the ATS of other analog cards are both set to the maximum latency parameter and the minimum communication rate parameter.
[0054] In some embodiments, since the second analog card is not a first type of analog card, the parameter of particular interest among the contactless parameters of the second analog card is the ATS, while the other contactless parameters have been set uniformly. Therefore, the step of the electronic device fusing the contactless parameters of the second analog card with the contactless parameters of other analog cards to obtain the second fused parameter can be as follows: the electronic device determines the ATS based on the ATS of the second analog card and the ATS of other analog cards, sets the ATS of the second analog card and the ATS of other analog cards to the determined ATS, and keeps the other contactless parameters unchanged to obtain the second fused parameter, thereby saving workload and improving card processing efficiency.
[0055] Step 304: If there is no inactive second simulated card of the same type as the first simulated card in the currently logged-in account, the electronic device updates the first fusion parameter based on the contactless parameters of other simulated cards to obtain the second fusion parameter.
[0056] In some embodiments, the first simulated card is a first type of simulated card, that is, the first simulated card is a card identified by its UID. The electronic device selects a third simulated card from among the 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, and keeps the non-contact parameters in the first fusion parameter unchanged, thus obtaining the second fusion parameter. In this embodiment, the electronic device only modifies the UID in the first fusion parameter, while the other non-contact parameters in the first fusion parameter remain unchanged, thereby reducing the workload of updating the first fusion parameter and improving update efficiency. In other embodiments, the first simulated card is not a first type of simulated card, that is, the first simulated card is not a card identified by its UID. In this case, the electronic device fuses the non-contact parameters of other simulated cards to obtain the second fusion parameter.
[0057] In some embodiments, the contactless parameters of the analog card include ATQA, UID, SAK, and ATS; correspondingly, the step of the electronic device fusing the contactless parameters of other analog cards to obtain the second fused parameter can be as follows: the electronic device unifies the ATQA of other analog cards to be the same, for example, all of them are unified to 0x0400; the electronic device unifies the UID of other analog cards to be the UID of any one of the analog cards; the electronic device unifies the SAK of other analog cards to be the same, for example, all of them are unified to 0x28; the electronic device determines the ATS based on the ATS of other analog cards, and sets the ATS of other analog cards to the determined ATS.
[0058] In some embodiments, the ATS includes a latency parameter, and the electronic device determines a maximum latency parameter based on the latency parameters of other analog cards. In other embodiments, the ATS includes a communication rate parameter, and the electronic device determines a minimum communication rate parameter based on the communication rate parameters of other analog cards. Accordingly, the determined ATS includes both the maximum latency parameter and the minimum communication rate parameter, meaning that the ATS of all other analog cards is set to both the maximum latency parameter and the minimum communication rate parameter.
[0059] In this embodiment, when a first simulated card among multiple simultaneously activated simulated cards needs to be deactivated, if a second simulated card of the same type that is not yet activated exists, 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 parameters of the second simulated card. This ensures that even if the first simulated card is deactivated, the user can still perform card swiping operations using the replacement card, thereby improving the user's card swiping experience. If no second simulated card of the same type is present and not yet activated, the first simulated card is directly deleted and the first fusion parameter is updated, ensuring that other simulated cards remain active and usable, allowing the user to perform card swiping operations using other simulated cards, thus improving the user's card swiping experience.
[0060] Please refer to Figure 4 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0061] Step 401: The electronic device determines the card information of the multiple activated analog 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 activated simulated cards. For each simulated card, the electronic device determines whether its card information meets the usage conditions. If the card information does not meet the usage conditions, it determines that the simulated card needs to be deactivated, i.e., step 402 is executed. For ease of distinction, the simulated card requiring deactivation is referred to as the first simulated card. If the card information of the simulated card meets the usage conditions, no deactivation operation is performed on the simulated card.
[0063] In some embodiments, the step of the electronic device determining whether the card information of the first simulated card meets the usage conditions may include any of the following implementations:
[0064] In the first implementation, the card information includes a valid usage period. The electronic device determines whether the current time is within the valid usage period of the first simulated card. If the current time is within the valid usage period, the card information of the first simulated card is determined to meet the usage conditions; otherwise, if the current time is outside the valid usage period, the card information of the first simulated card is determined to not meet the usage conditions. For example, if the first simulated card is an access control card with an expiration date, it needs to be activated after the expiration date.
[0065] In the second implementation, the card information includes the compatible city. The electronic device determines whether the current location is in a compatible city of the first simulated card. If the current location is in a compatible city of the first simulated card, the card information of the first simulated card is determined to meet the usage conditions; otherwise, if the current location is not in a compatible city of the first simulated card, the card information of the first simulated card is determined not to meet the usage conditions. For example, if the first simulated card is a bus card or subway card, and the user changes cities due to business trips, the bus card or subway card cannot be used in the new city, so it needs to be activated.
[0066] In the third implementation, the card information includes the 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 determines that the card information of the first simulated card meets the usage conditions. If the balance of the first simulated card is less than the preset balance, it determines that the card information of the first simulated card does not meet the usage conditions. For example, if the first simulated card is a bus card or subway card, and the balance of the bus card or subway card is insufficient, it needs to be activated.
[0067] In the fourth implementation method, 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 determines that the card information of the first simulated card meets the usage conditions; if the discount information of the first simulated card is unavailable, it determines that the card information of the first simulated card does not meet the usage conditions. For example, if the first simulated card is a bus card or subway card, and the card discount has expired, then it is necessary to activate the bus card or subway card.
[0068] Step 402: If the card information of the first simulated card among multiple simulated cards does not meet the usage conditions, the electronic device determines that the first simulated card needs to be deactivated.
[0069] In this embodiment, the electronic device automatically detects whether the card information of the first simulated card meets the usage conditions; when it detects that the card information of the first simulated card does not meet the usage conditions, it deactivates the first simulated card, thereby automatically deactivating the unsuitable simulated card without the user's awareness, while keeping other simulated cards in a usable state, thus improving the user's card swiping experience.
[0070] Step 403: The electronic device acquires the first fusion parameters of multiple analog cards. The first fusion parameters are obtained by fusing the contactless parameters of multiple analog cards. The first fusion parameters are parameters that support any activated analog card to communicate with the analog 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 described again 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 the 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 described again here.
[0074] In this embodiment, when the usage conditions of the simulated card change, the electronic device automatically deactivates the unsuitable first simulated card; furthermore, when updating the first fusion parameter obtained by fusing the contactless parameters of multiple simulated cards, the electronic device 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 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0076] Step 501: When a deactivation command triggered by the user is received, the electronic device determines that the first analog card needs to be deactivated. The deactivation command is used to instruct the first analog card to be deactivated.
[0077] Users can also manually select unsuitable emoticon cards for deactivation. Correspondingly, the electronic device displays the card interface corresponding to the currently logged-in account. This interface includes multiple emoticon cards for the current account, with activated cards at the top and inactive cards at the bottom. The electronic device can also distinguish activated and inactive emoticon cards using different colors; for example, activated cards are dark, while inactive cards are light. Furthermore, the electronic device can add labels to the emoticon cards, including the card type and description; for example, if the emoticon card is an access card, the label would include "Type 1" and "Home Access Card." Users can select the first emoticon card from the activated cards and trigger a deactivation command to the electronic device. Upon receiving the deactivation command, the electronic device determines that the first emoticon card needs to be deactivated.
[0078] Step 502: The electronic device acquires the first fusion parameters of multiple analog cards. The first fusion parameters are obtained by fusing the contactless parameters of multiple analog cards. The first fusion parameters are parameters that support any activated analog card to communicate with the analog card recognition device in a contactless manner.
[0079] In some embodiments, this step is the same as step 201, and will not be described again 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, this step is the same as step 202; or this step can be implemented by steps 302-304, which will not be described again here.
[0082] In this embodiment, users can manually select a suitable analog card to deactivate, thereby meeting their needs. For example, after moving, users can deactivate their old access card to update the fusion operation in a timely manner. This ensures that even after deactivating the old access card, other analog cards can still be used normally, improving the user's card-swiping experience.
[0083] Please refer to Figure 6 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0084] Step 601: When a deactivation command triggered by the user is received, the electronic device determines that the first analog card needs to be deactivated. The deactivation command is used to instruct the first analog card to be deactivated, and the deactivation command also instructs the fourth analog card to be activated.
[0085] Users can also manually select unsuitable emoticon cards for deactivation. Correspondingly, the electronic device displays the card interface corresponding to the currently logged-in account. This interface includes multiple emoticon cards for the current account, with activated cards at the top and inactive cards at the bottom. The electronic device can also distinguish activated and inactive emoticon cards using different colors; for example, activated cards are dark, while inactive cards are light. Furthermore, the electronic device can add labels to the emoticon cards, including the card type and description; for example, if the emoticon card is an access card, the label would include "Type 1" and "Home Access Card." Users can select a first emoticon card from the activated cards and a second emoticon card from the inactive cards, triggering a deactivation command to the electronic device. Upon receiving the deactivation command, the electronic device determines that the first emoticon card needs deactivation.
[0086] Step 602: The electronic device acquires the first fusion parameters of multiple analog cards. The first fusion parameters are obtained by fusing the contactless parameters of multiple analog cards. The first fusion parameters are parameters that support any activated analog card to communicate with the analog card recognition device in a contactless manner.
[0087] In some embodiments, this step is the same as step 201, and will not be described again here.
[0088] Step 603: The electronic device activates the fourth analog card, and updates the first fusion parameters to obtain the second fusion parameters based on the card type of the first analog card and the contactless parameters of the fourth analog card.
[0089] When the card types of the first and fourth simulated cards are the same, the electronic device activates the fourth simulated card and updates the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of the fourth simulated card. In some embodiments, the process of the electronic device activating the fourth simulated card and updating the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of the fourth simulated card is similar to the process of the electronic device activating the second simulated card and updating the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of the second simulated card, and will not be described again here.
[0090] When the card types of the first and fourth simulated cards are different—for example, the first simulated card is of type 1 while the fourth simulated card is of type 2—the electronic device fuses the contactless parameters of the fourth simulated card with the contactless parameters of the other simulated cards in the plurality of simulated cards to obtain the second fused parameter. Alternatively, if the first simulated card is of type 2 while the fourth simulated card is of type 1, and there are no simulated cards of type 1 among the other simulated cards in the plurality of simulated cards, the electronic device modifies the UID in the first fused parameter to the UID of the fourth simulated card to obtain the second fused parameter.
[0091] In this embodiment, users can manually select a suitable analog card for deactivation, and can also manually select a suitable analog card as a replacement card to meet their needs. For example, after moving, users can deactivate the access card for their old home and then activate the access card for their new home, thus updating the fusion operation in a timely manner. This ensures that after deactivating the old access card, the contactless parameters of the new access card are fused with the contactless parameters of other analog cards, guaranteeing the normal use of the new access card and other analog cards, and improving the user's card-swiping experience.
[0092] Please refer to Figure 7 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0093] Step 701: When a deactivation command triggered by the user is received, the electronic device determines that the first analog card needs to be deactivated. The deactivation command is used to instruct the first analog card to be deactivated, and the deactivation command also instructs the fourth analog card to be activated.
[0094] In some embodiments, this step is the same as step 601, and will not be described again here.
[0095] Step 702: The electronic device acquires the first fusion parameters of multiple analog cards. The first fusion parameters are obtained by fusing the contactless parameters of multiple analog cards. The first fusion parameters are parameters that support any activated analog card to communicate with the analog card recognition device in a contactless manner.
[0096] In some embodiments, this step is the same as step 201, and will not be described again here.
[0097] Step 703: The electronic device determines whether there is an inactive 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 described again here.
[0099] Step 704: If there is an inactive second simulated card of the same type as the first simulated card in the currently logged-in account, the electronic device identifies the second simulated card.
[0100] If there is no inactive second simulated card of the same type as the first simulated card in the currently logged-in account, the electronic device obtains the contactless parameters of the fourth simulated card, and then executes step 706, which states that "the electronic device updates the first fusion parameters based on the contactless parameters of the fourth simulated card to obtain the second fusion parameters, and the fourth simulated card is a replacement card for the first simulated card".
[0101] Step 705: When the second and fourth analog cards are the same, the electronic device activates the second analog card and updates the first fusion parameters based on the contactless parameters of the second analog card to obtain the second fusion parameters. The second analog card is a replacement card for the first analog card.
[0102] The step of the electronic device updating the first fusion parameter based on the contactless parameters of the second analog card to obtain the second fusion parameter is the same as the step in step 303, which is "the electronic device activates the second analog card and updates the first fusion parameter based on the contactless parameters of the second analog card to obtain the second fusion parameter", and will not be repeated here.
[0103] Step 706: If the second and fourth analog cards are different, the electronic device activates the fourth analog card and updates the first fusion parameters based on the contactless parameters of the fourth analog card to obtain the second fusion parameters. The fourth analog card is a replacement card for the first analog card.
[0104] In some embodiments, the process of an electronic device activating a fourth analog card and updating the first fusion parameter to obtain a second fusion parameter based on the contactless parameters of the fourth analog card is similar to the process of an electronic device activating a second analog card and updating the first fusion parameter to obtain a second fusion parameter based on the contactless parameters of the second analog card, and will not be described again here.
[0105] In some embodiments, if the alternative card automatically determined by the electronic device differs from the alternative card manually selected by the user, the manually selected alternative card shall prevail to meet the user's needs. In other embodiments, if the alternative card automatically determined by the electronic device differs from the manually selected alternative card, a confirmation interface is displayed. The confirmation interface includes card information for a second simulated card and card information for a fourth simulated card. The selected simulated card from the second and fourth simulated cards is obtained. Based on the contactless parameters of the selected simulated card, the first fusion parameter is updated to obtain a second fusion parameter, thereby performing a second confirmation to ensure the accuracy of the activated alternative card. In other embodiments, if the alternative card automatically determined by the electronic device differs from the manually selected alternative card, the electronic device activates both the automatically determined and manually selected alternative cards. Accordingly, the electronic device updates the first fusion parameter based on the contactless parameters of the second and fourth simulated cards to obtain a second fusion parameter. Both the second and fourth simulated cards are alternative cards to the first simulated card, thereby enriching the alternative cards and further improving the user's card-swiping experience.
[0106] In this embodiment of the application, if the alternative card automatically determined by the electronic device is different from the alternative card manually selected by the user, the alternative card manually selected by the user shall prevail, thereby meeting the user's needs.
[0107] Please refer to Figure 8 The diagram illustrates a flowchart of a method for processing a simulated card, as shown in an exemplary embodiment of this application. The method includes:
[0108] Step 801: The electronic device determines the card information of the multiple activated analog cards.
[0109] In some embodiments, this step is the same as step 401, and will not be described again here.
[0110] Step 802: If the card information of the first simulated card among multiple simulated cards does not meet the usage conditions, 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 described again here.
[0112] Step 803: The electronic device determines whether the card type of the first simulated card is an access card.
[0113] Since access control cards are identified by their UIDs, the key to updating the first fusion parameter of the access control card is the UID. Therefore, the electronic device first determines whether the first simulated card is an access control card. If the first simulated card is an access control card, step 804 is executed; if the first simulated card is not an access control card, step 807 is executed. In some embodiments, the electronic device stores the card type of the first simulated card. If the card type of the first simulated card is a first type, the first simulated card is determined to be an access control card; if the card type of the first simulated card is not the first type (but a second type), the first simulated card is determined not to be an access control card.
[0114] Step 804: If the card type of the first simulated card is an access card, the electronic device determines whether there are other access cards in the currently logged-in account.
[0115] The electronic device determines whether there is an inactive access card in the currently logged-in account; if there is an inactive access card in the currently logged-in account, it determines whether there is another access card to replace it and proceeds to step 805; if there is no inactive access card in the currently logged-in account, it determines that there is no other access card to replace it and proceeds to step 806.
[0116] Step 805: If there is another access card in the currently logged-in account, the electronic device activates the other access card and uses the UID of the newly activated access card as the UID in the first fusion parameter to obtain the second fusion parameter.
[0117] The electronic device changes the status of other access control cards from inactive to activated; and uses the UID of the newly activated access control card as the UID in the first fusion parameter, keeping the other contactless parameters in the first fusion parameter 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 multiple activated access control cards (excluding the activated access control card) to the second fusion parameter to ensure that other access control cards and other simulated cards are in a usable state, improving the user's card swiping experience.
[0118] Step 806: If there are no other access cards available in the currently logged-in account, the electronic device selects the UID of one of the multiple activated other analog cards as the UID in the first fusion parameter to obtain the second fusion parameter.
[0119] The electronic device randomly selects one simulated card from multiple 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, and keeps the other contactless parameters 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: If the card type of the first simulated card is not an access card, the electronic device determines whether there is a substitute card of the same type in the currently logged-in account.
[0121] In some embodiments, if the first simulated card is not an access card, then the first simulated card is a CPU card. For example, if the first simulated card is a bus card, then the electronic device determines whether there is an inactive bus card in the currently logged-in account; or, if the first simulated card is a subway card, then the electronic device determines whether there is an inactive subway card in the currently logged-in account.
[0122] Step 808: If a substitute card of the same type exists in the currently logged-in account, the electronic device activates the substitute card and updates the fusion ATS of the newly activated substitute card to obtain the second fusion parameter.
[0123] In some embodiments, if the first simulated card is not an access card, then it is a CPU card. The key contactless parameter of the CPU card is the ATS (Action Switching Parameter). The electronic device activates a replacement card, then determines the ATS based on the replacement card's ATS and the ATS in the first fusion parameter. The ATS in the first fusion parameter is then modified to the determined ATS to obtain the second fusion parameter. The contactless parameters of the newly activated replacement card and other simulated cards are all set to the second fusion parameter. In other embodiments, since only the ATS differs between the first and second fusion parameters, the electronic device may not perform a complete update of the fusion parameter. Instead, it can modify the ATS of the newly activated replacement card and other simulated cards to the determined ATS to achieve the setting of the second fusion parameter.
[0124] Step 809: If there is no alternative card of the same type in the currently logged-in account, the electronic device updates the fusion ATS of multiple activated other analog cards to obtain the second fusion parameter.
[0125] The electronic device determines the ATS based on the ATS of other analog cards, modifies the ATS in the first fusion parameter to the determined ATS to obtain the second fusion parameter, and sets the contactless parameters of other analog cards as the second fusion parameter. In some embodiments, since the only difference between the first and second fusion parameters is the ATS, the electronic device may not need to perform a complete update of the fusion parameters, but instead modify the ATS of other analog cards to the determined ATS to achieve the setting of the second fusion parameter.
[0126] In this embodiment, when the first simulated card among multiple simulated cards that are activated simultaneously 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 besides the first simulated card are set as the second fusion parameter, the other simulated cards are still active and usable, so that the user can perform card swiping operations through the other simulated cards, thereby improving the user's card swiping experience.
[0127] Please refer to Figure 9 The diagram illustrates a block diagram of a processing apparatus for a simulated card, as shown in an exemplary embodiment of this application. The apparatus includes:
[0128] The first determining module 901 is used to obtain the first fusion parameters of the multiple simulated cards when the first simulated card among the multiple activated simulated cards needs to be deactivated. The first fusion parameters are obtained by fusing the non-contact parameters of the 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 non-contact manner.
[0129] The update 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 if there is an inactive second simulated card of the same type as the first simulated card in the currently logged-in account, and to update the first fusion parameter based on the inaccessible parameter of the second simulated card to obtain the second fusion parameter.
[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 identifier (UID).
[0132] In some embodiments, the update module 902 is used to fuse the contactless parameters of the second simulated card and the contactless parameters of other simulated cards among a plurality of simulated cards to obtain a second fused parameter 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 non-contact parameters of other simulated cards among the multiple simulated cards, in the case that there is no inactive second simulated card of the same type as the first simulated card in the currently logged-in account.
[0134] In some embodiments, the update module 902 is used to select a third simulated card from other simulated cards when the first simulated card is a card identified by a UID, and 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] If the first simulated card is not identified by its UID, the indirect parameters of the other simulated cards are fused to obtain the second fused parameter.
[0136] In some embodiments, the apparatus further includes:
[0137] The first selection module is used to select the second simulated card that is closest to the current location from multiple access control cards when the card type of the first simulated card is an access control card and there are multiple inactive access control cards of the same type in the currently logged-in account.
[0138] In some embodiments, the apparatus further includes:
[0139] The second selection module is used to select a second simulated card from multiple bus cards, based on the current city, the compatible cities of the multiple bus cards, and the balance of the first simulated card being a bus card, and the current logged-in account having multiple inactive bus cards of the same type, and the card being compatible with the current city and the balance of the multiple bus cards.
[0140] In some embodiments, the apparatus further includes:
[0141] The second determining module is used to determine the card information of multiple activated simulated cards; if the card information of the first simulated card among the multiple simulated cards does not meet the usage conditions, it determines that the first simulated card needs to be deactivated.
[0142] In some embodiments, the apparatus further includes:
[0143] The third determining module is used to determine that the first simulated card needs to be deactivated when a deactivation command triggered by the user is received. The deactivation command is used to instruct the first simulated card to be deactivated.
[0144] In some embodiments, the deactivation instruction also indicates a fourth analog card to be activated;
[0145] The update module 902 is used to activate the fourth simulated card and update the first fusion parameters to obtain the second fusion parameters based on the card type of the first simulated card and the non-contact parameters of the fourth simulated card.
[0146] In this embodiment, when the first simulated card among multiple simulated cards that are activated simultaneously 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 for the first simulated card, are still active and usable. Thus, the user can perform card swiping operations through other simulated cards, thereby improving the user's card swiping experience.
[0147] It should be noted that the simulated card processing device provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic device can be divided into different functional modules to complete all or part of the functions described above. In addition, the simulated card processing device and the simulated card processing method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0148] Please refer to Figure 10 This diagram illustrates a block diagram of an electronic device 1000 according to an exemplary embodiment of this application. The electronic device 1000 in this application includes an NFC chip 1010, and may also include one or more components such as 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 connects to various parts within the electronic device 1000 using various interfaces and lines, and performs 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 by calling data stored in the memory 1030. Optionally, the processor 1020 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 1020 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and Modem. Specifically, the CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required to be displayed on the display screen 1040; the NPU is used to implement Artificial Intelligence (AI) functions; and the modem is used to handle wireless communication. It is understandable that the aforementioned modem may not be integrated into the processor 1020, but may be implemented using a separate chip.
[0150] The memory 1030 may include random access memory (RAM) or read-only memory. Optionally, the memory 1030 may include a non-transitory computer-readable storage medium. The memory 1030 may be used to store instructions, programs, code, 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 touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data created based on the use of the electronic device 1000 (such as audio data, telephone directory, etc.).
[0151] Display screen 1040 is a display component used to display a user interface. Optionally, the display screen 1040 is a touch-enabled display screen, through which users can use their fingers, styluses, or any suitable object to perform touch operations on the display screen 1040.
[0152] The display screen 1040 is typically located on the front panel of the electronic device 1000. The display screen 1040 can be designed as a full-screen, curved screen, irregularly shaped screen, dual-sided screen, or foldable screen. The display screen 1040 can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen, etc., but this embodiment does not limit it in this way.
[0153] In addition, those skilled in the art will understand that the structure of the electronic device 1000 shown in the above figures does not constitute a limitation on the electronic device 1000. The electronic device 1000 may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device 1000 may also include audio acquisition devices, speakers, radio frequency circuits, input units, sensors, audio circuits, wireless Fidelity (Wi-Fi) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.
[0154] This application also provides a computer-readable medium storing at least one piece of program code, which is loaded and executed by the processor to implement the analog card processing method shown in the above embodiments.
[0155] This application also provides a computer program product that stores at least one piece of program code, which is loaded and executed by the processor to implement the analog card processing method shown in the above embodiments.
[0156] In some embodiments, the computer program product involved in this application may be deployed and executed on a user electronic device, or on multiple user electronic devices located in one location, or on multiple user electronic devices distributed in multiple locations and interconnected through a communication network. Multiple user electronic devices distributed in multiple locations and interconnected through a communication network may form a blockchain system.
[0157] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using 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 code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0158] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for processing simulated cards, characterized in that, The method includes: When the first analog card among multiple activated analog cards needs to be deactivated, the first fusion parameter of the multiple analog cards is obtained. The first fusion parameter is obtained by fusing the contactless parameters of the multiple analog cards. The first fusion parameter is a parameter that supports any activated analog card to communicate with the analog 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 the second fusion parameter. The card type of the first simulated card is either a first type or a second type. The first type of simulated card is a card identified by UID, and the second type of simulated card is a card not identified by UID. The step of updating the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter includes: If there is an inactive second simulated card of the same type as the first simulated card in the currently logged-in account, activate the second simulated card, and update the first fusion parameter based on the contactless parameter of the second simulated card to obtain the second fusion parameter; The step of updating the first fusion parameters based on the contactless parameters of the second simulated card to obtain the second fusion parameters includes: When both the first and second simulated cards are identified by a unique identifier (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; or When neither the first simulated card nor the second simulated card is identified by UID, the contactless parameters of the second simulated card and the contactless parameters of other simulated cards among the plurality of simulated cards are fused to obtain the second fused parameter.
2. The method according to claim 1, characterized in that, The step of updating the first fusion parameter based on the card type of the first simulated card to obtain the second fusion parameter includes: If there is no inactive second simulated card of the same type as the first simulated card in the currently logged-in account, the first fusion parameter is updated to obtain the second fusion parameter based on the non-contact parameters of the other simulated cards among the plurality of simulated cards.
3. The method according to claim 2, characterized in that, The step of updating the first fusion parameter to obtain the second fusion parameter based on the contactless parameters of other simulated cards among the plurality of simulated cards includes: If the first simulated card is a card identified by its UID, a third simulated card is selected from the other simulated cards, and the UID in the first fusion parameter is changed from the UID of the first simulated card to the UID of the third simulated card to obtain the second fusion parameter. If the first simulated card is not identified by its UID, the inaccessible parameters of the other simulated cards are fused to obtain the second fused parameter.
4. The method according to claim 1, characterized in that, The method further includes: If the first simulated card is an access control card and there are multiple inactive access control cards of the same type in the currently logged-in account, then based on the current location, the second simulated card that is closest to the current location is selected from the multiple access control cards.
5. The method according to claim 1, characterized in that, The method further includes: If the first simulated card is a public transport card and there are multiple inactive public transport cards of the same type in the currently logged-in account, then based on the current city and the compatible cities and balances of the multiple public transport cards, a second simulated card is selected from the multiple public transport cards, with the compatible city being the current city and the balance not less than a preset balance.
6. The method according to claim 1, characterized in that, The method further includes: Determine the card information of multiple activated simulated cards; If the card information of the first simulated card among the plurality of simulated cards does not meet the usage conditions, it is determined that the first simulated card needs to be deactivated.
7. The method according to claim 1, characterized in that, The method further includes: When a deactivation command triggered by a user is received, it is determined that the first simulated card needs to be deactivated. The deactivation command is used to instruct the first simulated card to be deactivated.
8. The method according to claim 7, characterized in that, The deactivation instruction also specifies the fourth analog card to be activated; The step of updating 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 the first fusion parameter is updated based on the card type of the first simulated card and the non-contact parameter of the fourth simulated card to obtain the second fusion parameter.
9. A processing device for simulating cards, characterized in that, The device includes: The first determining module is used to obtain the 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 is obtained based on the non-contact parameters of the multiple simulated cards. The first fusion parameter is a parameter that supports any of the activated simulated cards to communicate with the simulated card recognition device in a non-contact manner. The update 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 the second fusion parameter. The card type of the first simulated card is either a first type or a second type. The first type of simulated card is a card identified by UID, and the second type of simulated card is a card not identified by UID. The update module is further configured to activate the second simulated card if there is an inactive second simulated card of the same type as the first simulated card in the currently logged-in account, and update the first fusion parameter based on the non-contact parameter of the second simulated card to obtain the second fusion parameter; The update module is further configured to, when both the first simulated card and the second simulated card are identified by a unique identifier (UID), 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; or The update module is further configured to, when neither the first simulated card nor the second simulated card is identified by UID, fuse the contactless parameters of the second simulated card with the contactless parameters of other simulated cards among the plurality of simulated cards to obtain the second fused parameter.
10. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to implement the method for processing the analog card as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The storage medium stores at least one piece of program code, which is loaded and executed by a processor to implement the processing method of the simulated card according to any one of claims 1 to 8.
12. A computer program product, characterized in that, The computer program product stores at least one piece of program code, which is executed by a processor to implement the method for processing the simulated card according to any one of claims 1 to 8.