Adaptation method and device for default card setting, equipment, storage medium and product

By introducing primary and secondary fault-tolerance mechanisms in the default card setting process, identifying and processing the non-connected default card parameters on the application card, the problem of default card setting failure is solved, and the user experience and success rate are improved.

CN118803702APending Publication Date: 2024-10-18CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410264005.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-07
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the prior art, there is a problem that the card application cannot be used normally during the default card setting process, resulting in poor user experience.

Method used

Adopt the first-level fault-tolerance mechanism and the second-level fault-tolerance mechanism to identify and process the application identification carrying the contactless default card parameters on the application card. By removing the current default card instructions and authority authentication instructions, reset the contactless default card instructions of the target application to ensure The default card is set successfully.

Benefits of technology

Complete exception fault tolerance processing without the user being aware of it, improve the success rate of setting the default card for the machine card channel card application, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803702A_ABST
    Figure CN118803702A_ABST
Patent Text Reader

Abstract

The invention discloses a default card setting adaptation method and device, equipment, a storage medium and a product, and the default card setting adaptation method comprises the steps: obtaining a default card setting request sent by a user, issuing a default card setting instruction to a business program, and receiving default card setting feedback of the business program; if the default card setting feedback is setting failure, triggering a first-level fault-tolerant mechanism, and based on the first-level fault-tolerant mechanism, identifying an application identifier carrying non-default card parameters on the application card to obtain an identification result; and if the identification result is identification failure, analyzing the identification result to obtain an analysis result, triggering a secondary fault-tolerant mechanism, and issuing a default card setting instruction corresponding to the analysis result to the service program based on the secondary fault-tolerant mechanism. According to the method, the first-level fault-tolerant mechanism and the second-level fault-tolerant mechanism are set, fault-tolerant processing is carried out on the failure of executing the non-default-card-connection instruction of the default card at the card end, abnormal fault-tolerant processing is completed under the condition that a user does not perceive, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment, storage medium and product for adapting default card settings. Background Art

[0002] At present, with the development of super SIM cards, users can use different types of card applications through super SIM cards. For example, users can open multiple transportation card applications on super SIM cards and use them to swipe cards for riding in different cities. Among them, the function of setting the default card is used to set the specified transportation card as the contactless default selection mode. This function can facilitate users to swipe cards to ride conveniently without having to frequently switch transportation cards on their mobile phones to swipe cards for riding.

[0003] In the related art, the default card is usually set by accessing the SIM card through the machine-card channel and setting the default card operation for the application on the SIM card. However, in this method, the relevant parameters of the default card instruction can only exist on the card and only one application can exist. If there are other applications on the card that carry the contactless default card parameters, if the default card of the target application is set again, an abnormal error will be generated, resulting in the inability to use the card application normally, which in turn leads to a poor user experience. Summary of the invention

[0004] The main purpose of the present application is to provide a default card setting adaptation method, device, equipment, storage medium and product, aiming to solve the problem that the card application cannot be used normally during the default card setting process in the prior art, resulting in a poor user experience.

[0005] To achieve the above objectives, the present application provides a method for adapting default card settings, the method for adapting default card settings comprising:

[0006] Obtaining a default card setting request sent by a user, issuing a default card setting instruction to a business program, and receiving a default card setting feedback from the business program, wherein the default card setting request includes a target application;

[0007] If the default card setting feedback is setting failure, a first-level fault tolerance mechanism is triggered, and based on the first-level fault tolerance mechanism, an application identifier carrying contactless default card parameters on the application card is identified to obtain an identification result;

[0008] If the recognition result is recognition failure, the recognition result is analyzed to obtain an analysis result, and a secondary fault tolerance mechanism is triggered. Based on the secondary fault tolerance mechanism, a default card setting instruction corresponding to the analysis result is issued to the business program to implement the default card setting for the target application.

[0009] Optionally, if the default card setting feedback is setting failure, triggering a first-level fault tolerance mechanism, and based on the first-level fault tolerance mechanism, identifying an application identifier carrying contactless default card parameters on an application card, and after obtaining the identification result, the method includes:

[0010] If the recognition result is successful, a command to remove the current default card is sent to the service program, and a contactless default card command to set a default card for the target application is sent to the service program to implement the default card setting for the target application.

[0011] Optionally, the step of issuing a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0012] If the analysis result is that the permission to set the contactless default card is insufficient, based on the secondary fault tolerance mechanism, issuing a permission authentication instruction to the business program;

