Multifunctional SIM card and its allocation method, card allocation system and electronic device

The multifunction SIM card with adaptive operating modes addresses the challenge of accessing diverse networks by dynamically switching modes for seamless network registration, improving usability and reducing costs.

JP2026528867APending Publication Date: 2026-08-25SHENZHEN YOUKE YUNLIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2026532863
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-26
Filing Date
2024-10-08
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

Users face difficulties in choosing appropriate SIM cards that provide convenient and cost-effective network access across different regions, as existing SIM technologies from various operators require specific conditions and are not easily adaptable.

Method used

A multifunction SIM card with multiple operating modes (eSIM, STK SIM, and Bluetooth SIM) that can be dynamically switched based on location and user device type, allowing seamless network registration and access using a single card.

Benefits of technology

Enhances scenario adaptability and service capabilities of SIM cards, optimizing operational costs by enabling users to access local networks with different types of SIM cards anytime, anywhere.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026528867000001_ABST
    Figure 2026528867000001_ABST
Patent Text Reader

Abstract

This application is applicable to the technical field of network communications and provides a multifunction SIM card, a method for assigning the same, a card assignment system, and electronic equipment. The method for assigning the multifunction SIM card includes the steps of: receiving a card assignment request transmitted from a user device; determining a target type from a plurality of SIM card types based on an identification code and first location information carried in the card assignment request; and transmitting first response information to the user device, including first type information of the target type and the SIM card code number of the target type, wherein the first type information is for causing the multifunction SIM card to enter a target operating mode corresponding to the target type, thereby allowing the user device to register with the network based on the communication channel and SIM card code number corresponding to the target operating mode. Embodiments of this application can improve the situational adaptability of SIM cards, enhance the service capabilities of SIM card providers, and optimize operating costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of network communication, and particularly relates to a multi-functional SIM card, its allocation method, a card allocation system, and an electronic device.

Background Art

[0002] Currently, there are several SIM cards in the market that support remote download of SIM card information, such as OTA SIM cards that support downloading of SIM information via the SMS channel, eSIM cards that support the standard GSMA specification, and Bluetooth SIM cards that support reading and writing via wireless Bluetooth. These cards bring certain convenience to people who travel between different regions for business or travel. However, the types of technologies provided by each communication operator are different, certain conditions are required for user equipment, and it has become difficult for users to make a choice. Some communication operators have various types of SIM cards, such as physical SIM cards, soft SIM cards, and eSIM cards, arranged on a cloud server. How to provide appropriate SIM resources for users and at the same time bring a convenient and cost-effective network experience to users so that users can access the local network using different types of SIM cards at any time and anywhere is an urgent problem to be solved.

Summary of the Invention

[0003] Embodiments of this application provide a multi-functional SIM card, its allocation method, a card allocation system, and an electronic device, which can improve the scene adaptability of the SIM card, enhance the service ability of SIM card operators, and optimize the operation cost.

[0004] In a first aspect, an embodiment of the present application provides a method for assigning a multifunction SIM card to a user device in which a multifunction SIM card is arranged, wherein the multifunction SIM card has a plurality of operating modes set to correspond one-to-one with a plurality of SIM card types, and the method includes the steps of: sending a card assignment request to a server that carries the identification code and first location information of the multifunction SIM card when the operating mode of the multifunction SIM card is an initial operating mode which is STK SIM card mode; obtaining first response information that the server has fed back based on the identification code and the first location information, and controlling the multifunction SIM card to enter the corresponding operating mode based on the first response information and registering it with the network; and switching the multifunction SIM card to the initial operating mode when the multifunction SIM card satisfies a switching condition in the network registration process.

[0005] In a second aspect, an embodiment of the present application provides a method for allocating a multifunction SIM card applied to a server, comprising the steps of: receiving a card allocation request transmitted from a user device, wherein the card allocation request carries an identification code and first location information of a multifunction SIM card placed in the user device, and the multifunction SIM card is configured with a plurality of operating modes corresponding one-to-one to a plurality of SIM card types; determining a target type from the plurality of SIM card types based on the identification code and the first location information; and transmitting first response information to the user device, which includes first type information of the target type and the SIM card code number of the target type, wherein the first type information is for causing the multifunction SIM card to enter a target operating mode corresponding to the target type among the plurality of operating modes, thereby enabling the user device to complete writing the SIM card code number and register it with the network based on the communication channel corresponding to the target operating mode, thereby providing a method for allocating a multifunction SIM card.

[0006] In a third aspect, an embodiment of the present application provides a multifunction SIM card allocation device for a user device in which a multifunction SIM card is arranged, wherein the multifunction SIM card has multiple operating modes set to correspond one-to-one with multiple SIM card types, and the device includes: a request unit for sending a card allocation request to a server that carries the identification code and first location information of the multifunction SIM card when the operating mode of the multifunction SIM card is in an initial operating mode which is STK SIM card mode; a network registration unit for acquiring first response information fed back by the server based on the identification code and the first location information, and controlling the multifunction SIM card to enter the corresponding operating mode based on the first response information and registering it with the network; and a switching unit for switching the multifunction SIM card to the initial operating mode when the multifunction SIM card satisfies switching conditions in the network registration process.

[0007] In a fourth aspect, an embodiment of the present application provides a multifunction SIM card allocation device located on a server, comprising a receiving unit for receiving a card allocation request transmitted from a user device, wherein the card allocation request carries an identification code and first location information of a multifunction SIM card located on the user device, and the multifunction SIM card is configured with a plurality of operating modes corresponding one-to-one to a plurality of SIM card types; a determination unit for determining a target type from the plurality of SIM card types based on the identification code and the first location information; and an allocation unit for transmitting first response information to the user device, including first type information of the target type and the SIM card code number of the target type, wherein the first type information is for causing the multifunction SIM card to enter a target operating mode corresponding to the target type among the plurality of operating modes, thereby enabling the user device to complete writing the SIM card code number and register it with the network based on the communication channel corresponding to the target operating mode, thereby providing a multifunction SIM card allocation device.

[0008] In a fifth aspect, an embodiment of the present application provides a card assignment system comprising a server and user equipment, wherein the user equipment is equipped with the multifunction SIM card having a plurality of operating modes configured to correspond one-to-one with a plurality of SIM card types, the user equipment is used to perform the steps of the multifunction SIM card assignment method described in the first aspect, and the server is used to perform the steps of the multifunction SIM card assignment method described in the second aspect.

[0009] In the sixth aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for allocating a multi-function SIM card described in the first or second aspect are realized.

[0010] In the seventh aspect, an embodiment of the present application provides a multifunctional SIM card having multiple operating modes that correspond one-to-one with multiple SIM card types, which, when placed in a user device, is used by the user device to perform network registration in accordance with the steps of the multifunctional SIM card assignment method described in the first aspect.

[0011] In the eighth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for assigning a multi-function SIM card described in the first or second aspect are realized.

[0012] In the ninth aspect, an embodiment of the present application provides a computer program product which, when executed on an electronic device, causes the electronic device to perform the steps of the multifunction SIM card allocation method described in the first or second aspect.

[0013] In the embodiments of this application, when the operating mode of a multifunction SIM card is in the initial operating mode, a card assignment request is sent to the server, a first response information is obtained from the server based on the identification code and first location information, and the multifunction SIM card is controlled to enter the corresponding operating mode based on the first response information and registered with the network. Furthermore, depending on the usage scenario of the SIM card, it is possible to control the multifunction SIM card to enter the operating mode corresponding to the code number of a different SIM card type (e.g., physical SIM card, eSIM card, or soft SIM card). In addition, in the network registration process, if the multifunction SIM card satisfies the switching conditions, the multifunction SIM card is switched to the initial operating mode, thereby enabling the use of different types of SIM cards with a single SIM card, improving the scenario adaptability of the SIM card, enhancing the service capabilities of the SIM card provider, and optimizing operating costs. [Brief explanation of the drawing]

