SIM (Subscriber Identity Module) card updating method and equipment, medium and computer program product thereof

By sending the update instructions of the installation package of the new version of the basic components to the SIM card, the basic components of the SIM card are upgraded over the air, which solves the problems of high SIM card update costs and complicated maintenance, and adapts to the update needs of different scenarios.

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

Patent Information

Application Number
CN202410275737.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The basic components of the SIM card are difficult to upgrade over the air, resulting in high update costs, complex maintenance, and waste of resources.

Method used

The target SIM card is determined by responding to the command, and an update command of the installation package encapsulating the new version of the basic components is sent to it, so that the target SIM card can update the basic components and achieve an over-the-air upgrade.

Benefits of technology

It reduces the SIM card update cost, simplifies the update process, adapts to the update needs of different scenarios, and solves the problem of multiple versions of basic components and multiple maintenance interfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803704A_ABST
    Figure CN118803704A_ABST
Patent Text Reader

Abstract

The invention discloses an SIM (Subscriber Identity Module) card updating method and device, a medium and a computer program product thereof, and belongs to the technical field of communication. The SIM card updating method comprises the following steps: in response to a first instruction, determining a target SIM card; an updating instruction is sent to the target SIM card, so that the target SIM card is updated, and an installation package of a new-version basic component is packaged in the updating instruction. The technical problem that the basic component of the SIM card is difficult to upgrade over the air is solved or at least partially solved.
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 SIM card updating method, device, medium and computer program product thereof. Background Art

[0002] A SIM (Subscriber Identity Module) card is an integrated circuit card that has a certain amount of storage space and processing power. It can load and run specific applications. It is also a key device for digital mobile phone users to connect to the mobile communication network.

[0003] In order to ensure the normal use of the card application carried by the SIM card or the expansion of business functions, the SIM card also needs to carry various basic components to provide different underlying capabilities for the card application to call, thereby realizing specific business functions and enhancing the product competitiveness of the card application.

[0004] Generally speaking, the basic components of SIM cards are directly installed into the card end by the card manufacturer in a pre-installed manner during the production stage. When the basic components change, they can only be applied to new card production batches. It is difficult to upgrade the basic components of existing card ends over the air.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of the present application is to provide a SIM card updating method, device, medium and computer program product thereof, aiming to solve or at least partially solve the technical problem that the basic components of the SIM card are difficult to achieve over-the-air upgrade.

[0007] To achieve the above object, the present application provides a SIM card updating method, the SIM card updating method comprising:

[0008] In response to the first instruction, determining a target SIM card;

[0009] An update instruction is sent to the target SIM card to update the target SIM card, wherein the update instruction encapsulates an installation package of a new version of a basic component.

[0010] Optionally, before the step of responding to the first instruction, the method further includes:

[0011] Dynamically monitor user operations at associated business portals;

[0012] In a case where it is determined that the user operation satisfies a first preset update condition, the first instruction is generated.

[0013] Optionally, in response to the first instruction, the step of determining the target SIM card includes:

[0014] In response to the first instruction, obtaining a first identification number of the SIM card to be updated;

[0015] Determining the card information of the SIM card to be updated according to the first identification number;

[0016] In the case where it is determined that the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

[0017] Optionally, the card information includes: at least one of security information, update information and version information, and when it is determined that the card information meets the second preset update condition, the step of determining the SIM card to be updated as the target SIM card includes:

[0018] Determine whether the card information satisfies the second preset update condition, wherein the second preset update condition includes at least one of the following conditions:

[0019] The security information meets the preset security conditions;

[0020] The update information includes the existence of a new version;

[0021] and the version information is inconsistent with the new version information;

[0022] If the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

[0023] Optionally, after the step of sending the update instruction to the target SIM card, the method further includes:

[0024] Obtaining a first update result of the target SIM card;

[0025] If the first update result is update failure, the update instruction is resent to the target SIM card until the first update result is update success or the number of times the update instruction is sent reaches a preset threshold.

[0026] Optionally, before the step of sending the update instruction to the target SIM card, the method further includes:

[0027] Acquire original data of basic components of the target SIM card, wherein the original data of basic components is encrypted data;

[0028] After the step of sending the update instruction to the target SIM card, the method further includes:

[0029] Obtaining a second update result of the target SIM card;

[0030] If the second update result is update failure, a recovery instruction is sent to the target SIM card, so that the target SIM card performs data recovery based on the original data of the basic component encapsulated in the recovery instruction.