[0013] In response to the permission authentication pass message fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

[0014] Optionally, the step of issuing a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0015] If the analysis result is that the setting instruction assembly is abnormal, then based on the secondary fault tolerance mechanism, the instruction to remove the current default card issued to the business program and the contactless default card instruction issued to the business program to set the default card for the target application are reassembled to achieve the default card setting for the target application.

[0016] Optionally, the step of issuing a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0017] If the analysis result is that the application identifier carrying the contactless default card parameters on the application card cannot be identified, then based on the secondary fault tolerance mechanism, obtaining application information on the application card, and based on the application information, issuing an instruction to remove permissions for all applications on the application card to the business program;

[0018] In response to the permission removal completion information fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

[0019] Optionally, the step of issuing an instruction to remove permissions for all applications on the application card to the service program based on the application information includes:

[0020] Based on the application information, all applications on the application card are screened to obtain a target application list, so as to remove basic applications whose status cannot be modified and unlisted applications;

[0021] An instruction is issued to the business program to remove permissions of all applications on the target application list one by one.

[0022] The present application also provides a default card setting adaptation device, the default card setting adaptation device comprising:

[0023] an acquisition module, configured to acquire a default card setting request sent by a user, issue a default card setting instruction to a business program, and receive a default card setting feedback from the business program, wherein the default card setting request includes a target application;

[0024] A first-level fault-tolerance module, configured to trigger a first-level fault-tolerance mechanism if the default card setting feedback is setting failure, and identify the application identifier carrying the contactless default card parameters on the application card based on the first-level fault-tolerance mechanism to obtain an identification result;

[0025] The secondary fault-tolerant module is used to analyze the recognition result if the recognition result is recognition failure, obtain the analysis result, and trigger the secondary fault-tolerant mechanism. Based on the secondary fault-tolerant mechanism, a default card setting instruction corresponding to the analysis result is issued to the business program to implement the default card setting for the target application.

[0026] The present application also provides a default card setting adaptation device, the default card setting adaptation device comprising: a memory, a processor, and a program stored in the memory for implementing the default card setting adaptation method.

[0027] The memory is used to store a program for implementing an adaptation method for default card settings;

[0028] The processor is used to execute a program for implementing the adaptation method of the default card settings to implement the steps of the adaptation method of the default card settings.

[0029] The present application also provides a storage medium, on which is stored a program for implementing a method for adapting default card settings, and the program for implementing a method for adapting default card settings is executed by a processor to implement the steps of the method for adapting default card settings.

[0030] The present application also provides a computer program product, which includes an adapter program for default card settings. When the adapter program for default card settings is executed by a processor, the steps of the default card settings adaptation method are implemented.

[0031] This application sets up a first-level fault-tolerant mechanism and a second-level fault-tolerant mechanism for the default card. After the application card-side setting fails, fault-tolerant processing is performed on the failure of the card-side to execute the contactless default card instruction to set the default card. The abnormal fault-tolerant processing is completed without the user's perception, thereby improving the success rate of setting the default card in the machine card channel card application, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art description will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0033] Figure 1 A flowchart of a first embodiment of the adaptation method for default card settings of the present application;

[0034] Figure 2 A schematic diagram of the process of setting a default card for a machine-card channel of the adaptation method for setting a default card in this application;

[0035] Figure 3 A flowchart of an abnormal error reporting of the default card setting of the adaptation method for the default card setting of this application;

[0036] Figure 4 A schematic diagram of a fault-tolerant adaptation process for setting a default card for a machine-card channel of an adaptation method for setting a default card in this application;

[0037] Figure 5 A schematic diagram of a multi-level fault-tolerant adaptation process for the adaptation method set for the default card of this application;

[0038] Figure 6 A schematic diagram of a module of an adapter device for the default card setting of this application;

[0039] Figure 7 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0040] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the adaptation method for the default card settings of this application.

[0043] In a first embodiment, the method for adapting the default card settings comprises the following steps:

[0044] Step S100, obtaining a default card setting request sent by a user, issuing a default card setting instruction to a business program, and receiving a default card setting feedback from the business program, wherein the default card setting request includes a target application;

