CN113950036A - NFC capability synchronization method, UICC, terminal, device and medium - Google Patents

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

Info

Publication number
CN113950036A
CN113950036A CN202111204511.1A CN202111204511A CN113950036A CN 113950036 A CN113950036 A CN 113950036A CN 202111204511 A CN202111204511 A CN 202111204511A CN 113950036 A CN113950036 A CN 113950036A
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.)
Granted
Application number
CN202111204511.1A
Other languages
Chinese (zh)
Other versions
CN113950036B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure provides a synchronization method of an NFC capability, a UICC, a terminal, an electronic device, and a computer-readable storage medium, the method including: when the UICC generates a requirement for requiring the terminal to synchronize the NFC capability of the terminal, generating a first command according to a pre-expanded active command requirement, wherein the first command comprises the requirement for providing the NFC capability information of the terminal; sending the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC according to the preset requirement; and receiving the response message, analyzing and processing the response message to acquire the NFC capability information of the terminal. The technical scheme of the disclosure can ensure that the UICC has the right of peer-to-peer information with the terminal in the aspect of NFC service, and is beneficial to information synchronization and overall management of various schemes in the aspect of NFC service.

Description

NFC capability synchronization method, UICC, terminal, device and medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a synchronization method for NFC capabilities, a UICC, a terminal, an electronic device, and a computer-readable storage medium.
Background
Near Field Communication (NFC) service is one of the common functions of current user mobile devices, and is a service for performing data exchange in a specific range formed by combining a Near Field Communication technology on the basis of a non-contact radio frequency technology, and the NFC service is closely associated with mobile Communication, is one of important services developed by operators, has a very common service range, and is applied to not only the telecommunication industry but also the industries such as finance, civilian life and the like. There are generally two possibilities for implementing NFC services — terminal-based implementation and UICC (Universal Integrated Circuit Card) -based implementation, mainly distinguishing whether NFC applications and security capabilities are loaded on a terminal or a UICC. The NFC service realized based on the UICC has independent hardware security guarantee, and is relatively closer to the security requirement of a typical service; the NFC service realized based on the terminal is a full-terminal scheme, the realizability is higher, and the problem of compatibility with a security module does not exist. In many typical scenarios, an NFC entity such as a terminal or a UICC card may bear a plurality of business applications such as a bank card, a bus card, an access control card, an identification card, a campus/enterprise one-card, and the like.
The schemes of different bearer entities of NFC have influence on each other, and NFC applications can only adopt one scheme, which means that another scheme is idle. It is therefore necessary for the UICC to know the NFC capability of the current terminal, i.e. the support for different solutions, as one of the bearer entities, in order to know the impact on the extent of usage of the NFC functionality of the UICC. Because the terminal is in a relatively active position in the NFC service, for a scheme implemented based on the terminal, the terminal can complete the NFC service without the UICC participating, and therefore the UICC lacks a channel to know the NFC capability of the terminal under such a condition.
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 for NFC capability, the UICC, the terminal, the electronic device, and a computer-readable storage medium, which can enable the UICC to have the right to peer information with the terminal in the NFC service, facilitate information synchronization and overall management of various schemes in the NFC service, and meet the functional requirements and management requirements of more scenarios.
In a first aspect, the present disclosure provides a method for synchronizing NFC capabilities, which is applied to a UICC, and the method includes:
when the UICC generates a requirement for requiring the terminal to synchronize the NFC capability of the terminal, generating a first command according to a pre-expanded active command requirement, wherein the first command comprises the requirement for providing the NFC capability information of the terminal by the terminal;
sending the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC;
and receiving the response message, 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 realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
In a second aspect, the present disclosure provides a method for synchronizing NFC capabilities, which is applied to a terminal, and 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 the UICC generates a requirement for the terminal to synchronize the NFC capability of the terminal, and the first command contains the requirement for the terminal to provide the NFC capability information;
analyzing the first command, 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 NFC capability information of the terminal according to a 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 realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
Further, the acquiring the NFC capability information of the terminal according to the requirement of the first command includes:
determining that a requirement of the first command is to synchronize a capability of implementing the NFC service based on the terminal to the UICC;
judging whether the current terminal supports the realization of NFC services based on the terminal;
if so, determining whether related information of each application for realizing the NFC service based on the terminal is required to be provided according to the first command, if so, acquiring terminal NFC capability information of an application list for supporting the NFC service based on the terminal and realizing the NFC service based on the terminal, and if not, acquiring terminal NFC capability information of an application list for supporting the NFC service based on the terminal;
and if not, acquiring terminal NFC capability information that the terminal does not support the realization of 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 related information of each application for realizing the NFC service based on the terminal is required to be acquired from an NFC function module through a machine-card interface function module of the terminal, so that the NFC function module returns an application list for realizing the NFC service based on the terminal to the machine-card interface function module of the terminal, wherein the application list for realizing the NFC service based on the terminal comprises application data of each application for using the NFC service authorized or authorized to be inquired by the NFC function module and a corresponding state for using the NFC authorized, and the state for using the NFC authorized comprises unauthorized, authorized and authorized inquiry.
In a third aspect, the present disclosure provides a UICC comprising:
the first generation module is arranged for generating a first command according to a pre-expanded active command requirement after the UICC generates a requirement for the terminal to synchronize the NFC capability of the terminal, wherein the first command comprises the requirement for the terminal to provide the NFC capability information;
the first sending module is configured to send the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, and generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC according to the preset requirement;
a first receiving module configured to receive the response message;
and the processing module is configured to analyze and process the response message received by the first receiving module so as to acquire the terminal NFC capability information.
In a fourth aspect, the present disclosure provides a terminal comprising:
a second receiving module, configured to receive a first command sent by the UICC, where the first command is generated by the UICC according to a pre-expanded active command requirement after a requirement for the terminal to synchronize its NFC capability is generated, and includes a requirement for the terminal to provide its NFC capability information;
the acquisition module is configured to analyze the first command, acquire the requirement of the first command, and acquire the NFC capability information of the terminal according to the requirement of the first command;
the second generating module is configured to generate a response message according to the acquired terminal NFC capability information and a preset requirement;
and the second sending module is 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.
In a fifth aspect, the present disclosure also provides an electronic device comprising a memory and a processor, the memory having a computer program stored therein, and the processor performing the NFC-capable synchronization method according to any one of the first and second aspects when the processor executes the computer program stored in the memory.
In a sixth aspect, the present disclosure also provides a computer-readable storage medium comprising: computer program which, when run on a computer, causes the computer to perform the NFC-enabled synchronization method as described in any one of the first and second aspects.
Has the advantages 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 a requirement for the terminal to synchronize the NFC capability of the terminal, a first command is generated according to a pre-expanded active command requirement, wherein the first command comprises the requirement for the terminal to provide the NFC capability information; sending the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC; and the UICC receives the response message and analyzes and processes the response message so as to acquire the NFC capability information of the terminal. The technical scheme of the disclosure can enable the UICC to have the information equivalent right with the terminal in the aspect of NFC services, is beneficial to information synchronization and overall management of various schemes in the aspect of NFC services, and meets the functional requirements and management requirements of more scenes.
Drawings
Fig. 1 is a flowchart illustrating a method for synchronizing NFC capabilities according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a method for synchronizing NFC capabilities according to a second embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for synchronizing NFC capabilities according to a third embodiment of the present disclosure;
fig. 4 is an architecture diagram of a UICC according to a fourth embodiment of the present disclosure;
fig. 5 is an architecture diagram of a terminal according to a fifth embodiment of the disclosure;
fig. 6 is an architecture diagram of an electronic device according to a sixth embodiment of the disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those skilled in the art, the present disclosure is further described in detail below with reference to the accompanying drawings and examples.
In which 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 the disclosed 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 the NFC service, and influence and restrict each other in the aspect of the NFC service, and the terminal and the UICC have the necessity of information synchronization. However, the UICC cannot effectively obtain the NFC capability of the terminal at present due to its relatively passive location in the card relationship.
The following describes the technical solutions of the present disclosure and how to solve the above problems in detail with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a flowchart illustrating a method for synchronizing NFC capabilities according to an embodiment of the present disclosure, which is applied to a UICC, and as shown in fig. 1, the method includes:
step S101: when the UICC generates a requirement for requiring the terminal to synchronize the NFC capability of the terminal, generating a first command according to a pre-expanded active command requirement, wherein the first command comprises the requirement for providing the NFC capability information of the terminal by the terminal;
step S102: sending the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC;
step S103: and receiving the response message, 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 (USIM), in an embodiment of the present disclosure, the Mobile Equipment is called a terminal, the UICC is a Universal Integrated Circuit Card (UICC), and the UICC has a USIM.
The USIM is a continuation and progress of a SIM card used in a UMTS (Universal Mobile Telecommunications System) network, and is used to store user identity information and personal data, ensure security of access to Mobile network services, and perform user identification and user authorization when a user accesses the Mobile network services by using necessary functions and data, thereby implementing a requirement that a 3G network can express and identify user applications. In contrast to SIM cards, USIM cards are no longer built on a single telecommunications application platform, but will become one of a variety of applications residing on a universal integrated circuit card UICC. The UICC is a universal intelligent card platform, provides uniform bottom layer support for upper layer application, and can reside other intelligent card applications such as bank, ticket and the like besides the USIM, thereby really realizing the separation of the bearing platform and the application.
There is a developing process for the relationship between UICC and terminal, in the initial positioning, UICC is in a completely passive state, terminal sends command to UICC, UICC executes command and returns response to terminal, terminal and UICC interact in command/response pair mode, and all are the mode of terminal initiated command UICC response, this mechanism does not allow UICC to actively send command to terminal, terminal is always dominant, UICC can only be in a controlled state of accepting command from terminal, executing command, and sending back response, thus limiting the development and use of card based application.
With the development of UICC service requirements, in order to solve such problems, an STK/USAT protocol layer is introduced into a protocol stack of a Cu interface (interface between a terminal and a UICC), and the STK/USAT layer provides a service mechanism based on a service provided by a transport layer, so that a UICC application is allowed to interact and operate with a terminal supporting the service mechanism, so that the UICC can actively request the terminal to perform a certain operation, and an STK/USAT instruction set is a basis and a main mode for a telecommunication smart card to implement a service through the terminal. Various applications may also be implemented on the UICC by means of the STK/USAT protocol and provided to the user via the terminal. However, the UICC has no way to obtain the capability information of the terminal regarding NFC, and there is no corresponding command in the prior art,
in order to realize that the UICC can require the terminal to provide NFC capability information when needed, and the terminal provides the capability and current state of the terminal in the NFC after receiving the requirement, a UICC active command type facing NFC capability synchronization needs to be added to the STK/USAT mechanism, and the command is used for the UICC to require the terminal to provide the NFC capability information thereof. The new active command is not 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:
the bit of the command qualifier b1 indicates whether the terminal is required to provide a state of an application using NFC, when b1 is 0, the terminal is required to provide information whether the terminal supports the NFC scheme based on the terminal, and when b1 is 1, the terminal is required to provide a status that the terminal uses the application implementing NFC based on the terminal, that is, the terminal currently installs an application authorized to use NFC.
When the UICC generates a requirement for requiring the terminal to synchronize the NFC Capability information, a first command is generated according to a pre-expanded active command requirement, the terminal is required to provide the NFC Capability information, the first command is a Get Capability on NFC command with determined parameters, the first command is sent to the terminal, the terminal analyzes and processes the command after receiving the command, and the determined command type and the requirement are used for synchronizing the Capability of realizing the NFC service based on the terminal to the UICC; the method comprises the steps that a terminal acquires whether a state of realizing an NFC scheme based on the terminal is supported, if the state of realizing the NFC scheme based on the terminal is not supported, the NFC capability information of the terminal does not support the realization of an NFC service based on the terminal, a return response message is directly generated to a UICC, if the state is supported, the terminal determines whether an application state of realizing the NFC scheme based on the terminal is required to be provided or not from a first command, if the application state is not required, the NFC capability information of the terminal supports the realization of the NFC service based on the terminal and generates the return response message, if the application state is required, the subsequent steps are continued, and specifically, the terminal card interface function requires the NFC function to acquire the application state of realizing the NFC scheme based on the terminal, and the NFC is required to provide an application list of using the NFC; the NFC function returns an application list using NFC based on the terminal to the terminal card interface function, namely the list of applications authorized to use or authorized to inquire to use the NFC by the NFC function comprises application data and a state authorized to use the NFC; the terminal NFC capability information supports a list of applications for the terminal to implement the NFC service based on the terminal and to implement the NFC service based on the terminal,
the Terminal generates a Response message, where the Response message is Terminal Response (for Get Capability on NFC), a specific command structure of the Response message may be as shown in table 2 below, and a specific parameter is generated according to a requirement, and the Response message includes an indication of whether the NFC Capability based on the Terminal is supported, and may further include an application list and a status for using the NFC based on the Terminal.
Table 2: terminal Response (for Get Capability on NFC) command structure:
Figure BDA0003306304000000091
Figure BDA0003306304000000101
note:
1. responding to the command qualifier in the message and the command qualifier requirement in the first command;
the NFC capability is an extended data object and indicates whether the terminal supports the realization of an NFC scheme based on the terminal, and the specific coding meaning is shown in the table above;
3. the registered application data represents an application which requests the NFC use permission from the terminal and obtains authorization and authorization inquiry (namely, the application inquires whether the terminal allows the application before use), and all the application data meeting the conditions and the corresponding NFC authorization state form an application list using the terminal NFC;
and 4, the NFC authorization state is an extended data object, and represents an NFC authorization state corresponding to an application, including unauthorized/authorized inquiry, where the specific encoding meaning is as shown in the above table, and the value in the command is 01/02, that is, all the applications in the list are applications that obtain NFC authorization and authorized inquiry.
And the terminal sends a response message generated according to the requirement to the UICC, and the UICC analyzes and processes the response message after receiving the response message, and synchronously obtains the NFC capability of the terminal based on the terminal NFC scheme and a possible NFC application list and condition.
Further, the terminal NFC capability information includes:
whether the terminal supports the realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
And setting specific terminal NFC capability information required to be provided by the terminal in the first command through parameters, wherein the specific terminal NFC capability information mainly comprises whether the terminal-based NFC scheme is supported and a terminal application adopting the scheme currently, and the terminal application adopting the scheme judges whether the NFC authorization use of the terminal is obtained or not. And if the NFC scheme based on the terminal is supported, providing the application currently using the NFC of the terminal according to the requirement.
The method and the device for realizing the NFC function of the UICC have the advantages that the UICC has the peer information right with the terminal in the aspect of the NFC service, information synchronization and overall management of various schemes in the aspect of the NFC service are facilitated, functional requirements and management requirements of more scenes are met, influence on the use degree of the NFC function of the UICC is obtained, and normal use of the NFC function of the UICC is guaranteed.
Fig. 2 is a schematic flowchart of a synchronization method for NFC capability provided in a second embodiment of the present disclosure, which is applied to a terminal, and as shown in fig. 2, 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 the UICC generates a requirement for the terminal to synchronize the NFC capability of the terminal, and the first command contains the requirement for the terminal to provide the NFC capability information;
step S202: analyzing the first command, 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 NFC capability information of the terminal according to a 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.
By expanding the active command between the terminal and the UICC, including the command function and structure, and newly adding and defining the required data object, the user identification module (UICC) can generate a first command (the command structure is as shown in table 1 above) when required, and proposes that the terminal is required to provide the NFC capability information thereof, the terminal acquires corresponding information according to the first command parameter, generates a corresponding response message according to the structure of table 2, and sends the response message to the UICC, so that the UICC analyzes the response message, and acquires the NFC capability information of the terminal from the specific parameters and contents of the message.
Further, the terminal NFC capability information includes:
whether the terminal supports the realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
And setting specific terminal NFC capability information required to be provided by the terminal in the first command through parameters, wherein the specific terminal NFC capability information mainly comprises whether the terminal-based NFC scheme is supported and a terminal application adopting the scheme currently, and the terminal application adopting the scheme judges whether the NFC authorization use of the terminal is obtained or not.
Further, the acquiring the NFC capability information of the terminal according to the requirement of the first command includes:
determining that a requirement of the first command is to synchronize a capability of implementing the NFC service based on the terminal to the UICC;
judging whether the current terminal supports the realization of NFC services based on the terminal;
if so, determining whether related information of each application for realizing the NFC service based on the terminal is required to be provided according to the first command, if so, acquiring terminal NFC capability information of an application list for supporting the NFC service based on the terminal and realizing the NFC service based on the terminal, and if not, acquiring terminal NFC capability information of an application list for supporting the NFC service based on the terminal;
and if not, acquiring terminal NFC capability information that the terminal does not support the realization of the NFC service based on the terminal.
The terminal analyzes and processes the command after receiving the command, and determines that the command type and the command requirement are synchronous to the UICC based on the capability of the terminal to realize the NFC scheme; the terminal acquires whether the state of realizing the NFC scheme based on the terminal is supported, if not, the terminal directly generates a return response message to the UICC, if so, the terminal determines whether the application condition of realizing the NFC scheme based on the terminal still needs to be provided or not from the first command, if not, the terminal generates and returns the response message according to the acquired information, if so, the terminal continues to acquire an application list of using the NFC scheme based on the terminal, and the acquired information generates the response message.
Further, the acquiring the application list for implementing the NFC service based on the terminal includes:
the method comprises the steps that related information of each application for realizing the NFC service based on the terminal is required to be acquired from an NFC function module through a machine-card interface function module of the terminal, so that the NFC function module returns an application list for realizing the NFC service based on the terminal to the machine-card interface function module of the terminal, wherein the application list for realizing the NFC service based on the terminal comprises application data of each application for using the NFC service authorized or authorized to be inquired by the NFC function module and a corresponding state for using the NFC authorized, and the state for using the NFC authorized comprises unauthorized, authorized and authorized inquiry.
Acquiring an application list for realizing an NFC service scheme based on a terminal, wherein the step specifically comprises the steps that a terminal card interface function requires an NFC function to acquire an application state for realizing the NFC service based on the terminal, and NFC is required to provide the application list for realizing the NFC service by using the terminal; the NFC function returns to the terminal card interface function a list of applications using the NFC-based service, i.e. a list of applications authorized to be used by the NFC function or authorized to interrogate the use of NFC, including application data and a state authorized to use NFC.
By querying the 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 (i.e., whether the application is allowed to be inquired by the terminal before use) can be obtained through the history, all application data satisfying 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 for NFC capability, as shown in fig. 3, where the method includes:
step S1: the UICC requires the synchronous terminal to meet the requirement on whether the terminal supports the realization of the NFC service according to the service requirement, and the requirement comprises whether the terminal supports NFC or not and can also comprise that an application using NFC is provided if the terminal supports NFC;
step S2: the UICC generates a Get Capability on NFC command (the command structure is shown in table 1), requires the terminal to provide the condition whether the scheme for realizing the NFC service based on the terminal supports or not, and indicates whether the terminal application using the NFC needs to be provided or not;
step S3: the UICC sends a Get Capability on NFC command to the terminal;
step S4: the terminal analyzes and processes the command after receiving the command, and determines that the command type and the command requirement are the capability information for realizing the NFC service based on the terminal to the UICC synchronously;
step S5: the terminal acquires whether the condition of realizing the NFC service based on the terminal is supported, if not, the step goes to step S9, and if so, the subsequent steps are continued;
step S6: the terminal determines whether application information for realizing the NFC service based on the terminal is required to be provided or not from the command, if not, the step goes to step S9, and if so, the subsequent steps are continued;
step S7: the terminal card interface function requires the NFC function to acquire the application state of using the NFC service based on the terminal, and requires the NFC to provide an application list using the terminal NFC;
step S8: the NFC function returns an application list for realizing the NFC service based on the terminal to the terminal card interface function, namely the list of applications authorized to use or authorized to inquire to use the NFC by the NFC function comprises application data and a state authorized to use the NFC;
step S9: the Terminal generates a Terminal Response (for Get Capability on NFC) Response message (the message structure is shown in table 2), which includes an NFC Capability indication whether the Terminal supports NFC service implementation, and may also include an application list and a status of using the Terminal NFC;
step S10: the terminal sends a response message to the UICC;
step S11: and the UICC analyzes and processes the response message after receiving the response message, and synchronously obtains the NFC capability of the terminal based on the NFC service realized by the terminal and a possible application list and condition of the terminal NFC.
Fig. 4 is an architecture diagram of a UICC according to a fourth embodiment of the present disclosure, as shown in fig. 4, including:
a first generating module 11, configured to generate a first command according to a pre-expanded proactive command requirement after the UICC generates a requirement for the terminal to synchronize its NFC capability, the first command including a requirement for 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 obtains a requirement of the first command after analyzing the first command, obtains 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 and sends the response message to the UICC;
a first receiving module 13, configured to receive the response message;
and the processing module 14 is configured to parse and process the response message received by the first receiving module 13 to obtain the terminal NFC capability information.
Further, the terminal NFC capability information includes:
whether the terminal supports the realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal. Fig. 5 is an architecture 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, where the first command is generated by the UICC according to a pre-expanded active command requirement after a need arises to require the terminal to synchronize its NFC capability, and includes a requirement that the terminal provides its NFC capability information;
the obtaining module 22 is configured to obtain a requirement of the first command after analyzing the first command, and obtain the terminal NFC capability information according to the requirement of the first command;
the second generating module 23 is configured to generate a response message according to the acquired terminal NFC capability information and a preset requirement;
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 realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
The acquisition module 22 includes:
a determining unit configured to determine that a requirement of the first command is to synchronize a capability of implementing an NFC service based on the terminal to the UICC;
a judging unit configured to judge whether the current terminal supports the implementation of the NFC service based on the terminal;
the acquiring unit is configured to determine whether related information of each application for realizing the NFC service based on the terminal is required to be provided according to the first command if the judging unit judges that the terminal supports the NFC service based on the terminal, acquire terminal NFC capability information of an application list for supporting the NFC service based on the terminal and realizing the NFC service based on the terminal if the terminal supports the NFC service based on the terminal, and acquire terminal NFC capability information of the terminal for supporting the NFC service based on the terminal if the terminal does not support the NFC capability information; and
and if the judgment unit judges that the terminal does not support the NFC service, acquiring terminal NFC capability information that the terminal does not support the NFC service realized based on the terminal.
Further, the acquiring unit is specifically configured to:
the method comprises the steps that related information of each application for realizing the NFC service based on the terminal is required to be acquired from an NFC function module through a machine-card interface function module of the terminal, so that the NFC function module returns an application list for realizing the NFC service based on the terminal to the machine-card interface function module of the terminal, wherein the application list for realizing the NFC service based on the terminal comprises application data of each application for using the NFC service authorized or authorized to be inquired by the NFC function module and a corresponding state for using the NFC authorized, and the state for using the NFC authorized comprises unauthorized, authorized and authorized inquiry.
And acquiring an application list for realizing the NFC service based on the terminal from the terminal card interface function module.
The UICC and the terminal of the embodiment of the present disclosure are used to implement the NFC capability synchronization method in the first to third embodiments, so the description is simpler, and reference may be specifically made to the related description in the first to third embodiments of the method, and details are not described here again.
Furthermore, as shown in fig. 6, a sixth embodiment of the present disclosure further provides an electronic device, which includes 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 various possible NFC capability synchronization methods.
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.
In addition, the embodiments of the present disclosure also provide a computer-readable storage medium, in which computer-executable instructions are stored, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment executes the above-mentioned various possible methods.
Computer-readable media includes both 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. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC (Application Specific Integrated Circuit). Additionally, the ASIC may reside in user equipment. Of course, 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 that are employed to illustrate the principles of the present disclosure, and that the present disclosure is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the disclosure, and these are to be considered as the scope of the disclosure.

Claims (10)

1. A method for synchronizing Near Field Communication (NFC) capability is applied to a Universal Integrated Circuit Card (UICC), and comprises the following steps:
when the UICC generates a requirement for requiring the terminal to synchronize the NFC capability of the terminal, generating a first command according to a pre-expanded active command requirement, wherein the first command comprises the requirement for providing the NFC capability information of the terminal by the terminal;
sending the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC;
and receiving the response message, analyzing and processing the response message to acquire the NFC capability information of the terminal.
2. The method of claim 1, wherein the terminal NFC capability information comprises:
whether the terminal supports the realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
3. A synchronization method of Near Field Communication (NFC) capability is applied to a terminal, and the method comprises the following steps:
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 the UICC generates a requirement for the terminal to synchronize the NFC capability of the terminal, and the requirement comprises the requirement for the terminal to provide the NFC capability information;
analyzing the first command, 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 NFC capability information of the terminal according to a 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.
4. The method of claim 3, wherein the terminal NFC capability information comprises:
whether the terminal supports the realization of the NFC service based on the terminal and relevant information of each application realizing the NFC service based on the terminal.
5. The method according to claim 3 or 4, wherein the obtaining of the terminal NFC capability information according to the requirement of the first command comprises:
determining that a requirement of the first command is to synchronize a capability of implementing the NFC service based on the terminal to the UICC;
judging whether the current terminal supports the realization of NFC services based on the terminal;
if so, determining whether related information of each application for realizing the NFC service based on the terminal is required to be provided according to the first command, if so, acquiring terminal NFC capability information of an application list for supporting the NFC service based on the terminal and realizing the NFC service based on the terminal, and if not, acquiring terminal NFC capability information of an application list for supporting the NFC service based on the terminal;
and if not, acquiring terminal NFC capability information that the terminal does not support the realization of the NFC service based on the terminal.
6. The method of claim 5, wherein the obtaining the list of applications for implementing the NFC service based on the terminal comprises:
the method comprises the steps that related information of each application for realizing the NFC service based on the terminal is required to be acquired from an NFC function module through a machine-card interface function module of the terminal, so that the NFC function module returns an application list for realizing the NFC service based on the terminal to the machine-card interface function module of the terminal, wherein the application list for realizing the NFC service based on the terminal comprises application data of each application for using the NFC service authorized or authorized to be inquired by the NFC function module and a corresponding state for using the NFC authorized, and the state for using the NFC authorized comprises unauthorized, authorized and authorized inquiry.
7. A universal integrated circuit card, UICC, comprising:
the first generation module is arranged for generating a first command according to a pre-expanded active command requirement after the UICC generates a requirement for the terminal to synchronize the NFC capability of the terminal, wherein the first command comprises the requirement for the terminal to provide the NFC capability information;
the first sending module is configured to send the first command to the terminal, so that the terminal obtains the requirement of the first command after analyzing the first command, obtains the terminal NFC capability information according to the requirement of the first command, and generates a response message according to the obtained terminal NFC capability information and sends the response message to the UICC according to the preset requirement;
a first receiving module configured to receive the response message;
and the processing module is configured to analyze and process the response message received by the first receiving module so as to acquire the terminal NFC capability information.
8. A terminal, comprising:
a second receiving module, configured to receive a first command sent by a universal integrated circuit card UICC, where the first command is generated by the UICC according to a pre-expanded active command requirement after a need arises to require the terminal to synchronize its NFC capability, and includes a requirement for the terminal to provide its NFC capability information;
the acquisition module is configured to analyze the first command, acquire the requirement of the first command, and acquire the NFC capability information of the terminal according to the requirement of the first command;
the second generating module is configured to generate a response message according to the acquired terminal NFC capability information and a preset requirement;
and the second sending module is 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.
9. An electronic device, characterized in that it comprises a memory in which a computer program is stored and a processor which, when running the computer program stored by the memory, executes the near field communication, NFC, capability synchronization method as claimed in any of claims 1-2 and claims 3-6.
10. A computer-readable storage medium, comprising: computer program which, when run on a computer, causes the computer to perform the method of near field communication, NFC, capability synchronization of any of claims 1-2 and claims 3-6.
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 true CN113950036A (en) 2022-01-18
CN113950036B 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 (11)

