NFC (Near Field Communication) route updating method and device, equipment and medium
By mounting eSIM on the NFC controller and obtaining its configuration status information, the problem that the existing NFC routing mechanism cannot adjust the routing table in real time is solved, and NFC routing table adjustment is achieved that is more flexible and close to the user's status, which is suitable for scenarios such as mobile payment and smart access control.
Patent Information
- Application Number
- CN202411671436.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-28
AI Technical Summary
The existing NFC routing mechanism cannot flexibly approach the user's real-time status and cannot adjust the routing table in real time.
By mounting eSIM on the physical interface of the NFC controller, eSIM is activated to establish a connection, obtain the eSIM configuration status information and send it to the device host, which updates the routing information based on this information.
It realizes more flexible and closer to the end user's instant state, and can provide smarter and more connected ecological services in scenarios such as mobile payment and smart access control.
Smart Images

Figure CN119545472A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of NFC technology, and in particular to an NFC routing update method, device, equipment and medium. Background Art
[0002] NFC (Near Field Communication) is a short-range wireless communication technology. A mobile terminal can identify and exchange data with another device through NFC.
[0003] In the current NFC routing mechanism, the routing table is negotiated between the contactless front end and the operating system of the mobile terminal. Adjusting the NFC routing table in this way cannot flexibly adapt to the user's immediate status. Summary of the invention
[0004] In order to solve the above technical problems, the present disclosure provides an NFC routing update method, apparatus, device and medium.
[0005] In a first aspect, an embodiment of the present disclosure provides an NFC routing update method, which is applied to an NFC controller. The method includes:
[0006] In response to receiving a discovery command sent by a device host, activating an eSIM mounted on a physical interface of the NFC controller to establish a connection with the eSIM;
[0007] Acquire the eSIM configuration status information sent by the eSIM through the physical interface, and send the eSIM configuration status information to the device host; wherein the device host updates routing information according to the eSIM configuration status information;
[0008] Receive the updated routing information returned by the device host.
[0009] In a second aspect, an embodiment of the present disclosure provides another NFC routing update method, which is applied to an eSIM. The method includes:
[0010] When the preset update conditions are met, the eSIM configuration status information is obtained;
[0011] Sending the eSIM configuration status information to the NFC controller;
[0012] The NFC controller sends the eSIM configuration status information to the device host, and the device host updates the routing information according to the eSIM configuration status information.
[0013] In a third aspect, an embodiment of the present disclosure provides an NFC routing update device, which is applied to an NFC controller. The method device:
[0014] an activation module, configured to activate the eSIM mounted on the physical interface of the NFC controller in response to receiving a discovery command sent by the device host, so as to establish a connection with the eSIM;
[0015] an acquisition module, configured to acquire the eSIM configuration status information sent by the eSIM through the physical interface, and send the eSIM configuration status information to the device host; wherein the device host updates the routing information according to the eSIM configuration status information;
[0016] The receiving module is used to receive the updated routing information returned by the device host.
[0017] In a fourth aspect, an embodiment of the present disclosure provides another NFC route update device, which is applied to an eSIM, and the device includes:
[0018] An acquisition module, used to acquire eSIM configuration status information when a preset update condition is met;
[0019] A sending module, used to send the eSIM configuration status information to the NFC controller;
[0020] The NFC controller sends the eSIM configuration status information to the device host, and the device host updates the routing information according to the eSIM configuration status information.
[0021] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including:
[0022] Device host, NFC controller and eSIM;
[0023] Wherein, the device host sends a discovery command to the NFC controller;
[0024] The NFC controller activates the eSIM mounted on the physical interface of the NFC controller in response to the discovery command to establish a connection with the eSIM;
[0025] When the eSIM meets a preset update condition, the eSIM obtains eSIM configuration status information and sends the eSIM configuration status information to the NFC controller;
[0026] The NFC controller obtains the eSIM configuration status information through the physical interface, and sends the eSIM configuration status information to the device host;
[0027] The device host updates routing information according to the eSIM configuration status information, and sends the updated routing information to the NFC controller;
[0028] The NFC controller receives the updated routing information.
[0029] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the NFC routing update method described in any one of the above aspects is implemented.
[0030] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages: the NFC controller receives a discovery command sent by the device host, activates the eSIM mounted on the physical interface of the NFC controller to establish a connection with the eSIM, obtains the eSIM configuration status information sent by the eSIM through the physical interface, and sends the eSIM configuration status information to the device host, and the device host updates the routing information according to the eSIM configuration status information and returns it to the NFC controller. Therefore, by designing a group of service interfaces, the eSIM can publish the eSIM configuration status information through the group of service interfaces, and the device host updates the routing information according to the eSIM configuration status information and sends it to the NFC controller, thereby realizing a more flexible NFC routing table adjustment that is closer to the instant status of the end user. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0033] Figure 1 A schematic diagram of a flow chart of an NFC routing update method provided in an embodiment of the present disclosure;
[0034] Figure 2 A flowchart of another NFC routing update method provided by an embodiment of the present disclosure;
[0035] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0038] First, the terms used in the present disclosure are explained.
[0039] NFC (Near Field Communication);
[0040] NFCEE (NFC Execution Environments);
[0041] NCI (NFC Controller Interface);
[0042] eSIM (Subscriber Identity Module);
[0043] eSE (Secure Element, embedded security element);
[0044] UICC (Universal Integrated Circuit Card);
[0045] DH (Device Host).
[0046] The NFC controller side is described below.
[0047] Figure 1 This is a flow chart of an NFC routing update method provided in an embodiment of the present disclosure. The method provided in an embodiment of the present disclosure can be executed by an NFC routing update device, which can be implemented in software and / or hardware and can be integrated on any electronic device with computing capabilities.
[0048] like Figure 1 As shown, the NFC routing update method provided by the embodiment of the present disclosure may include:
[0049] Step 101, in response to receiving a discovery command sent by a device host, activating an eSIM mounted on a physical interface of an NFC controller to establish a connection with the eSIM.
[0050] The method of the embodiment of the present disclosure is applied to an NFC controller.
[0051] In this embodiment, the device host sends a discovery command to the NFC controller. When the NFC controller receives the discovery command, it executes the NFCEE discovery process and activates the eSIM mounted on the physical interface of the NFC controller to establish a connection with the eSIM.
[0052] Optionally, during the NFCEE discovery process, the NFC controller requests activation of the eSIM mounted on the physical interface of the NFC controller. In response to the activation of the eSIM mounted on the physical interface of the NFC controller, the device host sends a connection creation command, and the NFC controller establishes a logical connection according to the connection creation command, so that the device host and the eSIM transmit data through the logical connection, so that the device host can receive one or more eSIM configuration status information (eSIMProfile status information) sent by the eSIM.
[0053] As an example, the discovery command is NFCEE_DISCOVER_CMD. After receiving the discovery command, the NFC controller executes the NFCEE discovery process. During the NFCEE discovery process, the NFC controller supports trying to activate one or more NFCEEs of type NFCEE-eSIM mounted on the physical interface on each of its own physical interfaces. In this example, if the activation is successful, an identifier is assigned to the activated eSIM, and the activation result is notified to the device host by means of NFCEE_DISCOVER_RSP response and NFCEE_DISCOVER_NTF notification. Among them, NFCEE_DISCOVER_RSP response and NFCEE_DISCOVER_NTF notification are extended on the basis of the NCI standard to add a dedicated TLV (TagLengthValue, a communication protocol) to include the support capability information of the eSIM configuration status information obtained from the eSIM during the activation process.
[0054] Optionally, the eSIM can be connected to the NFC controller through a first physical interface or through a second physical interface, wherein the first physical interface is a separate physical interface, corresponding to the case where the eSE and eSIM are two independent chips, and the second physical interface is a physical interface shared with the eSE, corresponding to the case where the eSE and eSIM are integrated into one chip.
[0055] Optionally, in response to receiving a connection close command from the device host, the logical connection is closed.
[0056] The NFC controller supports the device host to activate or deactivate the eSIM through the NFCEE_MODE_SET_CMD command, response and notification to achieve opening or closing. After activating the specified eSIM, the device host establishes a dedicated logical connection through the CORE_CONN_CREATE_CMD command and response to receive one or more eSIM configuration status information sent by the eSIM through the logical connection. When the eSIM configuration status information is no longer received, the dedicated logical connection can be closed through the CORE_CONN_CLOSE_CMD command and response.
[0057] Further, after requesting to activate the eSIM mounted on the physical interface of the NFC controller, the NFC controller receives a response message sent by the eSIM to the NFC controller, wherein the response message states whether the eSIM is a specified type that supports NFCEE. Further, when the response message indicates that the eSIM is a specified type that supports NFCEE, the NFC controller performs the steps of activating and establishing a logical connection.
[0058] As an example, in the case where eSE and eSIM are two independent chips, the eSIM is provided with an operating system, which supports sending response information to the NFC controller during the NFCEE discovery process. The response information declares whether the eSIM is an NFCEE-eSIM type that supports NFCEE, and declares specific support capability information.
[0059] As another example, in the case where eSE and eSIM are integrated into one chip, the eSIM is provided with an operating system that supports sending a response message to the NFC controller during the NFCEE discovery process. The response message declares whether the eSIM is an NFCEE-eSIM type that supports NFCEE, as well as specific support capability information. Among them, if the eSIM does not support NFCEE, no statement is made in the response message according to the traditional eSE operating system, or it is declared as an ordinary eSE. If the eSIM supports NFCEE, the eSIM and the NFC controller complete the physical interface activation process and the logical connection establishment process during the NFCEE discovery process.
[0060] The operating system is, for example, a COS (Cllip Operating System) operating system.
[0061] Step 102: Obtain eSIM configuration status information sent by the eSIM through the physical interface, and send the eSIM configuration status information to the device host.
[0062] In this embodiment, the eSIM may pre-set an update condition, and when the update condition is met, the eSIM obtains the eSIM configuration status information and sends the eSIM configuration status information to the NFC controller. The update condition may be set as needed.
[0063] In one embodiment of the present disclosure, obtaining eSIM configuration status information sent by the eSIM through a physical interface includes: obtaining first eSIM configuration status information associated with the embedded applet and sent by the eSIM.
[0064] Among them, the operating system of eSIM supports the applet code embedded in the eSIM configuration to subscribe to the publishing service of eSIM configuration status information to the eSIM operating system by calling a specific Java method. The eSIM operating system returns an object instance of the publishing service to the embedded applet. The embedded applet can publish the eSIM configuration status information it wants to send to the NFC controller by calling the corresponding method of the object when the update conditions are met. For example, the eSIM configuration status information includes the identifier of the embedded applet itself, the authentication counter related to the running status of the configuration, etc. Furthermore, after the NFC controller receives the eSIM configuration status information, it sends the eSIM configuration status information to the device host through the logical connection established with the device host. The device host updates the routing requirements based on the eSIM configuration status information and returns it to the NFC controller.
[0065] In one embodiment of the present disclosure, obtaining the eSIM configuration status information sent by the eSIM through the physical interface includes: obtaining the second eSIM configuration status information associated with the functional component sent by the eSIM. The functional component includes, for example, ISD-R (root security domain), ECASD (Embedded UICC Control Authority Security Domain), Profile Policy Enabler, and other components.
[0066] Among them, in addition to implementing standard eSIM functions, the functional component can also subscribe to the publishing service of eSIM configuration status information from the eSIM operating system by calling specific Java methods. The eSIM operating system returns an object instance of the publishing service to the functional component. The functional component can publish the eSIM configuration status information it wants to send to the NFC controller by calling the corresponding method of the object when the update conditions are met. For example, the eSIM configuration status information includes the download / delete / activate / deactivate operation results of the eSIM configuration currently executed by the functional component. Furthermore, after receiving the eSIM configuration status information, the NFC controller sends the eSIM configuration status information to the device host through the logical connection established with the device host. The device host updates the routing requirements based on the eSIM configuration status information and returns it to the NFC controller.
[0067] In one embodiment of the present disclosure, the NFC controller receives the state change information of the eSIM based on the business logic, and records the state change information as a decision basis for the execution of the routing table resolution, and / or notifies the device host of the state change information. The state change information includes but is not limited to the number of calls within a specified time period being greater than a threshold, etc. When the state change information of the eSIM based on the business logic is detected, the NFC controller can notify the device host of the state change information, and / or the NFC controller can record the state change information as one of the decision bases for the execution of the routing table resolution.
[0068] Step 103: Receive updated routing information returned by the device host.
[0069] In this embodiment, the device host updates the routing information according to the eSIM configuration status information. For example, the device host sends new listening mode configuration information to the NFC controller according to the business rule requirements, and / or sends new radio frequency communication configuration information to the NFC controller, wherein the NFC controller receives the new listening mode configuration information returned by the device host, and / or receives the new radio frequency communication configuration information returned by the device host. In turn, the NFC controller can adapt to changes in the eSIM configuration status information.
[0070] The device host determines new monitoring mode configuration information and / or new radio frequency communication configuration information according to the eSIM configuration status information.
[0071] As an example, after receiving the eSIM configuration status information each time, the device host sends the latest version of the listening mode configuration information to the NFC controller according to the business rules to adapt to the changes in the eSIM configuration status information. The method of sending to the NFC controller can adopt an extended standard NCI instruction or a newly defined dedicated NCI instruction.
[0072] As another example, after receiving the eSIM configuration status information each time, the device host sends the latest version of the radio frequency communication configuration information to the NFC controller according to the business rules to adapt to the changes in the eSIM configuration status information. The method of sending to the NFC controller can adopt an extended standard NCI instruction or a newly defined dedicated NCI instruction.
[0073] According to the technical solution of the embodiment of the present disclosure, the NFC controller receives a discovery command sent by the device host, activates the eSIM mounted on the physical interface of the NFC controller to establish a connection with the eSIM, obtains the eSIM configuration status information sent by the eSIM through the physical interface, and sends the eSIM configuration status information to the device host. The device host updates the routing information according to the eSIM configuration status information and returns it to the NFC controller. Therefore, by designing a group of service interfaces, the eSIM can publish the eSIM configuration status information through the group of service interfaces, so that the device host updates the routing information according to the eSIM configuration status information and sends it to the NFC controller, thereby realizing a more flexible NFC routing table adjustment that is closer to the instant status of the end user. In NFC card swiping, card reading and other scenarios, the user status information controlled by both parties in the payment field and mobile communication field is fully utilized and integrated, so as to provide users with a smarter and more connected ecological service. It can be widely used in mobile payment, smart access control and other industry applications involving identity recognition.
[0074] The eSIM side is described below.
[0075] Based on the above embodiments, Figure 2 A flow chart of another NFC routing update method provided by an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the method includes:
[0076] Step 201: When a preset update condition is met, eSIM configuration status information is obtained.
[0077] The method of the embodiment of the present disclosure is applied to eSIM.
[0078] In this embodiment, the NFC controller responds to receiving a discovery command sent by the device host, activating the eSIM mounted on the physical interface of the NFC controller to establish a connection with the eSIM. The eSIM can pre-set update conditions. When the update conditions are met, the eSIM obtains the eSIM configuration status information and sends the eSIM configuration status information to the NFC controller. The update conditions can be set as needed.
[0079] Step 202: Send the eSIM configuration status information to the NFC controller.
[0080] The NFC controller sends the eSIM configuration status information to the device host, and the device host updates the routing information according to the eSIM configuration status information.
[0081] In one embodiment of the present disclosure, the eSIM includes an embedded applet and an operating system, and sends the eSIM configuration status information to the NFC controller, including: the embedded applet subscribes to a publishing service from the operating system, the operating system returns an object instance of the publishing service to the embedded applet, and then, the embedded applet calls a corresponding method based on the object instance, and sends the first eSIM configuration status information that meets the update condition to the NFC controller.
[0082] The first eSIM configuration status information is the eSIM configuration status information associated with the embedded applet, including, for example, the identifier of the embedded applet itself, an authentication counter related to the configuration running status, and the like.
[0083] In one embodiment of the present disclosure, an eSIM includes an operating system and multiple functional components, and sends eSIM configuration status information to an NFC controller, including: for each functional component, the functional component subscribes to a publishing service from the operating system, the operating system returns an object instance of the publishing service to the functional component, and then the functional component calls a corresponding method based on the object instance to send second eSIM configuration status information that meets the update condition to the NFC controller.
[0084] The second eSIM configuration status information is the eSIM configuration status information associated with the functional component, for example, including the download / delete / activate / deactivate operation result of the eSIM configuration currently executed by the functional component.
[0085] According to the technical solution of the embodiment of the present disclosure, when the preset update conditions are met, the eSIM obtains the eSIM configuration status information and sends it to the NFC controller, the NFC controller sends the eSIM configuration status information to the device host, the device host updates the routing information according to the eSIM configuration status information and returns it to the NFC controller, thereby, by designing a group of service interfaces, the eSIM can publish the eSIM configuration status information through the group of service interfaces, so that the device host updates the routing information according to the eSIM configuration status information and sends it to the NFC controller, thereby realizing a more flexible NFC routing table adjustment that is closer to the real-time status of the end user, and in NFC card swiping, card reading and other scenarios, fully utilizing and integrating the user status information controlled by both parties in the payment field and mobile communication field, so as to provide users with a smarter and more connected ecological service, which can be widely used in mobile payment, smart access control and other industry applications involving identity recognition.
[0086] Based on the above embodiments, Figure 3A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the electronic device includes: a device host, an NFC controller and an eSIM.
[0087] The device host sends a discovery command to the NFC controller.
[0088] In response to the discovery command, the NFC controller activates the eSIM mounted on the physical interface of the NFC controller to establish a connection with the eSIM.
[0089] When the eSIM meets the preset update conditions, it obtains the eSIM configuration status information and sends the eSIM configuration status information to the NFC controller.
[0090] The NFC controller obtains the eSIM configuration status information through the physical interface and sends the eSIM configuration status information to the device host.
[0091] The device host updates the routing information according to the eSIM configuration status information and sends the updated routing information to the NFC controller.
[0092] The NFC controller receives the updated routing information.
[0093] In this embodiment, the electronic device may be a mobile terminal or other NFC-enabled device. For example, when the user's location changes to another region, the eSIM sends the eSIM configuration status information to the NFC controller, and the NFC controller sends the eSIM configuration status information to the device host so that the device host can update the routing requirements, such as inconsistent counters between different regions, etc., automatically switch the NFC route when the eSIM changes the region, and then the device host sends the updated routing information to the NFC controller. By designing a set of service interfaces, both physically independent or software-isolated eSE and eSIM can publish the eSIM configuration status information through the set of service interfaces. On the basis of the original NFC product, by measuring the installation / deletion / activation / deactivation status information of the current eSIM configuration during the NFC routing mechanism, the NFC controller can realize more flexible and more close to the end user's instant status NFC routing table adjustment in NFC card swiping, card reading and other scenarios.
[0094] The embodiment of the present disclosure also provides an NFC route updating device, which includes: an activation module, an acquisition module and a receiving module.
[0095] The activation module is used to activate the eSIM mounted on the physical interface of the NFC controller in response to receiving a discovery command sent by the device host to establish a connection with the eSIM;
[0096] An acquisition module, used to acquire the eSIM configuration status information sent by the eSIM through the physical interface, and send the eSIM configuration status information to the device host; wherein the device host updates the routing information according to the eSIM configuration status information;
[0097] The receiving module is used to receive the updated routing information returned by the device host.
[0098] In one embodiment of the present disclosure, the activation module is specifically used to:
[0099] During the NFCEE discovery process, request to activate the eSIM mounted on the physical interface of the NFC controller;
[0100] In response to activation of the eSIM mounted on the physical interface of the NFC controller, a logical connection is established according to a connection creation command of the device host, so that the device host and the eSIM perform data transmission through the logical connection;
[0101] The device also includes:
[0102] The closing module is used to close the logical connection in response to receiving a connection closing command from the device host.
[0103] In one embodiment of the present disclosure, the device further includes:
[0104] A response module, used to receive a response message sent by the eSIM to the NFC controller; the response message declares whether the eSIM is a specified type that supports NFCEE;
[0105] Wherein, when the response information indicates that the eSIM is of a specified type that supports NFCEE, the steps of activating and establishing a logical connection are performed.
[0106] In one embodiment of the present disclosure, the device further includes:
[0107] A state change processing module, used to receive state change information of the eSIM based on business logic;
[0108] The state change information is recorded as a decision basis for executing routing table resolution, and / or the state change information is notified to the device host.
[0109] In one embodiment of the present disclosure, the acquisition module is specifically used to:
[0110] Obtaining first eSIM configuration status information associated with the embedded mini-program sent by the eSIM; and / or,
[0111] Obtain second eSIM configuration state information associated with the functional component sent by the eSIM.
[0112] In one embodiment of the present disclosure, the receiving module is specifically used for:
[0113] receiving new monitoring mode configuration information returned by the device host; and / or,
[0114] Receive new radio frequency communication configuration information returned by the device host;
[0115] The device host determines new monitoring mode configuration information and / or new radio frequency communication configuration information according to the eSIM configuration status information.
[0116] The embodiment of the present disclosure further provides another NFC route updating device, which includes: an acquiring module and a sending module.
[0117] Wherein, the acquisition module is used to obtain the eSIM configuration status information when the preset update conditions are met;
[0118] A sending module, used to send the eSIM configuration status information to the NFC controller;
[0119] The NFC controller sends the eSIM configuration status information to the device host, and the device host updates the routing information according to the eSIM configuration status information.
[0120] In one embodiment of the present disclosure, the eSIM includes an embedded applet and an operating system, and the sending module is specifically used to:
[0121] The embedded applet subscribes to the publishing service of the operating system;
[0122] The operating system returns the object instance of the published service to the embedded applet;
[0123] The embedded applet calls the corresponding method based on the object instance and sends the first eSIM configuration status information that meets the update condition to the NFC controller;
[0124] The first eSIM configuration status information is the eSIM configuration status information associated with the embedded mini-program.
[0125] In one embodiment of the present disclosure, the eSIM includes an operating system and multiple functional components, and the sending module is specifically used to:
[0126] For each functional component, the functional component subscribes to the operating system for publishing services;
[0127] The operating system returns the object instance of the published service to the functional component;
[0128] The functional component calls a corresponding method based on the object instance, and sends the second eSIM configuration status information that meets the update condition to the NFC controller;
[0129] The second eSIM configuration status information is eSIM configuration status information associated with the functional component.
[0130] The NFC route update device provided in the embodiment of the present disclosure can execute any NFC route update method provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in the embodiment of the device of the present disclosure can refer to the description in any method embodiment of the present disclosure.
[0131] The present disclosure also provides an electronic device, which includes one or more processors and a memory. The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. The memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on a computer-readable storage medium, and the processor may run the program instructions to implement the method of the above embodiment of the present disclosure and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0132] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected through a bus system and / or other forms of connection mechanisms. In addition, the input device may also include, for example, a keyboard, a mouse, etc. The output device may output various information to the outside, including determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, and a communication network and a remote output device connected thereto, etc. In addition, according to the specific application, the electronic device may also include any other appropriate components such as a bus, an input / output interface, etc.
[0133] In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.
[0134] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0135] In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.
[0136] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0137] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0138] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A NFC routing update method, characterized in that: Applied to an NFC controller, the method comprises: In response to receiving a discovery command sent by a device host, activating an eSIM mounted on a physical interface of the NFC controller to establish a connection with the eSIM; Acquire the eSIM configuration status information sent by the eSIM through the physical interface, and send the eSIM configuration status information to the device host; wherein the device host updates routing information according to the eSIM configuration status information; Receive the updated routing information returned by the device host.
2. The method according to claim 1, characterized in that The activating the eSIM mounted on the physical interface of the NFC controller to establish a connection with the eSIM includes: During the NFCEE discovery process, request activation of the eSIM mounted on the physical interface of the NFC controller; In response to activation of the eSIM mounted on the physical interface of the NFC controller, establishing a logical connection according to a connection creation command of the device host, so that the device host and the eSIM perform data transmission through the logical connection; The method further comprises: In response to receiving a connection closing command from the device host, the logical connection is closed.
3. The method according to claim 2, characterized in that After the request to activate the eSIM mounted on the physical interface of the NFC controller, the method further includes: Receiving a response message sent by the eSIM to the NFC controller; the response message stating whether the eSIM is a specified type that supports NFCEE; Wherein, when the response information indicates that the eSIM is of a specified type supporting NFCEE, the steps of activating and establishing a logical connection are performed.
4. The method according to claim 1, characterized in that The method further comprises: Receiving status change information of the eSIM based on service logic; The state change information is recorded as a decision basis for executing routing table resolution, and / or the state change information is notified to the device host.
5. The method according to claim 1, characterized in that The obtaining, through the physical interface, the eSIM configuration status information sent by the eSIM includes: Obtaining first eSIM configuration status information associated with the embedded applet sent by the eSIM; and / or, Acquire second eSIM configuration state information associated with the functional component and sent by the eSIM.
6. The method according to claim 1, characterized in that The receiving the updated routing information returned by the device host includes: receiving new monitoring mode configuration information returned by the device host; and / or, Receiving new radio frequency communication configuration information returned by the device host; The device host determines the new monitoring mode configuration information and / or the new radio frequency communication configuration information according to the eSIM configuration status information.
7. A NFC routing update method, characterized in that: Applied to eSIM, the method comprises: When the preset update conditions are met, the eSIM configuration status information is obtained; Sending the eSIM configuration status information to the NFC controller; The NFC controller sends the eSIM configuration status information to the device host, and the device host updates the routing information according to the eSIM configuration status information.
8. The method according to claim 7, characterized in that The eSIM includes an embedded applet and an operating system, and sending the eSIM configuration status information to the NFC controller includes: The embedded applet subscribes to and publishes services to the operating system; The operating system returns the object instance of the publishing service to the embedded applet; The embedded applet calls a corresponding method based on the object instance, and sends the first eSIM configuration status information that meets the update condition to the NFC controller; The first eSIM configuration status information is the eSIM configuration status information associated with the embedded applet.
9. The method according to claim 7, characterized in that The eSIM includes an operating system and multiple functional components, and sending the eSIM configuration status information to the NFC controller includes: For each functional component, the functional component subscribes to a publishing service from the operating system; The operating system returns the object instance of the publishing service to the functional component; The functional component calls a corresponding method based on the object instance, and sends the second eSIM configuration status information that meets the update condition to the NFC controller; The second eSIM configuration status information is eSIM configuration status information associated with the functional component.
10. An electronic device, characterized in that: include: Device host, NFC controller and eSIM; Wherein, the device host sends a discovery command to the NFC controller; The NFC controller activates the eSIM mounted on the physical interface of the NFC controller in response to the discovery command to establish a connection with the eSIM; When the eSIM meets a preset update condition, the eSIM obtains eSIM configuration status information and sends the eSIM configuration status information to the NFC controller; The NFC controller obtains the eSIM configuration status information through the physical interface, and sends the eSIM configuration status information to the device host; The device host updates routing information according to the eSIM configuration status information, and sends the updated routing information to the NFC controller; The NFC controller receives the updated routing information.