CN113950036B - NFC capability synchronization method, UICC, terminal, equipment and medium - Google Patents

NFC capability synchronization method, UICC, terminal, equipment and medium Download PDF

Info

Publication number
CN113950036B
CN113950036B CN202111204511.1A CN202111204511A CN113950036B CN 113950036 B CN113950036 B CN 113950036B CN 202111204511 A CN202111204511 A CN 202111204511A CN 113950036 B CN113950036 B CN 113950036B
Authority
CN
China
Prior art keywords
terminal
nfc
command
requirement
uicc
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
CN202111204511.1A
Other languages
Chinese (zh)
Other versions
CN113950036A (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 CN202111204511.1A priority Critical patent/CN113950036B/en
Publication of CN113950036A publication Critical patent/CN113950036A/en
Application granted granted Critical
Publication of CN113950036B publication Critical patent/CN113950036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure provides a synchronization method of NFC capability, UICC, a terminal, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: after the UICC generates a requirement for requiring the terminal to synchronize its NFC capabilities, generating a first command according to the pre-extended active command requirement, wherein the first command comprises a requirement for the terminal to provide its NFC capability information; the method comprises the steps of sending a first command to a terminal, enabling the terminal to analyze the first command to obtain the requirement of the first command, obtaining terminal NFC capability information according to the requirement of the first command, generating a response message according to the obtained terminal NFC capability information and sending the response message to a UICC (universal integrated circuit card); and receiving the response message, and analyzing and processing the response message to acquire the NFC capability information of the terminal. The technical scheme of the invention can enable the UICC to have the peer-to-peer information right with the terminal in the NFC service aspect, and is beneficial to information synchronization and overall management of various schemes in the NFC service aspect.

Description

NFC capability synchronization method, UICC, terminal, equipment and medium
Technical Field
The disclosure relates to the field of communication technology, and in particular relates to a synchronization method of NFC capability, a UICC, a terminal, 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 support situation for the different schemes, in order to know the impact on the extent of use of the NFC functionality of the UICC. Because of the relatively active position of the terminal in the NFC service, for the terminal-based implementation, the terminal can complete the NFC service without the UICC participating, so the UICC lacks a channel to know the NFC capability of the terminal in this case.
Disclosure of Invention
In order to at least solve the problem that the UICC cannot acquire the NFC capability information of the terminal, the present disclosure provides a synchronization method of NFC capability, the UICC, the terminal, the electronic device and a computer readable storage medium, which can enable the UICC to have peer-to-peer information rights with the terminal in the aspect of NFC service, is favorable for information synchronization and overall management of various schemes in the aspect of NFC service, and meets the functional requirements and management requirements of more scenes.
In a first aspect, the present disclosure provides a synchronization method of NFC capability, applied to a UICC, the method including:
after the UICC generates a requirement for requiring the terminal to synchronize its NFC capability, generating a first command according to the pre-extended active command requirement, wherein the first command contains a requirement for the terminal to provide its NFC capability information;
the first command is sent to the terminal, so that the terminal analyzes the first command to obtain the requirement of the first command, obtains the NFC capability information of the terminal according to the requirement of the first command, and generates a response message according to the obtained NFC capability information of the terminal and sends the response message to the UICC;
and receiving the response message, and analyzing and processing the response message to acquire the NFC capability information of the terminal.
Further, the terminal NFC capability information includes:
whether the terminal supports the NFC service based on the terminal and the related information of each application for realizing the NFC service based on the terminal.
In a second aspect, the present disclosure provides a synchronization method of NFC capability, applied to a terminal, where the method includes:
receiving a first command sent by the UICC, wherein the first command is generated by the UICC according to a pre-expanded active command requirement after generating a requirement for requiring the terminal to synchronize the NFC capability of the terminal, and comprises a requirement for providing the NFC capability information of the terminal;
after the first command is analyzed, acquiring the requirement of the first command, and acquiring the NFC capability information of the terminal according to the requirement of the first command;
generating a response message according to the acquired terminal NFC capability information and the preset requirement;
and sending the response message to the UICC, so that the UICC receives the response message and analyzes and processes the response message to acquire the NFC capability information of the terminal.
Further, the terminal NFC capability information includes:
whether the terminal supports the NFC service based on the terminal and the related information of each application for realizing the NFC service based on the terminal.
Further, the acquiring the terminal NFC capability information according to the requirement of the first command includes:
determining that the requirement of the first command is to synchronize the terminal-based capability of implementing the NFC service to the UICC;
judging whether the current terminal supports realizing NFC service based on the terminal;
if so, determining whether related information of each application based on the terminal to realize the NFC service is required to be provided according to the first command, if so, acquiring terminal NFC capability information of an application list based on the terminal to realize the NFC service and based on the terminal to realize the NFC service, and if not, acquiring terminal NFC capability information of the terminal to support the terminal to realize the NFC service;
and if not, acquiring terminal NFC capability information that the terminal does not support the NFC service based on the terminal.
Further, the acquiring the application list for implementing the NFC service based on the terminal includes:
the method comprises the steps that the terminal-based machine-card interface function module requests to acquire related information of each application based on the terminal-based NFC service to the NFC function module, so that the NFC function module returns an application list based on the terminal-based NFC service to the terminal-based machine-card interface function module, wherein the application list based on the terminal-based NFC service comprises application data of each application authorized to use or authorized to inquire to use the NFC service and a corresponding state of authorized to use NFC, and the state of authorized to use NFC comprises unauthorized, authorized and authorized inquires.
In a third aspect, the present disclosure provides a UICC comprising:
the first generation module is configured to generate a first command according to a pre-extended active command requirement after the UICC generates a requirement for requiring the terminal to synchronize its NFC capabilities, the first command containing a requirement for the terminal to provide its NFC capability information;
the first sending module is configured to send the first command to the terminal, so that the terminal can obtain the requirement of the first command after analyzing the first command, obtain the NFC capability information of the terminal according to the requirement of the first command, and generate a response message according to the preset requirement and send the response message to the UICC;
a first receiving module arranged to receive the response message;
and the processing module is used for analyzing and processing the response message received by the first receiving module so as to acquire the NFC capability information of the terminal.
In a fourth aspect, the present disclosure provides a terminal, including:
the second receiving module is configured to receive a first command sent by the UICC, wherein the first command is generated by the UICC according to pre-extended active command requirements after generating a need for the terminal to synchronize its NFC capability, and the first command contains requirements for the terminal to provide its NFC capability information;
the acquisition module is used for acquiring the requirement of the first command after analyzing the first command and acquiring the NFC capability information of the terminal according to the requirement of the first command;
the second generation module is used for generating a response message according to the preset requirement from the acquired terminal NFC capability information;
and the second sending module is used for sending the response message to the UICC so that the UICC receives the response message and analyzes and processes the response message to acquire the NFC capability information of the terminal.
In a fifth aspect, the present disclosure further provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor performs the NFC-capable synchronization method according to any one of the first aspect and the second aspect.
In a sixth aspect, the present disclosure also provides a computer-readable storage medium comprising: a computer program which, when run on a computer, causes the computer to perform the NFC-capable synchronization method according to any one of the first and second aspects.
The beneficial effects are that:
according to the NFC capability synchronization method, the UICC, the terminal, the electronic equipment and the computer readable storage medium, when the UICC generates the requirement for the terminal to synchronize the NFC capability, a first command is generated according to the pre-expanded active command requirement, and the first command contains the requirement for the terminal to provide NFC capability information; the first command is sent to the terminal, so that the terminal analyzes the first command to obtain the requirement of the first command, obtains the NFC capability information of the terminal according to the requirement of the first command, and generates a response message according to the obtained NFC capability information of the terminal and sends the response message to the UICC; and the UICC receives the response message and analyzes and processes the response message to acquire the NFC capability information of the terminal. The technical scheme of the invention can enable the UICC to have the peer-to-peer information right with the terminal in the NFC service aspect, is beneficial to information synchronization and overall management of various schemes in the NFC service aspect, and meets the functional requirements and management requirements of more scenes.
Drawings
Fig. 1 is a flowchart of an NFC capability synchronization method according to a first embodiment of the present disclosure;
fig. 2 is a flow chart of a synchronization method of NFC capability according to a second embodiment of the disclosure;
fig. 3 is a flow chart of a synchronization method of NFC capability according to a third embodiment of the disclosure;
fig. 4 is a schematic diagram of a UICC according to a fourth embodiment of the disclosure;
fig. 5 is a schematic diagram of a terminal according to a fifth embodiment of the present 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. The UICC, due to its relatively passive position in the set-card relationship, is currently not able to effectively obtain the terminal-based NFC capability.
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 an NFC capability synchronization method provided in an embodiment of the present disclosure, which is applied to UICC, as shown in fig. 1, where the method includes:
step S101: after the UICC generates a requirement for requiring the terminal to synchronize its NFC capability, generating a first command according to the pre-extended active command requirement, wherein the first command contains a requirement for the terminal to provide its NFC capability information;
step S102: the first command is sent to the terminal, so that the terminal analyzes the first command to obtain the requirement of the first command, obtains the NFC capability information of the terminal according to the requirement of the first command, and generates a response message according to the obtained NFC capability information of the terminal and sends the response message to the UICC;
step S103: and receiving the response message, and analyzing and processing the response message to acquire the NFC capability information of the terminal.
The User Equipment (UE) includes a Mobile Equipment (ME) and a subscriber identity module, which in the embodiment of the present disclosure is called a terminal, and the subscriber identity module is a universal integrated circuit card (Universal Integrated Circuit Card UICC) with a universal subscriber identity module (Universal Subscriber Identity Module USIM).
The universal subscriber identity module 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, guaranteeing the security of access to mobile network services, and performing subscriber identification and subscriber authorization when a user accesses mobile network services by utilizing necessary functions and data, so as to realize the requirements that a 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 acquire capability information about NFC of the terminal, in the prior art there is no corresponding command,
in order to realize that the UICC can require the terminal to provide NFC capability information when needed, the terminal provides the capability and the current state of the terminal in NFC after receiving the request, and the UICC active command type facing to the synchronization of the NFC capability needs to be added in the STK/USAT mechanism, and the command function is that the UICC requires the terminal to provide the NFC capability information thereof. The newly added proactive command may be named Get Capability on NFC, and the structure of the command is shown in table 1 below:
table 1: get Capability on NFC command structure
Figure BDA0003306304000000071
Figure BDA0003306304000000081
Note that:
the command qualifier b1 bit indicates whether the terminal is required to provide the state of the application using NFC, indicates whether the terminal only needs to provide information whether the terminal-based NFC scheme is supported when b1=0, and indicates whether the terminal also needs to provide the application state of the terminal using the terminal-based NFC in addition to the terminal-based NFC information when b1=1, that is, the current terminal installs the application authorized to use NFC.
When the UICC generates the requirement of requiring the terminal to synchronize the NFC capability information thereof, generating a first command according to the pre-expanded active command requirement, requiring the terminal to provide the NFC capability information thereof, wherein the first command is Get Capability on NFC command of a determined parameter, sending the first command to the terminal, analyzing and processing the received command, and determining that the type and the requirement of the command are synchronous based on the capability of the terminal for realizing NFC service to the UICC; the terminal obtains whether the state based on the terminal realizing the NFC scheme is supported or not, if not, the terminal NFC capability information is that the terminal does not support the terminal realizing the NFC service, a return response message is directly generated to the UICC, if so, the terminal determines whether the application condition using the terminal-based NFC scheme is required to be provided from a first command, if not, the terminal NFC capability information is that the terminal supports the terminal-based NFC service, a return response message is generated, if so, the subsequent steps are continued, and the terminal card interface function specifically comprises the terminal card interface function requesting the NFC function to obtain the application condition using the terminal-based NFC scheme and requesting the NFC to provide an application list using the terminal NFC; the NFC function returns an application list using NFC based on the terminal to the terminal card interface function, namely, the NFC function authorizes the application to be used or inquires about the application using NFC, and the application list comprises application data and the state of authorizing the application to be used by NFC; the terminal NFC capability information supports for the terminal a list of applications that implement NFC services based on the terminal,
the terminal generates a response message, where the response message is Terminal Response (for Get Capability on NFC), and the specific command structure of the response message may be as shown in the following table 2, and specific parameters may be generated according to requirements, where the response message includes an indication of whether the NFC capability based on the terminal implementing the NFC scheme is supported, and may further include an application list and a status of using the terminal implementing the NFC scheme.
Table 2: terminal Response (for Get Capability on NFC) command structure:
Figure BDA0003306304000000091
/>
Figure BDA0003306304000000101
note that:
1. responding to the command qualifier in the message and the command qualifier requirement in the first command;
NFC capability is an extended data object, which indicates whether a terminal supports the implementation of an NFC scheme based on the terminal, and the specific coding meaning is shown in the table;
3. registering application data to indicate an application requesting NFC use authority from a terminal and obtaining authorization and authorization inquiry (namely, whether the application is allowed or not to inquire the terminal before use), wherein all the application data meeting the conditions and corresponding NFC authorization states form an application list using the NFC of the terminal;
the NFC authorization state is an extended data object, and represents the NFC authorization state corresponding to the application, wherein the NFC authorization state comprises unauthorized/authorized inquiry, the specific coding meaning is shown in the table, the value in the command is 01/02, namely, the applications in the list are the applications for obtaining NFC authorization and authorization inquiry.
And the terminal sends the response message generated according to the requirement to the UICC, and the UICC analyzes and processes the response message after receiving the response message, so that the NFC capability of the terminal based on the NFC scheme realized by the terminal and the possible NFC application list and the possible NFC application state are obtained synchronously.
Further, the terminal NFC capability information includes:
whether the terminal supports the NFC service based on the terminal and the related information of each application for realizing the NFC service based on the terminal.
The terminal NFC capability information provided by the terminal is specifically required to be set in the first command through parameters, and mainly comprises whether an NFC scheme based on the terminal is supported or not and a terminal application currently adopting the scheme, wherein the terminal application adopting the scheme is judged according to whether NFC authorization of the terminal is obtained or not. And if the NFC scheme based on the terminal is supported, providing the application using the terminal NFC currently according to the requirement.
The embodiment of the disclosure can enable the UICC to have the peer-to-peer information right with the terminal in the aspect of NFC service, is favorable for information synchronization and overall management of various schemes in the aspect of NFC service, meets the functional requirements and management requirements of more scenes, acquires the influence on the use degree of the NFC function of the UICC, and ensures the normal use of the NFC function of the UICC.
Fig. 2 is a flow chart of a synchronization method of NFC capability provided in a second embodiment of the present disclosure, which is applied to a terminal, as shown in fig. 2, and the method includes:
step S201: receiving a first command sent by the UICC, wherein the first command is generated by the UICC according to a pre-expanded active command requirement after generating a requirement for requiring the terminal to synchronize the NFC capability of the terminal, and comprises a requirement for providing the NFC capability information of the terminal;
step S202: after the first command is analyzed, acquiring the requirement of the first command, and acquiring the NFC capability information of the terminal according to the requirement of the first command;
step S203: generating a response message according to the acquired terminal NFC capability information and the preset requirement;
step S204: and sending the response message to the UICC, so that the UICC receives the response message and analyzes and processes the response message to acquire the NFC capability information of the terminal.
The active command expansion between the terminal and the UICC comprises a command function and a structure, and a required data object is newly defined, so that a user identification module (UICC) can generate a first command (command structure is shown in the table 1) when in need, the terminal is required to provide NFC capability information of the terminal, the terminal obtains corresponding information according to the first command parameter, generates a corresponding response message according to the table 2 structure, and sends the response message to the UICC, so that the response message is analyzed, and the NFC capability information of the terminal is obtained from specific parameters and content of the message.
Further, the terminal NFC capability information includes:
whether the terminal supports the NFC service based on the terminal and the related information of each application for realizing the NFC service based on the terminal.
The terminal NFC capability information provided by the terminal is specifically required to be set in the first command through parameters, and mainly comprises whether an NFC scheme based on the terminal is supported or not and a terminal application currently adopting the scheme, wherein the terminal application adopting the scheme is judged according to whether NFC authorization of the terminal is obtained or not.
Further, the acquiring the terminal NFC capability information according to the requirement of the first command includes:
determining that the requirement of the first command is to synchronize the terminal-based capability of implementing the NFC service to the UICC;
judging whether the current terminal supports realizing NFC service based on the terminal;
if so, determining whether related information of each application based on the terminal to realize the NFC service is required to be provided according to the first command, if so, acquiring terminal NFC capability information of an application list based on the terminal to realize the NFC service and based on the terminal to realize the NFC service, and if not, acquiring terminal NFC capability information of the terminal to support the terminal to realize the NFC service;
and if not, acquiring terminal NFC capability information that the terminal does not support the NFC service based on the terminal.
After receiving the command, the terminal analyzes and processes the command, and determines that the type and the requirement of the command are synchronous based on the capability of the terminal for realizing the NFC scheme to the UICC; the terminal obtains whether the state of realizing the NFC scheme based on the terminal is supported or not, if not, a return response message is directly generated to the UICC, if so, the terminal determines whether the application condition of using the NFC scheme based on the terminal is needed to be provided from the first command, if not, a response message is generated and returned according to the obtained information, if so, an application list using the NFC scheme based on the terminal is continuously obtained, and the obtained information is used to generate the response information.
Further, the acquiring the application list for implementing the NFC service based on the terminal includes:
the method comprises the steps that the terminal-based machine-card interface function module requests to acquire related information of each application based on the terminal-based NFC service to the NFC function module, so that the NFC function module returns an application list based on the terminal-based NFC service to the terminal-based machine-card interface function module, wherein the application list based on the terminal-based NFC service comprises application data of each application authorized to use or authorized to inquire to use the NFC service and a corresponding state of authorized to use NFC, and the state of authorized to use NFC comprises unauthorized, authorized and authorized inquires.
The method comprises the steps that an application list of a terminal-based NFC service implementation scheme is obtained, specifically, a terminal machine card interface function requests an NFC function to obtain an application state of the terminal-based NFC service implementation scheme, and the NFC is required to provide the application list of the terminal-based NFC service implementation scheme; the NFC function returns to the terminal card interface function a list of applications using the terminal-based implementation of the NFC service, i.e. a list of applications authorized to use or authorized to interrogate for use of NFC by the NFC function, including application data and status of authorized to use of NFC.
By inquiring application information using the terminal-based NFC scheme from the NFC function, applications requesting NFC use permission from the terminal and obtaining authorization and authorization inquiry (namely whether the application is allowed or not by inquiring the terminal before use) can be obtained through the history record, all application data meeting the conditions and corresponding NFC authorization states are obtained, detailed corresponding application information is obtained, and an application list using the terminal-based NFC scheme is formed.
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 synchronization method of NFC capability, as shown in fig. 3, where the method includes:
step S1: the UICC requests the synchronous terminal to judge whether the requirement of realizing NFC service based on the terminal is supported according to the requirement of the service, wherein the requirement comprises whether the terminal NFC is supported or not, and the requirement can also comprise that if the terminal NFC is supported, the application using NFC is provided;
step S2: the UICC generates Get Capability on NFC command (command structure is shown in table 1), which requires the terminal to provide a status whether a scheme based on the terminal to implement NFC service is supported or not, and indicates whether a terminal application using NFC needs to be provided or not;
step S3: the UICC sends Get Capability on NFC command to the terminal;
step S4: after receiving the command, the terminal analyzes and processes the command, and determines that the type and the requirement of the command are synchronous based on the capability information of the terminal for realizing NFC service to the UICC;
step S5: the terminal obtains whether the NFC service is realized based on the terminal or not, if not, the step S9 is carried out, and if so, the subsequent steps are continued;
step S6: the terminal determines whether application information for realizing NFC service based on the terminal needs to be provided from the command, if not, the terminal goes to step S9, and if so, the following steps are continued;
step S7: the terminal card interface function requests the NFC function to acquire the application condition of realizing the NFC service based on the terminal, and requests the NFC to provide an application list of using the terminal NFC;
step S8: the NFC function returns an application list for realizing NFC service based on the terminal to the terminal card interface function, namely, the NFC function authorizes the use or authorizes the inquiry of the application for using NFC, and the application list comprises application data and the state for authorizing the use of NFC;
step S9: the terminal generates Terminal Response (for Get Capability on NFC) a response message (the message structure is shown in table 2), which includes an indication of whether NFC capability based on the terminal to implement NFC service is supported, and possibly an application list and status using terminal NFC;
step S10: the terminal sends a response message to the UICC;
step S11: after receiving the response message, the UICC analyzes and processes the response message, and synchronously obtains the NFC capability of the terminal based on the NFC service realized by the terminal and the possible application list and condition of using the terminal NFC.
Fig. 4 is a schematic diagram of a UICC according to a fourth embodiment of the disclosure, as shown in fig. 4, including:
a first generation module 11 arranged to generate, when the UICC generates a need for the terminal to synchronize its NFC capabilities, a first command according to pre-extended proactive command requirements, the first command comprising requirements regarding the terminal to provide its NFC capability information;
the first sending module 12 is configured to send the first command to the terminal, so that the terminal analyzes the first command to obtain a requirement of the first command, obtain terminal NFC capability information according to the requirement of the first command, and generate a response message according to a preset requirement and send the obtained terminal NFC capability information to the UICC;
a first receiving module 13 arranged to receive the response message;
the processing module 14 is configured to parse and process the response message received by the first receiving module 13, so as to obtain terminal NFC capability information.
Further, the terminal NFC capability information includes:
whether the terminal supports the NFC service based on the terminal and the related information of each application for realizing the NFC service based on the terminal. Fig. 5 is a schematic diagram of a terminal according to a fifth embodiment of the present disclosure, as shown in fig. 5, including:
a second receiving module 21, configured to receive a first command sent by the UICC, said first command being generated by the UICC according to pre-extended proactive command requirements after generating a need for the terminal to synchronize its NFC capabilities, including requirements regarding the terminal to provide its NFC capability information;
the acquiring module 22 is configured to acquire a requirement of the first command after analyzing the first command, and acquire terminal NFC capability information according to the requirement of the first command;
a second generating module 23, configured to generate a response message according to a preset requirement from the acquired terminal NFC capability information;
and a second sending module 24, configured to send the response message to the UICC, so that the UICC receives the response message and parses and processes the response message to obtain the terminal NFC capability information.
Further, the terminal NFC capability information includes:
whether the terminal supports the NFC service based on the terminal and the related information of each application for realizing the NFC service based on the terminal.
The acquisition module 22 includes:
a determining unit configured to determine that the requirement of the first command is to synchronize the capability of implementing the NFC service based on the terminal to the UICC;
a judging unit configured to judge whether the current terminal supports the terminal-based implementation of the NFC service;
the acquiring unit is configured to determine whether related information of each application realizing the NFC service based on the terminal needs to be provided according to the first command if the judging unit judges that the terminal is supported, if so, acquire terminal NFC capability information of the terminal supporting the NFC service based on the terminal and an application list of the terminal realizing the NFC service, and if not, acquire terminal NFC capability information of the terminal supporting the NFC service based on the terminal; and
and if the judging unit judges that the NFC terminal does not support the NFC service, acquiring terminal NFC capability information that the terminal does not support the NFC service based on the terminal.
Further, the acquiring unit is specifically configured to:
the method comprises the steps that the terminal-based machine-card interface function module requests to acquire related information of each application based on the terminal-based NFC service to the NFC function module, so that the NFC function module returns an application list based on the terminal-based NFC service to the terminal-based machine-card interface function module, wherein the application list based on the terminal-based NFC service comprises application data of each application authorized to use or authorized to inquire to use the NFC service and a corresponding state of authorized to use NFC, and the state of authorized to use NFC comprises unauthorized, authorized and authorized inquires.
And acquiring an application list for realizing NFC service based on the terminal from the terminal card interface function module.
The UICC and the terminal according to the embodiments of the present disclosure are used to implement the synchronization method of NFC capabilities 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 executes the above-mentioned possible synchronization methods of NFC capabilities.
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 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 (8)

1. A method for synchronizing near field communication NFC capability, applied to a universal integrated circuit card UICC, the method comprising:
after the UICC generates a requirement for requiring the terminal to synchronize its NFC capability, generating a first command according to the pre-extended active command requirement, wherein the first command contains a requirement for the terminal to provide its NFC capability information;
the first command is sent to the terminal, so that the terminal analyzes the first command to obtain the requirement of the first command, obtains the NFC capability information of the terminal according to the requirement of the first command, and generates a response message according to the obtained NFC capability information of the terminal and sends the response message to the UICC; the terminal NFC capability information comprises: whether the terminal supports the NFC service based on the terminal and the related information of each application of the NFC service based on the terminal;
and receiving the response message, and analyzing and processing the response message to acquire the NFC capability information of the terminal.
2. A method for synchronizing near field communication NFC capability, applied to a terminal, the method comprising:
receiving a first command sent by the UICC, wherein the first command is generated by the UICC according to a pre-expanded active command requirement after generating a requirement for the terminal to synchronize the NFC capability of the terminal, and the requirement comprises information about the terminal to provide the NFC capability of the terminal;
after the first command is analyzed, acquiring the requirement of the first command, and acquiring the NFC capability information of the terminal according to the requirement of the first command; the terminal NFC capability information comprises: whether the terminal supports the NFC service based on the terminal and the related information of each application of the NFC service based on the terminal;
generating a response message according to the acquired terminal NFC capability information and the preset requirement;
and sending the response message to the UICC, so that the UICC receives the response message and analyzes and processes the response message to acquire the NFC capability information of the terminal.
3. The method according to claim 2, wherein the acquiring terminal NFC capability information according to the requirement of the first command includes:
determining that the requirement of the first command is to synchronize the terminal-based capability of implementing the NFC service to the UICC;
judging whether the current terminal supports realizing NFC service based on the terminal;
if so, determining whether related information of each application based on the terminal to realize the NFC service is required to be provided according to the first command, if so, acquiring terminal NFC capability information of an application list based on the terminal to realize the NFC service and based on the terminal to realize the NFC service, and if not, acquiring terminal NFC capability information of the terminal to support the terminal to realize the NFC service;
and if not, acquiring terminal NFC capability information that the terminal does not support the NFC service based on the terminal.
4. The method of claim 3, wherein the obtaining the application list for implementing the NFC service based on the terminal includes:
the method comprises the steps that the terminal-based machine-card interface function module requests to acquire related information of each application based on the terminal-based NFC service to the NFC function module, so that the NFC function module returns an application list based on the terminal-based NFC service to the terminal-based machine-card interface function module, wherein the application list based on the terminal-based NFC service comprises application data of each application authorized to use or authorized to inquire to use the NFC service and a corresponding state of authorized to use NFC, and the state of authorized to use NFC comprises unauthorized, authorized and authorized inquires.
5. A universal integrated circuit card UICC, comprising:
the first generation module is configured to generate a first command according to a pre-extended active command requirement after the UICC generates a requirement for requiring the terminal to synchronize its NFC capability, the first command containing a requirement for the terminal to provide its NFC capability information;
the first sending module is configured to send the first command to the terminal, so that the terminal can obtain the requirement of the first command after analyzing the first command, obtain the NFC capability information of the terminal according to the requirement of the first command, and generate a response message according to the preset requirement and send the response message to the UICC; the terminal NFC capability information comprises: whether the terminal supports the NFC service based on the terminal and the related information of each application of the NFC service based on the terminal;
a first receiving module arranged to receive the response message;
and the processing module is used for analyzing and processing the response message received by the first receiving module so as to acquire the NFC capability information of the terminal.
6. A terminal, comprising:
the second receiving module is configured to receive a first command sent by the universal integrated circuit card UICC, wherein the first command is generated by the UICC according to pre-expanded active command requirements after generating a need for the terminal to synchronize its NFC capability, and the first command contains requirements for the terminal to provide its NFC capability information;
the acquisition module is used for acquiring the requirement of the first command after analyzing the first command and acquiring the NFC capability information of the terminal according to the requirement of the first command; the terminal NFC capability information comprises: whether the terminal supports the NFC service based on the terminal and the related information of each application of the NFC service based on the terminal;
the second generation module is used for generating a response message according to the preset requirement from the acquired terminal NFC capability information;
and the second sending module is used for sending the response message to the UICC so that the UICC receives the response message and analyzes and processes the response message to acquire the NFC capability information of the terminal.
7. An electronic device comprising a memory and a processor, the memory having a computer program stored therein, the processor performing the near field communication NFC capability synchronization method of claim 1 or the near field communication NFC capability synchronization method of any of claims 2-4 when the processor runs the computer program stored in the memory.
8. A computer-readable storage medium, comprising: computer program which, when run on a computer, causes the computer to perform the near field communication, NFC, capability synchronization method according to claim 1 or the near field communication, NFC, capability synchronization method according to any of claims 2-4.
CN202111204511.1A 2021-10-15 2021-10-15 NFC capability synchronization method, UICC, terminal, equipment and medium Active CN113950036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111204511.1A CN113950036B (en) 2021-10-15 2021-10-15 NFC capability synchronization method, UICC, terminal, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111204511.1A CN113950036B (en) 2021-10-15 2021-10-15 NFC capability synchronization method, UICC, terminal, equipment and medium

Publications (2)

Publication Number Publication Date
CN113950036A CN113950036A (en) 2022-01-18
CN113950036B true CN113950036B (en) 2023-06-09

Family

ID=79330675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111204511.1A Active CN113950036B (en) 2021-10-15 2021-10-15 NFC capability synchronization method, UICC, terminal, equipment and medium

Country Status (1)

Country Link
CN (1) CN113950036B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789151A (en) * 2009-12-31 2010-07-28 中兴通讯股份有限公司 Application method of mobile terminal E-wallet and mobile terminal
CN103262590A (en) * 2010-12-30 2013-08-21 Skc&C株式会社 System and method for provisioning over the air of confidential information on mobile communicative devices with non-UICC secure elements
CN103270733A (en) * 2010-12-30 2013-08-28 Skc&C株式会社 System and method for managing ota provisioning applications through use of profiles and data preparation
CN104935724A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Terminal and method of processing data therein
CN106101984A (en) * 2016-05-31 2016-11-09 东莞宇龙通信科技有限公司 The security module management method of a kind of NFC Mobile payment terminal and terminal
CN106529942A (en) * 2015-09-09 2017-03-22 青岛海信移动通信技术股份有限公司 NFC card access method and terminal
CN106664122A (en) * 2015-06-30 2017-05-10 华为技术有限公司 Radio frequency finding method, chip and device
CN107708188A (en) * 2017-09-27 2018-02-16 深圳天珑无线科技有限公司 A kind of method for reducing power consumption, mobile terminal and the device with store function
CN110768696A (en) * 2018-07-26 2020-02-07 中国移动通信有限公司研究院 NFC SIM card identification method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9807595B2 (en) * 2014-07-09 2017-10-31 Oracle International Corporation Terminal read with smart card update list
US10936719B2 (en) * 2016-09-23 2021-03-02 Apple Inc. Preserving trust data during operating system updates of a secure element of an electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789151A (en) * 2009-12-31 2010-07-28 中兴通讯股份有限公司 Application method of mobile terminal E-wallet and mobile terminal
CN103262590A (en) * 2010-12-30 2013-08-21 Skc&C株式会社 System and method for provisioning over the air of confidential information on mobile communicative devices with non-UICC secure elements
CN103270733A (en) * 2010-12-30 2013-08-28 Skc&C株式会社 System and method for managing ota provisioning applications through use of profiles and data preparation
CN104935724A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Terminal and method of processing data therein
CN106664122A (en) * 2015-06-30 2017-05-10 华为技术有限公司 Radio frequency finding method, chip and device
CN106529942A (en) * 2015-09-09 2017-03-22 青岛海信移动通信技术股份有限公司 NFC card access method and terminal
CN106101984A (en) * 2016-05-31 2016-11-09 东莞宇龙通信科技有限公司 The security module management method of a kind of NFC Mobile payment terminal and terminal
CN107708188A (en) * 2017-09-27 2018-02-16 深圳天珑无线科技有限公司 A kind of method for reducing power consumption, mobile terminal and the device with store function
CN110768696A (en) * 2018-07-26 2020-02-07 中国移动通信有限公司研究院 NFC SIM card identification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UICC卡非接触应用隐式选择识别技术研究;黄健文 等;《微型机与应用 》;全文 *

Also Published As

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

Similar Documents

Publication Publication Date Title
CN111787521B (en) Terminal application permission obtaining method, terminal equipment and USIM
US20120309302A1 (en) Wireless Communication Device for Providing at Least One Near Field Communication Service
US20150373778A1 (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
KR20110103398A (en) Method and apparatus for obtaining location information using smart card
KR102045662B1 (en) System and method for managing logical channels for accessing several virtual profiles within a secure element
CN111901793B (en) UICC application setting information management method and system, UICC smart card and terminal
KR20050096930A (en) Communication between a smart card and a server
US9867045B2 (en) Method of managing communication between a secure element and a host device
CN112004222A (en) USAT application matching management method, terminal, USIM and system
CN113950035B (en) Method, terminal and UICC for dynamically updating NFC capability
CN113950036B (en) NFC capability synchronization method, UICC, terminal, equipment and medium
CN111741462A (en) Terminal application permission change acquisition method, terminal and USIM
CN113630762B (en) Information interaction method, USIM, mobile equipment and user 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
CN108260119B (en) Mobile terminal, embedded SIM card and access method and device thereof
CN113242543B (en) USIM-based application control method, USIM, terminal and medium
CN111901792B (en) UICC application setting information management method, system and terminal
CN113438632B (en) Implementation method for UICC to select NFC connection mode, terminal and UICC
CN108260120B (en) Mobile terminal, embedded SIM card and access method and device thereof
KR100821155B1 (en) Universal Integrated Circuit Chip Having Linked File Structure and Method for Operating Application thereof
CN113556714B (en) Method and device for UICC to require terminal to search NFC equipment
CN113542350B (en) Browsing state event downloading method, USIM, terminal and storage medium
TWI787035B (en) Access method for network service and related mobile terminal apparatus

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