[0031] Optionally, before the step of sending the update instruction to the target SIM card, the method further includes:

[0032] Obtaining a second identification number of the target SIM card;

[0033] Determining, according to the second identification number, a new version basic component corresponding to the target SIM;

[0034] The update instruction is generated based on the installation package of the new version basic component.

[0035] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes: a memory, a processor, and a SIM card update program stored on the memory and executable on the processor, wherein the SIM card update program is configured to implement the steps of the above-mentioned SIM card update method.

[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, on which a SIM card update program is stored, and the SIM card update program is executed by a processor to implement the steps of the above-mentioned SIM card update method.

[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a SIM card update program, and when the SIM card update program is executed by a processor, the steps of the SIM card update method described above are implemented.

[0038] The present application discloses a SIM card update method, which determines a target SIM card with a basic component update requirement by responding to a first instruction; then sends an update instruction of an installation package encapsulated with a new version of the basic component to the target SIM card, so that the target SIM card updates the basic component based on the installation package encapsulated in the update instruction; by applying the basic components of the SIM card, that is, generating a corresponding installation package, the basic components of the SIM card can be upgraded over the air based on the transmission of the installation package, and the user can update without changing the SIM card, thereby reducing the update cost of the SIM card. At the same time, the applied basic component installation package can meet the update requirements of SIM cards in different scenarios, and can effectively solve the pain points of the SIM card's multiple basic component versions, multiple maintenance interfaces, inconvenient management, and more waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present application;

[0040] Figure 2 This is a flow chart of a SIM card update method according to an embodiment of the present application;

[0041] Figure 3 This is a schematic diagram of a first scenario of a SIM card update method according to an embodiment of the present application;

[0042] Figure 4 A schematic diagram of a second scenario of the SIM card update method involved in the embodiment of the present application;

[0043] Figure 5 This is a relatively complete flowchart of the SIM card update method involved in the embodiment of the present application.

[0044] 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

[0045] 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.

[0046] In addition, the descriptions of "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, "and / or" in the full text includes three solutions. Taking A and / or B as an example, it includes technical solution A, technical solution B, and technical solution that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0047] Reference Figure 1 , Figure 1 A schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiment of the present application.

[0048] like Figure 1As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. 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 wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0049] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0050] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a SIM card update program.

[0051] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present application can be set in the electronic device, and the electronic device calls the SIM card update program stored in the memory 1005 through the processor 1001, and performs the following operations:

[0052] In response to the first instruction, determining a target SIM card;

[0053] An update instruction is sent to the target SIM card to update the target SIM card, wherein the update instruction encapsulates an installation package of a new version of a basic component.

[0054] Further, the processor 1001 may call the SIM card update program stored in the memory 1005, and further perform the following operations:

[0055] Before the operation in response to the first instruction, the method further includes:

[0056] Dynamically monitor user operations at associated business portals;

[0057] In a case where it is determined that the user operation satisfies a first preset update condition, the first instruction is generated.

[0058] Further, in response to the first instruction, the operation of determining the target SIM card includes:

[0059] In response to the first instruction, obtaining a first identification number of the SIM card to be updated;

[0060] Determining the card information of the SIM card to be updated according to the first identification number;

[0061] In the case where it is determined that the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

[0062] Further, the card information includes: at least one of security information, update information and version information, and the operation of determining the to-be-updated SIM card as the target SIM card when it is determined that the card information satisfies the second preset update condition includes:

[0063] Determine whether the card information satisfies the second preset update condition, wherein the second preset update condition includes at least one of the following conditions:

[0064] The security information meets the preset security conditions;

[0065] The update information includes the existence of a new version;

[0066] and the version information is inconsistent with the new version information;

[0067] If the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

[0068] Further, the processor 1001 may call the SIM card update program stored in the memory 1005, and further perform the following operations:

[0069] After the operation of sending the update instruction to the target SIM card, the method further includes:

[0070] Obtaining a first update result of the target SIM card;

[0071] If the first update result is update failure, the update instruction is resent to the target SIM card until the first update result is update success or the number of times the update instruction is sent reaches a preset threshold.

[0072] Further, the processor 1001 may call the SIM card update program stored in the memory 1005, and further perform the following operations:

[0073] Before the operation of sending the update instruction to the target SIM card, the method further includes:

[0074] Acquire original data of basic components of the target SIM card, wherein the original data of basic components is encrypted data;

