CN113242543B - USIM-based application control method, USIM, terminal and medium - Google Patents

USIM-based application control method, USIM, terminal and medium Download PDF

Info

Publication number
CN113242543B
CN113242543B CN202110527425.8A CN202110527425A CN113242543B CN 113242543 B CN113242543 B CN 113242543B CN 202110527425 A CN202110527425 A CN 202110527425A CN 113242543 B CN113242543 B CN 113242543B
Authority
CN
China
Prior art keywords
application
terminal
usim
application operation
control command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110527425.8A
Other languages
Chinese (zh)
Other versions
CN113242543A (en
Inventor
刘煜
翟京卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110527425.8A priority Critical patent/CN113242543B/en
Publication of CN113242543A publication Critical patent/CN113242543A/en
Application granted granted Critical
Publication of CN113242543B publication Critical patent/CN113242543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Abstract

The present disclosure provides a USIM-based application control method, a USIM, a terminal, and a computer-readable storage medium, the method comprising: acquiring a request application control command sent by a terminal, wherein the request application control command comprises a message that the designated application has triggered an application operation; analyzing the request application control command to obtain a message that the designated application has triggered application operation; judging whether the terminal is allowed to execute the application operation or not based on a preset rule; if the application operation is allowed, a first response message is sent to the terminal, wherein the first response message carries a first control result allowing the terminal to execute the application operation, so that the terminal starts to execute the application operation based on the first control result.

Description

USIM-based application control method, USIM, terminal and medium
Technical Field
The present disclosure relates to the field of communication technologies, and in particular, to a USIM-based application control method, a USIM, a terminal device, and a computer-readable storage medium.
Background
With the continuous development of terminal-side services, the terminal application and USIM (Universal Subscriber Identity Module ) application are increasingly associated with each other, and the requirements of the terminal application and the USIM (Universal Subscriber Identity Module ) application for strengthening the mutual participation in management and control are also gradually emerging.
For the business forms of participation of both the terminal and the USIM, the terminal application and the USIM application are closely related, especially for the scene of bearing the security capability of the USIM, for example, the starting and the use of the terminal application need to meet the security requirement, the USIM has obvious influence on the terminal application, the terminal application needs to check the security requirement through the USIM in the starting process, and the security requirement on the USIM needs to be the premise of normal starting of the terminal application, so that the application risk is better avoided, and the security use of the application is realized. However, in the current technology, since the starting of the terminal application still keeps its independence, the terminal service that the USIM can participate in is mainly various basic services, such as voice call, short message, data connection, etc., and the requirements for control management related to the terminal application, especially for the starting of the USIM for a specific application, cannot be met.
Disclosure of Invention
The present disclosure provides a USIM-based application control method, a USIM, a terminal, and a computer-readable storage medium to solve at least the above problems.
According to a first aspect of embodiments of the present disclosure, there is provided a USIM-based application control method, applied to a USIM, including:
acquiring a request application control command sent by a terminal, wherein the request application control command is sent to the USIM by the terminal after detecting that an appointed application triggers an application operation, and the request application control command comprises a message that the appointed application triggers the application operation;
analyzing the request application control command to obtain a message that the designated application has triggered application operation; the method comprises the steps of,
judging whether the terminal is allowed to execute the application operation or not based on a preset rule;
and if so, sending a first response message to the terminal, wherein the first response message carries a first control result allowing the terminal to execute the application operation, so that the terminal starts to execute the application operation based on the first control result.
In one embodiment, before acquiring the request application control command sent by the terminal, the method further includes:
after a demand for controlling application operation of a specified application is generated, generating an application control command based on the demand, wherein the application control command comprises an application identifier and an application operation type range of the specified application; the method comprises the steps of,
and sending an application control command to a terminal so that the terminal obtains and analyzes the application control command to obtain the application identifier and an application operation type range, judging whether the application operation type of the appointed application is in the operation type range after detecting that the appointed application corresponding to the application identifier triggers the application operation, and if so, sending a request application control command to the USIM.
In one embodiment, after determining whether to allow the terminal to perform the application operation based on a preset rule, the method further includes:
and if not, sending a second response message to the terminal, wherein the second response message carries a second control result which does not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the second control result.
In one embodiment, after determining whether to allow the terminal to perform the application operation based on a preset rule, the method further includes:
if not, a third response message is sent to the terminal, wherein the third response message carries a third control result and prompt request information which do not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the third control result, and the termination execution result of the application operation is displayed based on the prompt request information.
According to another aspect of the embodiments of the present disclosure, there is provided a USIM-based application control method applied to a terminal, the method including:
after detecting that an appointed application triggers an application operation, sending an application request control command to a USIM, wherein the application request control command comprises a message that the appointed application triggers the application operation, so that the USIM obtains and analyzes the application request control command to obtain a message that the terminal appointed application triggers the application operation, judging whether the terminal is allowed to execute the application operation or not based on a preset rule, and if so, sending a first response message to the terminal, wherein the first response message carries a first control result allowing the terminal to execute the application operation;
acquiring and analyzing the first response message to obtain the first control result; the method comprises the steps of,
and starting to execute the application operation based on the first control result.
In one embodiment, before sending the request application control command to the USIM, the method further comprises:
receiving an application control command sent by a USIM, wherein the application control command is generated based on a requirement of controlling application operation of a specified application after the USIM generates the requirement, and the application control command comprises an application identifier and an application operation type range of the specified application; the method comprises the steps of,
acquiring and analyzing the application control command to obtain the application identifier and the application operation type range;
after detecting that the designated application corresponding to the application identifier triggers application operation, judging whether the application operation type of the designated application is within the operation type range;
and if the operation type is within the operation type range, executing the step of sending a request application control command to the USIM.
In one embodiment, after detecting that the designated application triggers the application operation, the method further includes, after sending a request application control command to the USIM:
receiving a second response message sent by the USIM, wherein the second response message is sent to the terminal when the USIM judges that the terminal is not allowed to execute the application operation, and the second response message carries a second control result which is not allowed to execute the application operation by the terminal; the method comprises the steps of,
and stopping executing the application operation based on the second control result.
In one embodiment, after detecting that the designated application triggers the application operation, the method further includes, after sending a request application control command to the USIM:
receiving a third response message sent by a USIM, wherein the third response message is sent to the terminal when the USIM judges that the terminal is not allowed to execute the application operation, and the third response message carries a third control result and prompt request information which are not allowed to execute the application operation by the terminal; the method comprises the steps of,
and stopping executing the application operation based on the third control result, and displaying the execution stopping result of the application operation based on the prompt request information.
According to a third aspect of the embodiments of the present disclosure, there is provided a USIM including a memory and a processor, the memory storing a computer program, the processor executing the USIM-based application control method when the processor runs the computer program stored in the memory.
According to a fourth aspect of embodiments of the present disclosure, there is provided a terminal including a memory and a processor, the memory storing a computer program therein, the processor executing the other USIM-based application control method when the processor runs the computer program stored in the memory.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, performs the USIM-based application control method or the another USIM-based application control method.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the application control method based on the USIM, a request application control command sent by a terminal is obtained, wherein the request application control command is sent to the USIM after the terminal detects that a specified application triggers an application operation, and the request application control command comprises a message that the specified application has triggered the application operation; analyzing the request application control command to obtain a message that the designated application has triggered application operation; and judging whether the terminal is allowed to execute the application operation or not based on a preset rule, if so, sending a first response message to the terminal, wherein the first response message carries a first control result allowing the terminal to execute the application operation, so that the terminal starts to execute the application operation based on the first control result. The implementation of the method is based on the existing USAT mechanism, strengthens the management control function of the USIM on the terminal application, and at least can meet the requirement of the USIM on control management for specific application operation.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the disclosure. The objectives and other advantages of the disclosure will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain, without limitation, the disclosed embodiments.
Fig. 1 is a schematic flow chart of an application control method based on USIM according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of an application control method based on USIM according to another embodiment of the present disclosure;
fig. 3 is a flowchart of an application control method based on USIM according to another embodiment of the present disclosure;
fig. 4 is a flowchart of a USIM-based application control method according to still another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a USIM according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the following detailed description of the specific embodiments of the present disclosure will be given with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order; moreover, embodiments of the present disclosure and features of embodiments may be arbitrarily combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present disclosure, and are not of specific significance per se. Thus, "module," "component," or "unit" may be used in combination.
The universal subscriber identity module USIM card (Universal Subscriber Identity Module) is a continuation and progress of a SIM (Subscriber Identity Module ) card used in a UMTS (Universal Mobile Telecommunications System, universal mobile telecommunications system) network, and is used to store subscriber identity information and personal data, ensure security of access to mobile network services, and perform subscriber identification and subscriber authorization when a subscriber accesses mobile network services by using necessary functions and data, so as to realize that a 3G (3 th-Generation) network can express and identify requirements of a subscriber application. In contrast to a SIM card, a USIM card is no longer built on a single telecommunications application platform, but rather will become one of many applications residing on the universal integrated circuit card UICC (Universal Integrated Circuit Card). The UICC is a universal smart card platform, provides uniform bottom support for upper-layer applications, and besides the USIM, other smart card applications such as banks, ticketing and the like can also reside on the UICC, so that the separation of the bearing platform and the applications is truly realized.
In the initial positioning, the UICC is in a completely passive state, the terminal sends a command to the UICC, the UICC returns a response to the terminal after executing the command, the terminal and the UICC interact in a command/response mode, and the terminal initiates the command UICC response mode, the mechanism does not allow the UICC to actively send the command to the terminal, the terminal is always dominant, and the UICC can only be in a state that the control of receiving the command from the terminal, executing the command and returning the response is dominant, so that the development and the use of card-based application are limited. With the development of UICC service requirements, in order to solve such problems, a STK/USAT protocol layer is introduced in a protocol stack of a Cu interface (interface of a terminal and a UICC), the STK/USAT layer provides a service mechanism on the basis of a service provided by a transport layer, and allows UICC applications to interact and operate with a terminal supporting the mechanism, so that the UICC can actively request the terminal to perform a certain operation, and an STK/USAT instruction set is a basic and main mode for a telecom smart card to realize services through the terminal.
The USIM can realize USIM application through STK/USAT mechanism, and with the development of service demand, single USIM application cannot meet more demands, and often needs to cooperate and cooperate with terminal application to realize more comprehensive service capability and more perfect user experience. In this case, the terminal application and the USIM application generally bear different functions according to their respective features, and jointly implement the overall capability of the service after being combined with each other. For example, the USIM application can use the advantages of the USIM application as a security entity to take on functions of security processing, authentication, etc., while the terminal has a good user interface to take on functions of user interaction, service management, etc.
Aiming at the problems that the control management related to the terminal application by the USIM, particularly the control management requirement of the USIM on the starting of the terminal application cannot be realized and the like, the embodiment of the invention provides a method for controlling and managing basic management operations such as starting/closing of the terminal application by the USIM on the basis of the existing USAT mechanism, so that in an application scene of closely managing the terminal application and the USIM application, the USIM can participate in the starting process of the terminal application according to the requirements of a security policy, a management policy and the like, and the starting and the use of the application are ensured to meet the requisite requirements. The scheme expands the application range of USAT service control, enriches the application management capacity of both machine and card parties, meets the requirements of more complex scenes, and improves the support degree required in aspects of service safety, management feasibility and the like.
Referring to fig. 1, fig. 1 is a flowchart of a USIM-based application control method according to an embodiment of the present disclosure, which is applied to a USIM, and includes steps S101-S104.
In step S101, a request application control command sent by a terminal is obtained, where the request application control command is sent to the USIM after the terminal detects that an application operation is triggered by a specific application, and the request application control command includes a message that the application operation is triggered by the specific application.
The designated application may be a preset application requiring USIM control, or the USIM may generate an application requiring application operation control thereof, and may include an application operation type range in which the USIM controls the designated application.
Compared with the related art, after the terminal designates the application and triggers the application operation, the terminal directly performs related control management on the application, for example, independently judges the starting, control execution and the like of the terminal application, after the terminal triggers the application operation, the terminal application generates a request application control command, namely an enable-CallControl-Application Control, based on the machine-card interaction of the existing USAT mechanism and sends the request application control command to the USIM, and the USIM performs control management on basic management operations, such as starting or closing the terminal application.
It can be understood that the terminal in the request application control command designates the application operation triggered by the application, including the information such as the application operation type and the application data, and the structure of the command message is as follows:
Figure BDA0003066550060000071
Figure BDA0003066550060000081
wherein the application operation type is defined as above, it should be noted that only one bit of each bit in the application operation type data field has a value of 1.
In step S102, the request application control command is parsed, and a message that the specified application has triggered an application operation is obtained.
In step S103, it is determined whether the terminal is allowed to execute the application operation based on a preset rule, if so, step S104 is executed, otherwise, step S105 is executed.
It should be noted that, a person skilled in the art may adaptively set the preset rule by combining the preset policy of the specific application and the current actual situation, and the USIM determines whether to allow the terminal to execute the application operation according to the preset policy of the specific application and the actual situation of the current terminal, for example, whether the specific USIM application currently meets the requirements, where the preset policy may be determining the execution condition and the requirements of the operation provided by the terminal, or specify some special startup or shutdown scenarios of the application, and in some embodiments, may also be other policies related to application control, which is not limited herein.
In step S104, a first response message is sent to the terminal, where the first response message carries a first control result that allows the terminal to execute the application operation, so that the terminal starts to execute the application operation based on the first control result.
In some embodiments, after determining that the terminal is allowed to execute the application operation, the USIM may further define the application operation range, and meanwhile, the first response message carries the application operation range, and the terminal further executes the operation according to the application operation range, so as to further improve the interaction performance of the terminal and the USIM.
In step S105, a second response message is sent to the terminal, where the second response message carries a second control result that does not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the second control result.
In some embodiments, if not allowed, a third response message is sent to the terminal, where the third response message carries a control result that the execution of the application operation is not allowed and prompt request information, so that the terminal terminates the execution of the application operation based on the control result that the execution of the application operation is not allowed, and displays a termination execution result of the application operation based on the prompt request information.
The first response message, the second response message and the third response message have the following structures:
Figure BDA0003066550060000091
wherein the character identification is an optional parameter, and is presented when the USIM needs to prompt the user with information (usually, the control result is not allowed).
In the related art, the USIM cannot realize the requirement of performing control management on the starting of the terminal application according to the own requirement, and therefore, as shown in fig. 2, another embodiment of the present disclosure provides an application control method based on the USIM, which is different from the previous embodiment, in that before acquiring the application control command requested by the terminal, the USIM generates the active command of the application control based on the application control requirement, and determines the designated application and the application operation type range for performing the application control, in this embodiment, the USIM can control the terminal application according to the own requirement, so as to expand the range of USAT service control, and the elevator card interaction capability, specifically, in addition to the steps S101 to S105, the method further includes steps S201 and S202 before step S101.
In step S201, after a requirement for controlling an application operation of a specified application is generated, an application control command is generated based on the requirement, where the application control command includes an application identifier and an application operation type range of the specified application; the method comprises the steps of,
in step S202, an application control command is sent to a terminal, so that the terminal obtains and analyzes the application control command to obtain the application identifier and an application operation type range, and after detecting that an application operation is triggered by a specific application corresponding to the application identifier, whether the application operation type of the specific application is within the operation type range is judged, if yes, an application control command is sent to the USIM.
In this embodiment, the basic mechanism of interaction between the terminal application and the USIM is complied with, so that the USIM may provide a terminal with a USIM when a need for controlling management operations of the terminal application arises, first, a USIM active instruction needs to be added, and the USIM may indicate that a specific operation of a specific terminal application needs to be controlled by sending the instruction to the terminal, where a specific application and a specific operation range are defined in the active instruction. The new command is not limited to SetUp Terminal Application Control, and the following message structure of the command is:
Figure BDA0003066550060000101
Figure BDA0003066550060000111
the application operation type is an extended data object, which represents the range of application operation that the USIM needs to control, each bit represents an operation (the meaning is shown in the table above), when the value is 1, the operation needs to be controlled, and when the value is 0, the operation does not need to be controlled. At least one of the bits should take a value of 1.
After receiving the demand command of the USIM for application control, the terminal needs to provide the operation type and information to the USIM when the appointed application is about to perform the operation of the appointed range, the USIM judges whether to allow the operation to be executed according to the preset strategy of the related application and sends the judging result through the response message, and the USIM determines the follow-up action, namely executing the operation or terminating the operation according to the judging result.
Based on the same technical concept, a USIM-based application control method according to still another embodiment of the present disclosure, as shown in fig. 3, is applied to a terminal, and includes steps S301 to S303.
In step S301, after detecting that the designated application triggers an application operation, sending a request application control command to the USIM, where the request application control command includes a message that the designated application has triggered an application operation, so that the USIM obtains and parses the request application control command to obtain a message that the terminal designated application has triggered an application operation, and determines whether to allow the terminal to execute the application operation based on a preset rule, if so, sending a first response message to the terminal, where the first response message carries a first control result that allows the terminal to execute the application operation;
in step S302, the first response message is acquired and parsed, and the first control result is obtained; the method comprises the steps of,
in step S303, execution of the application operation is started based on the first control result.
In one embodiment, before sending the request application control command to the USIM, the method further comprises:
receiving an application control command sent by a USIM, wherein the application control command is generated based on a requirement of controlling application operation of a specified application after the USIM generates the requirement, and the application control command comprises an application identifier and an application operation type range of the specified application; the method comprises the steps of,
acquiring and analyzing the application control command to obtain the application identifier and the application operation type range;
after detecting that the designated application corresponding to the application identifier triggers application operation, judging whether the application operation type of the designated application is within the operation type range;
and if the operation type is within the operation type range, executing the step of sending a request application control command to the USIM.
In one embodiment, after detecting that the designated application triggers the application operation, the method further includes, after sending a request application control command to the USIM:
receiving a second response message sent by the USIM, wherein the second response message is sent to the terminal when the USIM judges that the terminal is not allowed to execute the application operation, and the second response message carries a second control result which is not allowed to execute the application operation by the terminal; the method comprises the steps of,
and stopping executing the application operation based on the second control result.
In one embodiment, after detecting that the designated application triggers the application operation, the method further includes, after sending a request application control command to the USIM:
receiving a third response message sent by a USIM, wherein the third response message is sent to the terminal when the USIM judges that the terminal is not allowed to execute the application operation, and the third response message carries a third control result and prompt request information which are not allowed to execute the application operation by the terminal; the method comprises the steps of,
and stopping executing the application operation based on the third control result, and displaying the execution stopping result of the application operation based on the prompt request information.
It should be noted that, the USIM-based application control method in the embodiment of the present disclosure is the peer-to-peer scheme in the previous embodiment, and the implementation principle thereof may refer to the above embodiment, which is not repeated herein.
Based on the same technical concept, still another embodiment of the present disclosure correspondingly provides an application control method based on USIM, which includes steps S401-S415.
S401, the USIM generates a requirement for controlling a specific management operation of a specific application according to the requirements of security requirements, management strategies and the like;
s402, the USIM generates an active command SetUp Terminal Application Control for setting terminal application control according to the required specific application data, the management operation type range needing to be controlled and the like, and sends the active command SetUp Terminal Application Control to the terminal, wherein the command structure is as described above;
s403, after receiving the command, the terminal analyzes and processes the command, obtains a specific terminal application and a specific management operation type range and the like which need to be controlled, clearly sets the requirement of the command, and sets the command to be effective;
s404, after the setting is effective, some operation of the specific application is triggered, and the terminal receives a request for executing the operation;
s405, the terminal judges whether the operation type of the current request is in the management operation type range which is required to be controlled by the command, if so, the step S406 is carried out, and if not, the step S415 is carried out;
s406, the terminal pauses to respond to the operation requirement, sends a command Envelope-CallControl-Application Control for requesting to control the current operation to the USIM, and contains terminal application and operation type for requesting to execute the current operation, wherein the specific command structure is as described above;
s407, analyzing and processing after the USIM receives the command, acquiring the terminal application and the operation type of the current operation required to be executed, and judging the execution condition and the requirement of the operation provided by the terminal according to preset rules, the current situation and the like (such as whether the related USIM application currently meets the requirement or not);
s408, the USIM obtains a judging result, whether the current operation is allowed to be executed or not, if not, a subsequent step is carried out, and if yes, the step S413 is carried out;
s409, the USIM sends a response message to the terminal, wherein a control result of whether the operation execution is allowed is contained, and the structure of the response message is as described above;
s410, the terminal receives the response message to analyze and process, obtains a control result of the current operation, and terminates execution of the application operation;
s411, the terminal determines whether prompt information is required to be provided for the user in the response message, if so, the subsequent steps are continued, and if not, the flow is ended;
and S412, the terminal provides prompt information, such as a result, a reason and the like that the operation fails to be executed, for the user, and the process is ended.
S413, the USIM sends a response message to the terminal, wherein a control result for allowing the operation to be executed is contained, and the structure of the response message is as described above;
s414, the terminal receives the response message to analyze and process, obtains a control result of the current operation, normally executes the application operation, and ends the flow.
S415, the terminal application operation is directly executed, and the flow is ended.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a USIM, as shown in fig. 5, where the USIM includes a memory 51 and a processor 52, and the memory 51 stores a computer program, and when the processor 52 runs the computer program stored in the memory 51, the processor executes the USIM-based application control method.
Based on the same technical idea. The embodiment of the disclosure correspondingly also provides an application control system based on USIM, which comprises a USIM, wherein the USIM comprises:
the first acquisition module is configured to acquire a request application control command sent by a terminal, wherein the request application control command is sent to the USIM by the terminal after detecting that a specified application triggers an application operation, and the request application control command comprises a message that the specified application has triggered the application operation;
the analysis module is used for analyzing the request application control command to obtain a message that the appointed application has triggered application operation; the method comprises the steps of,
a first judging module configured to judge whether the terminal is allowed to execute the application operation based on a preset rule;
and the first sending module is configured to send a first response message to the terminal when the first judging module judges that the application operation is allowed, wherein the first response message carries a first control result for allowing the terminal to execute the application operation, so that the terminal starts to execute the application operation based on the first control result.
In one embodiment, the system further comprises:
the first generation module is configured to generate an application control command based on a requirement if the requirement for controlling the application operation of a specified application is generated before the first acquisition module acquires the application control command request sent by the terminal, wherein the application control command comprises an application identifier and an application operation type range of the specified application; the method comprises the steps of,
the second sending module is configured to send an application control command to the terminal, so that the terminal obtains and analyzes the application control command to obtain the application identifier and an application operation type range, and after detecting that the designated application corresponding to the application identifier triggers the application operation, judges whether the application operation type of the designated application is in the operation type range, if so, sends a request application control command to the USIM.
In one embodiment, the method further comprises:
and the third sending module is configured to send a second response message to the terminal when the first judging module judges that the application operation is not allowed, wherein the second response message carries a second control result which does not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the second control result.
In one embodiment, after determining whether to allow the terminal to perform the application operation based on a preset rule, the method further includes:
and the fourth sending module is configured to send a third response message to the terminal when the first judging module judges that the application operation is not allowed, wherein the third response message carries a third control result and prompt request information which do not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the third control result, and displays a termination execution result of the application operation based on the prompt request information.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides another USIM-based application control system, which includes a terminal, wherein the terminal includes:
a fifth sending module, configured to send a request application control command to a USIM after detecting that an application operation is triggered by a specified application, where the request application control command includes a message that the application operation has been triggered by the specified application, so that the USIM obtains and parses the request application control command to obtain a message that the application operation has been triggered by the specified application of the terminal, and determines whether to allow the terminal to execute the application operation based on a preset rule, if so, sends a first response message to the terminal, where the first response message carries a first control result that allows the terminal to execute the application operation;
the acquisition and analysis module is used for acquiring and analyzing the first response message to obtain the first control result; the method comprises the steps of,
and an execution module configured to start executing the application operation based on the first control result.
In one embodiment, the method further comprises:
a first receiving module, configured to receive an application control command sent by a USIM before the fifth sending module sends a request application control command to the USIM, where the application control command is generated based on a requirement that the USIM generates to control an application operation of a specified application, and the application control command includes an application identifier and an application operation type range of the specified application; the method comprises the steps of,
the acquisition and analysis module is further configured to acquire and analyze the application control command to obtain the application identifier and the application operation type range;
the second judging module is used for judging whether the application operation type of the appointed application is in the operation type range after detecting that the appointed application corresponding to the application identifier triggers the application operation;
the fifth sending module is further configured to send a request application control command to the USIM when the second judging module judges that the request application control command is within the operation type range.
In one embodiment, the method further comprises:
a second receiving module, configured to receive a second response message sent by the USIM after the fifth sending module detects that the application operation is triggered by the specified application and sends a request application control command to the USIM, where the second response message is sent to the terminal when the USIM determines that the terminal is not allowed to execute the application operation, and the second response message carries a second control result that the terminal is not allowed to execute the application operation; the method comprises the steps of,
the execution module is further configured to terminate execution of the application operation based on the second control result.
In one embodiment, the method further comprises:
a third receiving module, configured to receive a third response message sent by the USIM after the fifth sending module detects that the application operation is triggered by the specified application and sends a request for application control command to the USIM, where the third response message is sent to the terminal when the USIM determines that the terminal is not allowed to execute the application operation, and the third response message carries a third control result and prompt request information that are not allowed to execute the application operation by the terminal; the method comprises the steps of,
the execution module is further configured to terminate execution of the application operation based on the third control result, and display a termination execution result of the application operation based on the prompt request information.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a terminal, as shown in fig. 6, where the terminal includes a memory 61 and a processor 62, the memory 61 stores a computer program, and when the processor 62 runs the computer program stored in the memory 61, the processor executes the other USIM-based application control method.
Based on the same technical idea, there is provided a computer-readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, performs the USIM-based application control method or the other USIM-based application control method.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present disclosure, and not for limiting the same; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (9)

1. An application control method based on USIM, which is applied to USIM, the method comprising:
after a demand for controlling application operation of a specified application is generated, generating an application control command based on the demand, wherein the application control command comprises an application identifier and an application operation type range of the specified application;
sending an application control command to a terminal so that the terminal obtains and analyzes the application control command to obtain an application identifier and an application operation type range, judging whether the application operation type of a designated application corresponding to the application identifier is in the operation type range after detecting that the designated application triggers the application operation, and sending a request application control command to the USIM if the application operation type of the designated application is in the operation type range;
acquiring a request application control command sent by a terminal, wherein the request application control command is sent to the USIM after the terminal detects that a specified application triggers an application operation, the specified application is a preset application needing to be controlled by the USIM, or the USIM generates an application needing to be controlled by the application operation, the type of the application operation comprises application opening and application closing, and the request application control command comprises a message that the specified application triggers the application operation;
analyzing the request application control command to obtain a message that the designated application has triggered application operation; the method comprises the steps of,
judging whether the terminal is allowed to execute the application operation or not based on a preset rule;
and if so, sending a first response message to the terminal, wherein the first response message carries a first control result allowing the terminal to execute the application operation, so that the terminal starts to execute the application operation based on the first control result.
2. The method of claim 1, further comprising, after determining whether to allow the terminal to perform the application operation based on a preset rule:
and if not, sending a second response message to the terminal, wherein the second response message carries a second control result which does not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the second control result.
3. The method of claim 1, further comprising, after determining whether to allow the terminal to perform the application operation based on a preset rule:
if not, a third response message is sent to the terminal, wherein the third response message carries a third control result and prompt request information which do not allow the terminal to execute the application operation, so that the terminal terminates executing the application operation based on the third control result, and the termination execution result of the application operation is displayed based on the prompt request information.
4. An application control method based on USIM, which is applied to a terminal, the method comprising:
receiving an application control command sent by a USIM, wherein the application control command is generated based on a requirement of controlling application operation of a specified application after the USIM generates the requirement, and the application control command comprises an application identifier and an application operation type range of the specified application; the method comprises the steps of,
acquiring and analyzing the application control command to obtain the application identifier and the application operation type range;
after detecting that the designated application corresponding to the application identifier triggers application operation, judging whether the application operation type of the designated application is within the operation type range;
if the request application control command is in the operation type range, sending a request application control command to the USIM, wherein the request application control command comprises a message that the appointed application has triggered an application operation, the appointed application is a preset application which needs to be controlled by the USIM, or the USIM generates an application which needs to be controlled by the application operation, the type of the application operation comprises application opening and application closing, so that the USIM obtains and analyzes the request application control command, and obtains the message that the terminal appointed application has triggered the application operation, judging whether the terminal is allowed to execute the application operation or not based on a preset rule, and if so, sending a first response message to the terminal, wherein the first response message carries a first control result which allows the terminal to execute the application operation;
acquiring and analyzing the first response message to obtain the first control result; the method comprises the steps of,
and starting to execute the application operation based on the first control result.
5. The method of claim 4, further comprising, after detecting that the designated application triggered the application operation, sending a request application control command to the USIM:
receiving a second response message sent by the USIM, wherein the second response message is sent to the terminal when the USIM judges that the terminal is not allowed to execute the application operation, and the second response message carries a second control result which is not allowed to execute the application operation by the terminal; the method comprises the steps of,
and stopping executing the application operation based on the second control result.
6. The method of claim 4, further comprising, after detecting that the designated application triggered the application operation, sending a request application control command to the USIM:
receiving a third response message sent by a USIM, wherein the third response message is sent to the terminal when the USIM judges that the terminal is not allowed to execute the application operation, and the third response message carries a third control result and prompt request information which are not allowed to execute the application operation by the terminal; the method comprises the steps of,
and stopping executing the application operation based on the third control result, and displaying the execution stopping result of the application operation based on the prompt request information.
7. A USIM comprising a memory and a processor, the memory having stored therein a computer program, the processor executing the USIM-based application control method according to any one of claims 1 to 3 when the processor runs the computer program stored in the memory.
8. A terminal comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor executes the USIM-based application control method according to any one of claims 4 to 6 when the processor runs the computer program stored in the memory.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, performs the USIM-based application control method according to any one of claims 1 to 3 or the USIM-based application control method according to any one of claims 4 to 6.
CN202110527425.8A 2021-05-14 2021-05-14 USIM-based application control method, USIM, terminal and medium Active CN113242543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110527425.8A CN113242543B (en) 2021-05-14 2021-05-14 USIM-based application control method, USIM, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110527425.8A CN113242543B (en) 2021-05-14 2021-05-14 USIM-based application control method, USIM, terminal and medium

Publications (2)

Publication Number Publication Date
CN113242543A CN113242543A (en) 2021-08-10
CN113242543B true CN113242543B (en) 2023-06-23

Family

ID=77134343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110527425.8A Active CN113242543B (en) 2021-05-14 2021-05-14 USIM-based application control method, USIM, terminal and medium

Country Status (1)

Country Link
CN (1) CN113242543B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840276B (en) * 2021-09-18 2023-05-02 中国联合网络通信集团有限公司 5G identification hiding compatible configuration method, user identification module and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336946A (en) * 2019-07-11 2019-10-15 中国联合网络通信集团有限公司 A kind of method and device for calling terminal image input equipment based on USIM
CN111399946A (en) * 2020-03-25 2020-07-10 中国联合网络通信集团有限公司 Terminal application starting change control method and device, terminal and USIM
CN112188475A (en) * 2020-10-21 2021-01-05 中国联合网络通信集团有限公司 Method, USIM, computer device and medium for dynamically managing service control

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016108096A1 (en) * 2014-12-30 2016-07-07 Stmicroelectronics S.R.L. Methods for providing a response to a scp80 command requesting the execution of a proactive command, related universal integrated circuit card, mobile device, server and computer program product
CN108875396B (en) * 2018-06-28 2022-02-15 中国联合网络通信集团有限公司 File operation method, USIM card, terminal and readable storage medium
CN109195157B (en) * 2018-09-04 2021-09-07 中国联合网络通信集团有限公司 Application management method and device and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336946A (en) * 2019-07-11 2019-10-15 中国联合网络通信集团有限公司 A kind of method and device for calling terminal image input equipment based on USIM
CN111399946A (en) * 2020-03-25 2020-07-10 中国联合网络通信集团有限公司 Terminal application starting change control method and device, terminal and USIM
CN112188475A (en) * 2020-10-21 2021-01-05 中国联合网络通信集团有限公司 Method, USIM, computer device and medium for dynamically managing service control

Also Published As

Publication number Publication date
CN113242543A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN111787521B (en) Terminal application permission obtaining method, terminal equipment and USIM
US9603189B2 (en) Method and apparatus for multisim devices with embedded SIM functionality
CN111355844B (en) Method and device for terminal application start management, terminal, USIM and storage medium
CN111399946B (en) Terminal application starting change control method and device, terminal and USIM
CN109743722B (en) Network connection processing method and device
EP3023904B1 (en) Implicit File creation in APDU scripts
US11825549B2 (en) Electronic subscriber identity module (eSIM) profile provisioning
EP3989613A1 (en) Sim card resource management scheduling apparatus, communication terminal, and system
CN112153678B (en) Session management method, session management device, related equipment and storage medium
CN112738781A (en) Method, device, terminal, USIM and medium for initiating proximity service
CN113242543B (en) USIM-based application control method, USIM, terminal and medium
CN112188475B (en) Method, USIM, computer device and medium for dynamically managing service control
CN112752247B (en) Short-distance service management method, device, terminal, USIM and medium
US20070174348A1 (en) Databases synchronization
CN111901792B (en) UICC application setting information management method, system and terminal
CN113840275B (en) Terminal session connection confirmation method, USIM, terminal, equipment and medium
CN112367661B (en) USAT application matching implementation method, USIM, terminal, device and medium
CN110336946B (en) Method and device for calling terminal image input equipment based on USIM
CN113950035A (en) Method and terminal for dynamically updating NFC (near field communication) capability and UICC (Universal Integrated Circuit card)
CN110418333B (en) Method and device for USIM to acquire image through terminal
CN114244887A (en) Channel management method and device and electronic equipment
CN113438632A (en) Implementation method for UICC to select NFC connection mode, terminal and UICC
CN113556714B (en) Method and device for UICC to require terminal to search NFC equipment
CN111447609A (en) Dynamic number allocation method and system
CN113556713B (en) UICC (Universal Integrated Circuit card) and NFC connection closing management method thereof and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant