CN113950035B - Method, terminal and UICC for dynamically updating NFC capability - Google Patents

Method, terminal and UICC for dynamically updating NFC capability Download PDF

Info

Publication number
CN113950035B
CN113950035B CN202111203645.1A CN202111203645A CN113950035B CN 113950035 B CN113950035 B CN 113950035B CN 202111203645 A CN202111203645 A CN 202111203645A CN 113950035 B CN113950035 B CN 113950035B
Authority
CN
China
Prior art keywords
nfc
terminal
application
command
authorization
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
CN202111203645.1A
Other languages
Chinese (zh)
Other versions
CN113950035A (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 CN202111203645.1A priority Critical patent/CN113950035B/en
Publication of CN113950035A publication Critical patent/CN113950035A/en
Application granted granted Critical
Publication of CN113950035B publication Critical patent/CN113950035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

The present disclosure provides a method, a terminal, a UICC, an electronic device, and a computer readable storage medium for dynamically updating NFC capability, where the method includes: after terminal NFC application based on terminal NFC service is changed, the terminal obtains terminal NFC application changing status; generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information; and sending the first command to a universal user identification module UICC so that the UICC receives the first command and analyzes the first command to obtain terminal NFC application change information. When the application using the terminal NFC changes, the UICC can acquire the corresponding situation from the terminal in time and update the deployment state of the terminal NFC application in real time.

Description

Method, terminal and UICC for dynamically updating NFC capability
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method for dynamically updating NFC capability, a terminal, a UICC, an electronic device, and a computer readable storage medium.
Background
NFC (Near Field Communication ) service is one of the common functions of the current user mobile equipment, is a service for carrying out data exchange in a specific range formed by combining a near field wireless communication technology on the basis of a non-contact radio frequency technology, is closely related to mobile communication, is one of important services developed by operators, and is very common in service range, and is applied to the industries of telecommunications, finance, civilian and the like. The implementation of NFC services is generally two possibilities-terminal-based implementation and UICC (Universal Integrated Circuit Card ) -based implementation, the main difference being whether the NFC application and security capabilities are loaded on the terminal or UICC. NFC business realized based on UICC has independent hardware security guarantee, so that the NFC business is relatively closer to the security requirement of typical business; the NFC service realized based on the terminal is an all-terminal scheme, the realizability is stronger, and the problem of compatibility with a security module does not exist. In many typical scenarios, NFC entities such as terminals or UICC cards may carry multiple business applications such as bank cards, bus cards, access cards, identification cards, campus/business cards, and the like.
The schemes of different bearer entities of NFC are mutually influential, and NFC applications can only take one scheme, while implying the idling of another scheme. It is therefore necessary for the UICC as one of the bearer entities to know the NFC capabilities of the current terminal, i.e. the supporting situation for the different schemes, including the application situation using the terminal NFC functionality, in order to know the impact on the extent of use of the NFC functionality of the UICC. Because the application using the terminal NFC function is dynamically changed, the user may download and install a new application using the terminal NFC at the terminal, or may uninstall and delete the original application using the terminal NFC, and the UICC may not know the dynamically changed channel in time due to the lack of the existing mechanism.
Disclosure of Invention
In order to at least solve the problem that the UICC cannot acquire application change information using the terminal NFC function, the disclosure provides a method for dynamically updating NFC capability, a terminal, the UICC, an electronic device and a computer readable storage medium, when an application using the terminal NFC changes, the UICC can acquire a corresponding situation from the terminal in time, and update the deployment state of the terminal NFC application in real time.
In a first aspect, the present disclosure provides a method for dynamically updating NFC capability, applied to a terminal, where the method includes:
acquiring a terminal NFC application change condition after the terminal NFC application based on the terminal realizing NFC service is changed;
generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information;
and sending the first command to the UICC so that the UICC receives the first command and analyzes the first command to acquire terminal NFC application change information.
Further, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
Further, the method further comprises:
pre-expanding an active command in a terminal and UICC interaction mechanism, wherein the active command comprises a data object in an NFC authorization state and a data object in an application NFC change type, the NFC authorization state comprises one of unauthorized, authorized and authorized inquiry, and the application NFC change type comprises one of application downloading, application deleting and application NFC authorization change;
the generating the first command according to the acquired terminal NFC application change status includes:
determining the content of a corresponding data object in the proactive command;
the first command is generated based on the proactive command having determined the content of the corresponding data object.
Further, the determining the content of the corresponding data object in the proactive command includes:
if the terminal NFC application changing condition is that the terminal installs a new NFC application, the new NFC application obtains NFC authorization or authorization inquiry, an NFC authorization state and a data object of an application NFC changing type are generated, the NFC authorization state is unauthorized or authorized, and the application NFC changing type is application downloading;
if the terminal NFC application changing condition is that the terminal uninstalls the original NFC application, generating a data object of an application NFC changing type, wherein the application NFC changing type is application deletion;
if the terminal NFC application change status is that the terminal NFC application deployment status is not changed, but the NFC authorization status is changed, generating a data object of an NFC authorization status and an application NFC change type, where the NFC authorization status is a changed NFC authorization status, specifically, an unauthorized, authorized or authorized inquiry, and the application NFC change type is an application NFC authorization change.
In a second aspect, the present disclosure provides a method for dynamically updating NFC capability, applied to a UICC, the method including:
receiving a first command sent by a terminal, wherein the first command is generated by the terminal according to an acquired terminal NFC application change condition, the terminal NFC application change condition is acquired by the terminal after terminal NFC application based on terminal NFC service realization is changed, and the first command carries terminal NFC application change information;
and analyzing the first command to acquire terminal NFC application change information.
Further, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls the original NFC application;
the terminal NFC application deployment condition is unchanged, and the NFC authorization state is changed.
Further, the parsing the first command to obtain terminal NFC application change information includes:
determining the value of a corresponding data object in the first command, and determining the application change type of the terminal NFC application and the corresponding NFC authorization state change type according to the value of the corresponding data object;
the value of the corresponding data object in the first command is determined by the terminal to determine the content of the corresponding data object in the proactive command, and the proactive command is generated in the first command generated based on the proactive command of which the content is determined, wherein the proactive command is obtained by pre-expanding in a terminal and UICC interaction mechanism, wherein the data object comprises an NFC authorization status and a data object of an application NFC modification type, wherein the NFC authorization status comprises one of unauthorized, authorized and authorized interrogation, and the application NFC modification type comprises one of application download, application deletion and application NFC authorization modification.
Further, the method further comprises:
and determining the influence of the NFC application change of the terminal on the NFC service of the UICC, and correspondingly updating the NFC service.
In a third aspect, the present disclosure provides a terminal, including:
the first acquisition module is used for acquiring a terminal NFC application change condition after the terminal NFC application based on the terminal NFC service is changed;
the generation module is used for generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information;
and the sending module is used for sending the first command to the UICC so that the UICC receives the first command and analyzes the first command to acquire terminal NFC application change information.
In a third aspect, the present disclosure provides a UICC comprising:
the terminal NFC application change condition is obtained by the terminal after the terminal NFC application based on the terminal realizing NFC service is changed, and the first command carries terminal NFC application change information;
the second obtaining module is configured to parse the first command to obtain terminal NFC application change information.
In a fifth aspect, the present disclosure also provides an electronic device comprising a memory and a processor, the memory having stored therein a computer program, which when executed by the processor performs the method of dynamically updating NFC capabilities according to any one of the first and second aspects.
In a sixth aspect, the present disclosure also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of dynamically updating NFC capabilities according to any one of the first and second aspects.
The beneficial effects are that:
the method for dynamically updating NFC capability, the terminal, the UICC, the electronic equipment and the computer readable storage medium provided by the disclosure, when terminal NFC application based on terminal NFC service is changed, the terminal obtains terminal NFC application change status; then generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information; and sending the first command to the UICC so that the UICC receives the first command and analyzes the first command to acquire terminal NFC application change information. According to the technical scheme, when the application using the terminal NFC changes, the UICC can acquire corresponding conditions from the terminal in time and update the deployment state of the terminal NFC application in real time. The scheme can be used as a supplementary means for information synchronization of the terminal and the UICC in the NFC service aspect, dynamic and real-time overall management is realized, the efficiency and the effect of NFC service management are enhanced, and the realization possibility and the basic premise are provided for better meeting NFC service functions.
Drawings
Fig. 1 is a flowchart of a method for dynamically updating NFC capability according to a first embodiment of the present disclosure;
fig. 2 is a flowchart of a method for dynamically updating NFC capability according to a second embodiment of the present disclosure;
fig. 3 is a flowchart of a method for dynamically updating NFC capability according to a third embodiment of the present disclosure;
fig. 4 is a schematic diagram of a terminal according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic diagram of a UICC according to a fifth embodiment of the disclosure;
fig. 6 is a schematic diagram of an electronic device according to a sixth embodiment of the disclosure.
Detailed Description
In order that those skilled in the art will better understand the technical solutions of the present disclosure, the present disclosure will be described in further detail with reference to the accompanying drawings and examples.
Wherein the terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure of embodiments and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terminal and the UICC are used as different bearing entities of NFC service, and influence and restrict each other in the aspect of NFC service, and have the necessity of information synchronization. For dynamic changes of terminal NFC applications, UICCs need to synchronize their changes in real time in a viable way. The UICC cannot effectively obtain the change condition of the terminal NFC application deployment at present due to the relatively passive position of the UICC in the card relationship.
The following describes the technical solutions of the present disclosure and how the technical solutions of the present disclosure solve the above-mentioned problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 1 is a flowchart of a method for dynamically updating NFC capability according to a first embodiment of the present disclosure, which is applied to a terminal, as shown in fig. 1, and the method includes:
step S101: acquiring a terminal NFC application change condition after the terminal NFC application based on the terminal realizing NFC service is changed;
step S102: generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information;
step S103: and sending the first command to the UICC so that the UICC receives the first command and analyzes the first command to acquire terminal NFC application change information.
The User Equipment (UE) includes a Mobile Equipment (ME) and a UICC card, and in the embodiment of the present disclosure, the Mobile Equipment is called a terminal, and the UICC has a universal subscriber identity module (Universal Subscriber Identity Module, USIM) thereon.
The USIM is a continuation and progress of a SIM card used in a UMTS (Universal Mobile Telecommunications System ) network, and is used for storing user identity information and personal data, ensuring the security of accessing mobile network services, and performing user identification and user authorization when a user accesses the mobile network services by utilizing necessary functions and data, so as to realize the requirements that the 3G network can express and identify user applications. In contrast to a SIM card, a USIM card is no longer built on a single telecommunications application platform, but will become one of many applications residing on a universal integrated circuit card UICC. 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. Various applications can also be implemented on the UICC by means of the STK/USAT protocol and provided to the user through the terminal. However, in the prior art, the UICC cannot obtain the change information of the terminal NFC application based on the terminal implementing the NFC service, and in the prior art, no corresponding command is available yet.
In order to realize dynamic update of the terminal NFC condition by the UICC, that is, when the application condition of the terminal based on the terminal implementing NFC service changes in the terminal, the relevant condition may be obtained in real time, and the terminal may obtain the terminal NFC application change condition, specifically may obtain the terminal NFC application change condition through the NFC function, that is, after the application transmission change by the NFC function authorization or authorization inquiry using NFC provides the terminal with the application change condition or the corresponding NFC function permission change condition. Through newly adding a command in a terminal and UICC interaction mechanism in advance, the command function is that the terminal transmits dynamic change of an application based on the terminal to the UICC, the terminal generates a first command according to the command requirement and the acquired terminal NFC application change condition, the command comprises a specific command symbol, the terminal NFC application change condition is characterized, then the first command is sent to the UICC, after the UICC receives the first command, the first command is analyzed, the terminal NFC application change condition is acquired, then the influence of the current terminal NFC application change on the NFC service of the UICC is determined, and the service is correspondingly updated. For example, when an application implementing NFC service based on a terminal is no longer used, it may be correspondingly required to use UICC based NFC service, for which UICC needs to make corresponding preparation; or, a certain service based on the UICC for realizing the NFC has been used until now, when the terminal downloads the corresponding application, the terminal changes to realize the service through the NFC function of the terminal, and the UICC needs to be known so as to be convenient for management, so as to enhance the efficiency and the effect of NFC service management.
Further, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls and deletes the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
Downloading and deleting refer to downloading a new application using the terminal NFC function and deleting an original application using the terminal NFC function, and application NFC authorization change refers to changing the NFC authorization state between unauthorized, authorized and authorized interrogation states under the condition that the application deployment state is not changed. In another implementation manner of the disclosed example, when there are multiple application changes, the terminal NFC application change status may also be that multiple situations occur in the above three situations at the same time.
Further, the method further comprises:
pre-expanding an active command in a terminal and UICC interaction mechanism, wherein the active command comprises a data object in an NFC authorization state and a data object in an application NFC change type, the NFC authorization state comprises one of unauthorized, authorized and authorized inquiry, and the application NFC change type comprises one of application downloading, application deleting and application NFC authorization change;
the generating the first command according to the acquired terminal NFC application change status includes:
determining the content of a corresponding data object in the proactive command;
the first command is generated based on the proactive command having determined the content of the corresponding data object.
By pre-expanding the active command in the interaction mechanism of the terminal and the UICC, the command function is that the terminal transmits dynamic change of the application using the NFC service based on the terminal to the UICC, the newly added command is not limited to NFC Application Update, and the structure of the command and the corresponding response message is as shown in the following table 1:
table 1: NFC Application Update command structure
Note that:
the NFC authorization state is a newly added data object, and is selected to represent the changed application NFC authorization state;
the NFC change type is used as a newly added data object, the newly added data object is needed to be selected, the type of the change condition is indicated, and the specific coding meaning is shown in the table.
Determining the content of the respective data object in the proactive command may then generate the first command based on the proactive command having determined the content of the respective data object.
Further, the determining the content of the corresponding data object in the proactive command includes:
if the terminal NFC application changing condition is that the terminal installs a new NFC application, the new NFC application obtains NFC authorization or authorization inquiry, an NFC authorization state and a data object of an application NFC changing type are generated, the NFC authorization state is unauthorized or authorized, and the application NFC changing type is application downloading;
if the terminal NFC application changing condition is that the terminal uninstalls the original NFC application, generating a data object of an application NFC changing type, wherein the application NFC changing type is application deletion;
if the terminal NFC application change status is that the terminal NFC application deployment status is not changed, but the NFC authorization status is changed, generating a data object of an NFC authorization status and an application NFC change type, where the NFC authorization status is a changed NFC authorization status, specifically, an unauthorized, authorized or authorized inquiry, and the application NFC change type is an application NFC authorization change.
Determining the content of a corresponding data object in the active command, and generating the data object according to the acquired terminal NFC application change condition, wherein the method comprises the following steps:
for a terminal to install a new NFC application, the new NFC application obtains NFC authorization or authorization inquiry, the terminal generates registered application data, NFC authorization conditions and data objects of an application NFC change type, wherein the value of the NFC authorization conditions is 01 or 02, and the value of the application NFC change type is 00;
for the condition that the terminal uninstalls and deletes the original NFC application, the terminal generates registered application data and a data object of an application NFC change type, wherein the value of the application NFC change type is 01;
for the situation that the NFC application deployment situation of the terminal is unchanged and the NFC authorization state is changed, the terminal generates registered application data, NFC authorization situation and data object of application NFC change type, wherein the NFC authorization situation is changed NFC authorization situation, the value is 00, 01 or 02, and the value of application NFC change type is 02;
after determining the corresponding data object, the terminal may generate a first command according to the NFC Application Update command structure, that is, the first command is a NFC Application Update command for determining the corresponding value of the data object, send the first command to the UICC, and the UICC may obtain the terminal NFC application modification information by analyzing the value of the corresponding data object in the first command.
The embodiment of the disclosure is directed to the requirements of UICC and terminals on NFC information synchronization and unified management, and aims at the problem that the UICC cannot acquire related conditions in real time under the condition of dynamic change of terminal NFC application, and provides a method for synchronizing the related conditions to the UICC when the application using a terminal-based NFC scheme is changed. The method provides a process that the terminal synchronizes the change of the NFC function to the UICC through the expansion command, provides the function and the structure of the newly added command, defines the expanded data object, and simultaneously prescribes the interaction flow among the entities in the scheme implementation process.
Fig. 2 is a flowchart of a method for dynamically updating NFC capability provided in a second embodiment of the present disclosure, which is applied to UICC, as shown in fig. 2, and the method includes:
step S201: receiving a first command sent by a terminal, wherein the first command is generated by the terminal according to an acquired terminal NFC application change condition, the terminal NFC application change condition is acquired by the terminal after terminal NFC application based on terminal NFC service realization is changed, and the first command carries terminal NFC application change information;
step S202: and analyzing the first command to acquire terminal NFC application change information.
The UICC receives the first command sent by the terminal, and obtains the terminal NFC application change information according to a specific command symbol in the first command, and the specific process is described in the first embodiment, which is used as a supplementary means for information synchronization of the terminal and the UICC in the aspect of NFC service, so as to realize dynamic and real-time overall management of the NFC function, enhance the efficiency and effect of NFC service management, and provide implementation possibility and basic premise for better meeting the NFC service function.
Further, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls and deletes the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
Further, the parsing the first command to obtain terminal NFC application change information includes:
determining the value of a corresponding data object in the first command, and determining the application change type of the terminal NFC application and the corresponding NFC authorization state change type according to the value of the corresponding data object;
the value of the corresponding data object in the first command is determined by the terminal to determine the content of the corresponding data object in the proactive command, and the proactive command is generated in the first command generated based on the proactive command of which the content is determined, wherein the proactive command is obtained by pre-expanding in a terminal and UICC interaction mechanism, wherein the data object comprises an NFC authorization status and a data object of an application NFC modification type, wherein the NFC authorization status comprises one of unauthorized, authorized and authorized interrogation, and the application NFC modification type comprises one of application download, application deletion and application NFC authorization modification.
As shown in table 1, in different situations, the first command has different data objects and corresponding values thereof, and after determining the values of the corresponding data objects in the first command, the application change type of the terminal NFC application and the application corresponding NFC authorized state change type can be determined.
Further, the method further comprises:
and determining the influence of the NFC application change of the terminal on the NFC service of the UICC, and correspondingly updating the NFC service.
After acquiring the terminal NFC application change condition, determining the influence of the terminal NFC application change on the NFC service of the UICC according to the change condition, and correspondingly updating the service. For example, when an application implementing NFC service based on a terminal is no longer used, it may be correspondingly required to use UICC based NFC service, for which UICC needs to make corresponding preparation; or, a certain service based on the UICC for realizing the NFC has been used until now, when the terminal downloads the corresponding application, the terminal changes to realize the service through the NFC function of the terminal, and the UICC needs to be known so as to be convenient for management, so as to enhance the efficiency and the effect of NFC service management.
In order to more clearly and completely describe the technical solution of the present disclosure, a third embodiment of the present disclosure further provides a method for dynamically updating NFC capability, as shown in fig. 3, where the method includes:
step S1: the terminal NFC function knows that the application condition of realizing NFC service based on the terminal is changed, and the application condition comprises the following various conditions:
1) The terminal downloads and installs a new NFC application, and the application obtains NFC authorization or authorization inquiry;
2) The terminal uninstalls and deletes the original NFC application;
3) The terminal application deployment condition is unchanged, and the NFC authorization state is changed, namely, the three states of unauthorized, authorized and authorized inquiry are switched;
step S2: the NFC function provides terminal NFC application change conditions to the terminal;
step S3: after the terminal receives the NFC application change request, analyzing and processing the NFC application change request, and determining the type and the condition of the NFC application change of the terminal;
step S4: the terminal generates a data object according to the terminal NFC application change type, and the data object comprises:
1) For the case of S1-1), generating registered application data, NFC authorization conditions and data objects of an application NFC change type, wherein the value of the NFC authorization conditions is 01 or 02, and the value of the application NFC change type is 00;
2) For the case of S1-2), generating registered application data and a data object of an application NFC change type, wherein the value of the application NFC change type is 01;
3) For the case of S1-3), generating registered application data, NFC authorization conditions and data objects of an application NFC change type, wherein the NFC authorization conditions are changed NFC authorization conditions, the value is 00, 01 or 02, and the value of the application NFC change type is 02;
step S5: the terminal generates NFC Application Update command according to the data object generated in the above step, the command structure is as in table 1 in embodiment one, and provides the UICC with the NFC application changed situation;
step S6: the terminal sends NFC Application Update command to the UICC;
step S7: after receiving the command, the UICC analyzes the command to obtain the change condition of the NFC application of the terminal;
step S8: the UICC analyzes the influence of the NFC application change condition of the terminal on the NFC service of the UICC, and correspondingly updates the service.
Fig. 4 is a schematic diagram of a terminal according to a fourth embodiment of the present disclosure, as shown in fig. 4, including:
a first obtaining module 11, configured to obtain a terminal NFC application change condition after a terminal NFC application based on a terminal implementing an NFC service is changed;
a generating module 12, configured to generate a first command according to the acquired terminal NFC application change status, where the first command carries terminal NFC application change information;
the sending module 13 is configured to send the first command to the UICC, so that the UICC receives the first command and parses it to obtain terminal NFC application change information.
Further, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls and deletes the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
Further, the generating module 12 includes:
an extension unit configured to pre-extend an active command in a terminal and UICC interaction mechanism, where the active command includes a data object of an NFC authorization state and a data object of an application NFC modification type, where the NFC authorization state includes one of unauthorized, authorized and authorized interrogation, and the application NFC modification type includes one of application download, application deletion and application NFC authorization modification;
a generation unit arranged to determine the content of a respective data object in the proactive command; the method comprises the steps of,
the first command is generated based on the proactive command having determined the content of the corresponding data object.
Further, the determining generation specifically sets as follows:
if the terminal NFC application changing condition is that the terminal installs a new NFC application, the new NFC application obtains NFC authorization or authorization inquiry, an NFC authorization state and a data object of an application NFC changing type are generated, the NFC authorization state is unauthorized or authorized, and the application NFC changing type is application downloading; the method comprises the steps of,
if the terminal NFC application changing condition is that the terminal uninstalls the original NFC application, generating a data object of an application NFC changing type, wherein the application NFC changing type is application deletion; the method comprises the steps of,
if the terminal NFC application change status is that the terminal NFC application deployment status is not changed, but the NFC authorization status is changed, generating a data object of an NFC authorization status and an application NFC change type, where the NFC authorization status is a changed NFC authorization status, specifically, an unauthorized, authorized or authorized inquiry, and the application NFC change type is an application NFC authorization change.
Fig. 5 is a schematic diagram of a UICC according to a fifth embodiment of the disclosure, where, as shown in fig. 5, the schematic diagram includes:
the receiving module 21 is configured to receive a first command sent by the terminal, where the first command is generated by the terminal according to an acquired terminal NFC application change condition, where the terminal NFC application change condition is acquired by the terminal after a terminal NFC application based on a terminal implementing an NFC service is changed, and the first command carries terminal NFC application change information;
the second obtaining module 22 is configured to parse the first command to obtain terminal NFC application change information.
Further, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls and deletes the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
Further, the second obtaining module 22 is specifically configured to:
determining the value of a corresponding data object in the first command, and determining the application change type of the terminal NFC application and the corresponding NFC authorization state change type according to the value of the corresponding data object;
the value of the corresponding data object in the first command is determined by the terminal to determine the content of the corresponding data object in the active command, and the active command is generated in the first command generated based on the active command of which the content is determined, wherein the active command is obtained by pre-expanding in a terminal and UICC interaction mechanism, the data object comprising an NFC authorization state and the data object applying an NFC change type, wherein the NFC authorization state comprises one of unauthorized, authorized and authorized inquiry, and the type of applying NFC change comprises one of application downloading, application deleting and applying NFC authorization change.
Further, the UICC further comprises an update module 23;
the updating module 23 is configured to determine an influence of the current terminal NFC application modification on the NFC service of the UICC, and update the NFC service thereof accordingly.
The terminal and UICC of the embodiments of the present disclosure are used to implement the method for dynamically updating NFC capability in the first to third embodiments of the method, so the description is simpler, and specific reference may be made to the related descriptions in the first to third embodiments of the foregoing method, which are not repeated here.
In addition, as shown in fig. 6, a sixth embodiment of the present disclosure further provides an electronic device, including a memory 10 and a processor 20, where the memory 10 stores a computer program, and when the processor 20 runs the computer program stored in the memory 10, the processor 20 performs the above-mentioned various possible methods for dynamically updating NFC capability.
The memory 10 is connected to the processor 20, the memory 10 may be a flash memory, a read-only memory, or other memories, and the processor 20 may be a central processing unit or a single chip microcomputer.
Furthermore, embodiments of the present disclosure provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by at least one processor of a user device, perform the various possible methods described above.
Among them, computer-readable storage media include computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC (Application Specific Integrated Circuit ). In addition, the ASIC may reside in a user device. The processor and the storage medium may reside as discrete components in a communication device.
It is to be understood that the above embodiments are merely exemplary embodiments employed to illustrate the principles of the present disclosure, however, the present disclosure is not limited thereto. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the disclosure, and are also considered to be within the scope of the disclosure.