[0045] It should be noted that the execution subject of the adaptation method for setting the default card is the adaptation device for setting the default card. Preferably, the adaptation device for setting the default card is the super SIM card management platform side, or it can be other terminals with data transmission and data processing functions, and no specific restrictions are made here. Specifically, the present application proposes to build a compatible adaptation mechanism from the super SIM card management platform side to solve the default card setting problem on the compatible card side, so as to achieve fault-tolerant processing in the background without user operation and without user perception, thereby improving the success rate of users setting the default card and thus improving the user experience.

[0046] In the specific implementation, refer to Figure 2 The process of setting the default card in the super SIM card application machine channel involves multiple links including platform, terminal, card and application. Among them, the SIM card management platform is responsible for the management and issuance of contactless default card instructions; the terminal is responsible for establishing interaction with the SIM card; and the card end is responsible for executing the operation of the default card setting instruction.

[0047] In a specific implementation, the default card setting request refers to a request issued by a user on the service end APP to set a certain target application card as the default card, so the default card setting request includes the target application. After receiving the default card setting request, the device issues a default card setting instruction to the service program, and the service program then sends the default card setting instruction to the card end, and the card end performs the default card setting operation. After the card end performs the default card setting operation, the card end returns feedback of the operation execution result to the service program, and the service program then feeds back the execution result of the default card setting operation to the device, that is, the device receives the default card setting feedback of the service program, wherein the execution result of the default card setting operation includes the success of the default card setting execution and the failure of the default card setting execution.

[0048] Step S200: If the default card setting feedback is setting failure, triggering a first-level fault tolerance mechanism, based on the first-level fault tolerance mechanism, identifying an application identifier carrying a contactless default card parameter on the application card, and obtaining an identification result;

[0049] It should be noted that, in this application, according to the current machine-card channel setting default card failure problem location analysis, the failure is mainly concentrated in the stock card pre-set with contactless default card parameter application, among which the failure to set the default card caused by the abnormal execution of the contactless default card instruction on the card side is the main reason affecting the failure of setting the default card for the stock card machine-card channel. For example, the current application card A is the default card, and the user needs to use application card B as the default card. When setting the default card for application card B, because the current application card A is the default card, the default card setting operation for application card B fails.

[0050] In the specific implementation, refer to Figure 3 When the machine-card channel executes the command to set the contactless default card, after the machine-card channel is opened, external authentication and authorization are successful, when the command to set the default card is executed, there is a situation where there are parameters of the contactless default card in the application that is preset on the user card or has not been put on the platform. According to the card specification, the parameters of the contactless default card exist in one and only one application on the card. Therefore, when there is an application with relevant parameters on the card, when setting another application on the card as the contactless default card, the card will report an error, resulting in the failure of setting the default card.

[0051] Therefore, this application proposes an adaptation method of the first-level fault-tolerant mechanism for the abnormal situation of setting the default card for the existing card. Under the first-level fault-tolerant mechanism, the device will identify the application identifier carrying the contactless default card parameters on the current application card to obtain the identification result. Among them, the identification result includes two results: identification success and identification failure. If the identification is successful, the application identifier (AID) carrying the contactless default card parameters on the current application card will be obtained; if the identification fails, it means that there are other problems that cause the application identifier carrying the contactless default card parameters on the application card to be unable to be identified.

[0052] In a specific implementation, if the default card setting feedback is a setting failure, the device triggers a first-level fault tolerance mechanism, and based on the first-level fault tolerance mechanism, identifies the application identifier carrying the contactless default card parameters on the application card, and after obtaining the identification result, the method includes:

[0053] If the recognition result is successful, the device sends a command to remove the current default card to the service program, and sends a contactless default card command to set a default card for the target application to the service program, so as to implement the default card setting for the target application.

[0054] In a specific implementation, after the device receives the execution failure result, it triggers a first-level fault-tolerant mechanism. Specifically, the device sends a get status5C instruction to obtain the application AID that has been set as the contactless default card on the card. The business program sends the instruction to the card end, and the card end executes the get status5C instruction. After the card end executes the get status5C instruction, it returns the execution result to the business client, and the business client notifies the device of the execution result. After the device receives the result of executing the get status5C instruction, it determines the application AID carrying the contactless default card parameter CF0180 value in the execution result. If the device can accurately determine the application AID carrying the CF0180 parameter, the device sends the contactless default card removal instruction CF0100 to the application, and sends the contactless default card instruction that authorizes the application to set the default card. The business client sends the relevant instructions to the card end. After the card end executes the instructions, the default card is set successfully. At this point, the first-level fault-tolerant mechanism ends.

