Business processing method, apparatus, device, and readable storage medium

By establishing a secure communication tunnel between the SIM card management platform and the terminal, and determining the maximum waiting time based on the waiting time of the service platform and the dynamic timeout threshold, the problem of resource waste and service failure caused by the synchronous transmission mechanism between the SIM card management platform and the service platform is solved, and more efficient service instruction processing is achieved.

CN122395751APending Publication Date: 2026-07-14CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD
Filing Date
2026-03-20
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

The existing synchronous transmission mechanism between the SIM card management platform and the service platform is prone to resource waste or service failure when processing complex service instructions, and cannot adapt to diverse service needs.

Method used

After establishing a secure communication tunnel between the SIM card management platform and the terminal, a connection establishment request instruction is sent to the service platform. The maximum waiting time for the service instruction is determined based on the waiting time and/or dynamic timeout threshold set by the service platform, and the service instructions sent by the service platform are monitored during the maximum waiting time.

Benefits of technology

By dynamically adjusting the waiting time, the system avoids resource waste caused by long waiting times or business failures due to short waiting times, thus improving the system's flexibility and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122395751A_ABST
    Figure CN122395751A_ABST
Patent Text Reader

Abstract

The application discloses a service processing method, device and equipment and a readable storage medium. The method comprises the following steps: based on a BIP channel establishment connection request message sent by a service platform, a secure communication tunnel between a SIM card management platform and a terminal is established; a connection establishment request instruction is sent to the service platform, the connection establishment request instruction is used for indicating the format of a service instruction corresponding to a requested personalized service and service context information; the longest waiting time of the service instruction is determined according to a waiting time and / or a dynamic timeout threshold value set by the service platform; the service instruction sent by the service platform is monitored within the longest waiting time; and the service instruction is sent to the terminal through the secure communication tunnel in the case that the service instruction is received and the service instruction verification is successful. The application avoids resource waste caused by the SIM card management platform waiting for the service instruction for a long time, or service failure caused by too short waiting time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and specifically relates to a service processing method, apparatus, device and readable storage medium. Background Technology

[0002] With the rapid development of next-generation information technologies such as 5G, the Internet of Things, and big data, Subscriber Identity Module (SIM) cards are rapidly permeating every corner of people's lives and industrial operations. In the transportation sector, the Super SIM card can function as a transit card, enabling convenient card payments for buses, subways, and other public transportation. In the access control sector, whether in office buildings, residential communities, or various venues, the Super SIM card can replace traditional access cards, providing secure and efficient identity verification and access control management.

[0003] Behind these diverse business scenarios, the SIM card management platform plays a crucial role. Taking personalized card application services as an example, when users have personalized card application needs, the SIM card management platform needs to work closely with the business platform. Currently, there are two common data transmission modes in the SIM card industry: (1) Bearer Independent Protocol (BIP) channel mode, and (2) Device-card channel mode. Under the common BIP channel mode, the SIM card management platform obtains personalized instructions from the business platform and transmits them to terminals such as smartphones in a synchronous manner. This means that when the SIM card management platform sends an instruction request to the business platform, it will immediately enter a waiting state, and the current waiting time is set to 5 seconds based on experience. During the waiting period, the SIM card management platform will not perform other operations related to the request, but will focus on waiting for the response from the business platform. This synchronous mode requires the business platform to process and return the corresponding personalized instructions in a timely manner after receiving the request.

[0004] However, since some complex business instructions require collaborative processing across multiple systems, the process of generating personalized instructions on the business platform can be lengthy (such as cross-platform calls and user authorization confirmation). A fixed 5-second timeout threshold is difficult to adapt to diverse needs. For example, a simple access control instruction only requires 100ms of processing time, while the generation of business instructions that involve complex interactions with business systems may take 8 seconds. Therefore, the current synchronization mechanism either wastes resources or causes business failures. Summary of the Invention

[0005] This application provides a service processing method, apparatus, device, and readable storage medium, which solves the problem of resource waste or service failure caused by the synchronization mechanism for transmitting service instructions in current SIM card application scenarios.

[0006] Firstly, a business processing method is provided, applied to a SIM card management platform, including:

[0007] Based on the BIP channel connection request message sent by the service platform, a secure communication tunnel is established between the SIM card management platform and the terminal.

[0008] Send a connection establishment request instruction to the service platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the requested personalized service.

[0009] The maximum waiting time for a business instruction is determined based on the waiting time and / or dynamic timeout threshold set by the business platform.

[0010] Monitor the business instructions sent by the business platform during the longest waiting time;

[0011] Upon receiving the service instruction and upon successful verification of the service instruction, the service instruction is sent to the terminal through the secure communication tunnel.

[0012] Secondly, a business processing method is provided, applied to a business platform, the method comprising:

[0013] Upon receiving a personalized service request message from the terminal, a BIP channel connection establishment request message is sent to the SIM card management platform; the BIP channel connection establishment request message is used to request the establishment of a secure communication tunnel between the SIM card management platform and the terminal.

[0014] Receive a connection establishment request instruction sent by the SIM card management platform, wherein the connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the personalized service;

[0015] Based on the connection establishment request instruction, determine the interaction mode with the SIM card management platform;

[0016] Based on the interaction mode, business instructions are sent to the SIM card management platform.

[0017] Thirdly, a business processing method is provided, applied to a terminal, the method comprising:

[0018] Send personalized service request messages to the business platform;

[0019] Receive connection establishment information sent by the SIM card management platform;

[0020] Based on the connection establishment information, a secure communication tunnel is established between the terminal and the SIM card management platform;

[0021] Receive service instructions sent by the SIM card management platform through the secure communication tunnel.

[0022] Fourthly, a business processing apparatus is provided, comprising:

[0023] The first processing module is used to establish a secure communication tunnel between the SIM card management platform and the terminal based on the BIP channel connection request message sent by the service platform.

[0024] The first sending module is used to send a connection establishment request instruction to the service platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the requested personalized service.

[0025] The second processing module is used to determine the maximum waiting time for a business instruction based on the waiting time and / or dynamic timeout threshold set by the business platform.

[0026] The monitoring module is used to monitor the business instructions sent by the business platform during the longest waiting time.

[0027] The second sending module is used to send the service instruction to the terminal through the secure communication tunnel when the service instruction is received and the service instruction is successfully verified.

[0028] Fifthly, a business processing apparatus is provided, comprising:

[0029] The third sending module is used to send a BIP channel establishment connection request message to the SIM card management platform when it receives a personalized service request message sent by the terminal; the BIP channel establishment connection request message is used to request the establishment of a secure communication tunnel between the SIM card management platform and the terminal;

[0030] The first receiving module is used to receive a connection establishment request instruction sent by the SIM card management platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the personalized service.

[0031] The third processing module is used to determine the interaction mode with the SIM card management platform based on the connection establishment request instruction;

[0032] The fourth sending module is used to send service instructions to the SIM card management platform based on the interaction mode.

[0033] Sixthly, a business processing apparatus is provided, comprising:

[0034] The fifth sending module is used to send personalized service request messages to the service platform;

[0035] The second receiving module is used to receive connection establishment information sent by the SIM card management platform;

[0036] The fourth processing module is used to establish a secure communication tunnel between the terminal and the SIM card management platform based on the connection establishment information.

[0037] The third receiving module is used to receive service instructions sent by the SIM card management platform through the secure communication tunnel.

[0038] In a seventh aspect, an electronic device is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the above-described business processing method.

[0039] Eighthly, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the above-described business processing method are implemented.

[0040] The beneficial effects of this application are:

[0041] In the embodiments of this application, after establishing a secure communication tunnel between the SIM card management platform and the terminal, a connection establishment request instruction is sent to the service platform. The maximum waiting time for the service instruction is determined based on the waiting time and / or dynamic timeout threshold set by the service platform. During this maximum waiting time, the service instructions sent by the service platform are monitored. Since this maximum waiting time can be determined based on the waiting time and / or dynamic timeout threshold set by the service platform, it considers not only the time for instruction processing within the service platform but also the dynamic timeout time required for different service scenarios. This avoids resource waste caused by the SIM card management platform waiting for service instructions for an extended period, or service failure due to an excessively short waiting time. Attached Figure Description

[0042] Figure 1 This is a schematic diagram of the execution architecture of the business processing method in this application;

[0043] Figure 2 This is one of the flowcharts illustrating the business processing method of this application;

[0044] Figure 3 This is a schematic diagram of the business status of this application;

[0045] Figure 4 This is a schematic diagram of the secure communication tunnel detection process of this application;

[0046] Figure 5 This is the second flowchart illustrating the business processing method of this application;

[0047] Figure 6This is the third flowchart illustrating the business processing method of this application;

[0048] Figure 7 This is the fourth flowchart illustrating the business processing method of this application;

[0049] Figure 8 This is one of the structural schematic diagrams of the business processing device of this application;

[0050] Figure 9 This is the second schematic diagram of the business processing device of this application;

[0051] Figure 10 This is the third schematic diagram of the business processing device of this application;

[0052] Figure 11 This is a schematic diagram of the electronic device of this application. Detailed Implementation

[0053] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0054] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not used to describe a specified order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, a first object can be one or more. Furthermore, in the specification and claims, "and" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0055] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used with the systems and radio technologies mentioned above, as well as with other systems and radio technologies. However, the following description describes New Radio (NR) systems for illustrative purposes, and NR terminology is used in most of the following description. These technologies can also be applied to applications beyond NR systems, such as 6th Generation (6G) communication systems.

[0056] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.

[0057] In the various embodiments of this application, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0058] In addition, the terms "system" and "network" are often used interchangeably in this article.

[0059] In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean that B is determined solely based on A, but can also be determined based on A and / or other information.

[0060] First, the overall execution architecture of the business processing method in this application will be described. For example... Figure 1 As shown, the execution architecture includes a SIM card management platform, a service platform, and a terminal. The terminal can also be understood as the SIM card within the terminal. All participants form an organic collaborative system through standardized interfaces and event mechanisms. The SIM card management platform, as the core hub, integrates five key service modules to jointly support the full lifecycle management and cross-platform interaction capabilities of the Super SIM card.

[0061] like Figure 1 As shown, the SIM card management platform can include the following modules: gateway service, SIM card management core service, statistics service, BIP channel service, and SMS service.

[0062] The gateway service serves as the unified entry point and communication hub for the SIM card management platform's external interactions, undertaking the responsibility of bidirectional interaction scheduling. On one hand, the gateway service is responsible for initiating instruction requests from the SIM card management platform to external business platforms, ensuring the accurate transmission of cross-platform instructions. On the other hand, the gateway service accepts instruction call requests from external business platforms to the SIM card management platform, ensuring the security and standardization of interactions through standardized protocol conversion and permission verification, and achieving seamless integration between heterogeneous systems.

[0063] SIM Card Management Core Services: Focusing on the refined management of Super SIM card card space, this core service system covers the entire business process. Specific functions include: product-based order and cancellation management, supporting full lifecycle control; cross-domain application migration in and out operations, ensuring smooth user data migration; and customized settings and function loading for Super SIM cards, allowing users to enjoy the convenience of "one card for multiple uses" in different scenarios, meeting diverse needs, such as supporting campus card and access control card functions.

[0064] Statistical Service: This statistical service connects to the core SIM card management service to achieve accurate collection, cleaning, and scenario-based storage of callback duration data for personalized services on the Super SIM card. The operational logic is as follows: It monitors "instruction request initiation events" and "callback instruction completion events" in real time, automatically capturing the millisecond-level timestamp of each service and synchronously associating it with key identifiers such as service scenario tags and service request identifiers (Identity, ID). Then, it filters abnormal data according to preset rules, correcting time deviations caused by network jitter. Finally, it stores valid data categorized by service scenario, constructing a scenario-based duration database for a recent period (e.g., the last 90 days), and provides real-time calling interfaces for required statistical indicators such as quantiles (e.g., P90 quantile) and averages, providing data support for dynamic timeout threshold correction.

[0065] BIP Channel Service: As a secure communication bridge connecting the terminal and the SIM card management platform, the BIP Channel Service performs three core functions: First, it establishes an end-to-end encrypted channel between the terminal and the SIM card management platform, ensuring the confidentiality and integrity of data transmission based on the TLS protocol; second, it is responsible for parsing and protocol conversion of the terminal's uplink messages, converting raw data into structured information recognizable by the core SIM card management service; and third, it performs compliance assembly and encryption processing on the instructions issued by the SIM card management platform, accurately pushing them to mobile phones and other terminal devices through a secure channel to ensure the accuracy and security of instruction execution.

[0066] SMS Service: Leveraging the China Mobile Peer-to-Peer (CMPP) protocol and deep integration with operator SMS gateways, a comprehensive SMS sending and receiving system has been built. In addition to supporting bidirectional interaction for standard text messages, it specifically integrates Super Charge Protocol (SCP) security protocol processing capabilities for data SMS scenarios. This includes secure packet assembly, parsing, encryption / decryption, and dynamic counter management for data SMS messages. Through sophisticated security mechanisms, it ensures the security and anti-replay capabilities of sensitive data during SMS channel transmission.

[0067] like Figure 1 As shown, the service platform can include various application-specific service platforms, such as digital identity, mobile payment, student ID services, and public transport card services. The service platform interacts with the SIM card management platform through a gateway service to exchange requests and commands. The SIM cards of mobile phones and other terminals interact with the SIM card management platform's BIP channel service through a General Packet Radio Service (GPRS) Gateway Support Node (GGSN) gateway to establish a secure channel and transmit data. The SIM cards of mobile phones and other terminals also interact with the SIM card management platform's SMS service through a converged gateway to transmit SMS messages or data.

[0068] This application embodiment constructs a loosely coupled event-driven collaborative architecture for the interaction between the SIM card management platform and the external business platform. Through flexible interaction mode design, business parties can independently choose synchronous calls or event-driven methods for command interaction according to actual scenario requirements, thereby ensuring efficient collaboration between systems while maximizing the flexibility and scalability of business integration.

[0069] The execution process of the business processing method according to the embodiments of this application will be described below.

[0070] like Figure 2 As shown in the figure, this application provides a service processing method applied to a SIM card management platform, the method including:

[0071] Step 201: Based on the BIP channel connection request message sent by the service platform, establish a secure communication tunnel between the SIM card management platform and the terminal;

[0072] Step 202: Send a connection establishment request instruction to the service platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the requested personalized service.

[0073] Step 203: Determine the maximum waiting time for the service instruction based on the waiting time and / or dynamic timeout threshold set by the service platform;

[0074] Step 204: Monitor the service instructions sent by the service platform within the longest waiting time;

[0075] Step 205: Upon receiving the service instruction and verifying its success, the service instruction is sent to the terminal through the secure communication tunnel.

[0076] In this embodiment, when a user has personalized application needs, the user can submit personalized requests (such as activating specific functions like a campus card or transportation card) through the card application entry on a terminal such as a mobile phone. The terminal then sends a personalized request message containing the user's identity identifier and the type of request to the corresponding service platform. After receiving the request message, the service platform proactively sends a BIP channel establishment request message to the SIM card management platform based on the interaction protocol. After verifying the legitimacy of the service platform's request, the SIM card management platform establishes a secure communication tunnel with the terminal through its built-in SMS service module and BIP channel service module.

[0077] After establishing a secure communication tunnel, the gateway service of the SIM card management platform automatically sends a connection establishment request instruction to the service platform, specifying the instruction format (such as script type and parameter range) and service context information (such as the user's subscribed services) corresponding to the personalized services required by the user.

[0078] After sending a connection establishment request command, the business platform selects an interaction mode based on the business attributes, command complexity, and / or command processing logic. For example, for simple commands (such as basic parameter configuration or function switch settings), a synchronous call mode is used. Within a preset time period (e.g., within 1000ms), the business platform returns a structured command package containing the command ID and execution parameters through a standardized interface, supporting real-time verification. For complex commands (such as scenarios involving cross-system data verification or secondary user authorization), an event-driven mode is used: the business platform returns the command callback waiting time in the initial response (e.g., 300 seconds by default, or a user-defined timeframe) and triggers internal process processing; after the business command is generated, the business platform actively pushes the command data through the callback interface opened by the SIM card management platform.

[0079] Since the service platform may or may not send a callback for the specified waiting time, the SIM card management platform, to avoid wasting resources by waiting indefinitely, determines the maximum waiting time based on the callback waiting time sent by the service platform, along with its own dynamically determined timeout threshold. The platform then checks for service commands within this maximum waiting time. If no callback is received from the service platform after sending a connection establishment request command, the platform directly determines the maximum waiting time based on its own dynamically determined timeout threshold and checks for service commands within this maximum waiting time.

[0080] After receiving a service instruction from the service platform, the SIM card management platform performs compliance verification (such as permission checks and format verification). Upon successful verification, it pushes the encrypted instruction frame (including a verification code) to the terminal via the BIP channel service. The terminal's card application module decrypts the instruction and executes corresponding operations, such as writing the key, configuring application parameters, and activating the function identifier.

[0081] In some embodiments, the method further includes: receiving a service execution result sent by the terminal, and updating the service status based on the service execution result.

[0082] In this embodiment, after the SIM card management platform sends a service instruction to the terminal, the terminal executes the operation corresponding to the service instruction and returns the execution result (such as a success or failure code); after the SIM card management platform confirms the result, it updates the personalized status of the user card application and synchronizes it to the service platform to complete the closed loop.

[0083] In the embodiments of this application, after establishing a secure communication tunnel between the SIM card management platform and the terminal, a connection establishment request instruction is sent to the service platform. The maximum waiting time for the service instruction is determined based on the waiting time and / or dynamic timeout threshold set by the service platform. During this maximum waiting time, the service instructions sent by the service platform are monitored. Since this maximum waiting time can be determined based on the waiting time and / or dynamic timeout threshold set by the service platform, it considers not only the time for instruction processing within the service platform but also the dynamic timeout time required for different service scenarios. This avoids resource waste caused by the SIM card management platform waiting for service instructions for an extended period, or service failure due to an excessively short waiting time.

[0084] In some embodiments, establishing a secure communication tunnel between the SIM card management platform and the terminal based on the BIP channel connection establishment request message sent by the service platform includes:

[0085] Receive a BIP channel connection establishment request message sent by the service platform. The BIP channel connection establishment request message carries the device information and service scenario identifier of the terminal that initiated the personalized service request.

[0086] If the BIP channel connection establishment request message is verified successfully, connection establishment information is generated, which includes a temporary session key.

[0087] The connection establishment information is sent to the terminal in the form of encrypted data;

[0088] Receive the encrypted connection request message sent by the terminal;

[0089] If the terminal identity is successfully authenticated, a secure communication tunnel is established between the SIM card management platform and the terminal.

[0090] In this embodiment, the user submits personalized requests (such as activating specific functions like a campus card or transportation card) through the card application entry on the terminal (e.g., a mobile phone). The terminal then sends a personalized request message containing the user's identity identifier and the type of request to the corresponding business platform. After receiving the request message, the business platform proactively initiates a BIP channel connection establishment request message to the SIM card management platform based on the interaction protocol, along with terminal device information and a business scenario identifier. After verifying the legitimacy of the business platform's request, the SIM card management platform generates connection establishment information containing a temporary session key through its built-in SMS service module. Optionally, this connection establishment information includes a proprietary Internet Protocol (IP) address, an encrypted port, and a validity period. The SIM card management platform's SMS service module pushes this connection establishment information to the terminal in the form of encrypted SMS data. After receiving the SMS message, the terminal calls the local protocol parsing component to extract and decrypt the relevant parameters for establishing the connection. It then initiates a Transport Layer Security (TLS) encrypted connection request to the SIM card management platform's BIP channel service. Once the BIP channel service successfully authenticates the terminal's identity (e.g., verifying the International Mobile Subscriber Identity (IMSI) code), it establishes an end-to-end secure communication tunnel between the SIM card management platform and the terminal. After the connection is stable, the SIM card management platform's gateway service automatically sends an instruction request message to the service platform, specifying the format of the required personalized instructions (e.g., script type, parameter range) and the service context (e.g., services already subscribed by the user).

[0091] After receiving a connection establishment request instruction, the service platform determines the interaction mode with the SIM card management platform; based on the determined interaction mode, it sends service instructions to the SIM card management platform. Optionally, the service platform may autonomously select the interaction mode according to service attributes, instruction complexity, and / or instruction processing logic.

[0092] The interaction mode includes one of the following:

[0093] (1) Synchronous call mode: For simple instructions (such as basic parameter configuration and function switch settings), the synchronous call mode is adopted. The business platform returns a structured instruction package containing instruction ID and execution parameters through a standardized interface within a predetermined time (such as 1000ms), which supports real-time verification.

[0094] (2) Event-driven mode: For complex instructions (such as scenarios involving cross-system data verification and secondary user authorization), the event-driven mode is adopted. In the initial response, the business platform returns the maximum time limit for waiting for instruction callback (the default time is 300 seconds, or the business platform can customize it) and triggers internal process processing; after the business instruction is generated, the instruction data is actively pushed through the callback interface opened by the SIM card management platform.

[0095] In some embodiments, after sending a connection establishment request instruction to the service platform, the method further includes: receiving a service instruction sent by the service platform. In this case, for simple instructions, the service platform sends the service instruction to the SIM card management platform using a synchronous call mode, that is, directly returns a structured instruction packet containing the instruction ID and execution parameters.

[0096] In some embodiments, after sending a connection establishment request instruction to the service platform, the method further includes:

[0097] The system receives an initial response message sent by the service platform. The initial response message indicates that the current service status is "instruction generation in progress" and includes a waiting time set by the service platform.

[0098] In this embodiment, for complex instructions, the service platform uses an event-driven model to send service instructions to the SIM card management platform. Upon receiving a connection establishment request instruction, the service platform first sends an initial response message, indicating that the current service status is "instruction generation in progress." This initial response message may include a waiting time set by the service platform. Optionally, the initial response message may include a "dynamic timeout" field, through which the service platform customizes the waiting time. The SIM card management platform determines the maximum waiting time for the service instruction based on the waiting time set by the service platform and the dynamic timeout threshold, and monitors the service instruction within this determined maximum waiting time.

[0099] In some embodiments, determining the maximum waiting time for a business instruction based on the waiting time and / or dynamic timeout threshold set by the business platform includes one of the following:

[0100] 1) If the waiting time set by the business platform is not received, then the maximum waiting time is determined to be the maximum value of the dynamic timeout threshold;