Claims (9)

1. A method for dynamically updating near field communication, NFC, capability, applied to a terminal, the method comprising:
acquiring a terminal NFC application change condition after the terminal NFC application based on the terminal realizing NFC service is changed;
generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information;
the method comprises the steps of sending a first command to a universal integrated circuit card UICC, enabling the UICC to receive the first command and analyze the first command to obtain terminal NFC application change information, determining the influence of the terminal NFC application change on NFC service of the UICC, and correspondingly updating the NFC service of the UICC;
wherein, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
2. The method as recited in claim 1, further comprising:
pre-expanding an active command in a terminal and UICC interaction mechanism, wherein the active command comprises a data object in an NFC authorization state and a data object in an application NFC change type, the NFC authorization state comprises one of unauthorized, authorized and authorized inquiry, and the application NFC change type comprises one of application downloading, application deleting and application NFC authorization change;
the generating the first command according to the acquired terminal NFC application change status includes:
determining the content of a corresponding data object in the proactive command;
the first command is generated based on the proactive command having determined the content of the corresponding data object.
3. The method of claim 2, wherein the determining the content of the corresponding data object in the proactive command comprises:
if the terminal NFC application changing condition is that the terminal installs a new NFC application, the new NFC application obtains NFC authorization or authorization inquiry, an NFC authorization state and a data object of an application NFC changing type are generated, the NFC authorization state is unauthorized or authorized, and the application NFC changing type is application downloading;
if the terminal NFC application changing condition is that the terminal uninstalls the original NFC application, generating a data object of an application NFC changing type, wherein the application NFC changing type is application deletion;
if the terminal NFC application change status is that the terminal NFC application deployment status is not changed, but the NFC authorization status is changed, generating a data object of an NFC authorization status and an application NFC change type, where the NFC authorization status is a changed NFC authorization status, specifically, an unauthorized, authorized or authorized inquiry, and the application NFC change type is an application NFC authorization change.
4. A method for dynamically updating near field communication, NFC, capabilities, applied to a universal integrated circuit card, UICC, the method comprising:
receiving a first command sent by a terminal, wherein the first command is generated by the terminal according to an acquired terminal NFC application change condition, the terminal NFC application change condition is acquired by the terminal after terminal NFC application based on terminal NFC service realization is changed, and the first command carries terminal NFC application change information;
analyzing the first command to acquire terminal NFC application change information, determining the influence of the terminal NFC application change on the NFC service of the UICC, and correspondingly updating the NFC service;
wherein, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
5. The method of claim 4, wherein the parsing the first command to obtain terminal NFC application change information includes:
determining the value of a corresponding data object in the first command, and determining the application change type of the terminal NFC application and the corresponding NFC authorization state change type according to the value of the corresponding data object;
the value of the corresponding data object in the first command is determined by the terminal to determine the content of the corresponding data object in the active command, and the active command is generated in the first command generated based on the active command of which the content is determined, wherein the active command is obtained by pre-expanding in a terminal and UICC interaction mechanism, the data object comprising an NFC authorization state and the data object applying an NFC change type, wherein the NFC authorization state comprises one of unauthorized, authorized and authorized inquiry, and the type of applying NFC change comprises one of application downloading, application deleting and applying NFC authorization change.
6. A terminal, comprising:
the first acquisition module is used for acquiring a terminal NFC application change condition after the terminal NFC application based on the terminal NFC service is changed;
the generation module is used for generating a first command according to the acquired terminal NFC application change condition, wherein the first command carries terminal NFC application change information;
the sending module is configured to send a first command to the UICC, so that the UICC receives the first command and analyzes the first command to obtain terminal NFC application change information, determine the influence of the terminal NFC application change on the NFC service of the UICC, and correspondingly update the NFC service of the terminal NFC application change;
wherein, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
7. A universal integrated circuit card UICC, comprising:
the terminal NFC application change condition is obtained by the terminal after the terminal NFC application based on the terminal realizing NFC service is changed, and the first command carries terminal NFC application change information;
the second acquisition module is used for analyzing the first command to acquire terminal NFC application change information;
the updating module is used for determining the influence of the NFC application change of the terminal on the NFC service of the UICC and correspondingly updating the NFC service of the terminal;
wherein, the terminal NFC application change status includes any one of the following cases:
the terminal installs a new NFC application, and the new NFC application obtains NFC authorization or authorization inquiry;
the terminal uninstalls the original NFC application;
the deployment condition of the terminal NFC application is unchanged, but the NFC authorization state is changed.
8. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, which when executed by the processor performs the method of dynamically updating near field communication, NFC, capabilities of any one of claims 1-3 and claims 4-5.
9. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements a method of dynamically updating near field communication, NFC, capabilities according to any one of claims 1-3 and claims 4-5.
CN202111203645.1A 2021-10-15 2021-10-15 Method, terminal and UICC for dynamically updating NFC capability Active CN113950035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111203645.1A CN113950035B (en) 2021-10-15 2021-10-15 Method, terminal and UICC for dynamically updating NFC capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111203645.1A CN113950035B (en) 2021-10-15 2021-10-15 Method, terminal and UICC for dynamically updating NFC capability