[0014] To more clearly explain the technical solutions in the embodiments of this application, the drawings necessary for describing the embodiments or the prior art will be briefly described below. Naturally, the drawings in the following description are only a part of the embodiments of this application, and those skilled in the art will be able to derive other drawings from these drawings without requiring any creative effort. [Figure 1] This is a schematic diagram of the structure of the card assignment system provided in the embodiment of this application. [Figure 2] This is a schematic diagram of a functional module of the application provided in the embodiment of this application. [Figure 3] This is a schematic diagram of the specific structure of the card assignment system provided in the embodiment of this application. [Figure 4] This is a first implementation flowchart of the method for allocating a multi-function SIM card provided in the embodiment of this application. [Figure 5] This is a second implementation flowchart of the method for allocating a multi-function SIM card provided in the embodiment of this application. [Figure 6]This is a flowchart illustrating the specific implementation of network registration using user equipment provided in the embodiment of this application. [Figure 7] This is a specific implementation flowchart for a user device provided in an embodiment of this application that switches the operating mode of a SIM card. [Figure 8] This is a schematic diagram of the first structure of a multi-function SIM card allocation device provided in an embodiment of this application. [Figure 9] This is a schematic diagram of the second structure of a multi-function SIM card allocation device provided in an embodiment of this application. [Figure 10] This is a schematic diagram of the structure of the electronic device provided in the embodiment of this application. [Modes for carrying out the invention]

[0015] To make the purpose, technical solutions, and advantages of this application clearer and easier to understand, this application will be described in more detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are for interpretive purposes only and are not intended to limit this application. All other embodiments that can be obtained by a person skilled in the art without creative effort based on the embodiments of this application shall all fall within the scope of protection of this application.

[0016] However, the types of technologies provided by each telecommunications operator are different, certain conditions are required for user equipment, and it has become difficult for users to make a choice. In addition, some telecommunications operators have various types of SIM cards, such as physical SIM cards, soft SIM cards, and eSIM cards, arranged on the cloud server. How to provide appropriate SIM resources for users and at the same time bring a convenient and cost-effective network experience to users so that they can access the local network using different types of SIM cards at any time and anywhere is an urgent problem to be solved. In view of this, the present application provides a multi-functional SIM card and an allocation method that can meet the usage needs of SIM cards in different scenarios of users. In order to explain the technical solution of the present application, specific embodiments will be described below.

[0017] To facilitate the explanation, first, some nouns mentioned in the present application will be explained.

[0018] SIM: Subscriber Identity Module, subscriber identification module.

[0019] OTA: Over-the-Air Technology, over-the-air technology.

[0020] eSIM: Embedded UICC, eUICC, embedded universal integrated circuit card.

[0021] P-SIM: Physical SIM, physical SIM card.

[0022] GSMA: GSM Association, Global System for Mobile Communications Association.

[0023] STK: SIM Application Toolkit, SIM toolkit.

[0024] LPA: Local Profile Assistant.

[0025] BIP: Bearer Independent Protocol.

[0026] OMA: Open Mobile API.

[0027] SM-DP+: SubscriptionManagerDataPreparation+, Subscription Manager Data Preparation+.

[0028] BLE: Bluetooth Low Energy.

[0029] ICCID: Integrative Circuit Card ID.

[0030] IMSI: International Mobile Subscriber Identity.

[0031] MSISDN: MS International PSTN / ISDN number, mobile subscriber number.

[0032] Ki:Subscriber authentication key, the cryptographic key used by the authentication algorithm, A3, and cipher key generator, A8.

[0033] OPc:a 128-bit value derived from OP and K and used within the computations of the functions f1,f1*,f2,f3,f4,f5 and f5*.

[0034] LTE: Long Term Evolution.

[0035] UTRAN: Universal Terrestrial Radio Access Network.

[0036] GSM: Global System for Mobile Communications.

[0037] GPRS: General Packet Radio Service.

[0038] Profile: Configuration data, i.e., SIM card information.

[0039] PLMN: Public Land Mobile Network.

[0040] LAC: Location Area Code.

[0041] Cell: cell identity.

[0042] Refer to Figure 1, which shows a schematic diagram of the structure of the multifunction SIM card and card allocation system of this application. Here, the card allocation system may include a user device and a server. The user device may be a mobile device such as a mobile phone, tablet computer, or mobile router (Mobile WIFI, MIFI). In the embodiments of this application, the multifunction SIM card is placed in the user device, and for example, the multifunction SIM card may be inserted into the SIM card slot of the user device or attached inside the user device, but is not limited to this application. In the embodiments of this application, the multifunction SIM card placed in the user device may have multiple operating modes that correspond one-to-one with multiple SIM card types. Specifically, the multifunction SIM card may support at least three operating modes corresponding to three different remote download SIM means. These at least three operating modes include eSIM card mode, STKSIM card mode, and Bluetooth SIM card mode.

[0043] Here, the initial operating mode of the multifunction SIM card is STKSIM card mode, in which the multifunction SIM card is pre-configured with an international roaming SIM card code number (i.e., seed card), and the user device can access the wireless network using this seed card. The multifunction SIM card can interact with the server platform via the seed card network. In this mode, the multifunction SIM card has a built-in STK application that can interact with the user device via proactive commands and supports the user device requesting card assignment after obtaining information about the currently accessed wireless network (e.g., seed card code number information (ICCID, IMSI) and location information (PLMN, LAC, Cell, etc.)) from the card via the LPA module. The STK application on the card can interact with the server platform via the seed card wireless network, e.g., SMS channel or BIP channel (BIP-based data channel), and can support remote card writing and operation by the platform if the card assigned by the server is a soft SIM card.

[0044] If the card assigned by the server is an eSIM card, the multifunction SIM card needs to be switched to eSIM card mode. In this mode, the application on the user device activates the LPA module, establishes a connection with the eSIM code number distribution platform (i.e., the SM-DP+ platform) on the server, and then requests the download of eSIM profile data. If the user device is an Android device, the application on the Android device uses the LPA module to select the OMA channel and write the eSIM profile to the multifunction SIM card. The device can then activate this eSIM profile and register with the network (meaning the user device can access the wireless network using the SIM card and use functions such as data, voice, and short messages). If the user device is an iOS device, the application on the iOS device can use the LPA module to select a Bluetooth channel and write the eSIM profile to the multifunction SIM card, and the device can activate this eSIM profile and register with the network. If the device application has system privileges (access to the SIM card slot), the application on the device can use the LPA module to select a system channel and write the eSIM profile to the multifunction SIM card, and the device can activate this eSIM profile and register with the network.

[0045] If the card assigned by the server is a physical SIM card, the multifunction SIM card needs to be switched to BLE SIM card mode. The application on the user's device enables the Bluetooth service to establish a connection with the Bluetooth module on the multifunction SIM card, writes a profile to the multifunction SIM card via the Bluetooth channel, and the device can then activate this profile and register with the network.

[0046] When a device application detects that an order has expired or that the device does not have network service, it performs local profile management according to the current SIM card mode and switches the multifunction SIM card from its current mode to STK SIM mode. For example, if the user device's application obtains order expiration information and the multifunction SIM card is currently in eSIM card mode, it can call LPA and send a command to the SIM card to delete the eSIM profile via a channel supported by the device. After successful deletion of the profile, the SIM card will automatically switch from eSIM card mode to STK SIM card mode. If the multifunction SIM card is currently in BLE SIM card mode, the Bluetooth service module in the user device's application will stop sending heartbeat messages to the Bluetooth module of the multifunction SIM card. When the multifunction SIM card detects a heartbeat timeout, it will automatically delete the profile data. After successful deletion, the SIM card will automatically switch from BLE SIM card mode to STK SIM card mode.

[0047] In some embodiments of this application, a SIM card-enabled application (APP) may be installed on the user's device. The APP can be classified into iOS applications and Android platform applications depending on the platform type, although the functionality of the application is the same for each platform.

[0048] For illustrative purposes, refer to Figure 2, which shows a schematic diagram of an application on a user device and a multifunction SIM card inserted into the user device.

[0049] Here, the application on the user device is the application designed for a multi-function SIM card and provided for use by the user, and its functional modules may include a User Interface Design (UI) module, an LPA module, a cloud service module, and a BLE service module.