[0101] In this embodiment, when the service platform does not define a waiting time, the SIM card management platform can directly determine the longest waiting time based on the maximum value of the dynamic timeout threshold.

[0102] 2) If the waiting time set by the service platform is received, and the waiting time is greater than or equal to the maximum value of the dynamic timeout threshold, then the longest waiting time is determined to be the maximum value of the dynamic timeout threshold;

[0103] In this embodiment, when the business platform defines a waiting time and the waiting time is greater than the upper limit of the dynamic timeout threshold, the maximum waiting time = the upper limit of the dynamic timeout threshold.

[0104] 3) If the waiting time set by the business platform is received, and the waiting time is less than the maximum value of the dynamic timeout threshold, then the longest waiting time is determined to be the waiting time set by the business platform.

[0105] In this embodiment, when the business platform defines a waiting time and the waiting time is less than the upper limit of the dynamic timeout threshold, the longest waiting time is equal to the waiting time defined by the business platform.

[0106] In the embodiments of this application, the dynamic timeout threshold is determined by the SIM card management platform based on business scenarios and multi-dimensional dynamic factors. In some embodiments, the method further includes:

[0107] Obtain historical data on instruction callback durations for different business scenarios within a first preset time period;

[0108] Obtain a real-time comprehensive parameter value, which is determined based on real-time network status parameters and SIM card hardware capability parameters;

[0109] Obtain the default timeout thresholds for different business scenarios;

[0110] The maximum value of the dynamic timeout threshold is determined by weighted summation of the historical data, the combined value of the real-time parameters, and the default timeout threshold.

[0111] The weights corresponding to the historical data, the comprehensive value of the real-time parameters, and the default timeout threshold are related to the business scenario.

[0112] In this embodiment, the first preset time period is, for example, the most recent 90 days. The SIM card management platform obtains the instruction callback historical data in different service scenarios within a recent period of time and constructs a scenario-based duration database. Specifically, the statistical service module of the SIM card management platform listens in real time for the "instruction request initiation event" sent by the gateway service and the "callback instruction completion event" received, automatically captures the millisecond-level timestamps of each business transaction, and synchronously associates key identifiers such as service scenario tags and business request IDs. Subsequently, abnormal data (such as data on SIM card hardware failures, users' failure to operate in a timely manner, etc.) is filtered according to preset rules, and the time deviation caused by network jitter is corrected. Finally, the valid data is classified and stored according to service scenarios (such as access control, transportation cards, digital identities, etc.) to construct a scenario-based duration database for the most recent 90 days.

[0113] The SIM card management platform also needs to obtain the comprehensive value of real-time parameters, which is determined based on real-time network status parameters and the hardware capability parameters of the SIM card. Specifically, the SIM card management platform obtains real-time network status parameters. For example, the SIM card management platform collects in real time through the gateway service the network latency (denoted as D, unit: ms) between the terminal and the SIM card management platform, and classifies it into 3 levels according to "good (D ≤ 200 ms), average (200 ms < D ≤ 500 ms), poor (D > 500 ms)", and assigns 0.8, 1.0, and 1.2 respectively as the network impact coefficient. This real-time network status parameter is denoted as K1. It should be noted that the data for grading the network status above are all examples and are not specifically restricted here. The SIM card management platform obtains the hardware capability parameters of the SIM card. For example, the SIM card management platform constructs a capability label through the hardware parameters reported by the card terminal (such as chip model, remaining storage space, encryption operation rate, etc.), identifies high-performance cards (supporting national cryptographic algorithm acceleration, operation rate ≥ 100 times / ms), ordinary-performance cards (operation rate 50 - 100 times / ms), and low-performance cards (operation rate < 50 times / ms), and assigns 0.9, 1.0, and 1.1 respectively as the hardware coefficient for each performance level. This hardware capability parameter of the SIM card is denoted as K2.

[0114] Specifically, the comprehensive value of real-time parameters = K1 × K2 × the basic scenario duration. The basic scenario duration is, for example, the theoretical basic duration for the access control category is 155 ms, the theoretical basic duration for the transportation category is 1.5 seconds, and the theoretical basic duration for the digital identity category is 7.8 seconds. The data in this part are only examples and are not specifically restricted here.

[0115] The SIM card management platform also needs to determine the default timeout thresholds for different business scenarios. Specifically, the SIM card management platform combines the "card-side processing complexity," "cross-system interaction link length," and "hardware-environment constraint parameters" of typical personalized SIM card services, and derives default timeout thresholds for various business scenarios through quantitative models to ensure the relative accuracy of the threshold settings. For example:

[0116] (1) For access control or basic configuration services (considered as local lightweight interaction scenarios): such services only require the SIM card to write basic permission parameters (such as access control keys, application switch identifiers) locally. Referring to traditional chip test data: the writing time for a single 128-bit key is ≤15ms, and the total writing time for 3 keys is ≤45ms; with the addition of instruction transmission (such as near field communication (NFC) channel latency ≤80ms) and terminal system response (≤30ms), the total basic timeout for the entire link is ≤155ms. Therefore, the default timeout threshold for this scenario is set to 200ms, which covers "theoretical basic timeout (155ms) + 30% redundancy (to cope with instantaneous load fluctuations of the chip)".

[0117] (2) Transportation card activation or recharge services (considered a three-level cross-platform interaction scenario): This type of service requires three levels of interaction: "business platform - transportation card platform - SIM card". The actual measured basic time consumption of each level of interaction ("request transmission (≤300ms) + platform processing (≤500ms) + response return (≤300ms)") is 1.1 seconds; with the addition of SIM card encryption verification (≤400ms), the basic time consumption of the entire link is ≤1.5 seconds. Therefore, the default timeout threshold for this scenario is set to 4 seconds, which covers "theoretical basic time consumption (1.5 seconds) + 1 link fluctuation redundancy (each time ≤1 second) + terminal network delay (≤1.5 seconds)".

[0118] (3) Digital identity authentication or financial card binding business (considered as a four-level interaction + user authorization scenario): This type of business involves a four-level interaction of "business platform - identity verification platform - user authorization - SIM card SE". The time taken for the SIM card to call the SE to complete the national cryptographic SM2 signature is ≤800ms; the time taken for the user authorization process fluctuates greatly (1-5 seconds). Combined with the basic time taken for the four-level link (≤2 seconds), the theoretical basic time taken for the entire link is ≤7.8 seconds. Therefore, the default timeout threshold for this scenario is set to 10 seconds, which covers "theoretical basic time taken (7.8 seconds) + 2.2 seconds of security redundancy (to cope with the peak delay of the identity verification platform)".

[0119] It should be noted that the default timeout threshold values ​​for the three types of business scenarios mentioned above are just examples and can be set according to the actual business processing time; no restrictions are imposed here.

[0120] The SIM card management platform determines the combined value of historical data, real-time parameters, and default timeout thresholds for different business scenarios, and then performs a weighted sum of these three data parts to obtain the maximum value of the dynamic timeout threshold.

[0121] For example: The maximum value of the dynamic threshold = (historical data × W1) + (real-time parameter comprehensive value × W2) + (default timeout threshold × W3).

[0122] Historical data can be obtained from a scenario-based time database covering a first preset time period (e.g., 90 days), representing the 90th percentile processing time value. The real-time parameter composite value = K1 × K2 × scenario-based base processing time. Default timeout thresholds are preset based on the business scenario; for example, the default processing time for access control is 200ms, for transportation it is 4 seconds, and for digital identity it is 10 seconds. These figures are merely examples and do not represent specific limitations.

[0123] The sum of the weights corresponding to the historical data, the real-time parameter composite value, and the default timeout threshold is 100%, i.e., W1+W2+W3=100%. The weight values ​​corresponding to each parameter are related to the business scenario and can be dynamically allocated according to the scenario complexity, or custom configuration is supported.

[0124] For example, the settings for W1, W2, and W3 under different scenario complexities are as follows:

[0125] 1) For low-complexity scenarios (such as access control): historical data has high stability and real-time parameter comprehensive value has little impact. The weight allocation can be "historical data (60%) + real-time parameter comprehensive value (20%) + default timeout threshold (20%)".