Publications (2)

Publication Number Publication Date
CN113950035A CN113950035A (en) 2022-01-18
CN113950035B true CN113950035B (en) 2023-10-27

Family

ID=79330646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111203645.1A Active CN113950035B (en) 2021-10-15 2021-10-15 Method, terminal and UICC for dynamically updating NFC capability

Country Status (1)

Country Link
CN (1) CN113950035B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174387B (en) * 2022-06-30 2023-06-13 中国联合网络通信集团有限公司 Configuration access management method, ISIM card, terminal and system

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348017A (en) * 2011-09-07 2012-02-08 中国联合网络通信集团有限公司 Calling method of terminal application, terminal device and UICC (Universal Integrated Circuit Card)
EP2675203A1 (en) * 2012-06-11 2013-12-18 BlackBerry Limited Enabling Multiple Authentication Applications
EP2903302A1 (en) * 2014-01-30 2015-08-05 Gemalto SA Method of managing a transaction between a secure element and a NFC terminal
CN106031050A (en) * 2014-09-30 2016-10-12 华为技术有限公司 Information processing method and NFC terminal
CN106101984A (en) * 2016-05-31 2016-11-09 东莞宇龙通信科技有限公司 The security module management method of a kind of NFC Mobile payment terminal and terminal
CN107484152A (en) * 2017-08-01 2017-12-15 中国联合网络通信集团有限公司 The management method and device of terminal applies
CN111124503A (en) * 2018-11-01 2020-05-08 华为终端有限公司 Automatic activation method of NFC application and terminal
CN111399946A (en) * 2020-03-25 2020-07-10 中国联合网络通信集团有限公司 Terminal application starting change control method and device, terminal and USIM
CN111741462A (en) * 2020-06-29 2020-10-02 中国联合网络通信集团有限公司 Terminal application permission change acquisition method, terminal and USIM
CN111787521A (en) * 2020-06-30 2020-10-16 中国联合网络通信集团有限公司 Terminal application permission obtaining method, terminal equipment and USIM
CN111901793A (en) * 2020-09-08 2020-11-06 中国联合网络通信集团有限公司 UICC application setting information management method and system, UICC smart card and terminal
CN112004222A (en) * 2020-08-25 2020-11-27 中国联合网络通信集团有限公司 USAT application matching management method, terminal, USIM and system
CN112738781A (en) * 2020-12-29 2021-04-30 中国联合网络通信集团有限公司 Method, device, terminal, USIM and medium for initiating proximity service
CN113438632A (en) * 2021-06-07 2021-09-24 中国联合网络通信集团有限公司 Implementation method for UICC to select NFC connection mode, terminal and UICC

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348017A (en) * 2011-09-07 2012-02-08 中国联合网络通信集团有限公司 Calling method of terminal application, terminal device and UICC (Universal Integrated Circuit Card)
EP2675203A1 (en) * 2012-06-11 2013-12-18 BlackBerry Limited Enabling Multiple Authentication Applications
EP2903302A1 (en) * 2014-01-30 2015-08-05 Gemalto SA Method of managing a transaction between a secure element and a NFC terminal
CN106031050A (en) * 2014-09-30 2016-10-12 华为技术有限公司 Information processing method and NFC terminal
CN106101984A (en) * 2016-05-31 2016-11-09 东莞宇龙通信科技有限公司 The security module management method of a kind of NFC Mobile payment terminal and terminal
CN107484152A (en) * 2017-08-01 2017-12-15 中国联合网络通信集团有限公司 The management method and device of terminal applies
CN111124503A (en) * 2018-11-01 2020-05-08 华为终端有限公司 Automatic activation method of NFC application and terminal
CN111399946A (en) * 2020-03-25 2020-07-10 中国联合网络通信集团有限公司 Terminal application starting change control method and device, terminal and USIM
CN111741462A (en) * 2020-06-29 2020-10-02 中国联合网络通信集团有限公司 Terminal application permission change acquisition method, terminal and USIM
CN111787521A (en) * 2020-06-30 2020-10-16 中国联合网络通信集团有限公司 Terminal application permission obtaining method, terminal equipment and USIM
CN112004222A (en) * 2020-08-25 2020-11-27 中国联合网络通信集团有限公司 USAT application matching management method, terminal, USIM and system
CN111901793A (en) * 2020-09-08 2020-11-06 中国联合网络通信集团有限公司 UICC application setting information management method and system, UICC smart card and terminal
CN112738781A (en) * 2020-12-29 2021-04-30 中国联合网络通信集团有限公司 Method, device, terminal, USIM and medium for initiating proximity service
CN113438632A (en) * 2021-06-07 2021-09-24 中国联合网络通信集团有限公司 Implementation method for UICC to select NFC connection mode, terminal and UICC

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Secure Profile Provisioning Architecture for Embedded UICC;Jaemin Park;2013 International Conference on Availability, Reliability and Security;全文 *
黄健文 ; .UICC卡非接触应用隐式选择识别技术研究.微型机与应用.2016,全文. *