[0050] The multi-function SIM card is the core SIM card of this application, and its external form may be exactly the same as that of a typical mobile terminal device SIM card, or it may be modified according to actual needs. The multi-function SIM card can be inserted into the SIM card slot of a user device, and through the cooperation of an application and a server system, it can download various cloud SIM card resources (physical SIM cards, eSIM cards, soft SIM cards, etc.) from a remote server and realize automatic switching of the functions and operating modes of STK SIM cards, eSIM cards, and BLE SIM cards. Figure 2 shows that the multi-function SIM card includes a main control module, an STK SIM card module, an eSIM module, and a Bluetooth module. The main control module enables interaction with the user device and enables mode switching of the three cards.

[0051] Figure 2 shows that there are five communication channels between the user device and the multifunction SIM card, which are represented by (1), (2), (3), (4), and (5) below.

[0052] (1) In the Android system, an OMA channel refers to providing an application with a programmable interface to a SIM card that the Android system can invoke. By invoking this interface, the application can communicate with the multifunction SIM card in the card slot of the user's device. This method of communication between the user's device and the multifunction SIM card is called an OMA channel.

[0053] (2) System channel refers to a system in the Android or iOS system that provides an application with the authority to directly read and write to a multifunction SIM card in the card slot, i.e., provides a standard command set. The application completes interaction with the multifunction SIM card on the user device by sending read and write commands to the hardware. This method of interaction between the user device and the multifunction SIM card is called a system channel.

[0054] (3) Bluetooth Channel refers to the provision of a programmable interface to an application in an Android or iOS system, which the application uses to communicate with a multifunction SIM card (which contains Bluetooth software / hardware modules) via the Bluetooth module of the user device. This method of communication between the user device and the multifunction SIM card is called a Bluetooth Channel.

[0055] (4) The BIP channel and (5) the SMS channel refer to the STK functionality provided by the Android or IOS system after the user device accesses the network via the seed card SIM embedded in the STK SIM card, when the multifunction SIM card is in STK SIM card mode. The remote server can interact with the multifunction SIM card via the user device's operating system based on the seed card's data channel and SMS channel, respectively. When the remote server interacts with the multifunction SIM card via the data channel, this method is referred to as the BIP channel, and when the remote server interacts with the multifunction SIM card via the SMS channel, this method is referred to as the SMS channel. In the BIP channel and SMS channel, the server interacts directly with the multifunction SIM card via the user device's operating system, so the user device's application cannot "perceive" it. Therefore, in this method, the server only needs to synchronize the target operating mode information of the multifunction SIM card with the user device's application.

[0056] The UI module of the application on the user device provides a UI interaction interface, displays the traffic mall and card management interface, and enables functions such as plan subscription or recharge, SIM card bundling, and SIM card activation under user operation.

[0057] The LPA module of the application on the user device provides a functional interface required based on the standard eSIM protocol specification. When the multifunction SIM card is operating in eSIM mode, the application can call the LPA interface to connect to a standard SM-DP+ platform on a remote server, download the eSIM card profile data from the SM-DP+ platform, and install the profile data onto the multifunction SIM card. The LPA module can select different communication channels depending on the type of operating system and system authority of the user device (selecting the OMA channel for Android systems, the Bluetooth channel for iOS systems, and the physical channel between the SIM card and the device for devices with system authority), and can write and manage the eSIM profile to the multifunction SIM card via the communication channel.

[0058] The Cloud Service module of an application on a user device is a module that allows the device application to establish a secure connection channel with a server and interact with the server. For example, it may request card assignment from a cloud card platform and download SIM card code number profile data, etc.

[0059] The BLE Service module for applications on user devices requires that the user device has a Bluetooth hardware module and supports the BLE 4.0 protocol or higher. When a multifunction SIM card operates in BLE mode, the cloud card platform queries the SIM card's Bluetooth pairing information, establishes a Bluetooth connection with the SIM card via the BLE service, transmits profile data, and sends heartbeat data, thereby maintaining a long-term connection with the multifunction SIM card's Bluetooth module.

[0060] In the embodiments of this application, the user device can establish a connection with a server based on the above application, send a card assignment request to obtain the SIM card type and SIM card code number assigned by the server, further control the SIM card to enter the corresponding operating mode, select an appropriate communication channel according to the operating mode, complete the writing of the SIM card code number to the multifunction SIM card, activate the SIM card code number, and register it with the network.

[0061] Specifically, the server may have a built-in cloud card platform. As shown in Figure 3, the cloud card platform may include a code number management module, an order service module, and a cloud card service module.

[0062] Here, the code number management module can hold the basic information of the multifunction SIM card. The basic information of the multifunction SIM card may include the seed card information pre-configured on the SIM card, Bluetooth pairing information, and cloud card code number resource information.

[0063] Seed card information may include, but is not limited to, seed card identification codes such as ICCID, IMSI, and MSISDN. Bluetooth pairing information may include, but is not limited to, Bluetooth name, pairing key, and Bluetooth data key. Cloud card code number resources can be divided according to SIM card type, such as soft SIM card, eSIM card, and physical SIM card. Soft SIM card code number information may include IMSI, Ki, and OPc. eSIM card code number information may include an activation code. P-SIM code number information may include ICCID and IMSI. Here, the ICCID and IMSI of the P-SIM can be read from the card by the card-equipped device and automatically uploaded to the cloud card platform.

[0064] The order service module can manage SIM card plan orders from different user portals (e.g., websites, third-party e-commerce platforms, etc.) and maintain information such as order status, activation time, validity period, expiration time, and product / service scope.

[0065] The cloud card service module can receive card assignment requests, schedule and assign appropriate SIM card code numbers, and return response information. It can also return SIM card Bluetooth pairing information upon receiving a Bluetooth pairing information inquiry command, and return profile data upon receiving a profile download request. Simultaneously, the cloud card service module can maintain a long-term TCP connection with the user's device and transmit authentication requests and responses from the physical cloud card.

[0066] In some embodiments of this application, with reference to Figure 3, the card allocation system may further include an OTA platform, a data center, a card-loading device, and an SM-DP+ platform.

[0067] Here, the OTA platform can receive SIM card operating mode notification information reported from the SIM card and forward it to the cloud card platform. Furthermore, the OTA platform also supports receiving card write result notifications reported from the STK SIM card and forwarding them to the cloud card platform. The OTA platform and the cloud card platform can be configured on the same or different servers, but this application is not limited to this.

[0068] The data center is used to hold all the information necessary for the card assignment system, such as seed card information pre-configured on the aforementioned SIM cards, Bluetooth pairing information, cloud SIM card code number type and information, order status, and order assignment information. Here, order status may specifically include order number, SIM card ICCID (seed card) bundled with the order, order activation status, activation time, expiration time, and plan. Order assignment information may specifically include SIM card ICCID bundled with the order, order number, order assignment code number (SIM card code number ICCID, IMSI), code number type, SIM card code number assignment time, and SIM card code number retrieval time. Here, the plan specifies the scope and time of service availability. For example, if a user subscribes to a 7-day plan "XX" for a multi-function SIM card, it means that the service area of ​​the SIM card is currently "XX" and the service duration is 7 days (starting from the activation time; for example, the time when the user successfully activates the SIM card through a click via the UI is the activation start time).

[0069] SIMBank devices, which are card-equipped devices, can read physical card information from the card slot and report it to the data center, enabling remote authentication of SIM cards.

[0070] The SM-DP+ platform is a carrier's eSIM profile hosting platform that supports LPA services in device applications downloading eSIM profiles from the SM-DP+ platform via activation codes.

[0071] It is understood that Figures 1 and 3 are merely schematic diagrams of a card assignment system and are not intended to limit the card assignment system. In the embodiments of this application, the card assignment system may further include more or fewer devices or components, such as gateways, buses, etc., and this application is not limited thereto.

[0072] By combining the card allocation system shown in Figures 1 and 3 and the application shown in Figure 2, Figure 4 shows a flowchart illustrating the implementation of a multi-function SIM card allocation method provided in an embodiment of this application, and this method can be applied to a server.

[0073] Specifically, the method for assigning a multi-function SIM card may include the following steps S401 to S403.