[0126] 2) For medium-complexity scenarios (such as activating a transportation card): network fluctuations have a significant impact, and the weighting is adjusted to "historical data (40%) + real-time parameter composite value (50%) + default timeout threshold (10%)".

[0127] 3) For highly complex scenarios (such as financial card binding): hardware performance and user operation have a key impact, with the weight set as "historical data (30%) + real-time parameter comprehensive value (30%) + default timeout threshold (40%)".

[0128] In this embodiment, the SIM card management platform addresses the differences in instruction processing characteristics across various application scenarios (such as access control, transportation cards, and digital identity) within personalized SIM card services. It combines SIM card hardware capabilities (such as storage space and encryption efficiency) with business interaction links (such as cross-platform call counts and user authorization processes) to achieve precise adaptation and standardized control of timeout durations. This implements a dynamic timeout threshold confirmation mechanism based on "SIM card service attribute classification + multi-dimensional dynamic factors." A multi-dimensional correction model based on "historical statistical data + real-time scenario network status + hardware capability profile" is constructed, and precise adaptation of threshold ranges is achieved through dynamic weight allocation.

[0129] After determining the maximum waiting time, the SIM card management platform monitors the service instructions sent by the service platform within the maximum waiting time. Specifically, the method further includes: if the received service instruction fails to be verified, or if the service instruction is not received within the maximum waiting time, a service timeout handling mechanism is triggered.

[0130] Optionally, the triggering service timeout processing mechanism includes at least one of the following:

[0131] Update the business status to "instruction timeout" and record the parameters of the timeout event;

[0132] The system sends structured failure information to the business platform, the structured failure information including parameters of the timeout event and failure reason information;

[0133] Perform the process of disconnecting the secure communication tunnel with the terminal.

[0134] In this embodiment, the platform starts a high-precision timer to monitor the instruction callback status in real time within a time window with a preset granularity (e.g., 100ms). This process not only verifies whether a callback request has been received from the business platform, but also performs compliance verification on the integrity of the callback information (such as instruction format, signature information, and business context related fields) to ensure effective callback.

[0135] If no callback request is received by the end of the longest waiting time, or if the received callback information fails compliance verification, the SIM card management platform will automatically trigger a timeout handling mechanism. Specifically, on the one hand, the SIM card management platform will synchronize its own status and that of the associated business platform to "instruction timed out without callback" and record detailed parameters of the timeout event (including start time, end time, business request ID, etc.) in the system log; on the other hand, it will push structured failure information to the business platform through a preset synchronous notification interface, clearly informing them that "this personalization process is terminated due to the failure to receive a valid instruction callback within the time limit," along with the timeout event parameters and failure reason code.

[0136] After completing the status update and information synchronization, the SIM card management platform proactively initiates the BIP channel disconnection sequence: The SIM card management platform first sends a secure communication tunnel closure warning message to the terminal. After the terminal returns a confirmation response, it performs the encrypted link teardown operation, releases relevant network resources, ensures the secure termination of the entire interaction link, and avoids invalid connections occupying system resources.

[0137] In some embodiments, the method further includes: maintaining a status code corresponding to the business status according to the business processing flow, wherein the status code is updated in real time based on the business processing flow.

[0138] In this embodiment, the business processing flow can refer to any processing node in the business processing process, ensuring that each node has a clear status code. The flow diagram showing how the status codes are updated along with the business processing flow is as follows: Figure 3 As shown, at the process stage level, the entire chain from initiation to closure of a personalized request is broken down, with each key node having a clear status code. At the result attribute level, status codes distinguish between three core states: "In Progress," "Success," and "Failure," with detailed reason classifications required for failure scenarios. At the interaction association level, status codes are bound to the status synchronization mechanism of the SIM card management platform, supporting cross-platform status consistency verification.

[0139] Specifically, the status codes corresponding to the business status at each stage of the business process can be shown in Table 1 below:

[0140] Table 1:

[0141] State type status codes meaning Remark Initialization pending I001 The SIM card management platform received a BIP channel connection establishment request. After receiving the terminal's personalization request, the service platform sends a BIP channel connection establishment request to the SIM card management platform. The SIM card management platform receives the BIP channel connection establishment request and sets the status to "Initialization Pending". The request to establish a coalition has been initiated. I002 Connection establishment information has been sent. The SIM card management platform sends connection establishment information to the terminal via SMS service. Successful establishment of the company S001 Terminal and SIM card management platform successfully established connection The terminal initiates a BIP channel connection establishment request to the SIM card management platform and successfully establishes the connection. Instruction generation in progress P001 Waiting for callback requests in event-driven mode The SIM management platform sends connection establishment request commands to the service platform via an event-driven model, while recording the longest waiting time. During the waiting period, the system is in the "command generation in progress" state. The instruction has been sent. S002 Synchronous return instruction / event-driven callback instruction completed Once the instruction is verified, it is pushed to the SIM card management platform. After successful push, the service status is synchronized, carrying the unique identifier of the instruction. Personalized success S003 The terminal executes the command and returns a success result. The SIM card management platform synchronizes the terminal's successful execution feedback to the service platform. The establishment of the company failed. E001 BIP secure communication tunnel establishment timed out or authentication failed. Connection establishment request timed out (default 15 seconds) or terminal authentication failed. Upon failure, the business platform is immediately synchronized with the failure code (such as timeout / authentication error). Instruction timed out without callback E002 In event-driven mode, no instruction returns after the maximum wait time. The SIM card management platform's timer monitors for timeouts or no valid instruction callbacks. Instruction verification failed E003 The push notification's format, signature, and permissions do not conform to the specifications. The SIM card management platform returned a verification error result. Terminal execution failed E004 An error occurred while the terminal was processing the command (e.g., key writing failed). The SIM card management platform will feed back the execution results to the business platform.

[0142] In this embodiment, the SIM card personalization service involves cross-platform and cross-domain interaction, with two interaction modes. The process is lengthy and the scenario is complex, making it prone to problems such as connection timeouts. This embodiment achieves cross-platform status synchronization by setting a unified status code, making it easier to locate problems in the service processing, improving user experience, and ensuring a smoother service processing flow.

[0143] In some embodiments, before sending the service instruction to the terminal through the secure communication tunnel, the method further includes:

[0144] Detect the connection status of the secure communication tunnel;

[0145] If the secure communication tunnel is disconnected, the reconnection process for the secure communication tunnel is initiated.

[0146] If the secure communication tunnel is successfully reconnected, the service instruction is sent to the terminal through the secure communication tunnel; or, if the maximum number of reconstruction attempts or the maximum reconstruction time threshold of the secure communication tunnel is exceeded and the reconnection is still unsuccessful, the service interruption process is triggered.

[0147] In this embodiment, to ensure the stability and continuity of business interactions, the business platform can independently configure the maximum re-establishment time threshold (e.g., 180 seconds) and the maximum number of re-establishments (e.g., 3 times) of the BIP secure communication tunnel according to actual scenario requirements. Before sending instructions to the terminal, the SIM card management platform first triggers the BIP secure communication tunnel connection status detection mechanism, verifying the link's activity and data transmission capability by sending heartbeat probe messages.

[0148] Specifically, the process of the SIM card management platform performing secure communication tunnel detection is as follows: Figure 4 As shown, the SIM card management platform determines whether the connection status of the BIP secure communication tunnel is normal. If the BIP secure communication tunnel is detected to be in a normal state, i.e., in a connected state, then the secure communication tunnel is used to send service commands.

[0149] If the BIP secure communication tunnel is detected to be disconnected, the system will automatically initiate a reconnection process: first, it will verify whether the current cumulative number of reconnections has not exceeded the set limit, and whether the time from the first disconnection to the present has not exceeded the maximum reconnection time threshold. When both conditions are met, the SIM card management platform will re-trigger the establishment of the secure communication tunnel via SMS, that is, the SIM card management platform will send a wake-up SMS containing a temporary encryption key and connection parameters to the terminal. After parsing, the terminal will automatically initiate a new BIP secure communication tunnel connection request.

[0150] If the BIP secure communication tunnel successfully re-establishes a connection (link verification passes and data transmission is normal), the system will immediately resume the service processing flow and continue to push unfinished service data to the terminal according to the original instruction sequence. If the connection is not successfully established after the maximum reconstruction time threshold or the maximum number of reconstruction attempts has been reached, it is determined to be a channel abnormality, triggering the service interruption handling mechanism. The SIM card management platform will simultaneously report the connection failure status and detailed reasons (such as "maximum number of retries exceeded" or "connection timeout") to the service platform to ensure that the service provider can promptly grasp the link status and take corresponding measures.

[0151] The following example illustrates the execution of the business processing method provided in this application. For example... Figure 5 As shown, the execution process of this business processing method specifically includes:

[0152] (1) Initiating a request: The user submits a personalized request (such as activating a campus card, transportation card, or other specific functions) through the card application entry of the terminal (such as a mobile phone). The terminal then sends a personalized request containing the user's identity identifier and the type of request to the corresponding business platform. After receiving the request, the business platform actively initiates a BIP channel connection establishment request to the SIM card management platform based on the interaction protocol, along with terminal device information and business scenario identifier.

[0153] (2) Transmit connection information: After the SIM card management platform verifies the legitimacy of the service platform's request, it generates connection information containing a temporary session key (including a dedicated IP address, encrypted port, and validity period) through the built-in SMS service module and pushes it to the terminal in the form of encrypted data SMS. After receiving the SMS, the terminal calls the local protocol parsing component to extract and decrypt the connection parameters, and then initiates a TLS encrypted connection request to the BIP channel service of the SIM card management platform to request the establishment of a connection.

[0154] (3) Establishing a connection and requesting instructions: After the BIP channel service successfully authenticates the terminal's identity (such as SIM card IMSI verification), it establishes an end-to-end secure communication tunnel and sends a response message to the terminal indicating that the connection has been successfully established. Once the connection is stable, the gateway service of the SIM card management platform automatically sends a connection request instruction message to the service platform, specifying the format of the required personalized instructions (such as script type and parameter range) and the service context (such as the user having subscribed to services).