* 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
US20160014594A1 (en) * 2014-07-09 2016-01-14 Oracle International Corporation Terminal read with smart card update list
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
US20180089434A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Preserving trust data during operating system updates of a secure element of an electronic device
CN110768696A (en) * 2018-07-26 2020-02-07 中国移动通信有限公司研究院 NFC SIM card identification method and device

Patent Citations (11)

* 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
US20160014594A1 (en) * 2014-07-09 2016-01-14 Oracle International Corporation Terminal read with smart card update list
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
US20180089434A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Preserving trust data during operating system updates of a secure element of an electronic 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

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN113950036B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US9603189B2 (en) Method and apparatus for multisim devices with embedded SIM functionality
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
WO2015175164A1 (en) Methods and apparatus to support globalplatform usage on an embedded uicc
CN109743722B (en) Network connection processing method and device
CN112738781B (en) Method, device, terminal, USIM and medium for initiating proximity service
CN111901793B (en) UICC application setting information management method and system, UICC smart card and terminal
EP3286934B1 (en) System and method for managing logical channels for accessing several virtual profiles in a secure element
US20150087235A1 (en) Communication Method and Apparatus for NFC Device and NFC Device
KR20050096930A (en) Communication between a smart card and a server
CN112004222A (en) USAT application matching management method, terminal, USIM and system
CN113950035B (en) Method, terminal and UICC for dynamically updating NFC capability
CN111741462A (en) Terminal application permission change acquisition method, terminal and USIM
CN113630762B (en) Information interaction method, USIM, mobile equipment and user terminal
CN113950036B (en) NFC capability synchronization method, UICC, terminal, equipment and medium
CN111901792B (en) UICC application setting information management method, system and terminal
CN108260119B (en) Mobile terminal, embedded SIM card and access method and device thereof
CN113242543B (en) USIM-based application control method, USIM, terminal and medium
CN108260120B (en) Mobile terminal, embedded SIM card and access method and device thereof
CN112367661B (en) USAT application matching implementation method, USIM, terminal, device and medium
CN113438632B (en) Implementation method for UICC to select NFC connection mode, terminal and UICC
CN112752247B (en) Short-distance service management method, device, terminal, USIM and medium
CN113840276A (en) 5G identifier hiding compatible configuration method, user identification module and terminal
CN113840275A (en) Method for confirming terminal session connection, USIM, terminal, device and medium
CN113556714B (en) Method and device for UICC to require terminal to search NFC equipment

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