[0075] After the operation of sending the update instruction to the target SIM card, the method further includes:

[0076] Obtaining a second update result of the target SIM card;

[0077] If the second update result is update failure, a recovery instruction is sent to the target SIM card, so that the target SIM card performs data recovery based on the original data of the basic component encapsulated in the recovery instruction.

[0078] Further, the processor 1001 may call the SIM card update program stored in the memory 1005, and further perform the following operations:

[0079] Before the operation of sending the update instruction to the target SIM card, the method further includes:

[0080] Obtaining a second identification number of the target SIM card;

[0081] Determining, according to the second identification number, a new version basic component corresponding to the target SIM;

[0082] The update instruction is generated based on the installation package of the new version basic component.

[0083] Based on the above structure, various embodiments of a SIM card updating method are proposed.

[0084] Reference Figure 2 , Figure 2 This is a flow chart of the first embodiment of the SIM card updating method of the present application.

[0085] In this embodiment, the execution subject of the SIM card update method may be an electronic device, and the electronic device may be a local device or a network device, which is not limited in this embodiment. For the convenience of description, the execution subject is omitted to explain each embodiment. In this embodiment, the SIM card update method includes:

[0086] Step S10, in response to the first instruction, determining a target SIM card;

[0087] In a feasible embodiment, in order to implement an over-the-air upgrade of a SIM card basic component, in response to a first instruction, a target SIM card having a basic component update requirement is determined.

[0088] A SIM (Subscriber Identity Module) card is an integrated circuit card with a certain amount of storage space and processing power. It can load and run specific applications (i.e., card applications). It is also a key device for digital mobile phone users to connect to mobile communication networks. When a SIM card calls a card application, it needs to use corresponding components as the basis for implementing the application call. The target SIM card can be a super SIM card.

[0089] In a feasible implementation manner, before the step of responding to the first instruction in step S10, the method further includes:

[0090] Step S11, dynamically monitoring user operations of associated service portals;

[0091] In a feasible embodiment, user operations generated by a user terminal at an associated service portal are dynamically monitored, wherein a SIM card is disposed in the user terminal.

[0092] The service entrance is the service front end, which is used to interact with the user end. For example, the application supermarket is used as the service entrance. Since this application applies the new version of the basic components and transmits them in the form of an installation package, the application supermarket can be used as the service entrance to implement the update of the SIM card basic components.

[0093] The SIM card installed on the user terminal is used as the SIM card to be updated.

[0094] Step S12: if it is determined that the user operation satisfies a first preset update condition, generate the first instruction.

[0095] In a feasible embodiment, it is determined whether the user operation satisfies a first preset update condition. If the user operation satisfies the first preset update condition, a first instruction is generated to update the SIM card basic component.

[0096] Optionally, the first preset update condition includes: the user operation is a login operation, that is, the user operation triggered by the user terminal is a login operation; when the user terminal logs in to the service portal, a first instruction is automatically generated to update the SIM card.

[0097] In this embodiment, by dynamically monitoring the user operation of the service portal, the SIM cards of multiple user terminals are monitored, thereby improving the updating efficiency of multiple SIM cards.

[0098] Step S20: sending an update instruction to the target SIM card to update the target SIM card, wherein the update instruction encapsulates an installation package of a new version of a basic component.

[0099] In a feasible embodiment, an update instruction encapsulating an installation package of a new version of a basic component is sent to a target SIM card, so that after receiving the update instruction, the target SIM card can update the basic component based on the installation package of the new version of the basic component encapsulated in the update instruction.

[0100] Optionally, after receiving the update instruction, the target SIM card deletes the original basic component of the target SIM card according to the update instruction, and then installs the new version basic component according to the installation package of the new version basic component encapsulated in the update instruction, thereby implementing the basic component update.

[0101] Optionally, the update instruction also encapsulates an update strategy, which may include any one of: forced update, automatic update and card-based application update; the target SIM card is updated based on the update strategy encapsulated in the update instruction. Among them, forced update refers to the user end based on the target SIM card displaying preset update prompt information to remind the user of the user end that the SIM card needs to be updated. If at least part of the functions of the target SIM card are not updated, they will not be available; subsequent update steps are performed after the user agrees. Automatic update refers to silent background update, that is, automatic update for the user, and related authorization can be supplemented through the user agreement. Card-based application update refers to partial update of basic components according to the card application used, and when the user has not installed a certain card application, the basic components corresponding to the card application are not updated to reduce resource waste.