[0055] Step S300, if the recognition result is recognition failure, the recognition result is analyzed to obtain an analysis result, and a secondary fault tolerance mechanism is triggered. Based on the secondary fault tolerance mechanism, a default card setting instruction corresponding to the analysis result is issued to the business program to implement the default card setting for the target application.

[0056] In the specific implementation, refer to Figure 4 , when the recognition result is recognition failure, that is, the first-level fault tolerance cannot achieve the default card setting for the target application, the present application also proposes to set up a second-level fault tolerance mechanism, by analyzing the instruction results, and based on the analysis results, triggering the second-level fault tolerance mechanism in a manner corresponding to the analysis results. Specifically, considering that the response results of different chips from different card vendors are also different, on some chips of a few card vendors, the first-level fault tolerance instruction fails to be issued, and thus the default card cannot be successfully set under the first-level fault tolerance mechanism; therefore, it is necessary to analyze the first-level fault tolerance results, and based on the analysis results, trigger the second-level fault tolerance mechanism in a manner corresponding to the analysis results. Among them, the second-level fault tolerance mechanism has different solutions for different analysis results, as shown in the following steps and Figure 5 described.

[0057] In a specific implementation, the step of sending a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0058] If the analysis result is that the permission to set the contactless default card is insufficient, based on the secondary fault tolerance mechanism, an permission authentication instruction is issued to the business program; in response to the permission authentication pass message fed back by the business program, a contactless default card instruction for setting the default card for the target application is issued to the business program to implement the default card setting for the target application.

[0059] In a specific implementation, if the analysis result is that the authority to set the contactless default card is insufficient, that is, in the scenario, the 6982 status word will be returned for the first-level fault tolerance execution setting instruction. In this case, the authority is insufficient when setting the contactless default card for the first-level fault tolerance. The corresponding solution for the second-level fault tolerance mechanism is: it is necessary to send init update and ext_auth instructions to the card for authority authentication again. After the authentication is passed, the contactless default card is set for the application that needs to be authorized again. That is, the device sends an authority authentication instruction to the business program based on the second-level fault tolerance mechanism. When the business program feedbacks the authority authentication pass message, the contactless default card instruction for setting the default card for the target application is sent to the business program to realize the default card setting for the target application.

[0060] In a specific implementation, the step of sending a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism also includes:

[0061] If the analysis result is that the setting instruction assembly is abnormal, then based on the secondary fault tolerance mechanism, the instruction to remove the current default card issued to the business program and the contactless default card instruction issued to the business program to set the default card for the target application are reassembled to achieve the default card setting for the target application.

[0062] In a specific implementation, if the analysis result is that the setting instruction assembly is abnormal, that is, in the scenario, the execution of the setting instruction for the first-level fault tolerance will return 6A86 or 6A80. In this case, the setting instruction assembly is abnormal and the card cannot be recognized. Then, in the second-level fault tolerance, the platform needs to assemble the instruction again to set the contactless default card, that is, to re-assemble the issued instruction to remove the current default card and the contactless default card instruction to set the default card for the target application (secondary assembly) to achieve the default card setting for the target application.

[0063] In a specific implementation, the step of sending a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism also includes:

[0064] If the analysis result is that the application identifier carrying the contactless default card parameters on the application card cannot be identified, based on the secondary fault tolerance mechanism, the application information on the application card is obtained, and based on the application information, an instruction to remove permissions for all applications on the application card is issued to the business program; in response to permission removal completion information fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

[0065] In the specific implementation, if the analysis result is that the application identifier carrying the contactless default card parameters on the application card cannot be identified, that is, in the scenario, the platform finds an empty result for the query instruction execution result for the first-level fault tolerance, then the get status4F instruction needs to be issued for the second-level fault tolerance to return all the application information on the card, and an instruction to remove permissions is issued to all applications on the card side, and then an instruction to empower the target application is issued to complete the contactless default card setting.

[0066] In a specific implementation, the step of sending an instruction to remove permissions for all applications on the application card to the service program based on the application information includes:

[0067] Based on the application information, all applications on the application card are screened to obtain a target application list to remove basic applications whose status cannot be modified and unlisted applications; and an instruction to remove permissions for all applications on the target application list one by one is issued to the business program.

