CN112565459B - Internet of things equipment and method for managing profile in eUICC card - Google Patents

Internet of things equipment and method for managing profile in eUICC card Download PDF

Info

Publication number
CN112565459B
CN112565459B CN202011574932.9A CN202011574932A CN112565459B CN 112565459 B CN112565459 B CN 112565459B CN 202011574932 A CN202011574932 A CN 202011574932A CN 112565459 B CN112565459 B CN 112565459B
Authority
CN
China
Prior art keywords
internet
profile
library
communication module
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011574932.9A
Other languages
Chinese (zh)
Other versions
CN112565459A (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.)
Shenzhen Jieruilian Technology Co ltd
Original Assignee
Shenzhen Jieruilian Technology 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 Shenzhen Jieruilian Technology Co ltd filed Critical Shenzhen Jieruilian Technology Co ltd
Priority to CN202011574932.9A priority Critical patent/CN112565459B/en
Publication of CN112565459A publication Critical patent/CN112565459A/en
Application granted granted Critical
Publication of CN112565459B publication Critical patent/CN112565459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides an Internet of things device and a method for managing profile in an eUICC card. The Internet of things equipment comprises an eUICC card and an Internet of things communication module, wherein a Software Development Kit (SDK) for managing profile is integrated in the Internet of things equipment, the SDK is integrated outside the Internet of things communication module, and the SDK is integrated in a library function mode and comprises an agent library and an LPA library; the agent library is used for acquiring an activation code AC for downloading the profile from the service server; the LPA library is used for acquiring profile corresponding to the AC from the SMDP + according to the acquired AC; and the SDK sends the acquired profile to the Internet of things communication module. The management of the profile is realized through the integration of the SDK outside the module, so that the equipment of the Internet of things only needs to be adapted to the SDK, the participation of module manufacturers is reduced, and the adaptation efficiency is improved.

Description

Internet of things equipment and method for managing profile in eUICC card
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to a management method of code numbers (profiles) in Internet of things equipment and an Embedded Universal Integrated Circuit Card (eUICC).
Background
With the rapid development of the communication technology of the internet of things, the internet of things equipment plays an important role in a plurality of fields such as remote intelligent meter reading, vending machines, internet of vehicles, positioning and tracking and the like. The internet of things equipment can be connected with a cellular mobile communication network provided by a mobile operator through a code number (profile) written in the eUICC card to realize information interaction, so that the profile in the eUICC card needs to be managed to optimize the product performance.
At present, the management of the profile in the eUICC card by the equipment of the Internet of things is centralized in the communication module of the Internet of things equipment, so that each adaptation needs the equipment manufacturer of the Internet of things, the communication module manufacturer of the Internet of things and the profile provider to participate together, the adaptation period is long, and the equipment manufacturer of the Internet of things needs to modify own programs to adapt to new schemes, such as a sleep mode, a dialing mode and the like.
Disclosure of Invention
The embodiment of the invention provides an Internet of things device and a profile management method in an eUICC card, and aims to solve the problem of low adaptation efficiency of the existing method.
In a first aspect, an embodiment of the present invention provides an internet of things device, including: the system comprises an eUICC card and an Internet of things communication module, wherein the eUICC card is used for storing and managing profile resources, and the Internet of things communication module is used for providing communication service for Internet of things equipment;
a Software Development Kit (SDK) for managing profile is integrated in the Internet of things equipment, and the SDK is integrated outside the Internet of things communication module;
the SDK is communicated with the Internet of things communication module through an AT instruction;
the eUICC card and the Internet of things communication module are communicated by an Application Protocol Data Unit (APDU);
the SDK is integrated in the form of library functions and comprises an agent library used for communicating with a service server and a local code number assistant (LPA) library used for communicating with a code number management data preparation platform (SMDP +);
the agent library is used for acquiring an activation code AC for downloading the profile from the service server;
the LPA library is used for acquiring a profile corresponding to the AC from the SMDP + according to the acquired AC;
the SDK is used for sending the obtained profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
the Internet of things communication module is used for writing the acquired profile into the eUICC card by adopting the APDU matched with the eUICC card.
Optionally, a client application is further integrated in the internet of things device, and the client application communicates with the SDK through a socket;
the client application is used for sending an operation instruction to the SDK through the socket, wherein the operation instruction comprises a deletion instruction for deleting the profile, a switching instruction for switching the profile, a query instruction for querying the profile, an activation instruction for enabling the profile and a deactivation instruction for deactivating the profile;
the SDK is used for sending the operation instruction to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
and the Internet of things communication module is used for executing corresponding operation on the profile in the eUICC card by adopting the APDU matched with the eUICC card according to the operation instruction.
Optionally, when the internet of things device adopts a Linux operating system, the SDKs are integrated in the form of a library function or a so library function;
the agent library is realized by calling a system Application Program Interface (API) of the Linux operating system, and the state of the Internet of things communication module is acquired through an AT instruction;
the LPA library is realized by calling an open source protocol library of Linux, and an ECM dialing mode or a Gobinet dialing mode is adopted, wherein the open source protocol library comprises: the Mosquitto library and the OpenSSL library.
Optionally, when the internet of things device adopts an RTOS operating system, the SDK is integrated in the form of a lib library function;
the agent library is realized by calling a system Application Program Interface (API) of the RTOS, and the state of the Internet of things communication module is obtained through an AT instruction;
the LPA library is realized by calling an Internet of things communication module protocol stack, and the Internet of things communication module protocol stack comprises a message queue telemetry transmission protocol MQTT and a secure socket layer hypertext transfer protocol HTTPS.
In a second aspect, an embodiment of the present invention provides a method for managing profile in an eUICC card, which is applied to an internet of things device, where the internet of things device includes the eUICC card and an internet of things communication module, a software development kit SDK for managing profile is integrated in the internet of things device, the SDK is integrated outside the internet of things communication module, and the SDK is integrated in a library function form and includes an agent library for communicating with a service server and a local code number assistant LPA library for communicating with a code number management data preparation platform SMDP +; the method comprises the following steps:
acquiring an activation code AC for downloading the profile from a service server by calling a proxy library communicated with the service server;
according to the obtained AC, obtaining a profile corresponding to the AC from the SMDP + by calling an LPA library which is communicated with the SMDP +;
the SDK sends the obtained profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
and writing the obtained profile into the eUICC card from the Internet of things communication module by adopting an Application Protocol Data Unit (APDU) matched with the eUICC card.
Optionally, a client application is further integrated in the internet of things device, and the client application communicates with the SDK through a socket, and the method further includes:
the client application sends an operation instruction to the SDK through a socket, wherein the operation instruction comprises a deletion instruction for deleting the profile, a switching instruction for switching the profile, a query instruction for querying the profile, an activation instruction for enabling the profile and a deactivation instruction for deactivating the profile;
the SDK sends the operation instruction to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
and the Internet of things communication module executes corresponding operation on the profile in the eUICC card by adopting the APDU matched with the eUICC card according to the operation instruction.
Optionally, after writing the obtained profile into the eUICC card, the method further includes: and closing the process related to the SDK.
Optionally, when the internet of things device adopts a Linux operating system, the SDKs are integrated in the form of a library function or a so library function;
the agent library is realized by calling a system Application Program Interface (API) of the Linux operating system, and the state of the Internet of things communication module is acquired through an AT instruction;
the LPA library is realized by calling an open source protocol library of Linux, and an ECM dialing mode or a Gobinet dialing mode is adopted, wherein the open source protocol library comprises: the Mosquitto library and the OpenSSL library.
Optionally, when the internet of things device adopts an RTOS operating system, the SDK is integrated in the form of a lib library function;
the agent library is realized by calling a system Application Program Interface (API) of the RTOS, and the state of the Internet of things communication module is obtained through an AT instruction;
the LPA library is realized by calling an Internet of things communication module protocol stack, and the Internet of things communication module protocol stack comprises a message queue telemetry transmission protocol MQTT and a secure socket layer hypertext transfer protocol HTTPS.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the method for managing profile in an eUICC card according to any one of the first aspect.
The internet of things equipment and the method for managing the profile in the eUICC card provided by the embodiment of the invention comprise the eUICC card and an internet of things communication module, wherein a Software Development Kit (SDK) for managing the profile is integrated in the internet of things equipment, the SDK is integrated outside the internet of things communication module, and the SDK is integrated in a library function mode and comprises an agent library and an LPA library; the agent library is used for acquiring an activation code AC for downloading the profile from the service server; the LPA library is used for acquiring profile corresponding to the AC from the SMDP + according to the acquired AC; and the SDK sends the acquired profile to the Internet of things communication module. The management of the profile is realized through the integration of the SDK outside the module, so that the equipment of the Internet of things only needs to be adapted to the SDK, the participation of module manufacturers is reduced, and the adaptation efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of an internet of things device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a method for managing profile in an eUICC card according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a method for managing profile in an eUICC card according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a third embodiment of a method for managing profile in an eUICC card according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another internet of things device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another internet of things device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
First, some terms involved in the present invention are briefly described:
the eUICC: a removable or non-removable UICC wireless enabled The removable and/or local management of Profiles in a secure way, The term orientations from "embedded UICC", a pluggable or embedded universal integrated circuit card, usually eSIM card, supports remote and local management of Profiles in a secure way.
Profile: a combination of data and applications to be rendered on an SIM or eUICC for the purpose of rendering services, a series of data and applications stored in the common SIM card and the eUICC card.
And (3) SDK: software Development Kit, Software Development Kit.
The AT commands: through the terminal adapter, the terminal device sends an AT command to control the functions of the Mobile station, and interacts with Global System for Mobile Communications (GSM) network services. The user can control the aspects of calling, short message, telephone book, data service, fax and the like through the AT instruction.
APDU: an Application Protocol Data Unit is a communication command format definition of an Application level in the SIM card.
SMDP +: subscription Manager Data provisioning Plus, Subscription management Data Preparation server, the main functions are to prepare Profile, encrypt, store and distribute the Profile to the specified EID securely. And binding an encrypted Profile, and safely issuing the Profile to the eUICC through the LPA.
LPA: local Profile Assistant, functions of which include assisting Profile downloading, Profile management (Profile enabling, Profile closing, Profile deleting, Profile information query), and providing a Profile management interface.
Socket: sockets, abstractions of endpoints that communicate bi-directionally between application processes on different hosts in a network. A socket is the end of a process's communication over a network and provides a mechanism for application layer processes to exchange data using a network protocol. In terms of the position, the socket uplink application process and the socket downlink network protocol stack are interfaces through which the application program communicates through the network protocol, and are interfaces through which the application program interacts with the network protocol root.
The Linux operating system comprises: a multi-user, multi-task, multi-thread and multi-CPU based Operating System based on Portable Operating System Interface (POSIX) and Unix.
API: application Programming Interface, Application Programming Interface.
MQTT: message queue remote sensing transmission is a Message protocol based on a publish-subscribe paradigm under the ISO standard and can be regarded as a "bridge for data transmission". It works on the TCP/IP suite and is a publish/subscribe messaging protocol designed for remote devices with poor hardware performance and in poor network conditions.
Mosquitto library: mosquitto is an open source message agent software using MQTT protocol, which is a very lightweight agent that can run on all devices from a single board computer to a full-featured server.
OpenSSL library: OpenSSL is a software library package of open source code, which can be used by applications to perform secure communications, avoiding eavesdropping, while confirming the identity of the conner at the other end. This package is widely used on web servers on the internet.
RTOS operating system: the Real Time Operating System is an Operating System that ensures that a specific function is completed within a certain Time limit.
HTTPS: hyper Text Transfer Protocol over Secure Socket Layer, which is an extension of the HTTP Protocol, is used for encrypted Secure transmission of information.
And (3) BIP: the Bearer Independent Protocol is used for Protocol Independent data transmission processing in GSM or other mobile devices.
ICCID: integrated Circuit Card Identifier, the code number of each SIM Card is uniquely identified by its internal ICCID, which is now used to identify not only the code number (Profile) of the SIM Card, but also the code number (Profile) in the eSIM Card.
PPP: Point-to-Point Protocol is a link layer Protocol designed for simple links that transmit data packets between peer units.
At present, the management of the internet of things equipment on the profile in the eUICC card can be actively initiated by a server side (smds) to manage the profile in the eUICC card, and operations such as deleting, issuing and enabling are performed. For example:
(1) the method comprises the steps that an eUICC card in the Internet of things equipment actively reports the online state to a server through short messages, and after the server receives the online state of the eUICC card, the server informs an SMDP + to send prepared profile to the eUICC card through a plurality of short messages;
(2) the eUICC card in the equipment of the Internet of things actively reports the online state to the server through a short message, and after the server receives the online state of the eUICC card, the server informs the SMDP + to issue the prepared profile to the communication module of the Internet of things through the HTTPS;
(3) the eUICC card in the equipment of the Internet of things actively reports the online state to the server through the short message, and after the server receives the online state of the eUICC card, the server informs the SMDP + to issue the prepared profile to the communication module of the Internet of things through CAT _ TP.
However, in the above three ways, the profile delivered by the short message channel will be crowded, and there will be multiple short messages delivered, each of which is charged, thus increasing the overhead of the user; the profile is issued by using HTTPS and CAT _ TP, which requires internet of things equipment manufacturers to support BIP protocols, but many internet of things equipment manufacturers do not support BIP protocols, and the above scheme of using HTTPS and CAT _ TP makes it inflexible to manage the profile in the eUICC card, only the server actively operates, the server does not know the running state of the equipment (internet of things equipment), and the operation of the equipment is too single and inflexible.
In order to improve the flexibility of the management of the internet of things equipment on the profile in the eUICC card, the management of the internet of things equipment on the profile in the eUICC card can be concentrated inside an internet of things communication module of the internet of things equipment at present, so that each time of adaptation needs an internet of things equipment manufacturer, an internet of things communication module manufacturer and a profile provider to participate together, the adaptation period is long, and the internet of things equipment manufacturer needs to modify own programs to adapt to new schemes, such as modifying a sleep mode, a dialing mode and the like.
In order to solve the above problems in the prior art, embodiments of the present invention provide an internet of things device and a method for managing profile in an eUICC card, which are described in detail below.
Before explaining a method for managing profile in an eUICC card according to an embodiment of the present invention, an example of an internet of things device according to an embodiment of the present invention is first described with reference to fig. 1. Fig. 1 is a schematic structural diagram of an internet of things device according to an embodiment of the present invention, and as shown in fig. 1, the internet of things device may include: eUICC card and thing networking communication module.
The eUICC card can be used for storing and managing profile resources, and the Internet of things communication module can be used for providing communication service for the Internet of things equipment.
The SDK used for managing the profile is integrated in the Internet of things equipment, and the SDK is integrated outside the Internet of things communication module.
The SDK and the communication module of the Internet of things can communicate through the AT instruction.
The eUICC card and the Internet of things communication module can communicate by APDU.
The SDK is integrated in the form of library functions and can comprise an agent library used for communicating with the service server and a local code number assistant (LPA) library used for communicating with a code number management data preparation platform (SMDP +), wherein the agent library can be used for acquiring an Activation Code (AC) used for downloading the profile from the service server; the LPA library may be configured to obtain a profile corresponding to the AC from the SMDP + according to the obtained AC.
The SDK can be used for sending the acquired profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module.
The internet of things communication module can be used for writing the acquired profile into the eUICC card by adopting the APDU matched with the eUICC card.
The Internet of things equipment provided by the embodiment of the invention comprises an eUICC card and an Internet of things communication module, wherein a Software Development Kit (SDK) for managing profile is integrated in the Internet of things equipment, the SDK is integrated outside the Internet of things communication module, and the SDK is integrated in a library function mode and comprises an agent library and an LPA library; the agent library is used for acquiring an activation code AC for downloading the profile from the service server; the LPA library is used for acquiring profile corresponding to the AC from the SMDP + according to the acquired AC; and the SDK sends the acquired profile to the Internet of things communication module. The management of the profile is realized through the integration of the SDK outside the module, so that the equipment of the Internet of things only needs to be adapted to the SDK, the participation of module manufacturers is reduced, and the adaptation efficiency is improved.
Fig. 2 is a flowchart illustrating a first embodiment of a method for managing profile in an eUICC card according to an embodiment of the present invention, where the method is applied to the internet of things device shown in fig. 1, and as shown in fig. 1, the internet of things device includes the eUICC card and an internet of things communication module, a software development kit SDK for managing profile is integrated in the internet of things device, the SDK is integrated outside the internet of things communication module, and the SDK is integrated in a library function manner and includes an agent library for communicating with a service server and a local code number assistant LPA library for communicating with a code number management data preparation platform SMDP +. As shown in fig. 2, the method of this embodiment may include:
s201, obtaining an activation code AC for downloading the profile from the service server by calling the proxy library communicated with the service server.
And S202, acquiring the profile corresponding to the AC from the SMDP + by calling the LPA library which communicates with the SMDP + according to the acquired AC.
And S203, the SDK sends the acquired profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module.
And S204, writing the acquired profile into the eUICC card from the Internet of things communication module by adopting an Application Protocol Data Unit (APDU) matched with the eUICC card.
The method for managing the profile in the eUICC card is applied to equipment of the Internet of things, the equipment of the Internet of things comprises the eUICC card and a communication module of the Internet of things, an SDK (software development kit) for managing the profile is integrated in the equipment of the Internet of things, the SDK is integrated outside the communication module of the Internet of things and is integrated in a library function mode and comprises an agent library for communicating with a service server and a local code number assistant (LPA) library for communicating with an SMDP +, and an activation code AC for downloading the profile is acquired from the service server by calling the agent library for communicating with the service server; according to the obtained AC, acquiring a profile corresponding to the AC from the SMDP + by calling an LPA library which is communicated with the SMDP +; the SDK sends the obtained profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module; and writing the obtained profile into the eUICC card from the Internet of things communication module by adopting an Application Protocol Data Unit (APDU) matched with the eUICC card. The management of the profile is realized through the integration of the SDK outside the module, so that the equipment of the Internet of things only needs to be adapted to the SDK, the participation of module manufacturers is reduced, and the adaptation efficiency is improved.
As a realizable manner, a client application may be integrated into the internet of things device, and the client application and the SDK may communicate through a socket. On the basis of the first embodiment, fig. 3 is a flowchart illustrating a second embodiment of a method for managing profile in an eUICC card according to the embodiment of the present invention, as shown in fig. 3, after executing S204, the method of the embodiment may include:
s301, the client application sends an operation instruction to the SDK through the socket.
The operation instruction may include a delete instruction for deleting the profile, a switch instruction for switching the profile, a query instruction for querying the profile, an activation instruction for activating the profile, and a deactivation instruction for deactivating the profile.
And S302, the SDK sends the operation instruction to the Internet of things communication module by adopting the AT instruction matched with the Internet of things communication module.
And S303, the Internet of things communication module executes corresponding operation on the profile in the eUICC card by adopting the APDU matched with the eUICC card according to the operation instruction.
According to the method for managing the profile in the eUICC card, provided by the embodiment of the invention, the client application sends the operation instruction to the SDK through the socket, the SDK sends the operation instruction to the Internet of things communication module through the AT instruction matched with the Internet of things communication module, and the Internet of things communication module executes corresponding operation on the profile in the eUICC card through the APDU matched with the eUICC card according to the operation instruction, so that the client application can operate the relevant logic of the eUICC card more autonomously, for example, the relevant service can be started and stopped AT any time, and the flexibility of the management of the profile in the eUICC card by the Internet of things equipment is improved.
On the basis of the first embodiment, fig. 4 is a flowchart illustrating a third embodiment of a method for managing profile in an eUICC card according to the first embodiment of the present invention, where as shown in fig. 4, the method in this embodiment may include:
s401, the activation code AC for downloading the profile is obtained from the service server by calling the proxy library which is communicated with the service server.
And S402, acquiring the profile corresponding to the AC from the SMDP + by calling the LPA library which communicates with the SMDP + according to the acquired AC.
And S403, the SDK sends the acquired profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module.
And S404, writing the acquired profile into the eUICC card from the Internet of things communication module by using an Application Protocol Data Unit (APDU) matched with the eUICC card.
S405, closing the process related to the SDK.
According to the method for managing the profile in the eUICC card, provided by the embodiment of the invention, after the acquired profile is written into the eUICC card, the process related to the SDK is closed, so that system resources can be saved and power consumption can be reduced.
As a manner of implementation, fig. 5 is a schematic structural diagram of another internet of things device provided in the embodiment of the present invention, and when the internet of things device adopts a Linux operating system, as shown in fig. 5, the SDK may be integrated in the form of an a library function or an so library function; the agent library is realized by calling a system application program interface API of a Linux operating system (in concrete implementation, the agent library is realized by the API of the Linux operating system such as fread, fork and the like), and the state of the internet of things communication module is obtained through AT instructions (for example, the agent library is realized by common AT instruction sets such as AT + ICCID, AT + CGREG (returning to a GPRS network registration state), AT + CSQ (signal quality) and the like); the LPA library is realized by calling an open source protocol library of Linux, and an ECM dialing mode or a Gobinet dialing mode is adopted, wherein the open source protocol library comprises: the Mosquitto library and the OpenSSL library. And when the state of the Internet of things communication module is a ready state, executing corresponding operation of writing the acquired profile into the eUICC card from the Internet of things communication module.
As a possible implementation manner, fig. 6 is a schematic structural diagram of another internet of things device provided in the embodiment of the present invention, and when the internet of things device adopts an RTOS operating system, as shown in fig. 6, an SDK is integrated in the form of a lib library function; the agent library is realized by calling a system application program interface API of the RTOS (in specific implementation, the agent library can be realized by fread _ API and fork _ API), and the state of the Internet of things communication module is obtained through AT instructions (for example, the agent library is realized through common AT instruction sets such as AT + ICCID, AT + CGREG, AT + CSQ and AT + PPP); the LPA library is realized by calling an Internet of things communication module protocol stack, and the Internet of things communication module protocol stack comprises a message queue telemetry transmission protocol MQTT and a secure socket layer hypertext transfer protocol HTTPS.
By the method, the open source community of the eUICC card can be created. Linux and RTOS are the most common operating systems of the internet of things, and can provide packaged library functions, and system-related implementation can be implemented by a device side, so that an open-source eUICC community can be created together.
The method for managing profile in an eUICC card according to the embodiment of the present invention is described below by taking a specific implementation manner as an example, where the internet of things device is an Openwrt 4G router, and the Openwrt 4G router includes an eUICC card and a 4G module of ZTE 3630. A consumer orders a package to a service server; the service server provides an SDK corresponding to the Openwrt system, and the SDK may include: the system comprises an LPA.so, an agent.so, an h file and a c file, wherein the LPA.so provides functions of adding, deleting, modifying and querying a profile in an eUICC card, and the agent.so provides a function of communicating with a service server; the Internet of things equipment integrates the SDK provided by the service server into a program of the Internet of things equipment, and the SDK is independently programmed into an application program, such as rt _ app, and the client application can communicate with the rt _ app through a socket to operate the card; after the internet of things equipment orders the package, the card can be directly released (namely, the profile is written into the eUICC card from the internet of things communication module) only by calling the SDK.
In addition, corresponding to the internet of things device and the method for managing profile in the eUICC card provided in the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and the computer execution instruction can be executed by a processor to implement the method for managing profile in the eUICC card provided in the embodiment of the present invention.
Reference is made herein to various exemplary embodiments. However, those skilled in the art will recognize that changes and modifications may be made to the exemplary embodiments without departing from the scope hereof. For example, the various operational steps, as well as the components used to perform the operational steps, may be implemented in differing ways depending upon the particular application or consideration of any number of cost functions associated with operation of the system (e.g., one or more steps may be deleted, modified or incorporated into other steps).
Additionally, as will be appreciated by one skilled in the art, the principles herein may be reflected in a computer program product on a computer readable storage medium, which is pre-loaded with computer readable program code. Any tangible, non-transitory computer-readable storage medium may be used, including magnetic storage devices (hard disks, floppy disks, etc.), optical storage devices (CD-ROMs, DVDs, Blu Ray disks, etc.), flash memory, and/or the like. These computer program instructions may be loaded onto a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions which execute on the computer or other programmable data processing apparatus create means for implementing the functions specified. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including means for implementing the function specified. The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified.
While the principles herein have been illustrated in various embodiments, many modifications of structure, arrangement, proportions, elements, materials, and components particularly adapted to specific environments and operative requirements may be employed without departing from the principles and scope of the present disclosure. The above modifications and other changes or modifications are intended to be included within the scope of this document.
The foregoing detailed description has been described with reference to various embodiments. However, one skilled in the art will recognize that various modifications and changes may be made without departing from the scope of the present disclosure. Accordingly, the disclosure is to be considered in an illustrative and not a restrictive sense, and all such modifications are intended to be included within the scope thereof. Also, advantages, other advantages, and solutions to problems have been described above with regard to various embodiments. However, the benefits, advantages, solutions to problems, and any element(s) that may cause any element(s) to occur or become more pronounced are not to be construed as a critical, required, or essential feature or element of any or all the claims. As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, system, article, or apparatus. Furthermore, the term "coupled," and any other variation thereof, as used herein, refers to a physical connection, an electrical connection, a magnetic connection, an optical connection, a communicative connection, a functional connection, and/or any other connection.
Those skilled in the art will recognize that many changes may be made to the details of the above-described embodiments without departing from the underlying principles of the invention. Accordingly, the scope of the invention should be determined from the following claims.

Claims (10)

1. An internet of things device, comprising: the system comprises an eUICC card and an Internet of things communication module, wherein the eUICC card is used for storing and managing profile resources, and the Internet of things communication module is used for providing communication service for Internet of things equipment;
a Software Development Kit (SDK) for managing profile is integrated in the Internet of things equipment, and the SDK is integrated outside the Internet of things communication module;
the SDK is communicated with the Internet of things communication module through an AT instruction;
the eUICC card and the Internet of things communication module are communicated by an Application Protocol Data Unit (APDU);
the SDK is integrated in the form of library functions and comprises an agent library used for communicating with a service server and a local code number assistant (LPA) library used for communicating with a code number management data preparation platform (SMDP +);
the agent library is used for acquiring an activation code AC for downloading the profile from the service server;
the LPA library is used for acquiring a profile corresponding to the AC from the SMDP + according to the acquired AC;
the SDK is used for sending the obtained profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
the Internet of things communication module is used for writing the acquired profile into the eUICC card by adopting the APDU matched with the eUICC card.
2. The internet of things device of claim 1, further integrated with a client application, wherein the client application communicates with the SDK via a socket;
the client application is used for sending an operation instruction to the SDK through the socket, wherein the operation instruction comprises a deletion instruction for deleting the profile, a switching instruction for switching the profile, a query instruction for querying the profile, an activation instruction for enabling the profile and a deactivation instruction for deactivating the profile;
the SDK is used for sending the operation instruction to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
and the Internet of things communication module is used for executing corresponding operation on the profile in the eUICC card by adopting the APDU matched with the eUICC card according to the operation instruction.
3. The internet-of-things device of claim 1 or 2, wherein when the internet-of-things device employs a Linux operating system, the SDK is integrated in the form of an a library function or an so library function;
the agent library is realized by calling a system Application Program Interface (API) of the Linux operating system, and the state of the Internet of things communication module is acquired through an AT instruction;
the LPA library is realized by calling an open source protocol library of Linux, and an ECM dialing mode or a Gobinet dialing mode is adopted, wherein the open source protocol library comprises: the Mosquitto library and the OpenSSL library.
4. The internet-of-things device of claim 1 or 2, wherein when the internet-of-things device employs an RTOS operating system, the SDK is integrated in the form of a library of libs functions;
the agent library is realized by calling a system Application Program Interface (API) of the RTOS, and the state of the Internet of things communication module is obtained through an AT instruction;
the LPA library is realized by calling an Internet of things communication module protocol stack, and the Internet of things communication module protocol stack comprises a message queue telemetry transmission protocol MQTT and a secure socket layer hypertext transfer protocol HTTPS.
5. A method for managing profile in an eUICC card is applied to equipment of the Internet of things and is characterized in that the equipment of the Internet of things comprises the eUICC card and an Internet of things communication module, a Software Development Kit (SDK) for managing the profile is integrated in the equipment of the Internet of things, the SDK is integrated outside the Internet of things communication module and is integrated in the form of a library function, and the SDK comprises an agent library for communicating with a service server and a local code number assistant (LPA) library for communicating with a code number management data preparation platform (SMDP +); the method comprises the following steps:
acquiring an activation code AC for downloading the profile from a service server by calling a proxy library communicated with the service server;
according to the obtained AC, obtaining a profile corresponding to the AC from the SMDP + by calling an LPA library which is communicated with the SMDP +;
the SDK sends the obtained profile to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
and writing the obtained profile into the eUICC card from the Internet of things communication module by adopting an Application Protocol Data Unit (APDU) matched with the eUICC card.
6. The method of claim 5, wherein a client application is further integrated into the internet of things device, the client application communicating with the SDK via a socket, the method further comprising:
the client application sends an operation instruction to the SDK through a socket, wherein the operation instruction comprises a deletion instruction for deleting the profile, a switching instruction for switching the profile, a query instruction for querying the profile, an activation instruction for enabling the profile and a deactivation instruction for deactivating the profile;
the SDK sends the operation instruction to the Internet of things communication module by adopting an AT instruction matched with the Internet of things communication module;
and the Internet of things communication module executes corresponding operation on the profile in the eUICC card by adopting the APDU matched with the eUICC card according to the operation instruction.
7. The method of claim 5, wherein after writing the obtained profile to the eUICC card, the method further comprises:
and closing the process related to the SDK.
8. The method according to any one of claims 5 to 7, wherein when the internet of things device employs a Linux operating system, the SDK is integrated in the form of an a library function or an so library function;
the agent library is realized by calling a system Application Program Interface (API) of the Linux operating system, and the state of the Internet of things communication module is acquired through an AT instruction;
the LPA library is realized by calling an open source protocol library of Linux, and an ECM dialing mode or a Gobinet dialing mode is adopted, wherein the open source protocol library comprises: the Mosquitto library and the OpenSSL library.
9. The method of any of claims 5-7, wherein when the internet of things device employs an RTOS operating system, the SDK is integrated in the form of a library of libs functions;
the agent library is realized by calling a system Application Program Interface (API) of the RTOS, and the state of the Internet of things communication module is obtained through an AT instruction;
the LPA library is realized by calling an Internet of things communication module protocol stack, and the Internet of things communication module protocol stack comprises a message queue telemetry transmission protocol MQTT and a secure socket layer hypertext transfer protocol HTTPS.
10. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used for implementing the method for managing profile in an eUICC card according to any one of claims 5 to 9.
CN202011574932.9A 2020-12-28 2020-12-28 Internet of things equipment and method for managing profile in eUICC card Active CN112565459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011574932.9A CN112565459B (en) 2020-12-28 2020-12-28 Internet of things equipment and method for managing profile in eUICC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011574932.9A CN112565459B (en) 2020-12-28 2020-12-28 Internet of things equipment and method for managing profile in eUICC card

Publications (2)

Publication Number Publication Date
CN112565459A CN112565459A (en) 2021-03-26
CN112565459B true CN112565459B (en) 2021-08-24

Family

ID=75033642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011574932.9A Active CN112565459B (en) 2020-12-28 2020-12-28 Internet of things equipment and method for managing profile in eUICC card

Country Status (1)

Country Link
CN (1) CN112565459B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923107B (en) * 2021-10-14 2024-02-23 海南车智易通信息技术有限公司 Method, device, equipment and medium for automatically switching multiple channels of instant messaging
CN114339721A (en) * 2021-12-28 2022-04-12 武汉天喻信息产业股份有限公司 eSIM card number management method, storage medium, electronic device and apparatus
WO2023139404A1 (en) * 2022-01-19 2023-07-27 Pismo Labs Technology Limited Methods and systems for using and managing a plurality of remote subscriber identification modules
CN115955667B (en) * 2022-12-16 2024-04-09 中国联合网络通信集团有限公司 Code number changing method and device based on eUICC and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657101A (en) * 2016-12-29 2017-05-10 欧普照明股份有限公司 SDK and method for remote control of different protocol types of wireless communication modules
CN109743249A (en) * 2018-10-25 2019-05-10 比亚迪股份有限公司 Forming method, integrated gateway and the integrated system of the integrated gateway of passenger information system
CN111404572A (en) * 2020-03-27 2020-07-10 四川爱联科技有限公司 Wireless communication module integrating WiFi and mobile communication
CN111542081A (en) * 2020-06-23 2020-08-14 深圳杰睿联科技有限公司 Communication switching method and device and Internet of things communication module

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533634A (en) * 2013-10-25 2014-01-22 中国联合网络通信集团有限公司 Profile activation system, eUICC and profile activation method of eUICC
CN106899540B (en) * 2015-12-17 2019-09-10 中国电信股份有限公司 Update method, management system, eUICC and the terminal of user contracting data
EP3449648B1 (en) * 2016-07-05 2024-05-01 Samsung Electronics Co., Ltd. Method and apparatus for accessing cellular network for sim profile
CN108353278B (en) * 2016-10-20 2021-05-11 华为技术有限公司 Method and device for managing embedded universal integrated circuit card eUICC
CN109086091B (en) * 2017-06-13 2021-08-06 ***通信有限公司研究院 Interface loading method, device and equipment of software development kit
CN110769384B (en) * 2018-07-27 2021-06-08 华为技术有限公司 Method and device for transmitting eUICC data in Internet of things
CN109257740B (en) * 2018-09-27 2022-02-22 努比亚技术有限公司 Profile downloading method, mobile terminal and readable storage medium
CN110248355B (en) * 2019-05-07 2022-03-08 深圳联想懂的通信有限公司 Internet of things equipment eUICC card-based code number management method, equipment, platform and system
CN209949085U (en) * 2019-06-28 2020-01-14 腾讯科技(深圳)有限公司 User identity identification integrated card, data communication equipment and system
CN110446201B (en) * 2019-09-20 2022-03-18 恒宝股份有限公司 Communication module, communication method and system for realizing eSIM remote configuration
CN111372249B (en) * 2020-03-10 2023-02-17 中国信息通信研究院 System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things
CN111917751B (en) * 2020-07-24 2022-02-11 郑州信大捷安信息技术股份有限公司 Multi-user access system and method based on communication module safety module
CN111970680B (en) * 2020-08-17 2023-11-03 东信和平科技股份有限公司 Profile downloading method and device based on eUICC subscription platform
CN111935704B (en) * 2020-09-14 2020-12-25 深圳杰睿联科技有限公司 Profile downloading method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657101A (en) * 2016-12-29 2017-05-10 欧普照明股份有限公司 SDK and method for remote control of different protocol types of wireless communication modules
CN109743249A (en) * 2018-10-25 2019-05-10 比亚迪股份有限公司 Forming method, integrated gateway and the integrated system of the integrated gateway of passenger information system
CN111404572A (en) * 2020-03-27 2020-07-10 四川爱联科技有限公司 Wireless communication module integrating WiFi and mobile communication
CN111542081A (en) * 2020-06-23 2020-08-14 深圳杰睿联科技有限公司 Communication switching method and device and Internet of things communication module

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
物联网设备接入管理平台关键技术研究与实现;盛俊阳;《中国优秀硕士学位论文全文数据库 (信息科技辑)》;20200315;I136-730 *

Also Published As

Publication number Publication date
CN112565459A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN112565459B (en) Internet of things equipment and method for managing profile in eUICC card
US11019482B2 (en) Method, system, and terminal device for realizing local profile assistant based on remote subscriber identification module provisioning
CN110446201B (en) Communication module, communication method and system for realizing eSIM remote configuration
CN109314855B (en) Method for enabling migration of subscriptions
CN110248358B (en) eSIM management method and system based on Internet of things
CN110267254B (en) eUICC management method, eUICC, SM platform and system
EP3082353B1 (en) Method and terminal device for sending and receiving user data
CN110995554A (en) Method and device for configuring and accessing intelligent household electrical appliance network and storage medium
US20160285493A1 (en) Methods for performing a remote management of a multi-subscription sim module, and corresponding sim module and computer program product
RU2619723C2 (en) Method and device for reporting about traffic, and also method and device for measuring network traffic
US10574760B2 (en) Communication between machine-to-machine service layers and transport network
JP2019519174A (en) Method and entity for terminating a subscription
CN111479259B (en) SIM card configuration distribution method and system
CN112565439B (en) Internet of things communication method and system
CN111885594A (en) Equipment binding method and device
US20220329586A1 (en) Methods and Apparatus for Enabling Remote Management of a Profile in an Identity Module
CN108781358B (en) Method for managing subscription information set in eUICC and related equipment
CN102752215A (en) Processing method for VDP (vertical data processing) request messages and edge switch
CN104539508A (en) Access control method and device
JP2017503383A (en) Notification method for configuring secure elements
US11930558B2 (en) Method for providing subscription profiles, subscriber identity module and subscription server
CN111556487B (en) SIM card air transmission system based on hybrid protocol and working method thereof
WO2016062452A1 (en) Method of sending data from a secure token to a distant server
US10708738B2 (en) System and method for executing an application on a terminal provided with a chip card
CN113273231A (en) Apparatus and method for processing an eSIM configuration file of an iSSP device

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