[0155] (4) Selecting the interaction mode: The business platform can choose the interaction mode independently based on the business attributes, instruction complexity, and processing logic.

[0156] Interaction Mode 1: For simple commands (such as basic parameter configuration and function switch settings), a synchronous call mode is adopted. The business platform returns a structured command package containing the command ID and execution parameters through a standardized interface within 1000ms, supporting real-time verification.

[0157] Interaction Mode 2: For complex instructions (such as scenarios involving cross-system data verification and secondary user authorization), an event-driven mode is adopted: the business platform returns a waiting time (e.g., 300 seconds by default, or customized by the business platform) in the initial response and triggers internal process processing to perform cross-platform processing with third-party systems; after the instruction is generated, the instruction data is actively pushed through the callback interface opened by the SIM card management platform.

[0158] (5) Determine the process status: The core service of the SIM card management platform calculates the maximum waiting time based on the waiting time reported by the business platform and the dynamic timeout threshold. The core service of the SIM card management platform starts a timer to monitor the callback status. If no instruction callback is received from the business platform within the maximum waiting time, or if the callback instruction verification fails (such as signature mismatch or parameter error), the process termination mechanism is automatically triggered. The failure reason (such as "instruction timed out, please re-initiate the request") is pushed to the terminal through the BIP channel service, and the status identifier of the business platform is updated synchronously.

[0159] (6) Complete personalization settings: After the core service of the SIM card management platform performs compliance verification (such as permission check and format verification) on the business instructions, it pushes the encrypted instruction frame (including the verification code) to the terminal through the BIP channel service; the card application module of the terminal decrypts the business instructions and performs the corresponding operations (such as writing the key, configuring application parameters, and activating the function identifier). After the operation is completed, it returns the execution result (success / failure code) to the SIM card management platform; after the SIM card management platform confirms the result, it updates the personalization status of the user card application and synchronizes it to the business platform to complete the closed loop.

[0160] In the embodiments of this application, to address the issue of timeout failures in complex business processes, an asynchronous instruction generation process is designed to decouple the instruction generation stage of complex business processes from the waiting logic of the SIM card management platform. After receiving an instruction request from the SIM card management platform, the business platform does not need to return a result immediately. Instead, it first returns a "instruction generation in progress" status flag, and then independently initiates a multi-system collaborative processing flow (such as cross-platform calls, user authorization confirmation, etc.). Simultaneously, a status callback channel is established between the business platform and the SIM card management platform. When the business platform completes instruction generation, it proactively pushes the result to the SIM card management platform through the callback interface, preventing the SIM card management platform from timeouts due to long waiting times. By creating a flexible interaction system between the SIM card management platform and the business platform, it supports on-demand switching between synchronous calls and event-driven modes. In the event-driven mode, the decoupling of instruction generation and platform waiting is achieved through the status callback channel. The business platform can first return a "instruction generation in progress" flag, and then proactively push the instruction after the multi-system collaboration (such as cross-platform data verification, user authorization confirmation) is completed, breaking through the time constraints of traditional synchronous waiting.

[0161] To address the issue of limited business scalability, a dynamic timeout threshold mechanism is established. This allows business platforms to specify reasonable processing times when responding to requests based on their own needs. The SIM card management platform dynamically adjusts the maximum waiting time based on a combination of business attributes, business configuration, historical duration data, and real-time parameter values. Business platforms are required to request the SIM card management platform and notify it of the processing result within the specified processing time. If no notification is received within the specified time, the service is terminated.

[0162] This embodiment constructs a dynamic timeout threshold mechanism and an event-driven mode: by combining a quantitative model with card-side processing complexity, cross-system interaction links, and "hardware-environment" constraints, it uses preset default timeout thresholds for different scenarios as a basis, integrates historical data within a first preset time period, real-time network status parameters (quantized by network latency), and SIM card hardware capability parameters (quantized by chip performance), and employs an algorithm that dynamically allocates weights according to scenario complexity to determine the dynamic timeout threshold. It also supports business platforms to customize timeout times and determine the maximum waiting time through this dynamic threshold; coupled with an event-driven mode that monitors callback status and compliance verification using a high-precision timer, it automatically triggers status updates, information synchronization, and secure release of the BIP secure communication tunnel after a timeout, forming a complete solution from threshold preset, threshold correction based on multi-dimensional factors and dynamic weight algorithms to timeout handling, achieving precise adaptation, flexible adjustment, and secure control of Super SIM card service timeout parameters.

[0163] This application adds a BIP secure communication tunnel detection mechanism and a BIP connection re-establishment mechanism to the SIM card management platform. When a BIP secure communication tunnel connection is detected to be disconnected (e.g., in underground parking lots or remote scenic areas), if the maximum reconstruction time threshold of the secure communication tunnel has not been reached, the BIP secure communication tunnel re-establishment is triggered via SMS. If the re-establishment is successful, related services continue to be processed. Simultaneously, the SIM card management platform introduces a request status marking mechanism, marking requests that have been sent but have not received a response from the terminal as "pending confirmation," and setting a network recovery detection cycle. When the network recovers, the terminal proactively reports the cached request information to the SIM card management platform. The SIM card management platform compares the request ID and status mark to determine whether the service platform's instruction generation process needs to be re-triggered, or whether the already generated instruction can be used directly for breakpoint resumption, without requiring the user to re-initiate the request, thus improving service continuity in offline scenarios.

[0164] By establishing a standardized status code system across the entire process, status codes are designed from three dimensions: process stage (initialization / processing / completed), result attribute (in progress / success / failure), and interaction association (cross-platform synchronization). These codes (e.g., I001 initialization pending, E002 instruction timeout without callback) cover multiple key nodes in the process. Each status change generates a log containing a timestamp, business ID, and triggering conditions, supporting long-term traceability (e.g., 180 days) to ensure cross-platform status consistency.

[0165] Compared to current business processing mechanisms, the business processing method of this application significantly improves the capability for handling complex business processes. By decoupling instruction generation and platform waiting processes through an event-driven architecture, the business platform can first report the processing status and then push instructions after cross-platform collaboration is completed, greatly reducing the probability of failure for complex business processes. Compared to current business processing mechanisms, the business processing method of this application significantly enhances the flexibility of business adaptation. This solution supports business platforms to customize timeout parameters according to scenarios, and the SIM card management platform dynamically adjusts the waiting time based on the timeout parameters set by the business platform. This allows for efficient processing of simple business processes while meeting the time-consuming requirements of complex business processes, achieving flexible adaptation across all scenarios.

[0166] This application offers enhanced business continuity assurance in offline scenarios. Through a configurable reconnection mechanism, it automatically triggers SMS wake-up and reconnection when the channel is disconnected, and can resume transmission after network recovery, significantly improving business continuity in offline scenarios. Furthermore, this solution offers more efficient cross-platform collaboration and problem localization. By constructing a standardized status code system across the entire chain, it ensures cross-platform status synchronization, and status changes are accompanied by detailed logs, enabling rapid location of abnormal links and significantly improving collaboration efficiency and problem-solving speed.

[0167] This solution facilitates growth in both user scale and user engagement. By addressing core pain points such as timeouts in complex transactions and interruptions in offline scenarios, the Super SIM card significantly improves service reliability. For example, the success rate for handling complex transactions increases from approximately 70% to over 85%, and the success rate for resuming offline transactions reaches over 75%. This will directly drive improvements in new user conversion rates, increase the average monthly activity of existing users, and enhance user retention, laying the foundation for continued business expansion.

[0168] With its flexible business adaptability and stable technical support, this solution can better meet the needs of partners in different industries. Whether it's card application services in the transportation sector, identity management in campus scenarios, or secure payments in the financial industry, all can be efficiently integrated through the Super SIM card, facilitating the exploration of more business cooperation models.

[0169] Furthermore, the end-to-end status code system designed in this solution significantly reduces cross-platform troubleshooting time, thereby reducing maintenance manpower, improving system resource utilization, and lowering overall operating costs. Compared to traditional business processing solutions, it better meets the diverse needs of the market and users.

[0170] like Figure 6 As shown in the embodiments of this application, a business processing method is also provided, applied to a business platform, the method comprising:

[0171] Step 601: Upon receiving a personalized service request message from the terminal, send a BIP channel connection establishment request message to the SIM card management platform; the BIP channel connection establishment request message is used to request the establishment of a secure communication tunnel between the SIM card management platform and the terminal.

[0172] Step 602: Receive a connection establishment request instruction sent by the SIM card management platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the personalized service.

[0173] Step 603: Determine the interaction mode with the SIM card management platform according to the connection establishment request instruction;

[0174] Step 604: Send a service instruction to the SIM card management platform based on the interaction mode.

[0175] In this embodiment, when a user has personalized application needs, the user can submit personalized requests (such as activating specific functions like a campus card or transportation card) through the card application entry on a terminal such as a mobile phone. The terminal then sends a personalized request message containing the user's identity identifier and the type of request to the corresponding service platform. After receiving the request message, the service platform proactively sends a BIP channel establishment request message to the SIM card management platform based on the interaction protocol. After verifying the legitimacy of the service platform's request, the SIM card management platform establishes a secure communication tunnel with the terminal through its built-in SMS service module and BIP channel service module.