[0068] In the specific implementation, the present application also proposes to screen the applications in the card, among which the basic applications in the card such as CRS application and PPSE application cannot modify their status. Secondly, in addition to the basic applications, the applications that have been put on the platform in the card are screened, and instructions to remove permissions are issued to the applications in the list one by one, and then instructions to empower the target applications are issued to complete the contactless default card setting, that is, the basic applications on the list whose status cannot be modified and the applications that are not put on the list are removed. The applications saved on the list may have permission restrictions.

[0069] In the specific implementation, this application analyzes the response results of the card to the first-level fault-tolerant instructions. According to the analysis results, different second-level fault-tolerant mechanisms and universal compatibility adaptation methods are adopted. Card applications that are compatible with different cards set the default card error report to improve universality and reduce implementation difficulty.

[0070] In the specific implementation, this application proposes a clear analysis of the characteristics of setting the default card based on the super SIM card application and the existing problems, a new machine-card channel setting default card fault-tolerant strategy, and the construction of a first-level fault-tolerant and second-level fault-tolerant mechanism for setting the default card for the machine-card channel. The platform performs fault-tolerant processing on the failure of the contactless default card instruction to set the default card on the card side, avoids card-side modification, realizes fault-tolerant compatibility of the business process of setting the default card by the card application, and improves the success rate of setting the default card by the machine-card channel card application.

[0071] Furthermore, this method is also applicable to solving the compatibility and adaptation problems of machine-card channels of other platforms such as the super SIM service platform. It is replicable and portable, and has good portability. It is completely based on software upgrade implementation, and improves the success rate of setting the default card for the machine-card channel without increasing hardware resources.

[0072] This application sets up a first-level fault-tolerant mechanism and a second-level fault-tolerant mechanism for the default card. After the application card-side setting fails, fault-tolerant processing is performed on the failure of the card-side to execute the contactless default card instruction to set the default card. The abnormal fault-tolerant processing is completed without the user's perception, thereby improving the success rate of setting the default card in the machine card channel card application, thereby improving the user experience.

[0073] The present application also provides an adaptation device for default card settings, referring to Figure 6 , the default card setting adaptation device includes:

[0074] The acquisition module 10 is used to acquire a default card setting request sent by a user, issue a default card setting instruction to a business program, and receive a default card setting feedback from the business program, wherein the default card setting request includes a target application;

[0075] A primary fault-tolerant module 20, configured to trigger a primary fault-tolerant mechanism if the default card setting feedback is setting failure, and identify the application identifier carrying the contactless default card parameters on the application card based on the primary fault-tolerant mechanism to obtain an identification result;

[0076] The secondary fault-tolerant module 30 is used to analyze the recognition result if the recognition result is recognition failure, obtain the analysis result, and trigger the secondary fault-tolerant mechanism. Based on the secondary fault-tolerant mechanism, a default card setting instruction corresponding to the analysis result is sent to the business program to implement the default card setting for the target application.

[0077] Optionally, the default card setting adaptation device further includes:

[0078] The first default card setting module is used to send a removal instruction of the current default card to the business program if the recognition result is successful, and send a contactless default card instruction to the business program to set a default card for the target application, so as to implement the default card setting for the target application.

[0079] Optionally, the secondary fault-tolerant module 30 includes:

[0080] an authority authentication module, configured to issue an authority authentication instruction to the business program based on the secondary fault tolerance mechanism if the analysis result shows that the authority to set the contactless default card is insufficient;

[0081] The second default card setting module is used to send a contactless default card instruction for setting a default card for the target application to the business program in response to the permission authentication pass message fed back by the business program, so as to implement the default card setting for the target application.

[0082] Optionally, the secondary fault tolerance module 30 further includes:

[0083] The instruction assembly module is used for reassembling the instruction to remove the current default card issued to the business program and the contactless default card instruction to set the default card for the target application issued to the business program based on the secondary fault-tolerant mechanism if the analysis result is an instruction assembly exception, so as to realize the default card setting for the target application.

[0084] Optionally, the secondary fault tolerance module 30 further includes:

[0085] The application acquisition module acquires application information on the application card based on the secondary fault tolerance mechanism if the analysis result is that the application identifier carrying the contactless default card parameters on the application card cannot be identified, and based on the application information, issues an instruction to remove permissions for all applications on the application card to the business program;

[0086] The third default card setting module is used to send a contactless default card instruction for setting a default card for the target application to the business program in response to the permission removal completion information fed back by the business program, so as to implement the default card setting for the target application.

[0087] Optionally, the application acquisition module includes:

[0088] A screening module, based on the application information, screens all applications on the application card to obtain a target application list, so as to remove basic applications whose status cannot be modified and unlisted applications;

[0089] The permission removal module applies to send instructions to the business program to remove permissions of all applications on the target application list one by one.

[0090] The specific implementation of the adaptation device for default card settings of the present application is basically the same as the embodiments of the adaptation method for default card settings described above, and will not be described in detail here.

[0091] Reference Figure 7 , Figure 7 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.

[0092] like Figure 7As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0093] Optionally, the adapter device set by the default card may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0094] Those skilled in the art will understand that Figure 6 The adapter device structure of the default card settings shown in the figure does not constitute a limitation on the adapter device of the default card settings, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0095] like Figure 7 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, and an adapter program for default card settings. The operating system is a program that manages and controls the hardware and software resources of the adapter device for default card settings, and supports the operation of the adapter program for default card settings and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the adapter system for default card settings.

[0096] exist Figure 7 In the default card setting adaptation device shown, the processor 1001 is used to execute the default card setting adaptation program stored in the memory 1005 to implement the steps of any one of the above-mentioned default card setting adaptation methods.

[0097] The specific implementation of the adaptation device for the default card settings of the present application is basically the same as the embodiments of the adaptation method for the default card settings described above, and will not be repeated here.

[0098] The present application also provides a storage medium, on which is stored a program for implementing a method for adapting default card settings, and the program for implementing a method for adapting default card settings is executed by a processor to implement the following method for adapting default card settings:

[0099] Obtaining a default card setting request sent by a user, issuing a default card setting instruction to a business program, and receiving a default card setting feedback from the business program, wherein the default card setting request includes a target application;

[0100] If the default card setting feedback is setting failure, a first-level fault tolerance mechanism is triggered, and based on the first-level fault tolerance mechanism, an application identifier carrying contactless default card parameters on the application card is identified to obtain an identification result;

[0101] If the recognition result is recognition failure, the recognition result is analyzed to obtain an analysis result, and a secondary fault tolerance mechanism is triggered. Based on the secondary fault tolerance mechanism, a default card setting instruction corresponding to the analysis result is issued to the business program to implement the default card setting for the target application.

[0102] Optionally, if the default card setting feedback is setting failure, triggering a first-level fault tolerance mechanism, and based on the first-level fault tolerance mechanism, identifying an application identifier carrying contactless default card parameters on an application card, and after obtaining the identification result, the method includes:

[0103] If the recognition result is successful, a command to remove the current default card is sent to the service program, and a contactless default card command to set a default card for the target application is sent to the service program to implement the default card setting for the target application.

[0104] Optionally, the step of issuing a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0105] If the analysis result is that the permission to set the contactless default card is insufficient, based on the secondary fault tolerance mechanism, issuing a permission authentication instruction to the business program;

[0106] In response to the permission authentication pass message fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

[0107] Optionally, the step of issuing a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0108] If the analysis result is that the setting instruction assembly is abnormal, then based on the secondary fault tolerance mechanism, the instruction to remove the current default card issued to the business program and the contactless default card instruction issued to the business program to set the default card for the target application are reassembled to achieve the default card setting for the target application.

[0109] Optionally, the step of issuing a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes:

[0110] If the analysis result is that the application identifier carrying the contactless default card parameters on the application card cannot be identified, then based on the secondary fault tolerance mechanism, obtaining application information on the application card, and based on the application information, issuing an instruction to remove permissions for all applications on the application card to the business program;

[0111] In response to the permission removal completion information fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

[0112] Optionally, the step of issuing an instruction to remove permissions for all applications on the application card to the service program based on the application information includes:

[0113] Based on the application information, all applications on the application card are screened to obtain a target application list, so as to remove basic applications whose status cannot be modified and unlisted applications;

[0114] An instruction is issued to the business program to remove permissions of all applications on the target application list one by one.

[0115] The specific implementation of the storage medium of the present application is basically the same as the above-mentioned embodiments of the adaptation method of the default card setting, and will not be repeated here.

[0116] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned default card setting adaptation method when executed by a processor.

[0117] The specific implementation of the computer program product of the present application is basically the same as the above-mentioned embodiments of the adaptation method of the default card setting, and will not be repeated here.