[0102] In a feasible implementation manner, before the step of sending the update instruction to the target SIM card in step S20, the method further includes:

[0103] Step S13, obtaining the second identification number of the target SIM card;

[0104] In a feasible embodiment, the identification number (second identification number) of the target SIM card is obtained; the identification number may be a SEID (Security Element Identifier), that is, a unique identifier of the SIM card.

[0105] Step S14, determining a new version basic component corresponding to the target SIM according to the second identification number;

[0106] In a feasible embodiment, an association relationship between a card batch and an initial version, a current version, and a new version of a basic component is pre-established, and then the card batch to which the target SIM card belongs can be determined according to the second identification number, and then based on the card batch, the new version basic component corresponding to the target SIM is determined, thereby achieving efficient management of multiple SIM cards and improving the updating efficiency of SIM cards.

[0107] Step S15: Generate the update instruction based on the installation package of the new version basic component.

[0108] In a feasible embodiment, based on the new version basic component, a pre-set installation package of the new version basic component is obtained, and then the installation package is encapsulated into a preset instruction to generate the update instruction.

[0109] In this embodiment, the association relationship between the identification number, card batch and new version basic component is pre-established, and then the installation package of the new version basic component of the target SIM card is quickly matched through the identification number of the target SIM card, thereby generating an update instruction to realize the over-the-air upgrade of the SIM card.

[0110] For example, refer to Figure 3 The execution subject of the SIM card update method is the SIM card management platform, and the target SIM card is a super SIM card, which is installed with the original basic component A, basic component B, etc. The SIM card management platform stores the identification numbers contained in different card batches, wherein the identification number is SEID; different card batches correspond to different new versions of basic components. When updating the target SIM card, the SEID (identification number) of the target SIM card is obtained, and the card batch to which it belongs is determined according to the identification number, and then according to the card batch, the update rules, the target new version basic components and their installation packages are determined, and then an update instruction is generated; the update instruction is sent to the target SIM card to update the target SIM card.

[0111] In this embodiment, by responding to the first instruction, a target SIM card with a basic component update requirement is determined; then an update instruction of an installation package encapsulated with a new version of the basic component is sent to the target SIM card, so that the target SIM card updates the basic component based on the installation package encapsulated in the update instruction; by applying the basic components of the SIM card, that is, generating a corresponding installation package, the basic components of the SIM card can be upgraded over the air based on the transmission of the installation package, and the user can update without changing the SIM card, thereby reducing the update cost of the SIM card. At the same time, the application-based basic component installation package can meet the update requirements of SIM cards in different scenarios, and can effectively solve the pain points of the SIM card's multiple basic component versions, multiple maintenance interfaces, inconvenient management, and more waste of resources.

[0112] Further, based on the above first embodiment, a second embodiment of the SIM card updating method of the present application is proposed. In this embodiment, step S10, in response to the first instruction, the step of determining the target SIM card includes:

[0113] Step S16, in response to the first instruction, obtaining a first identification number of the SIM card to be updated;

[0114] In a feasible embodiment, when there is a SIM card to be updated, it is necessary to further determine whether the SIM card to be updated meets the update condition, and then obtain the identification number (ie, the first identification number) of the SIM card to be updated in response to the first instruction.

[0115] Step S17, determining the card information of the SIM card to be updated according to the first identification number;

[0116] In a feasible embodiment, the card information of the SIM card to be updated is determined according to the first identification number, wherein the card information includes at least one of security information, update information and version information.

[0117] Step S18: When it is determined that the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

[0118] In a feasible embodiment, it is determined whether the card information satisfies a second preset update condition, and if so, the SIM card to be updated is determined as the target SIM card.

[0119] In a feasible implementation manner, the card information includes: at least one of security information, update information and version information. In step S18, when it is determined that the card information satisfies the second preset update condition, the step of determining the SIM card to be updated as the target SIM card includes:

[0120] Step S181, determining whether the card information satisfies the second preset update condition, wherein the second preset update condition includes at least one of the following conditions:

[0121] The security information meets the preset security conditions;

[0122] The update information includes the existence of a new version;

[0123] and the version information is inconsistent with the new version information;