[0074] In step S401, the system receives a card assignment request sent from the user device.

[0075] In embodiments of this application, a user device can activate a SIM card via a UI module after inserting it at a destination, send a card assignment request to a server cloud card platform, and obtain a SIM card code number. Here, the card assignment request may carry the identification code and first location information of the SIM card inserted into the user device. The identification code may be used to identify the SIM card inserted into the user device and may refer to the seed card ICCID pre-configured on the aforementioned multifunction SIM card. The first location information may be used to identify the location area where the multifunction SIM card is currently located and may refer to the PLMN, LAC, and Cell of the network currently registered on the seed card.

[0076] In step S402, the target type is determined from multiple SIM card types based on the identification code and the first location information.

[0077] In the embodiments of this application, the plurality of SIM card types include at least a physical SIM card, an eSIM card, and a soft SIM card. Based on an identification code and first location information, the server can determine from the plurality of SIM card types supported by the multifunction SIM card the target type for which the SIM card inserted into the user device is usable.

[0078] In step S403, the first response information is sent to the user device.

[0079] Here, the first response information may include the first type information of the target type and the SIM card code number of the target type. The first type information may also be an instruction for the SIM card operating mode, and is used to instruct the multifunction SIM card inserted into the user device to enter a target operating mode corresponding to the target type from among several operating modes, thereby enabling the user device to complete writing the SIM card code number and register with the network based on the communication channel corresponding to the target operating mode. Specifically, the multifunction SIM card inserted into the user device can support at least three different operating modes: STKSIM card mode, BLE SIM card mode, and eSIM card mode.

[0080] The multi-function SIM card has a seed card and OTA platform address (ip:port list) pre-configured. Under STK SIM card mode, after activating the seed card and successfully registering with the network, the SIM card can interact with the user device via proactive commands (e.g., Proactive UICC command) and periodically retrieve network registration information from the user device and store it on the SIM card. When a user activates the SIM card through the UI, the user device application can send a command to the LPA service to select the appropriate channel and retrieve the current network registration information from the SIM card and report a card assignment request. Based on the pre-configured OTA platform address, the SIM card spontaneously reports a SIM card mode notification to the OTA platform and establishes a data channel (a data channel based on the BIP protocol) with the OTA platform. Here, network registration information includes, but is not limited to, network type (e.g., LTE, UTRAN, GSM), PLMN, LAC, and Cell. If the card assigned to the server cloud card platform is a soft SIM card, the device application does not need to process it. The OTA platform can send an STK data short message packet containing soft SIM card code number profile data to the target mobile user number (i.e., a pre-configured seed card MSISDN) via the GPRS short message gateway. The card receives and parses the OTA data short message, completes the card writing process, and after successful card writing, reports the card writing result to the OTA platform via the SMS channel. The OTA platform can also send the encapsulated soft SIM card data packet to the SIM card via the BIP channel. Once card writing is complete, the OTA platform can obtain the card writing result.

[0081] The OTA platform transfers the card write result to the cloud card platform. Upon receiving the card write result notification, the cloud card platform updates the order activation status, activation time, and expiration time, and generates order assignment information.

[0082] Under BLE SIM card mode, the multifunction SIM card can support Bluetooth protocol 4.0 or higher. The user device establishes a Bluetooth connection with the multifunction SIM card via its built-in Bluetooth module, maintains the connection for an extended period by sending heartbeat data, and interacts with the card via the Bluetooth channel. The user device can send a request to the cloud card platform via the application to inquire about the SIM card's Bluetooth pairing information, and based on the returned SIM card Bluetooth pairing information, activate the application's BLE service module to establish a Bluetooth connection with the SIM card. After a successful Bluetooth connection, the user device can send a command via the Bluetooth channel to notify the SIM card to switch to BLE SIM card mode. Simultaneously, the application's cloud service module sends a request to the cloud card platform to download the SIM card code number profile, and after receiving the SIM card code number profile data returned from the cloud card platform, sends it to the SIM card via the Bluetooth channel.

[0083] Specifically, if the target type of the SIM card code number is a physical SIM card, the application can activate a periodic polling mechanism, query the authentication request received by the SIM card, forward it to the cloud card platform for remote authentication, and send a heartbeat packet to maintain a long-term TCP connection with the cloud card platform. If the target type of the SIM card code number is a soft SIM card, the application can disconnect the data connection with the cloud card platform after the code number download is complete.

[0084] Under eSIM card mode, the user device application can select the appropriate communication channel according to the device type and system permissions, send commands to the multifunction SIM card via the LPA module, and notify the SIM card to switch to BLE SIM card mode. The LPA then downloads the eSIM profile data locally from the SM-DP+ platform via the eSIM activation code, selects the appropriate communication channel according to the device type and system permissions, and writes the eSIM profile data to the multifunction SIM card.

[0085] Specifically, for iOS system user devices, the device application activates the BLE service to establish a Bluetooth connection with the Bluetooth module of the multifunction SIM card, transmits heartbeat data, and maintains the connection for an extended period. The device application activates the LPA and sends commands via the Bluetooth channel to instruct the SIM card to switch to eSIM card mode. The device application activates the LPA module, downloads eSIM profile data from the SM-DP+ platform via the eSIM activation code, and sends it to the multifunction SIM card via the Bluetooth connection channel.

[0086] Specifically, for an Android system user device, the device application activates the LPA module, selects the OMA channel, sends commands to the card, notifies it to switch the SIM card operating mode to eSIM card mode, downloads code number profile data from the SM-DP+ platform, and sends the eSIM profile data to the multifunction SIM card via the OMA channel. Naturally, if the Android system user device application has system privileges, the LPA module can select the system channel between the SIM card and the user device and write the eSIM profile data to the multifunction SIM card via the physical channel between the SIM card and the device.

[0087] Accordingly, if the determined target type is a physical SIM card, the multifunction SIM card inserted into the user device can enter BLE SIM card mode, and the communication channel corresponding to BLE SIM card mode is the Bluetooth channel. After the user device downloads the physical SIM card code number profile data from the cloud card platform, it can perform a card writing operation based on the Bluetooth channel, thereby registering with the network based on the SIM card code number of the physical SIM card. After successful card writing, the user device application reports the card writing result to the cloud card platform.

[0088] When the target type is an eSIM card, the SIM card inserted into the user device can enter eSIM card mode, and the communication channel corresponding to eSIM card mode is one of the OMA channel, Bluetooth channel, or system channel. Similarly, after successfully downloading the eSIM profile from the SM-DP+ platform, the user device can write the SIM card code number to the multifunction SIM card based on the Bluetooth channel and register with the network using the SIM card code number on the multifunction SIM card. After successful card writing, the user device can receive the eSIM profile installation result reported from the card and report the card writing result to the cloud card platform via the SIM card code number network or a pre-configured seed card network.

[0089] When the target type is a soft SIM card, the SIM card inserted into the user's device can enter either STK SIM card mode or BLE SIM card mode, and the communication channels corresponding to STK SIM card mode are the SMS channel or the BIP channel. The OTA platform can send soft card information to the card via the SMS channel and BIP channel and perform a card write operation, thereby allowing the user's device to register with the network based on the SIM card code number of the soft SIM card. After successful card writing, the card can report the card write result.

[0090] In this way, the user device can write SIM card code number data to the multifunction SIM card and register it with the network, according to the communication channel corresponding to the target operating mode.

[0091] In step S402, the server queries the order information bundled to the SIM card inserted into the user's device based on the identification code and first location information, and after determining the assignable candidate types from a plurality of SIM card types based on the order information, it can then determine the target type from the candidate types.

[0092] Here, the candidate type refers to the currently available SIM card code number type for the multifunction SIM card, which can be determined, for example, based on the plan information in the order the user has subscribed to. For the candidate types of assignable SIM card code numbers, the server can select any of them as the target type.

[0093] In some embodiments, the server can determine the traffic cost when a user device registers with the network using the SIM card code number of each candidate type, and further determine the target type from the candidate types based on the traffic cost. The traffic cost is the cost incurred by the SIM card service provider (e.g., a virtual telecommunications operator) to purchase SIM cards from a telecommunications operator (e.g., China Mobile, China Unicom, etc.).

[0094] For example, you can select the candidate type with the lowest traffic cost as the target type.

[0095] In some specific embodiments, the server can first determine, based on an identification code, whether a valid order is bundled to the SIM card, and based on a first location, whether the first location is within the service range of the goods in the valid order. If a valid order is bundled and the first location is within the service range, the server can obtain available SIM card types within the service range as candidate types, and then determine a target type from the candidate types based on traffic cost.

[0096] In some other embodiments, the server can further query the card assignment priority corresponding to the first location information of the ordered product, and determine the target type from the candidate types according to the card assignment priority.

[0097] Here, the card allocation priority can specifically refer to the allocation order of physical SIM cards, eSIM cards, and soft SIM cards. The card allocation priority may differ depending on the product service range. Furthermore, based on the service range where the first location information is located, the target type can be determined from the candidate types according to the corresponding card allocation priority.

[0098] After determining the target type, the server can obtain the SIM card code number of the target type via the cloud card platform and, in step S403, send first response information to the user device. Preferably, the SIM card code number of the target type may be the local SIM card code number associated with the first location information. The local SIM card code number is the code number of the local SIM card (Local SIM), and compared to a seed card, it is less costly for the user device to register with the network at its current location based on the local SIM card number, the signal is better, and it helps to improve the network registration experience.

[0099] After receiving the first response information, the user device's application can control the SIM card to enter a target operating mode corresponding to the target type, thereby allowing the user device to write SIM card code number data to the multifunction SIM card based on the communication channel corresponding to the target operating mode and register with the network based on the written SIM card code number.

[0100] In the embodiments of this application, the multifunction SIM card can further switch to an initial operating mode (STK SIM card mode) when the switching conditions are met.

[0101] In some embodiments of this application, the SIM card is set to an initial operating mode at the time of shipment, i.e., in STK SIM card mode, and enables the seed card to be activated and registered with the network. Specifically, upon initial power-on, the SIM card can enter STK SIM card mode by default, enable the seed card to be activated and registered with the network. On subsequent power-on occasions, the SIM card can directly enter the previous operating mode and register with the network based on acquired profile data.

[0102] In some other embodiments of this application, a user device can determine that a multifunction SIM card inserted in the user device meets the switching condition when the order bundled to the multifunction SIM card inserted in the user device expires. Furthermore, a user can determine that a multifunction SIM card inserted in the user device meets the switching condition when it is unable to provide network service beyond its service range. Here, the service range is the service range of the SIM card code number currently in use by the multifunction SIM card inserted in the user device. Beyond the service range, the SIM card code number is unable to provide network service.

[0103] More specifically, after the assignment and writing of the SIM card code number is complete, if the current operating mode of the multifunction SIM card is STK SIM card mode, when the SIM card order expires or the SIM card's current location exceeds the service range recorded in the SIM card code number, the SIM card can automatically delete the profile data on the SIM card. At this time, the SIM card's operating mode may automatically switch to the initial STK SIM card mode, the SIM card is reactivated and registered with the network, and a SIM card mode notification is voluntarily reported to the OTA platform.

[0104] When the current operating mode is eSIM card mode, if the device application determines that the SIM card order has expired or that the SIM card is unable to provide network services properly due to exceeding the service range, the user device application can activate the LPA module to perform local operations on the eSIM profile data. If the order has expired, the user device application can activate the LPA module and send a command to the SIM card instructing it to delete the eSIM profile data. If the SIM card is unable to provide network services properly, the user device application can activate the LPA module and send a command to the SIM card instructing it to invalidate the eSIM profile data. After successfully deleting or invalidating the eSIM profile data, the SIM card automatically switches to initial STK SIM card mode, reactivates the seed card, registers it with the network, and voluntarily reports a notification to the OTA platform. The LPA module further notifies the SM-DP+ platform of the results of the local operation on the eSIM profile data.

[0105] If the current operating mode of the multifunction SIM card is BLE SIM mode, and the device application determines that the SIM card order has expired or that the SIM card is unable to provide network services properly beyond its service range, the user device application can initiate the BLE service and refrain from sending Bluetooth heartbeat data to the SIM card. If the SIM card determines that the heartbeat has timed out, the Bluetooth connection will be disconnected and the P-SIM profile data will be automatically deleted. After successfully deleting the P-SIM profile, the SIM card will automatically switch to initial STK SIM card mode, reactivate the seed card profile data, and voluntarily send a SIM card mode notification to the OTA platform.

[0106] The OTA platform receives a SIM card mode notification triggered by a SIM card operating mode switch, then forwards the notification to the cloud card platform. Upon receiving the notification, the cloud card platform can confirm that cloud card profile data no longer exists on the SIM card. The SIM card mode notification carries the SIM card identification code, and the SIM card profile retrieves the scene identifier (00: initial mode, 01: out of service range, 02: code number expired) and the seed card's network registration location information (PLMN, LAC, Cell). Based on the SIM card identification code, scene identifier, and current location information, the cloud card platform determines whether the SIM card code number in the order information assigned to the multifunction SIM card can be retrieved. If the order has expired, the SIM card code number in the order assignment information can be retrieved, the assignment status of the SIM card code number can be updated, and the order code number transmission status can be updated. If the current location is outside the service area but the order has not expired, the code number transmission status can be updated without performing a retrieval operation. After the user's device changes location, it will trigger a card assignment request again, and the server cloud card platform can send the same SIM card code number.

[0107] Accordingly, with reference to Figure 5, the present application further provides a method for assigning a multifunction SIM card applicable to user equipment. The method for assigning a multifunction SIM card may specifically include the following steps S501 to S503.

[0108] In step S501, if the operating mode of the multifunction SIM card is the initial operating mode, a card assignment request is sent to the server.

[0109] Here, the card assignment request can carry the identification code and first location information of the SIM card inserted into the user's device.

[0110] In step S502, the server receives first response information based on the identification code and first location information, and based on the first response information, controls the multifunction SIM card to enter the corresponding operating mode and registers it with the network.

[0111] Here, the first response information may include first type information of the target type and the SIM card code number of the target type, where the target type is determined by the server from a plurality of SIM card types based on the identification code and first location information. Based on the first type information, the user device can control the multifunction SIM card to enter a target operating mode corresponding to the target type from among a plurality of operating modes, and can register with the network based on the communication channel and SIM card code number corresponding to the target operating mode.

[0112] In some embodiments of this application, when the target type is a physical SIM card, the user device can control a multifunction SIM card to enter BLE SIM card mode, and the communication channel corresponding to BLE SIM card mode is a Bluetooth channel. Furthermore, the user device can write a SIM card code number to the multifunction SIM card via the Bluetooth channel and register with the network using the SIM card code number on the multifunction SIM card.

[0113] When the target type is an eSIM card, the user device can control the multifunction SIM card to enter eSIM card mode, and the communication channel corresponding to eSIM card mode is one of the OMA channel, Bluetooth channel, or system channel. Furthermore, the user device can write the SIM card code number to the multifunction SIM card via one of the OMA channel, Bluetooth channel, or system channel, and register with the network using the SIM card code number on the multifunction SIM card.

[0114] When the target type is a soft SIM card, the user device can control the multifunction SIM card to enter either STK SIM card mode or BLE SIM card mode, and the communication channels corresponding to STK SIM card mode are the SMS channel or the BIP channel. Furthermore, the user device can write the SIM card code number to the multifunction SIM card via one of the SMS channel, BIP channel, or Bluetooth channel, and register with the network using the SIM card code number on the multifunction SIM card.

[0115] In step S503, during the network registration process, if the multifunction SIM card meets the switching conditions, the multifunction SIM card is switched to the initial operating mode.

[0116] In some embodiments of this application, when a SIM card inserted into a user device satisfies switching conditions, the multifunction SIM card can be switched to initial operating mode, enabling the seed card and registering it with the network.

[0117] Specifically, when the multi-function SIM card is first powered on, it enters its initial operating mode, which is set at the time of shipment. This mode activates the seed card, registers it with the network, and reports the SIM card mode.