[0118] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0119] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0121] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for adapting default card settings, characterized in that: The adaptation method of the default card setting includes: Obtaining a default card setting request sent by a user, issuing a default card setting instruction to a business program, and receiving a default card setting feedback from the business program, wherein the default card setting request includes a target application; If the default card setting feedback is setting failure, a first-level fault tolerance mechanism is triggered, and based on the first-level fault tolerance mechanism, an application identifier carrying contactless default card parameters on the application card is identified to obtain an identification result; If the recognition result is recognition failure, the recognition result is analyzed to obtain an analysis result, and a secondary fault tolerance mechanism is triggered. Based on the secondary fault tolerance mechanism, a default card setting instruction corresponding to the analysis result is issued to the business program to implement the default card setting for the target application.

2. The method for adapting the default card settings according to claim 1, characterized in that: If the default card setting feedback is that the setting fails, a first-level fault tolerance mechanism is triggered, and based on the first-level fault tolerance mechanism, an application identifier carrying a contactless default card parameter on the application card is identified, and after the step of obtaining an identification result, the method includes: If the recognition result is successful, a command to remove the current default card is sent to the service program, and a contactless default card command to set a default card for the target application is sent to the service program to implement the default card setting for the target application.

3. The method for adapting the default card settings according to claim 1, characterized in that: The step of sending a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes: If the analysis result is that the permission to set the contactless default card is insufficient, based on the secondary fault tolerance mechanism, issuing a permission authentication instruction to the business program; In response to the permission authentication pass message fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

4. The method for adapting the default card settings according to claim 1, characterized in that: The step of sending a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes: If the analysis result is that the setting instruction assembly is abnormal, then based on the secondary fault tolerance mechanism, the instruction to remove the current default card issued to the business program and the contactless default card instruction issued to the business program to set the default card for the target application are reassembled to achieve the default card setting for the target application.

5. The method for adapting the default card settings according to claim 1, characterized in that: The step of sending a default card setting instruction corresponding to the analysis result to the business program based on the secondary fault tolerance mechanism includes: If the analysis result is that the application identifier carrying the contactless default card parameters on the application card cannot be identified, then based on the secondary fault tolerance mechanism, obtaining application information on the application card, and based on the application information, issuing an instruction to remove permissions for all applications on the application card to the business program; In response to the permission removal completion information fed back by the business program, a contactless default card instruction for setting a default card for the target application is issued to the business program to implement the default card setting for the target application.

6. The method for adapting the default card settings as claimed in claim 5, characterized in that: The step of sending an instruction to remove permissions for all applications on the application card to the business program based on the application information includes: Based on the application information, all applications on the application card are screened to obtain a target application list, so as to remove basic applications whose status cannot be modified and unlisted applications; An instruction is issued to the business program to remove permissions of all applications on the target application list one by one.

7. An adaptation device for default card settings, characterized in that: The adapter device for the default card setting includes: an acquisition module, configured to acquire a default card setting request sent by a user, issue a default card setting instruction to a business program, and receive a default card setting feedback from the business program, wherein the default card setting request includes a target application; A first-level fault-tolerance module, configured to trigger a first-level fault-tolerance mechanism if the default card setting feedback is setting failure, and identify the application identifier carrying the contactless default card parameters on the application card based on the first-level fault-tolerance mechanism to obtain an identification result; The secondary fault-tolerant module is used to analyze the recognition result if the recognition result is recognition failure, obtain the analysis result, and trigger the secondary fault-tolerant mechanism. Based on the secondary fault-tolerant mechanism, a default card setting instruction corresponding to the analysis result is issued to the business program to implement the default card setting for the target application.

8. An adapter device for default card settings, characterized in that: The default card setting adaptation device includes: a memory, a processor, and a program stored in the memory for implementing the default card setting adaptation method. The memory is used to store a program for implementing an adaptation method for default card settings; The processor is used to execute a program for implementing the method for adapting the default card settings, so as to implement the steps of the method for adapting the default card settings as claimed in any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores a program for implementing a method for adapting default card settings, and the program for implementing a method for adapting default card settings is executed by a processor to implement the steps of the method for adapting default card settings as claimed in any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises an adapter for default card settings, and when the adapter for default card settings is executed by a processor, the steps of the method for adapting default card settings according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • SIM card management method and device, equipment, medium and program product

    CN120812567A