[0124] In a feasible embodiment, it is determined whether the security information of the SIM card to be updated meets the preset security conditions to confirm the legitimacy of the corresponding user; and / or, it is determined whether the update information of the SIM card to be updated includes the existence of a new version. If there is no new version, it means that the SIM card to be updated does not have an updateable basic component, and no update is performed to avoid waste of resources; and / or it is determined whether the version information of the SIM card to be updated is consistent with the new version information. If they are consistent, it indicates that the SIM card to be updated has been updated to the latest version and no update is required. If they are inconsistent, it indicates that the SIM card to be updated has not been updated to the latest version and an update is required.

[0125] Step S182: if the card information satisfies the second preset update condition, the SIM card to be updated is determined as the target SIM card.

[0126] In a feasible embodiment, if the card information of the SIM card to be updated meets the second preset update condition, the SIM card to be updated is determined as the target SIM card, so that the target SIM card is updated.

[0127] In this embodiment, the update condition of the SIM card is determined based on the card information of the SIM card to be updated, thereby avoiding the situation where the SIM card has security risks and / or does not need to be updated, resulting in waste of resources, and improving the update efficiency of the SIM card.

[0128] Further, based on the above-mentioned first and / or second embodiments, a third embodiment of the SIM card updating method of the present application is proposed. In this embodiment, after the step of sending an update instruction to the target SIM card in step S20, the method further includes:

[0129] Step S21, obtaining a first update result of the target SIM card;

[0130] In a feasible embodiment, after the target SIM card is updated, it is necessary to determine the update result of the target SIM card, and then obtain the first update result of the target SIM card.

[0131] Step S22: if the first update result is update failure, resend the update instruction to the target SIM card until the first update result is update success or the number of times the update instruction is sent reaches a preset threshold.

[0132] In a feasible embodiment, if the first update result is a successful update, the SIM card update process is terminated; if the first update result is an update failure, the update instruction is resent to the target SIM card, and the step of obtaining the first update result of the target SIM card is performed until the first update result is a successful update, or the number of times the update instruction is sent reaches a preset threshold; after the number of times the update instruction is sent reaches the preset threshold, it indicates that there is an abnormality in the update of the target SIM card, and the abnormality cannot be resolved by resending the update instruction, and the SIM card update process is terminated.

[0133] Exemplarily, the preset threshold is 5. After resending the update instruction to the target SIM card, it is determined whether the number of times the update instruction is sent reaches the preset threshold. If not, the step of obtaining the first update result of the target SIM card is executed. If so, the SIM card update process is terminated.

[0134] In this embodiment, in order to ensure the successful update of the SIM card, after sending the update instruction to the target SIM card, the first update result of the target SIM card is obtained, and when the first update result is an update failure, the update instruction is resent to the target SIM card until the first update result is an update success or the number of times the update instruction is sent reaches a preset threshold, thereby improving the update success rate of the SIM card.

[0135] In a feasible implementation manner, before the step of sending the update instruction to the target SIM card in step S20, the method further includes:

[0136] Step S23, obtaining the original data of the basic components of the target SIM card, wherein the original data of the basic components is encrypted data;

[0137] In a feasible embodiment, when the target SIM card is updating the basic components, the original basic components may be deleted and the new version of the basic components may be reinstalled. At this time, if the new version installation is abnormal, the original data may be lost when the SIM card update fails, causing great losses. Therefore, before sending the update instruction to the target SIM card, the original data of the basic components of the target SIM card is obtained to realize the backup of the old version data; wherein, the user end of the target SIM card encrypts the original data of the basic components through its master security domain key, and then obtains the encrypted original data of the basic components and saves it. Through encryption, the security of the original data of the basic components can be guaranteed, and the update security of the SIM card can be improved.

[0138] Optionally, the encryption method of the original data of the basic component is not limited in this embodiment, for example, encryption is performed through encryption algorithms, master security domain keys, identity authentication, and digital signatures.

[0139] After the step of sending the update instruction to the target SIM card in step S20, the method further includes:

[0140] Step S24, obtaining a second update result of the target SIM card;

[0141] In a feasible embodiment, after the target SIM card is updated, it is necessary to determine the update result of the target SIM card, and then obtain the second update result of the target SIM card.

[0142] Step S25: If the second update result is update failure, a recovery instruction is sent to the target SIM card, so that the target SIM card performs data recovery based on the original data of the basic component encapsulated in the recovery instruction.

[0143] In a feasible embodiment, if the second update result is an update failure, a recovery instruction is sent to the target SIM card, wherein the recovery instruction encapsulates the original data of the basic components of the target SIM card, so that the target SIM card can restore the data of the old version of the basic components based on the original data of the basic components encapsulated in the recovery instruction.