[0118] When the validity period of an order bundled with a multifunction SIM card expires, the user's device can verify that the multifunction SIM card meets the switching conditions, switch the multifunction SIM card to initial operating mode, activate the seed card placed in the multifunction SIM card and register it with the network, and report a SIM card mode notification.

[0119] If a multifunction SIM card cannot provide network service beyond its service range, the user device can verify that the multifunction SIM card meets the switching conditions, switch the multifunction SIM card to initial operating mode, activate the seed card configured on the multifunction SIM card and register it with the network, and report a SIM card mode notification. The service range is the service range of the SIM card code number currently in use of the multifunction SIM card inserted into the user device.

[0120] As can be understood, the network registration process for user devices can be described in Figures 1 to 4, and this application omits a detailed explanation of this process.

[0121] For ease of understanding, refer to Figure 6, which shows a flowchart illustrating how the card assignment system of this application enables network registration of user devices.

[0122] First, the card information of the multifunction SIM card can be imported into the cloud card platform's data center. Users can subscribe to a SIM card plan through the application or other portals, and after the cloud card platform receives the order, it selects to ship the multifunction SIM card and generates a bundling relationship between the SIM card identification code and the order. After receiving the multifunction SIM card, the user can manage the SIM card by bundling the SIM card identification code and recharging it via the device application. After inserting the card at the destination, the user can open the device application, query the currently subscribed plan for the bundled SIM card, and if the destination plan is not yet activated, select to activate the SIM card and send a card assignment request to the server cloud card platform. After the user device receives the first response information from the cloud card platform, the user device application can select the appropriate communication channel according to the type of device operating system and system permissions, send commands to the card, and instruct the SIM card to switch to the target operating mode corresponding to the target type. After successfully downloading the SIM card code number profile data, the user device application selects the appropriate communication channel and writes the SIM card code number data to the multifunction SIM card. After successful card writing, it can activate the SIM card code number, register it with the network, and generate and report the card writing result.

[0123] Referring to Figure 7, the user device can determine the operating mode of the multifunction SIM card when the order for the multifunction SIM card has expired or the order has exceeded the service coverage. If the current operating mode is STK SIM card mode, the application does not need to do anything, and the multifunction SIM card automatically determines that the currently activated SIM card code number has expired, automatically deletes the SIM card code number, reactivates the seed card, and spontaneously reports a SIM card mode notification. If the current operating mode is eSIM card mode, the device application can send a command to the multifunction SIM card via the LPA module instructing the eSIM card to disable or delete the eSIM profile. Specifically, when the order for a multifunction SIM card expires, the LPA module sends a command to the eSIM card instructing it to delete the eSIM profile. When the multifunction SIM card goes out of service range, the LPA module sends a command to the eSIM card instructing it to disable the eSIM profile. Thus, when the multifunction SIM card returns to service range, the eSIM profile can be reused. After the card successfully disables or deletes the eSIM profile, the card is restored to its factory settings, automatically switches to STK SIM card mode, reactivates the seed card to register with the network, and spontaneously reports a SIM card mode notification. The LPA module further notifies the SM-DP+ platform of the results of the local operation on the eSIM profile data. When the current operating mode is BLE SIM card mode, it is possible to start a BLE service and not send Bluetooth heartbeat data. If the SIM card determines that the Bluetooth heartbeat has timed out, it automatically deletes the P-SIM profile data. After successfully deleting the P-SIM profile data using the card, the card is restored to its factory settings, automatically switches to STK SIM card mode, reactivates the seed card to register with the network, and spontaneously reports a SIM card mode notification.

[0124] When the cloud card platform receives a SIM card mode notification reported by a card, it can confirm that the card no longer has a SIM card code number profile and determine whether the code number needs to be retrieved, depending on whether the order corresponding to the SIM card identification code has expired. At the same time, it updates the code number transmission status in the order assignment information.

[0125] In the embodiments of this application, when the operating mode of a multifunction SIM card is in the initial operating mode, a card assignment request is sent to the server, a first response information is obtained from the server based on the identification code and first location information, and the multifunction SIM card is controlled to enter the corresponding operating mode based on the first response information and registered with the network. Furthermore, depending on the usage scenario of the SIM card, it is possible to control the multifunction SIM card to enter the operating mode corresponding to the code number of a different SIM card type (e.g., physical SIM card, eSIM card, or soft SIM card). In addition, in the network registration process, if the multifunction SIM card satisfies the switching conditions, the multifunction SIM card is switched to the initial operating mode, thereby enabling the use of different types of SIM cards with a single SIM card, improving the scenario adaptability of the SIM card, enhancing the service capabilities of the SIM card provider, and optimizing operating costs.

[0126] While the embodiments of each method described above have been explained as a series of operational combinations for the sake of simplicity, those skilled in the art should know that, according to this application, some steps may be performed in a different order, and therefore this application is not limited to the described operational order.

[0127] As shown in Figure 8, a schematic diagram of the structure of the multi-function SIM card allocation device 800 provided in the embodiment of this application, the multi-function SIM card allocation device 800 is located on a server.

[0128] Specifically, the multi-function SIM card allocation device 800 is, A receiving unit 801 for receiving a card assignment request transmitted from a user device, wherein the card assignment request carries the identification code and first location information of a multifunction SIM card placed in the user device, and the receiving unit 801 has set multiple operating modes that correspond one-to-one to multiple SIM card types, A determination unit 802 for determining the target type from the plurality of SIM card types based on the identification code and the first location information, The system may also include an allocation unit 803 for transmitting first response information, including first type information of the target type and a SIM card code number of the target type, to the user device, wherein the first type information is for causing the multifunction SIM card to enter a target operating mode corresponding to the target type among a plurality of operating modes, thereby allowing the user device to complete writing the SIM card code number and register it with the network based on the communication channel corresponding to the target operating mode.

[0129] In some embodiments of this application, the determination unit 802 may be used specifically to query order information bundled to the multifunction SIM card based on the identification code and the first location information, to determine an assignable candidate type from the plurality of SIM card types based on the order information, and to determine a target type from the candidate types.

[0130] In some embodiments of this application, the determination unit 802 may be used specifically to determine the traffic cost when the user device registers with the network using the SIM card code number of each candidate type, and to determine a target type from the candidate types based on the traffic cost.

[0131] In some embodiments of this application, the target type SIM card code number is a local SIM card code number associated with the first location information among the target type SIM card code numbers.

[0132] In some embodiments of the present application, the multifunction SIM card allocation device 800 further includes an update unit used to receive a SIM card mode notification reported when the multifunction SIM card satisfies switching conditions, wherein the SIM card mode notification carries a scene identifier and location information, and to update the transmission status and retrieval status of the SIM card code number based on the scene identifier and location information.

[0133] In some embodiments of this application, the update unit may further be used to receive a card write result notification reported after successful writing of SIM card code number data to the card, wherein the card write result notification carries a SIM card identification code and a target SIM card code number, and to update the order activation status, activation time and expiration time, transmission status of the SIM card code number, etc., based on the card write result notification.

[0134] For the sake of convenience and brevity, the specific operating process of the multi-function SIM card allocation device 800 described above can be seen by referring to the corresponding process in the method described in Figure 4, and a detailed explanation is omitted here.

[0135] As shown in Figure 9, a schematic diagram of the structure of the multi-function SIM card allocation device 900 provided in the embodiment of this application, the multi-function SIM card allocation device 900 is placed in the user's device.

[0136] Specifically, the multi-function SIM card allocation device 900 is When the operating mode of the multi-function SIM card is in the initial operating mode, which is STK SIM card mode, a request unit 901 for sending a card allocation request to the server that carries the identification code and first location information of the multi-function SIM card, A network registration unit 902 acquires first response information fed back by the server based on the identification code and first location information, and controls the multi-function SIM card to enter the corresponding operating mode based on the first response information, and registers it to the network. The network registration process may include a switching unit 903 for switching the multifunction SIM card to the initial operating mode when the multifunction SIM card satisfies the switching conditions.

