CN113015155B - eSIM server discovery method and device - Google Patents

eSIM server discovery method and device Download PDF

Info

Publication number
CN113015155B
CN113015155B CN202110259250.7A CN202110259250A CN113015155B CN 113015155 B CN113015155 B CN 113015155B CN 202110259250 A CN202110259250 A CN 202110259250A CN 113015155 B CN113015155 B CN 113015155B
Authority
CN
China
Prior art keywords
discovery
esim
server
servers
terminal
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
CN202110259250.7A
Other languages
Chinese (zh)
Other versions
CN113015155A (en
Inventor
仇剑书
康建雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110259250.7A priority Critical patent/CN113015155B/en
Publication of CN113015155A publication Critical patent/CN113015155A/en
Application granted granted Critical
Publication of CN113015155B publication Critical patent/CN113015155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

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

Abstract

The invention provides an eSIM server discovery method and a device, which are applied to a DHT network, wherein the DHT network comprises a discovery server and an eSIM terminal, and the method comprises the following steps: responding to a received query request sent by an eSIM terminal, and acquiring a hardware identifier EID of the eSIM terminal carried in the query request; determining a preset first number of discovery servers, and respectively sending query requests carrying EIDs to the first number of discovery servers; selecting a preset second number of discovery servers from the discovery servers in response to receiving discovery notification messages sent by the plurality of discovery servers; the addresses of the second number of discovery servers are transmitted to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires the address of the registered eSIM server from the registration notification message. The embodiment of the invention realizes a decentralized eSIM discovery service scheme based on a DHT network, and reduces the single-point pressure of certain discovery servers and the cost of disaster recovery backup.

Description

eSIM server discovery method and device
Technical Field
The invention relates to the technical field of communication, in particular to an eSIM server discovery method and device.
Background
eSIM (Embedded-SIM, virtual smart card) is a new generation of SIM (Subscriber Identity Module) card technology, and is basically characterized in that SIM card data (called an electronic SIM card) is downloaded from an eSIM server and installed in a terminal device by means of network transmission. The eSIM card is provided by a mobile communication carrier. There are multiple operators in the market, each with its own eSIM server. In order to enable a terminal to find a correct eSIM server, an "eSIM Discovery Service" (Discovery Service) is defined in the eSIM standard, and the basic principle thereof is as follows: the eSIM discovery service is composed of a series of discovery servers which are networked in a tree structure, wherein one discovery server is a root server, and other discovery servers are directly or indirectly connected to the root server to form a fully connected service network. Each carrier's eSIM server is connected to one discovery server. After a user subscribes to an eSIM card for a terminal to an operator, the eSIM server of the operator transmits a registration notification message including a terminal identification and an eSIM server address to a discovery server (also referred to as event registration) to which it is connected. The discovery server sends the registration notification message to its upper discovery server up to the root server. The discovery server that receives the registration notification message stores the registration notification message. The terminal presets an address of a discovery server, and the terminal connects the discovery server with the preset address at a specific time to inquire whether a registration notification message of the terminal exists. If the discovery server does not have the registration notification message of the terminal, the discovery server inquires the upper level discovery server until the root server. And if the registration notification message is inquired, returning the registration notification message to the terminal, extracting the address of the eSIM server from the registration notification message by the terminal, connecting the address of the eSIM server and downloading the eSIM card.
The existing eSIM discovery service scheme is a centralized scheme, and a discovery server network has a central node (i.e., a root server), and all registration notification messages need to be sent to the root server for storage. The root server becomes a monopolized node in the network, and all operators need to rely on the server to provide the eSIM card for the user, so that the single-point pressure of the server is high, and the disaster recovery backup is complex to realize and high in cost.
Disclosure of Invention
The invention provides an eSIM server discovery method and device aiming at the defects in the prior art.
In order to solve the technical problems, the invention adopts the following technical scheme:
the invention provides an eSIM server discovery method, which is applied to a DHT network, wherein the DHT network comprises a discovery server and a virtual smart card eSIM terminal, and the method comprises the following steps:
responding to a received query request sent by an eSIM terminal, and acquiring a hardware identifier EID of the eSIM terminal carried in the query request;
determining a preset first number of discovery servers, and respectively sending query requests carrying the EID to the first number of discovery servers;
selecting a preset second number of discovery servers from the discovery servers in response to receiving discovery notification messages sent by a plurality of discovery servers;
and sending the addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires the address of the registered eSIM server from the registration notification message.
In some embodiments, the determining the preset first number of discovery servers according to the calculation of the object identifiers of the discovery servers in the DHT network includes:
calculating a terminal identifier according to the EID of the eSIM terminal;
respectively calculating the distance between each discovery server and the eSIM terminal according to the topology of the DHT network, the terminal identification and the identification of each discovery server in the DHT network;
and determining a preset first number of discovery servers according to the distance between each discovery server and the eSIM terminal.
In some embodiments, the determining a preset first number of discovery servers according to the distance between each discovery server and the eSIM terminal includes:
determining a preset first number of discovery servers having the shortest distance to the eSIM terminal.
In some embodiments, the method further comprises:
determining a preset third number of discovery servers in response to receiving a registration notification message sent by an eSIM server; the registration notification message carries an EID of an eSIM terminal and an address of an eSIM server registered by the eSIM terminal, and the third number is greater than or equal to the first number;
selecting a preset fourth number of discovery servers from the third number of discovery servers, the fourth number being greater than or equal to the second number;
forwarding the registration notification message to the fourth number of discovery servers, respectively.
In some embodiments, the method further comprises:
in response to receiving registration notification messages sent by other discovery servers, locally storing the registration notification messages;
and responding to the received query request sent by other discovery servers, determining that the registration notification message corresponding to the EID is locally stored according to the EID carried in the query request, and returning the discovery notification message to the other discovery servers.
The invention also provides an eSIM server discovery method, which is applied to a distributed hash table DHT network, wherein the DHT network comprises a discovery server and a virtual smart card eSIM terminal, and comprises the following steps:
in response to receiving the addresses of the second number of discovery servers sent by the discovery server, acquiring a registration notification message of the local eSIM terminal from the discovery server corresponding to one of the addresses;
and acquiring the address of the eSIM server registered by the eSIM terminal from the registration notification message.
In some embodiments, the obtaining a registration notification message from a discovery server corresponding to one of the addresses of the second number of discovery servers includes:
and connecting the corresponding discovery servers one by one according to the addresses of the second number of discovery servers, and acquiring the registration notification message corresponding to the EID of the eSIM terminal from the connected discovery servers until the registration notification message corresponding to the EID of the eSIM terminal is successfully acquired.
In some embodiments, before receiving the addresses of the second number of discovery servers sent by the discovery server, the method further comprises:
and responding to the preset condition, and sending a query request carrying the EID of the eSIM terminal to a discovery server corresponding to the preset address.
The present invention also provides a discovery server, comprising: the system comprises a receiving module, an acquisition module, a processing module and a sending module, wherein the receiving module is used for receiving an inquiry request sent by an eSIM terminal; receiving discovery notification messages sent by a plurality of discovery servers;
the acquisition module is used for acquiring a hardware identifier EID of the eSIM terminal carried in the query request;
the processing module is used for determining a preset first number of discovery servers; selecting a preset second number of discovery servers from the discovery servers of the discovery notification message;
the sending module is configured to send query requests carrying the EIDs to the first number of discovery servers respectively; and sending the addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires the address of the registered eSIM server from the registration notification message.
The invention also provides an eSIM terminal, which comprises a receiving module, a first processing module and a second processing module, wherein the receiving module is used for receiving the addresses of a second number of discovery servers sent by the discovery servers;
the first processing module is configured to acquire a registration notification message of the eSIM terminal from a discovery server corresponding to one of the addresses of the second number of discovery servers;
the second processing module is configured to acquire, from the registration notification message, an address of an eSIM server in which the eSIM terminal is registered.
The method for discovering the eSIM server provided by the embodiment of the invention is applied to a DHT network, wherein the DHT network comprises the discovery server and the eSIM terminal, and the method comprises the following steps: responding to a received query request sent by an eSIM terminal, and acquiring a hardware identifier EID of the eSIM terminal carried in the query request; determining a preset first number of discovery servers, and respectively sending query requests carrying the EID to the first number of discovery servers; selecting a preset second number of discovery servers from the discovery servers in response to receiving discovery notification messages sent by a plurality of discovery servers; and sending the addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires the address of the registered eSIM server from the registration notification message. The embodiment of the invention realizes a decentralized eSIM discovery service scheme based on the DHT network, reduces the single-point pressure of certain discovery servers and the cost of disaster recovery backup, has equal positions of the discovery servers, can join and quit the DHT network at any time, and is more flexible and convenient to apply.
Drawings
FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an eSIM server discovery method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a forwarding flow of a registration notification message according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an eSIM server discovery method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a discovery server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an eSIM terminal according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In view of the above problems in the prior art, an eSIM server discovery system is constructed in an embodiment of the present invention, and as shown in fig. 1, the system includes a discovery server and an eSIM terminal, where the discovery server and the eSIM terminal form a DHT (Distributed Hash Table) network. Each eSIM server is fixedly connected with at least one discovery server, and the address of at least one discovery server is preset in each eSIM terminal. The DHT is a decentralized network technology, and a plurality of computing nodes form a DHT network through a DHT algorithm. In a DHT network, the network address (IP address) of a node may vary, but the node has a relatively fixed node identification. The DHT network is essentially an addressing network, and when two nodes need to communicate, the network address of the other node can be found through the node identifier of the other node, so that the DHT network can directly establish connection with the other node and exchange data. There are many techniques for implementing DHT, and: chord, patrry, kademlia, etc., the embodiment of the invention does not limit the specific implementation scheme of the DHT network.
An embodiment of the present invention provides a method for discovering an eSIM server, which is shown in fig. 1 and 2 and includes the following steps:
and step 21, in response to receiving the query request sent by the eSIM terminal, acquiring the EID of the eSIM terminal carried in the query request.
When the preset condition is met, the eSIM terminal sends a query request carrying an eSIM terminal EID (eUICC identity) to a discovery server corresponding to the preset address, and correspondingly, the discovery server obtains the EID of the eSIM terminal from the query request after receiving the query request. In the embodiment of the present invention, the discovery server is referred to as a second discovery server.
Step 22, determining a preset first number of discovery servers, and sending query requests carrying the EID to the first number of discovery servers respectively.
In this step, the second discovery server may determine a certain number of discovery servers (for example, M2 being an integer greater than 2) according to at least the EID of the eSIM terminal, and forward the query request to the discovery servers, so that the discovery servers locally query whether there is a registration notification message corresponding to the EID.
The registration notification message is sent by an eSIM server of an operator to a discovery server (referred to as a first discovery server in this application) connected to the eSIM server after the eSIM server prepares an eSIM card for the eSIM terminal based on an order request of the eSIM terminal, and carries an address of the eSIM server and an EID of the terminal that subscribes to the eSIM card in the registration notification message. The discovery server (i.e., the first discovery server) directly connected to the eSIM server forwards the registration notification message within the DHT network, and the discovery servers that receive the registration notification message each save the registration notification message locally.
And step 23, in response to receiving the discovery notification messages sent by the plurality of discovery servers, selecting a preset second number of discovery servers from the discovery servers.
The discovery server receiving the query request queries a locally stored registration notification message, and returns a discovery notification message to the second discovery server if the registration notification message corresponding to the EID is queried, it should be noted that the registration notification message is still stored locally in the discovery server.
In this step, the second discovery server generally receives the discovery notification messages returned by the plurality of discovery servers, and selects a second number (e.g., K is an integer greater than 2, K < M2) of discovery servers from the discovery servers that return the discovery notification messages.
And 24, sending the addresses of the second number of discovery servers to the eSIM terminals, so that the eSIM terminals acquire a registration notification message from a discovery server corresponding to one of the addresses, and acquire the address of the registered eSIM server from the registration notification message.
In this step, the second discovery server sends addresses of the K discovery servers to the eSIM terminal, and the eSIM terminal sequentially connects the K discovery servers until the registration notification message is successfully acquired, and does not connect any other discovery server of the K discovery servers. The eSIM terminal acquires an eSIM server address from the registration notification message, communicates with a corresponding eSIM server, and completes eSIM card download.
The method for discovering the eSIM server provided by the embodiment of the invention is applied to a DHT network, wherein the DHT network comprises the discovery server and the eSIM terminal, and the method comprises the following steps: responding to a received query request sent by an eSIM terminal, and acquiring a hardware identifier EID of the eSIM terminal carried in the query request; determining a preset first number of discovery servers, and respectively sending query requests carrying the EID to the first number of discovery servers; selecting a preset second number of discovery servers from the discovery servers in response to receiving discovery notification messages sent by a plurality of discovery servers; and sending the addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires the address of the registered eSIM server from the registration notification message. The embodiment of the invention realizes a decentralized eSIM discovery service scheme based on the DHT network, reduces the single-point pressure of certain discovery servers and the cost of disaster recovery backup, has equal positions of the discovery servers, can join and quit the DHT network at any time, and is more flexible and convenient to apply.
In the eSIM standard, each discovery server is identified by an OID (Object identity). In the present application, the OID of the discovery server is calculated to obtain the identifier of the discovery server, and the identifier is used as the identifier of the discovery server in the DHT network. In some embodiments, the OID of the discovery server may be hashed (e.g., using SHA256 algorithm), and the resulting hash value is used as the identification of the discovery server. Similarly, in the eSIM standard, there is one EID per eSIM terminal. In the application, the EID of the eSIM terminal is calculated to obtain the terminal identification, and the identification is used as the terminal identification of the eSIM terminal in the HDT network. In some embodiments, the EID of the eSIM terminal may be hashed using the same algorithm as that used for hashing the OID of the discovery server, and the obtained hash value is used as the terminal identifier of the eSIM terminal.
In the present application, the terminal identifier calculated for the EID of the eSIM terminal and the identifier calculated for the discovery server calculated for the OID of the discovery server are used as node identifiers in the DHT network, so that information of the eSIM terminal and the discovery server does not need to be exposed, thereby improving security.
Said determining a preset first number of discovery servers (i.e. step 22) comprises the steps of: calculating a terminal identifier according to the EID of the eSIM terminal; respectively calculating the distance between each discovery server and the eSIM terminal according to the topology of the DHT network, the terminal identification and the identification of each discovery server in the DHT network; and determining a preset first number of discovery servers according to the distance between each discovery server and the eSIM terminal.
In some embodiments, the determining a preset first number of discovery servers according to a distance between each discovery server and an eSIM terminal includes: a preset first number of discovery servers having the shortest distance to the eSIM terminal is determined. That is, M2 discovery servers that are closer to the eSIM terminal are selected.
The following describes the registration notification message forwarding process in detail with reference to fig. 3.
In some embodiments, as shown in fig. 3, the eSIM server discovery method further includes the steps of:
step 31, in response to receiving the registration notification message sent by the eSIM server, determining a preset third number of discovery servers.
The registration notification message carries the EID of the eSIM terminal and the address of the eSIM server in which the eSIM terminal is registered, wherein the third number is greater than or equal to the first number.
In some embodiments, after receiving a registration notification message sent by an eSIM server directly connected to the first discovery server, the first discovery server obtains an EID of the eSIM terminal from the registration notification message; calculating a terminal identifier according to the EID of the eSIM terminal; respectively calculating the distance between each discovery server and the eSIM terminal according to the topology of the DHT network, the terminal identification and the identification of each discovery server in the DHT network; and determining a preset third number of discovery servers according to the distance between each discovery server and the eSIM terminal.
Step 32, selecting a preset fourth number of discovery servers from the third number of discovery servers.
In this step, the first discovery server randomly selects a fourth number (e.g., N < M1) of discovery servers from the M1 discovery servers determined in step 31. In some embodiments, N >2, that is, selecting multiple discovery servers and forwarding the registration notification message to the discovery servers, the registration success message may be stored in different discovery servers in a distributed manner, improving reliability.
Step 33, forwarding the registration notification message to the fourth number of discovery servers, respectively.
In this step, the first discovery server forwards the registration notification message to the N discovery servers determined in step 32, where the registration notification message carries the EID of the eSIM terminal and the address of the eSIM server in which the eSIM terminal is registered.
In some embodiments, N ≧ K, that is, the number of discovery servers storing the registration notification message is greater than or equal to the number of discovery servers used to query the registration notification message, to ensure that subsequent eSIM terminals can successfully query the corresponding registration notification message. It should be noted that, as known by those skilled in the art, when N = K, the registration notification message may not be redundantly sent on the premise of ensuring that the query is successful, so as to save network resources.
In some embodiments, if the discovery server receives the registration notification message sent by other discovery servers (i.e. the first discovery server), the registration notification message is stored locally.
In some embodiments, if the discovery server receives an inquiry request sent by another discovery server (i.e., a second discovery server), and determines that the registration notification message corresponding to the EID is locally stored according to the EID carried in the inquiry request, the discovery server returns a discovery notification message to the another discovery server (i.e., the second discovery server), so that the second discovery server determines addresses of K discovery servers, so that the eSIM terminal obtains the registration notification message.
Another embodiment of the present invention also provides an eSIM server discovery method applied to a DHT network including a discovery server and a virtual smartcard eSIM terminal. As shown in fig. 4, the method comprises the steps of:
and step 41, in response to receiving the addresses of the second number of discovery servers sent by the discovery server, acquiring a registration notification message of the local eSIM terminal from the discovery server corresponding to one of the addresses.
In this step, if the eSIM terminal receives the addresses of the K discovery servers sent by the second discovery server, the corresponding registration notification message may be acquired from one of the K discovery servers.
Step 42, the address of the eSIM server registered by the eSIM terminal is acquired from the registration notification message.
In this step, the eSIM terminal extracts the eSIM server address from the registration notification message acquired in step 41, and communicates with the eSIM server to complete the eSIM card download.
In some embodiments, the obtaining a registration notification message from a discovery server corresponding to one of the addresses of the second number of discovery servers (i.e., step 41) includes: and connecting the corresponding discovery servers one by one according to the addresses of the second number of discovery servers, and acquiring the registration notification message corresponding to the EID of the eSIM terminal from the connected discovery servers until the registration notification message corresponding to the EID of the eSIM terminal is successfully acquired. That is, the eSIM terminal sequentially connects the K discovery servers, acquires the registration notification message from the currently connected discovery server, and stops, that is, does not connect any remaining discovery server among the K discovery servers once the registration notification message is successfully acquired.
In some embodiments, before receiving the addresses of the second number of discovery servers sent by the discovery server (i.e., step 41), the method further comprises the steps of:
and step 41', responding to the preset condition, and sending a query request carrying the EID of the eSIM terminal to a discovery server corresponding to the preset address.
In this step, when the preset condition is satisfied, the eSIM terminal sends an inquiry request to a discovery server corresponding to an address of the discovery server that is stored locally in advance, where the inquiry request carries an EID of the eSIM terminal.
In some embodiments, the preset conditions are met including, but not limited to: the eSIM terminal receives a preset operation instruction.
The embodiment of the invention utilizes DHT technology to construct a decentralized discovery service network, and ensures that the registration notification message sent by the eSIM server can be reliably sent to the eSIM terminal. All discovery servers in the DHT network are in equal positions and can be added and withdrawn at any time, and none of the discovery servers can become a monopolized node, so that the problem of the existing centralized scheme is solved.
Based on the same technical concept, an embodiment of the present invention further provides a discovery server, as shown in fig. 5, where the discovery server includes: the system comprises a receiving module 101, an obtaining module 102, a processing module 103 and a sending module 104, wherein the receiving module 101 is used for receiving a query request sent by an eSIM terminal; and receiving discovery notification messages sent by a plurality of discovery servers.
The obtaining module 102 is configured to obtain the hardware identifier EID of the eSIM terminal carried in the query request.
The processing module 103 is configured to determine a preset first number of discovery servers; and selecting a preset second number of discovery servers from the discovery servers of the discovery notification message.
The sending module 104 is configured to send query requests carrying the EIDs to the first number of discovery servers respectively; and transmitting addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires an address of the registered eSIM server from the registration notification message.
In some embodiments, the identity of a discovery server in the DHT network is computed from the object identities of the discovery servers.
The processing module 103 is configured to calculate a terminal identifier according to the EID of the eSIM terminal; respectively calculating the distance between each discovery server and the eSIM terminal according to the topology of the DHT network, the terminal identification and the identification of each discovery server in the DHT network; and determining a preset first number of discovery servers according to the distance between each discovery server and the eSIM terminal.
In some embodiments, the processing module 103 is configured to determine a preset first number of discovery servers with the shortest distance to the eSIM terminal.
In some embodiments, the receiving module 101 is further configured to receive a registration notification message sent by an eSIM server, where the registration notification message carries an EID of an eSIM terminal and an address of an eSIM server registered by the eSIM terminal.
The processing module 103 is further configured to determine a preset third number of discovery servers, where the third number is greater than or equal to the first number; selecting a preset fourth number of discovery servers from the third number of discovery servers, the fourth number being greater than or equal to the second number.
The sending module 104 is further configured to forward the registration notification message to the fourth number of discovery servers respectively.
In some embodiments, the discovery server further comprises a storage module, configured to store the registration notification message locally in response to receiving the registration notification message sent by the other discovery server.
The discovery server further comprises a query module, wherein the query module is used for responding to a query request sent by other discovery servers, determining that a registration notification message corresponding to the EID is locally stored according to the EID carried in the query request, and returning the discovery notification message to the other discovery servers.
Based on the same technical concept, an embodiment of the present invention further provides an eSIM terminal, as shown in fig. 6, the eSIM terminal includes a receiving module 201, a first processing module 202, and a second processing module 203, where the receiving module 201 is configured to receive addresses of a second number of discovery servers sent by a discovery server.
The first processing module 202 is configured to obtain a registration notification message of the eSIM terminal from a discovery server corresponding to one of the addresses of the second number of discovery servers.
The second processing module 203 is configured to acquire an address of an eSIM server registered by the eSIM terminal from the registration notification message.
In some embodiments, the first processing module 202 is configured to connect, according to the addresses of the second number of discovery servers, the corresponding discovery servers one by one, and acquire, from the connected discovery servers, a registration notification message corresponding to the eSIM terminal EID until the registration notification message corresponding to the eSIM terminal EID is successfully acquired.
In some embodiments, the eSIM terminal further includes a third processing module, where the third processing module is configured to, in response to a preset condition being met, send an inquiry request carrying an EID of the eSIM terminal to a discovery server corresponding to a preset address.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (7)

1. A method for discovering an eSIM server, the method being applied to a DHT network comprising a discovery server and a virtual smartcard eSIM terminal,
for the discovery server, the method comprises:
responding to a received query request sent by an eSIM terminal, and acquiring a hardware identifier (EID) of the eSIM terminal carried in the query request;
determining a preset first number of discovery servers, and respectively sending query requests carrying the EID to the first number of discovery servers;
selecting a preset second number of discovery servers from the discovery servers in response to receiving discovery notification messages sent by a plurality of discovery servers;
sending the addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires the address of the registered eSIM server from the registration notification message;
determining a preset third number of discovery servers in response to receiving a registration notification message sent by an eSIM server; the registration notification message carries an EID of an eSIM terminal and an address of an eSIM server registered by the eSIM terminal, and the third number is greater than or equal to the first number;
selecting a preset fourth number of discovery servers from the third number of discovery servers, the fourth number being greater than or equal to the second number;
forwarding the registration notification messages to the fourth number of discovery servers, respectively;
for the virtual smartcard eSIM terminal, the method comprises:
in response to receiving the addresses of the second number of discovery servers sent by the discovery server, acquiring a registration notification message of the local eSIM terminal from the discovery server corresponding to one of the addresses;
and acquiring the address of the eSIM server registered by the eSIM terminal from the registration notification message.
2. The method of claim 1, wherein the identification of the discovery servers in the DHT network is obtained by calculation according to object identifications of the discovery servers, and the determining the preset first number of discovery servers comprises:
calculating a terminal identifier according to the EID of the eSIM terminal;
respectively calculating the distance between each discovery server and the eSIM terminal according to the topology of the DHT network, the terminal identification and the identification of each discovery server in the DHT network;
and determining a preset first number of discovery servers according to the distance between each discovery server and the eSIM terminal.
3. The method of claim 2, wherein the determining a preset first number of discovery servers according to the distance between each discovery server and the eSIM terminal comprises:
determining a preset first number of discovery servers having the shortest distance to the eSIM terminal.
4. The method of claim 1, further comprising:
in response to receiving registration notification messages sent by other discovery servers, locally storing the registration notification messages;
and responding to the received query request sent by other discovery servers, determining that the registration notification message corresponding to the EID is locally stored according to the EID carried in the query request, and returning the discovery notification message to the other discovery servers.
5. The method of claim 1, wherein the obtaining a registration notification message from a discovery server corresponding to one of the addresses of the second number of discovery servers comprises:
and connecting the corresponding discovery servers one by one according to the addresses of the second number of discovery servers, and acquiring the registration notification message corresponding to the EID of the eSIM terminal from the connected discovery servers until the registration notification message corresponding to the EID of the eSIM terminal is successfully acquired.
6. The method of claim 1, wherein prior to receiving the addresses of the second number of discovery servers sent by the discovery server, the method further comprises:
and responding to the preset condition, and sending a query request carrying the EID of the eSIM terminal to a discovery server corresponding to the preset address.
7. A discovery server, comprising: the system comprises a receiving module, an acquisition module, a processing module and a sending module, wherein the receiving module is used for receiving an inquiry request sent by an eSIM terminal; receiving discovery notification messages sent by a plurality of discovery servers;
the acquisition module is used for acquiring a hardware identifier EID of the eSIM terminal carried in the query request;
the processing module is used for determining a preset first number of discovery servers; selecting a preset second number of discovery servers from the discovery servers sending the discovery notification message;
the sending module is configured to send query requests carrying the EIDs to the first number of discovery servers respectively; and sending addresses of the second number of discovery servers to the eSIM terminal, so that the eSIM terminal acquires a registration notification message from a discovery server corresponding to one of the addresses, and acquires an address of the registered eSIM server from the registration notification message;
the processing module is further configured to determine a preset third number of discovery servers in response to receiving a registration notification message sent by the eSIM server; the registration notification message carries an EID of an eSIM terminal and an address of an eSIM server registered by the eSIM terminal, and the third number is greater than or equal to the first number;
the processing module is further configured to select a preset fourth number of discovery servers from the third number of discovery servers, where the fourth number is greater than or equal to the second number;
the sending module is further configured to forward the registration notification message to the fourth number of discovery servers respectively;
the eSIM terminal comprises a receiving module, a first processing module and a second processing module, wherein the receiving module is used for receiving addresses of a second number of discovery servers sent by the discovery servers;
the first processing module is configured to acquire a registration notification message of the eSIM terminal from a discovery server corresponding to one of the addresses of the second number of discovery servers;
the second processing module is configured to acquire, from the registration notification message, an address of an eSIM server in which the eSIM terminal is registered.
CN202110259250.7A 2021-03-10 2021-03-10 eSIM server discovery method and device Active CN113015155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110259250.7A CN113015155B (en) 2021-03-10 2021-03-10 eSIM server discovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110259250.7A CN113015155B (en) 2021-03-10 2021-03-10 eSIM server discovery method and device

Publications (2)

Publication Number Publication Date
CN113015155A CN113015155A (en) 2021-06-22
CN113015155B true CN113015155B (en) 2023-01-10

Family

ID=76403844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110259250.7A Active CN113015155B (en) 2021-03-10 2021-03-10 eSIM server discovery method and device

Country Status (1)

Country Link
CN (1) CN113015155B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810123A (en) * 2018-06-01 2018-11-13 中国联合网络通信集团有限公司 The method and apparatus for opening mobile cellular network service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3277000A1 (en) * 2016-07-29 2018-01-31 Deutsche Telekom AG Profile server for provisioning of e-sim profiles according to terminal capabilities
CN111935697B (en) * 2020-08-06 2022-08-19 中国联合网络通信集团有限公司 eSIM discovery service method, discovery server and eSIM terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810123A (en) * 2018-06-01 2018-11-13 中国联合网络通信集团有限公司 The method and apparatus for opening mobile cellular network service

Also Published As

Publication number Publication date
CN113015155A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN107483260B (en) Fault processing method and device and electronic equipment
CN108881354B (en) Push information storage method and device, server and computer storage medium
CN104144098B (en) Information push method, system and push server equipment
CN111901705B (en) OMCI function virtualization system of OLT equipment
CN113225242A (en) Cross-region communication method, device and storage medium
CN108055157A (en) The acquisition methods and device of a kind of service node
CN111343286A (en) Network access system and network access method
CN113572864B (en) Data processing method, network element equipment and readable storage medium
CN111917562A (en) Broadcast message forwarding method, device, equipment and storage medium
WO2023151428A1 (en) Home all-optical network gateway version upgrading method, electronic device, and storage medium
CN111935697B (en) eSIM discovery service method, discovery server and eSIM terminal
CN110875857A (en) Method, device and system for reporting disconnected network state
CN112202877A (en) Gateway linkage method, gateway, cloud server and user terminal
US9699139B2 (en) Communications system
CN115103008A (en) Service request forwarding system
CN110740355A (en) Equipment monitoring method and device, electronic equipment and storage medium
CN101345657A (en) Method and system for cluster management of multiple network elements based on simple network management protocol
JP2004535743A (en) Domain naming system (DNS) for accessing databases
CN114090342A (en) Storage disaster tolerance link management method, message execution node and storage control cluster
CN111901245B (en) Iscsi multi-path management system, method, equipment and storage medium
CN101087263B (en) A method and system for capturing user status information via search engine
CN113015155B (en) eSIM server discovery method and device
CN112733051A (en) Websocket-based information push management system and method
CN113612735B (en) Secure storage system
CN112104888B (en) Method and system for grouping live broadcast users

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