[0144] In one feasible implementation, a first update result of the target SIM card is obtained; if the first update result is an update failure, the update instruction is resent to the target SIM card until the first update result is an update success or the update instruction is sent a preset threshold number of times; if the update instruction is sent a preset threshold number of times, a recovery instruction is sent to the target SIM card, so that the target SIM card performs data recovery based on the original data of the basic component encapsulated in the recovery instruction.

[0145] For example, refer to Figure 4The execution subject of the SIM card update method is the SIM card management platform, and the user end (card end) of the target SIM card is set as an NFC (Near Field Communication) terminal. The target SIM card is installed with the old version of the basic components, and the service entrance is the card application supermarket. The SIM card management platform includes: SE event monitoring module, card batch management module, application version management module, card-side version backup module, automatic task rule management module and automatic task processing module; wherein, the SE event monitoring module is used to monitor the user operation of the service interface, and when the user operation is the SE login operation, it triggers the execution of the automatic update task and generates the first instruction; the card batch management module is used to obtain the SEID of the SIM card and use it as an identifier, and then determine the card batch to which the SIM card belongs based on the identifier; the application version management module is used to manage the application-based basic component version and related version parameters; the card-side version backup module is used during the update process , read the current basic component related data (basic component original data) on the SIM card side and back it up to the cloud; the automatic task rule management module is used to create automatic update tasks through the online configuration tool, and establish associated information for the card batch and basic component version of the target SIM card, and then generate detailed update rules such as the time, number of times, and target of this update; the automatic task processing module is used to execute the automatic update task according to the set update rules after the automatic update task is triggered; the SIM card management platform also includes an encryption machine, which is used to ensure the security of the device when communicating with the target SIM card, that is, to realize the encryption of instructions and ensure the safe transmission of the backup data of the target SIM card.

[0146] To assist in understanding the above technical solution, a more complete embodiment of a specific SIM card update method is used for auxiliary explanation below. Figure 5The execution subject of the SIM card update method is the SIM card management platform, the target SIM card is the super SIM card, and the service entrance is the card application supermarket. The SIM card management platform creates an automatic task and monitors the user operation of the card application supermarket. When the user operation is detected as a login operation (i.e., an SE login request is obtained), the identification number of the SIM card to be updated is obtained, wherein the identification number can be SEID, mobile phone number, etc.; according to the identification number, the card information of the SIM card to be updated is determined, wherein the card information includes: security information, update information and version information; it is determined whether the security information meets the preset security conditions, thereby verifying the legitimacy of the user. If it is an illegal user, the update is terminated; if it is a legal user, it is determined whether the update information has a new version to determine whether there is a configured update rule and whether the configured basic component has an available update version released; if the update information does not have a new version, the update is terminated; if the update information has a new version, it is determined whether the version information is consistent with the new version information. If it is consistent, it indicates that it has completed the update. If it is inconsistent, the SIM card to be updated is determined as the target SIM card, thereby creating an update process. A secure channel is established between the target SIM card and the SIM card management platform through machine-card authentication. The SIM card management platform backs up the old version of the basic components of the target SIM card, and then obtains the original data of the basic components of the target SIM card, wherein the original data of the basic components are encrypted data, and stores the obtained original data of the basic components (old version) to the cloud; an update instruction is sent to the target SIM card, so that the target SIM card filters out the original data of the basic components (old version of the basic components) according to the update instruction, and updates according to the installation package of the new version of the basic components encapsulated in the update instruction. The SIM card management platform obtains the update result of the target SIM card. If the update result is a successful update, the task status is updated to the target SIM card and the update process is terminated; if the update result is an update failure, the update instruction is resent to the target SIM card until the update result is a successful update or the number of times the update instruction is sent reaches a preset retry threshold (preset threshold); if the number of times the update instruction is sent reaches the preset retry threshold, the recovery mechanism is started, the SIM card management platform obtains the original data of the basic components of the target SIM stored in the cloud, and generates a recovery instruction; the recovery instruction is sent to the target SIM card, the target SIM card decrypts the original data of the basic components encapsulated in the recovery instruction, and performs data recovery based on the original data of the basic components, updates the task status, and terminates the update process.