[0137] In some embodiments of this application, the network registration unit 902 may be used to acquire first response information including first type information of a target type and a SIM card code number of the target type, wherein the target type is determined by the server from the plurality of SIM card types based on the identification code and first location information, and to control the multifunction SIM card to enter a target operation mode corresponding to the target type from among the plurality of operation modes based on the first type information, complete the writing of the SIM card code number based on the communication channel corresponding to the target operation mode, and register with the network.

[0138] In some embodiments of this application, the network registration unit 902 further controls the multifunction SIM card to enter the BLE SIM card mode when the target type is a physical SIM card, wherein the communication channel corresponding to the BLE SIM card mode is a Bluetooth channel, and the user device registers with the network using the SIM card code number on the multifunction SIM card by writing the SIM card code number to the multifunction SIM card via the Bluetooth channel; when the target type is an eSIM card, the multifunction SIM card to enter the eSIM card mode, wherein the communication channel corresponding to the eSIM card mode is one of the OMA channel, Bluetooth channel, or system channel, and the user device registers with the network using the SIM card code number on the multifunction SIM card by writing the SIM card code number to the multifunction SIM card via one of the OMA channel, Bluetooth channel, or system channel; and when the target type is a soft SIM card, the STK SIM card mode or BLE This can be used to control the multifunction SIM card to enter SIM card mode, wherein the communication channel corresponding to the STK SIM card mode is either an SMS channel or a BIP channel, and the user device registers with the network using the SIM card code number on the multifunction SIM card by writing the SIM card code number to the multifunction SIM card via one of the SMS channel, BIP channel, or Bluetooth channel.

[0139] In some embodiments of this application, the switching unit 903 may further be used to confirm that the multifunction SIM card satisfies the switching conditions when the validity period of the orders bundled to the multifunction SIM card expires, to switch the multifunction SIM card to the initial operating mode, to activate the seed card placed on the multifunction SIM card and register it with the network, and / or, when the multifunction SIM card exceeds the service range, to confirm that the multifunction SIM card satisfies the switching conditions, to switch the multifunction SIM card to the initial operating mode, to activate the seed card placed on the multifunction SIM card and register it with the network.

[0140] For the sake of convenience and brevity, the specific operating process of the multi-function SIM card allocation device 900 can be seen by referring to the corresponding process in the method described in Figure 5, and a detailed explanation is omitted here.

[0141] Refer to Figure 10, a schematic diagram of an electronic device provided in an embodiment of this application. Specifically, the electronic device 10 may include a processor 100, a memory 101, and a computer program 102 stored in the memory 101 and executable on the processor 100, such as a SIM card allocation program or a network registration program. When the computer program 102 is executed by the processor 100, the steps in the embodiment of the method for allocating each multifunction SIM card, for example, steps S401 to S403 shown in Figure 4, are realized. Alternatively, when the computer program 102 is executed by the processor 100, the steps in the embodiment of the method for allocating each multifunction SIM card, for example, steps S501 to S503 shown in Figure 5, are realized.

[0142] Alternatively, when the computer program 102 is executed by the processor 100, the functions of each module / unit in each of the above-described embodiment of the device are realized, for example, the functions of the receiving unit 801, the decision unit 802, and the assignment unit 803 shown in Figure 8, and also, for example, the functions of the request unit 901, the network registration unit 902, and the switching unit 903 shown in Figure 9.

[0143] The computer program can be divided into one or more modules / units, which are stored in the memory 101 and executed by the processor 100 to achieve the present invention. The one or more modules / units may be a series of computer program instruction segments that can implement a specific function, and these instruction segments are used to describe the execution process of the computer program on the electronic device.

[0144] For example, the computer program can be divided into a receiving unit, a determination unit, and an assignment unit. The specific functions of each unit are as follows: The receiving unit is used to receive a card assignment request transmitted from a user device, the card assignment request carrying the identification code and first location information of a multifunction SIM card placed in the user device, the multifunction SIM card having multiple operating modes that correspond one-to-one with multiple SIM card types, the determination unit is used to determine the target type from the multiple SIM card types based on the identification code and the first location information, and the assignment unit is used to transmit first response information to the user device, including first type information of the target type and the SIM card code number of the target type, where the first type information is used to cause the multifunction SIM card to enter a target operating mode corresponding to the target type among the multiple operating modes, thereby allowing the user device to complete writing the SIM card code number based on the communication channel corresponding to the target operating mode and register it with the network.

[0145] For example, the computer program can be divided into a request unit, a network registration unit, and a switching unit. The specific functions of each unit are as follows: The request unit is used to send a card assignment request to the server, carrying the identification code and first location information of the multifunction SIM card, when the operating mode of the multifunction SIM card is the initial operating mode, which is the STK SIM card mode; the network registration unit is used to obtain first response information fed back by the server based on the identification code and the first location information, and to control the multifunction SIM card to enter the corresponding operating mode based on the first response information, and to register it with the network; and the switching unit is used in the network registration process to switch the multifunction SIM card to the initial operating mode when the multifunction SIM card satisfies the switching conditions.

[0146] The electronic device may include, but is not limited to, a processor 100 and memory 101. Those skilled in the art will understand that Figure 10 is merely an example of an electronic device and does not limit it; it may include more or fewer components than shown, or any combination of components, and for example, the electronic device may further include input / output devices, network access devices, buses, etc.

[0147] The processor 100 may be a Central Processing Unit (CPU), another common processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The common processor may be a microprocessor or any general-purpose processor, etc.

[0148] The memory 101 may be an internal storage unit of the electronic device, such as a hard disk or internal memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card located in the electronic device. Furthermore, the memory 101 may include both an internal storage unit and an external storage device of the electronic device. The memory 101 is used to store the computer program and other programs and data necessary for the electronic device. The memory 101 may also be used to temporarily store output or immediately output data.

[0149] For the sake of convenience and brevity, the structure of the electronic device described above can be further explained by referring to the detailed description of the structure in the Method Embodiment, and a detailed explanation is omitted here.

[0150] For the sake of clarity and brevity, only the division of each functional unit and module described above has been used as an example. However, in practice, the above functions may be assigned to be completed by different functional units and modules as needed. That is, the internal structure of the device may be divided into different functional units or modules, thereby completing all or some of the functions described above, as will be clearly understood by those skilled in the art. Each functional unit and module in the embodiment may be integrated into a single processing unit, exist independently physically, or be integrated into a single unit of two or more units. The integrated unit may be implemented in hardware form or in the form of a software functional unit. Furthermore, the specific names of each functional unit and module are merely for distinguishing them from one another and do not limit the scope of protection of this application. The specific operating processes of the units and modules in the above system can be found by referring to the corresponding processes in the above method embodiment, and a detailed explanation is omitted here.

[0151] In the above embodiments, the descriptions of each embodiment focus on different aspects, and for parts not described or explained in detail in one embodiment, you can refer to the relevant descriptions in other embodiments.

[0152] Those skilled in the art will conceivable that the units and algorithmic steps described in the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software form will depend on the specific application and design constraints of the technical solution. While experts in the art may implement the described functions in different ways for each specific application, such implementations should not be understood as being beyond the scope of this application.

[0153] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic equipment and methods can be implemented in other forms. For example, the embodiments of the devices / electronic equipment described above are merely illustrative, and the division of the modules or units is merely a division of logical functions and may be divided in other forms in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. On the other hand, the mutual coupling or direct coupling or communication connection shown or described may be an indirect coupling or communication connection via some interface, device or unit, and may be in an electrical, mechanical or other form.

[0154] The units described as separating members may or may not be physically separated, and the members shown as units may or may not be physical units, may be located in one place, or may be distributed among multiple network units. Some or all of these units can be selected according to actual needs to achieve the objective of the solution of this embodiment.

[0155] Furthermore, each functional unit in each embodiment of this application may be integrated into a single processing unit, may exist physically independently, or may be integrated into a single unit of two or more units. The integrated unit may be implemented in hardware form or in the form of a software functional unit.