Also Published As

Publication number Publication date
CN113950035A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
US9603189B2 (en) Method and apparatus for multisim devices with embedded SIM functionality
CN102308561B (en) ME network parameters configuration by UICC
CN111787521B (en) Terminal application permission obtaining method, terminal equipment and USIM
CN108702613B (en) Embedded user identity module, device for sending command and communication system
US11716612B1 (en) Bootstrap electronic subscriber identity module configuration
US11064343B2 (en) Management of subscriber profiles simultaneously active in an eUICC card using a plurality of separate links
EP3023904B1 (en) Implicit File creation in APDU scripts
CN105940692A (en) Method for accessing a service and a corresponding device
CN103716346A (en) Management method and device of application on android handset client
CN103988530A (en) Enhanced lifecycle management of security module
EP3716667B1 (en) Method for managing profiles in embedded universal integrated circuit cards, corresponding system and computer program product
CN113950035B (en) Method, terminal and UICC for dynamically updating NFC capability
KR20050096930A (en) Communication between a smart card and a server
CN112004222A (en) USAT application matching management method, terminal, USIM and system
CN111741462B (en) Terminal application permission change acquisition method, terminal and USIM
CN108260119B (en) Mobile terminal, embedded SIM card and access method and device thereof
CN112367661B (en) USAT application matching implementation method, USIM, terminal, device and medium
CN108260120B (en) Mobile terminal, embedded SIM card and access method and device thereof
KR20060073893A (en) Databases synchronization
CN112188591B (en) Network access method, device, computer equipment and storage medium
CN113950036B (en) NFC capability synchronization method, UICC, terminal, equipment and medium
KR100821155B1 (en) Universal Integrated Circuit Chip Having Linked File Structure and Method for Operating Application thereof
KR102101649B1 (en) Method for providing multi number service
JP2012533101A (en) How to manage applications embedded in secured electronic tokens
CN113542350B (en) Browsing state event downloading method, USIM, terminal and storage medium

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