[0147] In this embodiment, by pre-acquiring the original data of the basic components of the target SIM card, the backup of the basic component data of the old version of the SIM card is achieved, thereby avoiding the damage to the SIM card capability or the occurrence of a useless card due to an update failure; and by using the security computing capability of the user terminal corresponding to the target SIM card, the original data of the basic components of the old version is securely protected through encryption and decryption of the main security domain key, so that there is no decryption link during the air transmission and storage process of the data, and the data is always in an encrypted state, thereby ensuring the security of the data.

[0148] Furthermore, an embodiment of the present application also provides a storage medium.

[0149] The storage medium is a computer-readable storage medium, on which a SIM card update program is stored. When the SIM card update program is executed by a processor, the steps of the SIM card update method described above are implemented.

[0150] Among them, the method implemented when the SIM card update program running on the processor is executed can refer to the various embodiments of the SIM card update method of the present application, and will not be repeated here.

[0151] Furthermore, an embodiment of the present application also provides a computer program product.

[0152] The computer program product includes a SIM card updating program, and when the SIM card updating program is executed by a processor, the steps of the SIM card updating method described above are implemented.

[0153] Among them, the method implemented when the SIM card update program running on the processor is executed can refer to the various embodiments of the SIM card update method of the present application, and will not be repeated here.

[0154] 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 system 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 system. 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 system including the element.

[0155] 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, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0156] 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 SIM card updating method, It is characterized in that The SIM card updating method comprises the following steps: In response to the first instruction, determining a target SIM card; An update instruction is sent to the target SIM card to update the target SIM card, wherein the update instruction encapsulates an installation package of a new version of a basic component.

2. The SIM card updating method according to claim 1, It is characterized in that Before the step of responding to the first instruction, the method further includes: Dynamically monitor user operations at associated business portals; In a case where it is determined that the user operation satisfies a first preset update condition, the first instruction is generated.

3. The SIM card updating method according to claim 1, It is characterized in that The step of determining the target SIM card in response to the first instruction includes: In response to the first instruction, obtaining a first identification number of the SIM card to be updated; Determining the card information of the SIM card to be updated according to the first identification number; In the case where it is determined that the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

4. The SIM card updating method as claimed in claim 3, It is characterized in that The card information includes: at least one of security information, update information and version information. When it is determined that the card information meets the second preset update condition, the step of determining the SIM card to be updated as the target SIM card includes: Determine whether the card information satisfies the second preset update condition, wherein the second preset update condition includes at least one of the following conditions: The security information meets the preset security conditions; The update information includes the existence of a new version; and the version information is inconsistent with the new version information; If the card information meets the second preset update condition, the SIM card to be updated is determined as the target SIM card.

5. The SIM card updating method according to claim 1, It is characterized in that After the step of sending the update instruction to the target SIM card, the method further includes: Obtaining a first update result of the target SIM card; If the first update result is update failure, the update instruction is resent to the target SIM card until the first update result is update success or the number of times the update instruction is sent reaches a preset threshold.

6. The SIM card updating method according to claim 1, It is characterized in that Before the step of sending the update instruction to the target SIM card, the method further includes: Acquire original data of basic components of the target SIM card, wherein the original data of basic components is encrypted data; After the step of sending the update instruction to the target SIM card, the method further includes: Obtaining a second update result of the target SIM card; If the second update result is update failure, a recovery instruction is sent to the target SIM card, so that the target SIM card performs data recovery based on the original data of the basic component encapsulated in the recovery instruction.

7. The SIM card updating method according to claim 1, It is characterized in that Before the step of sending the update instruction to the target SIM card, the method further includes: Obtaining a second identification number of the target SIM card; Determining, according to the second identification number, a new version basic component corresponding to the target SIM; The update instruction is generated based on the installation package of the new version basic component.

8. An electronic device, It is characterized in that The device comprises: a memory, a processor, and a SIM card update program stored in the memory and executable on the processor, wherein the SIM card update program is configured to implement the steps of the SIM card update method according to any one of claims 1 to 7.

9. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, on which a SIM card update program is stored. When the SIM card update program is executed by a processor, the steps of the SIM card update method according to any one of claims 1 to 7 are implemented.

10. A computer program product, It is characterized in that The computer program product includes a SIM card update program, and when the SIM card update program is executed by a processor, the steps of the SIM card update method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for updating Java Card system component based on memory management unit (MMU) framework

    CN102243595A

  • Managing Firmware Updates For Integrated Components Within Mobile Devices

    CN105916133A

  • Operating system updating method and device

    CN106713302A

  • Method and device for updating subscriber identity module card system data

    CN116321106A