[0156] When the integrated module / unit is implemented in the form of a software function unit and sold or used as an independent product, it may be stored on a single computer-readable storage medium. Based on this view, the present application may implement all or part of the process in the above embodiment, which may be completed by a computer program instructing the relevant hardware, the computer program being storeable on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of each embodiment of the above method can be implemented. Here, the computer program includes computer program code, which may be in source code format, object code format, executable file or some intermediate format, etc. The computer-readable medium may include any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunications signals and software distribution medium, etc., that can carry the computer program code. Furthermore, the content contained in the computer-readable medium may be increased or decreased as appropriate in accordance with the legislative and patent practice requirements of the jurisdiction. For example, in any jurisdiction, by legislative and patent practice, the computer-readable medium may not contain electrical carrier signals or telecommunication signals.

[0157] The embodiments described above are merely for illustrative purposes and are not intended to limit the technical solutions of this application. Although this application has been described in detail with reference to the embodiments, it is possible to modify the technical solutions described in each of the embodiments or to replace some of their technical features, as will be understood by those skilled in the art. Such modifications or replacements will not cause the essence of the relevant technical solution to deviate from the spirit and scope of the technical solutions of each embodiment of this application, and will all fall within the scope of protection of this application.

Claims

1. In a method for assigning a multifunction SIM card to a user device equipped with the multifunction SIM card, which has multiple operating modes configured to correspond one-to-one with multiple SIM card types, When the operating mode of the multi-function SIM card is in the initial operating mode, which is STK SIM card mode, the steps include sending a card assignment request to the server that carries the identification code and first location information of the multi-function SIM card, A step of obtaining first response information that the server has fed back based on the identification code and the first location information, wherein the first response information includes first type information of the target type and the SIM card code number of the target type. The steps include controlling the multifunction SIM card to enter a target operating mode corresponding to the target type from among the plurality of operating modes based on the first type information, completing the writing of the SIM card code number based on the communication channel corresponding to the target operating mode, and registering the multifunction SIM card with the network using the SIM card code number, A method for assigning a multifunction SIM card, characterized by including the step of switching the multifunction SIM card to the initial operating mode when the multifunction SIM card satisfies the switching conditions during the network registration process.

2. The method for assigning a multi-function SIM card according to claim 1, characterized in that the target type is determined by the server from the plurality of SIM card types based on the identification code and the first location information.

3. The plurality of operating modes include BLE SIM card mode, eSIM card mode, and STK SIM card mode, and the plurality of SIM card types include at least a physical SIM card, an eSIM card, and a soft SIM card. The steps of controlling the multifunction SIM card to enter a target operating mode corresponding to the target type from among the plurality of operating modes based on the first type information, completing the writing of the SIM card code number based on the communication channel corresponding to the target operating mode, and registering it with the network are as follows: When the target type is a physical SIM card, the multifunction SIM card is controlled to enter the BLE SIM card mode, wherein the communication channel corresponding to the BLE SIM card mode is a Bluetooth channel, and the user device registers with the network using the SIM card code number on the multifunction SIM card by writing the SIM card code number to the multifunction SIM card via the Bluetooth channel. When the target type is an eSIM card, the multifunction SIM card is controlled to enter the eSIM card mode, wherein the communication channel corresponding to the eSIM card mode is one of the OMA channel, Bluetooth channel, and system channel, and the user device registers with the network using the SIM card code number on the multifunction SIM card by writing the SIM card code number to the multifunction SIM card via one of the OMA channel, Bluetooth channel, and system channel. A method for assigning a multifunction SIM card according to claim 2, characterized in that, when the target type is a soft SIM card, the multifunction SIM card is controlled to enter the STK SIM card mode or the BLE SIM card mode, wherein the communication channel corresponding to the STK SIM card mode is an SMS channel or a BIP channel, and the user device registers with the network using the SIM card code number on the multifunction SIM card by writing the SIM card code number to the multifunction SIM card via one of the SMS channel, BIP channel, or Bluetooth channel.

4. The step of switching the multi-function SIM card to the initial operating mode when the multi-function SIM card satisfies the switching conditions is as follows: When the validity period of the order bundled to the multifunction SIM card expires, the system confirms that the multifunction SIM card meets the switching conditions, switches the multifunction SIM card to the initial operating mode, activates the seed card set on the multifunction SIM card, and registers it to the network. A method for assigning a multifunction SIM card according to any one of claims 1 to 3, characterized in that, when the multifunction SIM card exceeds the service range, the method includes confirming that the multifunction SIM card satisfies the switching conditions, switching the multifunction SIM card to the initial operating mode, and activating the seed card set on the multifunction SIM card and registering it with the network.

5. In a method for allocating multi-function SIM cards applied to a server, The steps include receiving a card assignment request transmitted from a user device, wherein the card assignment request carries an identification code and first location information of a multifunction SIM card placed in the user device, and the multifunction SIM card is configured with multiple operating modes that correspond one-to-one with multiple SIM card types, A step of determining the target type from the plurality of SIM card types based on the identification code and the first location information, A method for assigning a multifunction SIM card, comprising the step of transmitting to the user device first type information of the target type and first response information including the SIM card code number of the target type, wherein the first type information is for causing the multifunction SIM card to enter a target operating mode corresponding to the target type among the plurality of operating modes, and thereby the user device completes writing the SIM card code number based on the communication channel corresponding to the target operating mode and registers the multifunction SIM card with the network using the SIM card code number.

6. The step of determining the target type from the plurality of SIM card types based on the identification code and the first location information is as follows: Based on the aforementioned identification code and the first location information, the order information bundled to the multi-function SIM card is to be queried, Based on the order information, determine the candidate type that can be assigned from the multiple SIM card types, A method for assigning a multi-function SIM card according to claim 5, characterized by comprising determining a target type from the candidate types.

7. The above-mentioned determination of the target type from the candidate types means that The traffic cost when the user device registers with the network using the SIM card code number of each candidate type is determined. A method for assigning a multi-function SIM card according to claim 6, characterized by comprising determining a target type from the candidate types based on the traffic cost.

8. The method for assigning a multi-function SIM card according to any one of claims 5 to 7, characterized in that the target type SIM card code number is a local SIM card code number associated with the first location information among the target type SIM card code numbers.

9. The plurality of operating modes include BLE SIM card mode, eSIM card mode, and STK SIM card mode, and the plurality of SIM card types include at least a physical SIM card, an eSIM card, and a soft SIM card. When the target type is a physical SIM card, the first type information is for causing the multifunction SIM card to enter the BLE SIM card mode, the communication channel corresponding to the BLE SIM card mode is a Bluetooth channel, and thereby the user device writes the SIM card code number to the multifunction SIM card based on the Bluetooth channel, and registers the SIM card code number on the multifunction SIM card with the network. When the target type is an eSIM card, the first type information is for causing the multifunction SIM card to enter the eSIM card mode, and the communication channel corresponding to the eSIM card mode is one of the OMA channel, Bluetooth channel, or system channel, and thereafter the user device writes the SIM card code number to the multifunction SIM card based on one of the OMA channel, Bluetooth channel, or system channel, and registers the SIM card code number on the multifunction SIM card with the network. A method for assigning a multifunction SIM card according to any one of claims 5 to 7, wherein, when the target type is a soft SIM card, the first type information is for causing the multifunction SIM card to enter the STK SIM card mode or the BLE SIM card mode, the communication channel corresponding to the STK SIM card mode is an SMS channel or a BIP channel, and the communication channel corresponding to the BLE SIM card mode is a Bluetooth channel, and thereby the user device writes the SIM card code number to the multifunction SIM card based on one of the SMS channel, BIP channel, or Bluetooth channel, and registers the SIM card code number on the multifunction SIM card with the network.

10. The system includes a server and user equipment, and the user equipment is equipped with a multi-function SIM card that has multiple operating modes configured to correspond one-to-one with multiple SIM card types. The user device is used to perform the steps of the method for assigning a multi-function SIM card according to any one of claims 1 to 4. A card assignment system characterized in that the server is used to perform the steps of the method for assigning a multi-function SIM card as described in any one of claims 5 to 9.

11. An electronic device comprising memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for allocating a multifunction SIM card described in any one of claims 1 to 4 are realized, or when the computer program is executed by the processor, the steps of the method for allocating a multifunction SIM card described in any one of claims 5 to 9 are realized.