[0176] After establishing a secure communication tunnel, the gateway service of the SIM card management platform automatically sends a connection establishment request instruction to the service platform, specifying the instruction format (such as script type and parameter range) and service context information (such as the user's subscribed services) corresponding to the personalized services required by the user.

[0177] Upon receiving a connection establishment request, the business platform selects an interaction mode based on the business attributes, command complexity, and / or command processing logic, and sends the business command to the SIM card management platform accordingly. For example, for simple commands (such as basic parameter configuration or function switch settings), a synchronous call mode is used. Within a preset time period (e.g., 1000ms), the business platform returns a structured command package containing the command ID and execution parameters via a standardized interface, supporting real-time verification. For complex commands (such as scenarios involving cross-system data verification or secondary user authorization), an event-driven mode is used: the business platform returns the command callback waiting time in the initial response (e.g., a default of 300 seconds, or a user-defined timeframe) and triggers internal processing; after the business command is generated, the business platform actively pushes the command data through the callback interface provided by the SIM card management platform.

[0178] After receiving a service instruction from the service platform, the SIM card management platform performs compliance verification (such as permission checks and format verification). Upon successful verification, it pushes the encrypted instruction frame (including a verification code) to the terminal via the BIP channel service. The terminal's card application module decrypts the instruction and executes the corresponding operation, such as writing the key, configuring application parameters, and activating the function identifier. After the SIM card management platform sends the service instruction to the terminal, the terminal executes the operation corresponding to the instruction and returns the execution result (such as a success or failure code). After confirming the result, the SIM card management platform updates the personalized status of the user card application and synchronizes it to the service platform to complete the closed loop.

[0179] In the embodiments of this application, after establishing a secure communication tunnel between the SIM card management platform and the terminal, a connection establishment request instruction is sent to the service platform. The service platform determines the interaction mode with the SIM card management platform based on the connection establishment request instruction, and sends service instructions to the SIM card management platform based on the determined interaction mode. By selecting an interaction mode to send service instructions, the time for instruction processing within the service platform is taken into account, avoiding resource waste caused by the SIM card management platform waiting for service instructions for a long time, or service failure caused by too short a waiting time.

[0180] In some embodiments, the BIP channel connection establishment request message carries device information and service scenario identifier of the terminal initiating the personalized service request.

[0181] In this embodiment, the user submits personalized requests (such as activating specific functions like a campus card or transportation card) through the card application entry on the terminal (e.g., a mobile phone). The terminal then sends a personalized request message containing the user's identity identifier and request type to the corresponding business platform. After receiving the request message, the business platform proactively initiates a BIP channel connection establishment request message to the SIM card management platform based on the interaction protocol, along with terminal device information and a business scenario identifier. After verifying the legitimacy of the business platform's request, the SIM card management platform generates connection establishment information containing a temporary session key through its built-in SMS service module. Optionally, this connection establishment information includes a dedicated IP address, encrypted port, and validity period. The SMS service module of the SIM card management platform pushes this connection establishment information to the terminal in the form of encrypted SMS data. After receiving the SMS, the terminal calls the local protocol parsing component to extract and decrypt the relevant parameters for establishing the connection, and then initiates a TLS encrypted connection request to the BIP channel service of the SIM card management platform. After the BIP channel service successfully authenticates the terminal's identity (e.g., SIM card IMSI verification), an end-to-end secure communication tunnel is established between the SIM card management platform and the terminal. After the connection is stable, the gateway service of the SIM card management platform automatically sends an instruction request message to the service platform, specifying the format of the required personalized instruction (such as script type and parameter range) and the service context (such as the user has subscribed to the service).

[0182] In some embodiments, determining the interaction mode with the SIM card management platform based on the connection establishment request instruction includes:

[0183] Based on the format of the business instruction and the business context information, determine the business attributes, instruction complexity, and / or instruction processing logic;

[0184] The interaction mode with the SIM card management platform is determined based on the business attributes, instruction complexity, and / or instruction processing logic.

[0185] In this embodiment, after receiving a connection establishment request instruction, the service platform determines the interaction mode with the SIM card management platform; based on the determined interaction mode, it sends a service instruction to the SIM card management platform. Optionally, the service platform may autonomously select the interaction mode according to service attributes, instruction complexity, and / or instruction processing logic.

[0186] The interaction mode includes one of the following:

[0187] (1) Synchronous call mode: For simple instructions (such as basic parameter configuration and function switch settings), the synchronous call mode is adopted. The business platform returns a structured instruction package containing instruction ID and execution parameters through a standardized interface within a predetermined time (such as 1000ms), which supports real-time verification.

[0188] (2) Event-driven mode: For complex instructions (such as scenarios involving cross-system data verification and secondary user authorization), the event-driven mode is adopted. In the initial response, the business platform returns the maximum time limit for waiting for instruction callback (the default time is 300 seconds, or the business platform can customize it) and triggers internal process processing; after the business instruction is generated, the instruction data is actively pushed through the callback interface opened by the SIM card management platform.

[0189] In some embodiments, sending service instructions to the SIM card management platform based on the interaction mode includes:

[0190] When the interaction mode is synchronous call mode, a structured business instruction is sent to the SIM card management platform within a second preset time period;

[0191] or,

[0192] When the interaction mode is event-driven, an initial response message is sent to the SIM card management platform. The initial response message indicates that the current service status is "instruction generation in progress" and includes the waiting time set by the service platform. The internal processing flow of the instruction is triggered to generate the service instruction. The service instruction is then sent to the SIM card management platform.

[0193] In this embodiment, for simple instructions, the service platform sends the service instruction to the SIM card management platform using a synchronous call mode, directly returning a structured instruction packet containing the instruction ID and execution parameters. For complex instructions, the service platform sends the service instruction to the SIM card management platform using an event-driven mode. Upon receiving a connection establishment request instruction, the service platform first sends an initial response message, indicating that the current service status is "instruction generation in progress." This initial response message may include a waiting time set by the service platform. Optionally, the initial response message may include a "dynamic timeout" field, through which the service platform customizes the waiting time. The SIM card management platform determines the maximum waiting time for the service instruction based on the waiting time set by the service platform and the dynamic timeout threshold, and monitors the service instruction within this determined maximum waiting time. Details regarding the SIM card management platform's monitoring of service instructions are not elaborated here.

[0194] It should be noted that the interaction process between this service platform, the SIM card management platform, and the terminal is as follows: Figure 5 As shown, the architecture for executing this business processing method is as follows: Figure 1 As shown, it will not be elaborated upon here.

[0195] In the embodiments of this application, to address the issue of timeout failures in complex business processes, an asynchronous instruction generation process is designed to decouple the instruction generation stage of complex business processes from the waiting logic of the SIM card management platform. After receiving an instruction request from the SIM card management platform, the business platform does not need to return a result immediately. Instead, it first returns a "instruction generation in progress" status flag, and then independently initiates a multi-system collaborative processing flow (such as cross-platform calls, user authorization confirmation, etc.). Simultaneously, a status callback channel is established between the business platform and the SIM card management platform. When the business platform completes instruction generation, it proactively pushes the result to the SIM card management platform through the callback interface, preventing the SIM card management platform from timeouts due to long waiting times. By creating a flexible interaction system between the SIM card management platform and the business platform, it supports on-demand switching between synchronous calls and event-driven modes. In the event-driven mode, the decoupling of instruction generation and platform waiting is achieved through the status callback channel. The business platform can first return a "instruction generation in progress" flag, and then proactively push the instruction after the multi-system collaboration (such as cross-platform data verification, user authorization confirmation) is completed, breaking through the time constraints of traditional synchronous waiting.

[0196] Compared to current business processing mechanisms, the business processing method of this application significantly improves the capability for handling complex business processes. By decoupling instruction generation and platform waiting processes through an event-driven architecture, the business platform can first report the processing status and then push instructions after cross-platform collaboration is completed, greatly reducing the probability of failure for complex business processes. Compared to current business processing mechanisms, the business processing method of this application significantly enhances the flexibility of business adaptation. This solution supports business platforms to customize timeout parameters according to scenarios, and the SIM card management platform dynamically adjusts the waiting time based on the timeout parameters set by the business platform. This allows for efficient processing of simple business processes while meeting the time-consuming requirements of complex business processes, achieving flexible adaptation across all scenarios.

[0197] like Figure 7 As shown in the embodiments of this application, a business processing method is also provided, applied to a terminal, the method comprising:

[0198] Step 701: Send a personalized service request message to the business platform;

[0199] Step 702: Receive connection establishment information sent by the SIM card management platform;

[0200] Step 703: Based on the connection establishment information, establish a secure communication tunnel between the terminal and the SIM card management platform;

[0201] Step 704: Receive the service instructions sent by the SIM card management platform through the secure communication tunnel.

[0202] In this embodiment, when a user has personalized application needs, the user can submit personalized requests (such as activating specific functions like a campus card or transportation card) through the card application entry on a terminal such as a mobile phone. The terminal then sends a personalized request message containing the user's identity identifier and the type of request to the corresponding service platform. After receiving the request message, the service platform proactively sends a BIP channel establishment request message to the SIM card management platform based on the interaction protocol. After verifying the legitimacy of the service platform's request, the SIM card management platform establishes a secure communication tunnel with the terminal through its built-in SMS service module and BIP channel service module.

[0203] After establishing a secure communication tunnel, the gateway service of the SIM card management platform automatically sends a connection establishment request instruction to the service platform, specifying the instruction format (such as script type and parameter range) and service context information (such as the user's subscribed services) corresponding to the user's required personalized services. Upon receiving the connection establishment request instruction, the service platform selects an interaction mode based on the service attributes, instruction complexity, and / or instruction processing logic, and sends service instructions to the SIM card management platform based on the selected interaction mode.

[0204] After receiving the business instructions sent by the business platform, the SIM card management platform performs compliance verification on the business instructions (such as permission check and format verification). After the verification is successful, the encrypted instruction frame (including the verification code) is pushed to the terminal through the BIP channel service.

[0205] Optionally, the method further includes: executing the service instruction; and sending the service execution result to the SIM card management platform. After the SIM card management platform sends the service instruction to the terminal, the terminal executes the operation corresponding to the service instruction and returns the execution result (such as a success or failure code). After confirming the result, the SIM card management platform updates the personalized status of the user card application and synchronizes it to the service platform to complete the closed loop.

[0206] In some embodiments, establishing a secure communication tunnel between the terminal and the SIM card management platform based on the connection establishment information includes:

[0207] Parse the connection establishment information to obtain the temporary session key;

[0208] Use the temporary session key to send an encrypted connection request message to the SIM card management platform;

[0209] Receive a connection success message sent by the SIM card management platform.

[0210] In this embodiment, the user submits personalized requests (such as activating specific functions like a campus card or transportation card) through the card application entry on the terminal (e.g., a mobile phone). The terminal then sends a personalized request message containing the user's identity identifier and request type to the corresponding business platform. After receiving the request message, the business platform proactively initiates a BIP channel connection establishment request message to the SIM card management platform based on the interaction protocol, along with terminal device information and a business scenario identifier. After verifying the legitimacy of the business platform's request, the SIM card management platform generates connection establishment information containing a temporary session key through its built-in SMS service module. Optionally, this connection establishment information includes a dedicated IP address, encrypted port, and validity period. The SMS service module of the SIM card management platform pushes this connection establishment information to the terminal in the form of encrypted SMS data. After receiving the SMS, the terminal calls the local protocol parsing component to extract and decrypt the relevant parameters for establishing the connection, and then initiates a TLS encrypted connection request to the BIP channel service of the SIM card management platform. After the BIP channel service successfully authenticates the terminal's identity (e.g., SIM card IMSI verification), it establishes an end-to-end secure communication tunnel between the SIM card management platform and the terminal, and sends a connection success message to the terminal. After the connection is stable, the gateway service of the SIM card management platform automatically sends an instruction request message to the service platform, specifying the format of the required personalized instruction (such as script type and parameter range) and the service context (such as the user has subscribed to the service).

[0211] In the embodiments of this application, the user sends a personalized request message to the service platform through the terminal. After receiving the personalized request message, the service platform sends a BIP channel establishment request message to the SIM card management platform, thereby establishing a secure communication tunnel between the SIM card management platform and the terminal, and transmitting service instructions through this secure communication tunnel. Compared with the current service processing mechanism, the service processing method of this application significantly enhances the flexibility of service adaptation. This solution supports the service platform to customize timeout parameters according to the scenario, and the SIM card management platform dynamically adjusts the waiting time according to the timeout parameters set by the service platform. It can efficiently process simple services and meet the time-consuming requirements of complex services, achieving flexible adaptation across all scenarios.

[0212] like Figure 8 As shown in the figure, this application embodiment also provides a business processing device 800, including:

[0213] The first processing module 810 is used to establish a secure communication tunnel between the SIM card management platform and the terminal based on the BIP channel connection request message sent by the service platform.

[0214] The first sending module 820 is used to send a connection establishment request instruction to the service platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the requested personalized service.

[0215] The second processing module 830 is used to determine the maximum waiting time of a business instruction based on the waiting time and / or dynamic timeout threshold set by the business platform.

[0216] Monitoring module 840 is used to monitor the business instructions sent by the business platform during the longest waiting time;

[0217] The second sending module 850 is used to send the service instruction to the terminal through the secure communication tunnel when the service instruction is received and the service instruction is successfully verified.

[0218] In some embodiments, the first processing module is specifically used for:

[0219] Receive a BIP channel connection establishment request message sent by the service platform. The BIP channel connection establishment request message carries the device information and service scenario identifier of the terminal that initiated the personalized service request.

[0220] If the BIP channel connection establishment request message is verified successfully, connection establishment information is generated, which includes a temporary session key.

[0221] The connection establishment information is sent to the terminal in the form of encrypted data;

[0222] Receive the encrypted connection request message sent by the terminal;

[0223] If the terminal identity is successfully authenticated, a secure communication tunnel is established between the SIM card management platform and the terminal.

[0224] In some embodiments, the apparatus further includes:

[0225] The fourth receiving module is used to receive the initial response message sent by the service platform. The initial response message is used to indicate that the current service status is "instruction generation in progress". The initial response message includes the waiting time set by the service platform.

[0226] In some embodiments, the second processing module is specifically configured to perform one of the following:

[0227] If the waiting time set by the business platform is not received, then the maximum waiting time is determined to be the maximum value of the dynamic timeout threshold;

[0228] If the waiting time set by the business platform is received, and the waiting time is greater than or equal to the maximum value of the dynamic timeout threshold, then the longest waiting time is determined to be the maximum value of the dynamic timeout threshold.

[0229] If the waiting time set by the business platform is received, and the waiting time is less than the maximum value of the dynamic timeout threshold, then the longest waiting time is determined to be the waiting time set by the business platform.

[0230] In some embodiments, the apparatus further includes:

[0231] The first acquisition module is used to acquire historical data of instruction callback durations for different business scenarios within a first preset time period.

[0232] The second acquisition module is used to acquire the real-time parameter comprehensive value, which is determined based on the real-time network status parameters and the hardware capability parameters of the SIM card.

[0233] The third acquisition module is used to obtain the default timeout thresholds corresponding to different business scenarios;

[0234] The fifth processing module is used to perform a weighted summation of the historical data, the real-time parameter composite value, and the default timeout threshold to determine the maximum value of the dynamic timeout threshold;

[0235] The weights corresponding to the historical data, the comprehensive value of the real-time parameters, and the default timeout threshold are related to the business scenario.

[0236] In some embodiments, the apparatus further includes:

[0237] The sixth processing module is used to trigger a service timeout processing mechanism if the verification of the received service instruction fails or if the service instruction is not received within the longest waiting time.

[0238] In some embodiments, the mechanism for triggering service timeout processing includes at least one of the following:

[0239] Update the business status to "instruction timeout" and record the parameters of the timeout event;

[0240] The system sends structured failure information to the business platform, the structured failure information including parameters of the timeout event and failure reason information;

[0241] Perform the process of disconnecting the secure communication tunnel with the terminal.

[0242] In some embodiments, the apparatus further includes:

[0243] The fifth receiving module is used to receive the service execution result sent by the terminal and update the service status according to the service execution result.

[0244] In some embodiments, the apparatus further includes:

[0245] The seventh processing module is used to maintain the status code corresponding to the business status according to the business processing flow, and the status code is updated in real time based on the business processing flow.

[0246] In some embodiments, the apparatus further includes:

[0247] The detection module is used to detect the connection status of the secure communication tunnel;

[0248] The eighth processing module is used to initiate the reconnection process of the secure communication tunnel if the secure communication tunnel is in a disconnected state.

[0249] The ninth processing module is used to send the service instruction to the terminal through the secure communication tunnel if the secure communication tunnel is successfully reconnected; or, if the maximum number of reconstruction attempts or the maximum reconstruction time threshold of the secure communication tunnel is exceeded and the reconnection is still unsuccessful, a service interruption processing procedure is triggered.

[0250] It should be noted that the apparatus provided in this application embodiment can implement all the method steps implemented by the method embodiment executed by the SIM card management platform and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0251] like Figure 9 As shown in the figure, this application embodiment also provides a business processing apparatus 900, including:

[0252] The third sending module 910 is used to send a BIP channel establishment connection request message to the SIM card management platform when it receives a personalized service request message sent by the terminal; the BIP channel establishment connection request message is used to request the establishment of a secure communication tunnel between the SIM card management platform and the terminal;

[0253] The first receiving module 920 is used to receive a connection establishment request instruction sent by the SIM card management platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the personalized service.

[0254] The third processing module 930 is used to determine the interaction mode with the SIM card management platform based on the connection establishment request instruction;

[0255] The fourth sending module 940 is used to send service instructions to the SIM card management platform based on the interaction mode.

[0256] In some embodiments, the BIP channel connection establishment request message carries device information and service scenario identifier of the terminal initiating the personalized service request.

[0257] In some embodiments, the third processing module is specifically used for:

[0258] Based on the format of the business instruction and the business context information, determine the business attributes, instruction complexity, and / or instruction processing logic;

[0259] The interaction mode with the SIM card management platform is determined based on the business attributes, instruction complexity, and / or instruction processing logic.

[0260] In some embodiments, the interaction mode includes one of the following:

[0261] Synchronous call mode;

[0262] Event-driven pattern.

[0263] In some embodiments, the fourth sending module is specifically used for:

[0264] When the interaction mode is synchronous call mode, a structured business instruction is sent to the SIM card management platform within a second preset time period;

[0265] or,

[0266] When the interaction mode is event-driven, an initial response message is sent to the SIM card management platform. The initial response message indicates that the current service status is "instruction generation in progress" and includes the waiting time set by the service platform. The internal processing flow of the instruction is triggered to generate the service instruction. The service instruction is then sent to the SIM card management platform.

[0267] It should be noted that the apparatus provided in this application embodiment can implement all the method steps implemented by the method embodiment executed by the above-mentioned business platform, and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0268] like Figure 10 As shown in the illustration, this application embodiment also provides a business processing apparatus 1000, including:

[0269] The fifth sending module 1010 is used to send personalized service request messages to the service platform;

[0270] The second receiving module 1020 is used to receive connection establishment information sent by the SIM card management platform;

[0271] The fourth processing module 1030 is used to establish a secure communication tunnel between the terminal and the SIM card management platform based on the connection establishment information.

[0272] The third receiving module 1040 is used to receive service instructions sent by the SIM card management platform through the secure communication tunnel.

[0273] In some embodiments, the fourth processing module is specifically used for:

[0274] Parse the connection establishment information to obtain the temporary session key;

[0275] Use the temporary session key to send an encrypted connection request message to the SIM card management platform;

[0276] Receive a connection success message sent by the SIM card management platform.

[0277] In some embodiments, the apparatus further includes:

[0278] The tenth processing module is used to execute the business instructions;

[0279] The fifth sending module is used to send the service execution results to the SIM card management platform.

[0280] It should be noted that the apparatus provided in this application embodiment can implement all the method steps implemented in the method embodiment executed by the terminal and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0281] In another embodiment of this application, the electronic device may be a SIM card management platform, a service platform, or a terminal, such as... Figure 11 As shown, it includes a transceiver 1110, a processor 1100, a memory 1120, and a program or instructions stored in the memory 1120 and executable on the processor 1100; when the processor 1100 executes the program or instructions, it implements the above-mentioned service processing method.

[0282] The transceiver 1110 is used to receive and send data under the control of the processor 1100.

[0283] Among them, Figure 11In this context, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 1100) and memory (memory 1120). The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 1110 may be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 may store data used by the processor 1100 during operation.

[0284] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps in the above-described business processing method and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0285] The processor is the processor in the communication device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0286] This application also provides a computer program product that stores a program or instructions, including computer instructions. When these computer instructions are executed by a processor, they implement the steps in the business processing method described above and achieve the same technical effect. To avoid repetition, further details are omitted here.

[0287] In this embodiment, the module can be implemented in software so that it can be executed by various types of processors. For example, an identified executable code module may include one or more physical or logical blocks of computer instructions, which may be constructed as objects, procedures, or functions. Nevertheless, the executable code of the identified module does not need to be physically located together, but may include different instructions stored in different bits, which, when logically combined, constitute the module and achieve the module's intended purpose.

[0288] In practice, an executable code module can be a single instruction or many instructions, and can even be distributed across multiple different code segments, different programs, and across multiple memory devices. Similarly, operational data can be identified within the module and can be implemented in any suitable form and organized within any suitable data structure. This operational data can be collected as a single dataset or distributed across different locations (including different storage devices), and can exist, at least in part, solely as electronic signals within the system or network.

[0289] When a module can be implemented using software, considering the current level of hardware technology, modules that can be implemented in software can be implemented using hardware circuits by those skilled in the art to achieve the corresponding functions, without considering cost. These hardware circuits include conventional very-large-scale integrated circuits (VLSI) or gate arrays, as well as existing semiconductors such as logic chips and transistors, or other discrete components. Modules can also be implemented using programmable hardware devices, such as field-programmable gate arrays, programmable array logic, and programmable logic devices.

[0290] The exemplary embodiments described above are with reference to the accompanying drawings. Many different forms and embodiments are feasible without departing from the spirit and teachings of this application. Therefore, this application should not be construed as limiting the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided to make this application complete and convey the scope of this application to those skilled in the art. In these drawings, component dimensions and relative dimensions may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. As used herein, unless clearly indicated otherwise, the singular forms “a,” “an,” and “the” are intended to include all such forms. It will be further understood that the terms “comprising” and / or “including”, when used in this specification, indicate the presence of the stated features, integers, steps, operations, components, and / or elements, but do not exclude the presence or addition of one or more other features, integers, steps, operations, components, and / or groups thereof. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of the range and any subranges in between.

[0291] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A business processing method, characterized in that, The method, applied to a user identification SIM card management platform, includes: A secure communication tunnel is established between the SIM card management platform and the terminal based on the connection request message for establishing a channel bearing independent protocol BIP sent by the service platform. Send a connection establishment request instruction to the service platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the requested personalized service. The maximum waiting time for a business instruction is determined based on the waiting time and / or dynamic timeout threshold set by the business platform. Monitor the business instructions sent by the business platform during the longest waiting time; Upon receiving the service instruction and upon successful verification of the service instruction, the service instruction is sent to the terminal through the secure communication tunnel.

2. The method according to claim 1, characterized in that, The establishment of a secure communication tunnel between the SIM card management platform and the terminal is achieved by sending a BIP channel connection request message based on the service platform, including: Receive a BIP channel connection establishment request message sent by the service platform. The BIP channel connection establishment request message carries the device information and service scenario identifier of the terminal that initiated the personalized service request. If the BIP channel connection establishment request message is verified successfully, connection establishment information is generated, which includes a temporary session key. The connection establishment information is sent to the terminal in the form of encrypted data; Receive the encrypted connection request message sent by the terminal; If the terminal identity is successfully authenticated, a secure communication tunnel is established between the SIM card management platform and the terminal.

3. The method according to claim 1, characterized in that, After sending a connection establishment request instruction to the service platform, the method further includes: The system receives an initial response message sent by the service platform. The initial response message indicates that the current service status is "instruction generation in progress" and includes a waiting time set by the service platform.

4. The method according to claim 2, characterized in that, The determination of the maximum waiting time for a business instruction based on the waiting time and / or dynamic timeout threshold set by the business platform includes one of the following: If the waiting time set by the business platform is not received, then the maximum waiting time is determined to be the maximum value of the dynamic timeout threshold; If the waiting time set by the business platform is received, and the waiting time is greater than or equal to the maximum value of the dynamic timeout threshold, then the longest waiting time is determined to be the maximum value of the dynamic timeout threshold. If the waiting time set by the business platform is received, and the waiting time is less than the maximum value of the dynamic timeout threshold, then the longest waiting time is determined to be the waiting time set by the business platform.

5. The method according to claim 1, characterized in that, The method further includes: Obtain historical data on instruction callback durations for different business scenarios within a first preset time period; Obtain a real-time comprehensive parameter value, which is determined based on real-time network status parameters and SIM card hardware capability parameters; Obtain the default timeout thresholds for different business scenarios; The maximum value of the dynamic timeout threshold is determined by weighted summation of the historical data, the combined value of the real-time parameters, and the default timeout threshold. The weights corresponding to the historical data, the comprehensive value of the real-time parameters, and the default timeout threshold are related to the business scenario.

6. The method according to claim 1, characterized in that, The method further includes: If the received service instruction fails to be verified, or if the service instruction is not received within the maximum waiting time, the service timeout processing mechanism is triggered.

7. The method according to claim 6, characterized in that, The triggering service timeout handling mechanism includes at least one of the following: Update the business status to "instruction timeout" and record the parameters of the timeout event; The system sends structured failure information to the business platform, the structured failure information including parameters of the timeout event and failure reason information; Perform the process of disconnecting the secure communication tunnel with the terminal.

8. The method according to claim 1, characterized in that, The method further includes: Receive the service execution result sent by the terminal, and update the service status according to the service execution result.

9. The method according to claim 1, characterized in that, The method further includes: The status codes corresponding to the business status are maintained according to the business processing flow, and the status codes are updated in real time based on the business processing flow.

10. The method according to claim 1, characterized in that, Before sending the service instruction to the terminal through the secure communication tunnel, the method further includes: Detect the connection status of the secure communication tunnel; If the secure communication tunnel is disconnected, the reconnection process for the secure communication tunnel is initiated. If the secure communication tunnel is successfully reconnected, the service instruction is sent to the terminal through the secure communication tunnel; or, if the maximum number of reconstruction attempts or the maximum reconstruction time threshold of the secure communication tunnel is exceeded and the reconnection is still unsuccessful, the service interruption process is triggered.

11. A business processing method, characterized in that, Applied to a business platform, the method includes: Upon receiving a personalized service request message from the terminal, a BIP channel connection establishment request message is sent to the SIM card management platform; the BIP channel connection establishment request message is used to request the establishment of a secure communication tunnel between the SIM card management platform and the terminal. Receive a connection establishment request instruction sent by the SIM card management platform, wherein the connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the personalized service; Based on the connection establishment request instruction, determine the interaction mode with the SIM card management platform; Based on the interaction mode, business instructions are sent to the SIM card management platform.

12. The method according to claim 11, characterized in that, The BIP channel connection establishment request message carries the device information and service scenario identifier of the terminal that initiated the personalized service request.

13. The method according to claim 11, characterized in that, The step of determining the interaction mode with the SIM card management platform based on the connection establishment request instruction includes: Based on the format of the business instruction and the business context information, determine the business attributes, instruction complexity, and / or instruction processing logic; The interaction mode with the SIM card management platform is determined based on the business attributes, instruction complexity, and / or instruction processing logic.

14. The method according to claim 11 or 13, characterized in that, The interaction mode includes one of the following: Synchronous call mode; Event-driven pattern.

15. The method according to claim 13, characterized in that, Sending service instructions to the SIM card management platform based on the interaction mode includes: When the interaction mode is synchronous call mode, a structured business instruction is sent to the SIM card management platform within a second preset time period; or, When the interaction mode is event-driven, an initial response message is sent to the SIM card management platform. The initial response message indicates that the current service status is "instruction generation in progress" and includes the waiting time set by the service platform. The internal processing flow of the instruction is triggered to generate the service instruction. The service instruction is then sent to the SIM card management platform.

16. A business processing method, characterized in that, Applied to a terminal, the method includes: Send personalized service request messages to the business platform; Receive connection establishment information sent by the SIM card management platform; Based on the connection establishment information, a secure communication tunnel is established between the terminal and the SIM card management platform; Receive service instructions sent by the SIM card management platform through the secure communication tunnel.

17. The method according to claim 16, characterized in that, Based on the connection establishment information, a secure communication tunnel is established between the terminal and the SIM card management platform, including: Parse the connection establishment information to obtain the temporary session key; Use the temporary session key to send an encrypted connection request message to the SIM card management platform; Receive a connection success message sent by the SIM card management platform.

18. The method according to claim 16, characterized in that, The method further includes: Execute the aforementioned business instructions; Send the service execution result to the SIM card management platform.

19. A business processing apparatus, characterized in that, include: The first processing module is used to establish a secure communication tunnel between the SIM card management platform and the terminal based on the BIP channel connection request message sent by the service platform. The first sending module is used to send a connection establishment request instruction to the service platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the requested personalized service. The second processing module is used to determine the maximum waiting time for a business instruction based on the waiting time and / or dynamic timeout threshold set by the business platform. The monitoring module is used to monitor the business instructions sent by the business platform during the longest waiting time. The second sending module is used to send the service instruction to the terminal through the secure communication tunnel when the service instruction is received and the service instruction is successfully verified.

20. A business processing apparatus, characterized in that, include: The third sending module is used to send a BIP channel connection establishment request message to the SIM card management platform when it receives a personalized service request message sent by the terminal. The BIP channel connection establishment request message is used to request the establishment of a secure communication tunnel between the SIM card management platform and the terminal. The first receiving module is used to receive a connection establishment request instruction sent by the SIM card management platform. The connection establishment request instruction is used to indicate the format and service context information of the service instruction corresponding to the personalized service. The third processing module is used to determine the interaction mode with the SIM card management platform based on the connection establishment request instruction; The fourth sending module is used to send service instructions to the SIM card management platform based on the interaction mode.

21. A business processing apparatus, characterized in that, include: The fifth sending module is used to send personalized service request messages to the service platform; The second receiving module is used to receive connection establishment information sent by the SIM card management platform; The fourth processing module is used to establish a secure communication tunnel between the terminal and the SIM card management platform based on the connection establishment information. The third receiving module is used to receive service instructions sent by the SIM card management platform through the secure communication tunnel.

22. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method as claimed in any one of claims 1 to 10, or the steps of the method as claimed in any one of claims 11 to 15, or the steps of the method as claimed in any one of claims 16 to 18.

23. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as claimed in any one of claims 1 to 10, or the steps of the method as claimed in any one of claims 11 to 15, or the steps of the method as claimed in any one of claims 16 to 18.