Cellular number management system of eSIM (Embedded Subscriber Identity Module)
By introducing multiple number deletion mechanisms into the cellular number management system of the eSIM module, the problem of unsatisfactory success rate and processing efficiency of the eSIM module in the prior art is solved, and a more efficient number management and number change process is realized.
Patent Information
- Application Number
- CN202510120840.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-09
AI Technical Summary
The existing eSIM module number change mechanism relies on the transmission and reception efficiency of remote SMS, resulting in unsatisfactory number change success rate and processing efficiency, which are greatly affected by signal quality and service quality.
A cellular number management system with eSIM module is designed, including multiple mobile communication devices and remote servers, and three number deletion mechanisms are adopted: two passive number deletion mechanisms based on remote SMS/messages and an active number deletion mechanism based on local configuration management files.
Through various number deletion mechanisms, the efficiency and success rate of old number deletion of the eSIM module are improved, and thus the efficiency and success rate of number change are improved.
Smart Images

Figure CN119967399A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a cellular number management system of an eSIM module. Background Art
[0002] The embedded subscriber identity module, or eSIM (Embedded Subscriber Identity Module), is a software and hardware processing module built into a mobile communication device that is used to simulate the functions of a physical telecommunications card (such as a SIM card, UICC card, etc.). The module simulates the telecommunications card I / O communication protocols and instruction sets of various mobile communication networks (such as 4G networks, 5G networks, LTE networks, etc.) through a built-in embedded operating system. At the same time, it also uses the built-in data storage space to store a series of configuration files for mobile communication network cellular numbers (i.e., mobile phone numbers). These configuration files are equivalent to the telecommunications card files of various mobile communication network telecommunications cards. After the eSIM module is built into the mobile communication device, the user can change the number by updating the configuration file, thus avoiding the cumbersome process of plugging and unplugging the physical card when changing the number.
[0003] At present, most of the conventional processing mechanisms for changing the number of eSIM modules are implemented by remote SMS. For example, when a remote server (referred to as server A) confirms that the eSIM module (referred to as module C) on a mobile communication device (referred to as device B) needs to be changed, it will send a remote management SMS (referred to as SMS D) with a number deletion instruction (or deletion instruction) to device B. Device B will transparently transmit SMS D to module C. After receiving SMS D, module C will delete the old number configuration file stored locally. Once module C completes the number deletion operation, it will cause device B to fail to stay on the network. At this time, device B will connect to server A through other connection methods (such as accessing the Internet through WiFi or network cables) and obtain the card writing script of the new number configuration file from server A to write the card to module C and reset the device after the card writing is completed. After the reset, device B can log on to the network based on the new number configuration file on module C. Obviously, the success rate and processing efficiency of the conventional processing mechanism are closely related to the efficiency of sending and receiving SMS D. However, during the actual application process, we found that due to various factors such as the signal quality of the mobile communication network and the service quality of the SMS service gateway, the efficiency of sending and receiving SMS D is not very ideal. In other words, the success rate and processing efficiency of the eSIM module number changing mechanism that only relies on remote SMS need to be further improved. Summary of the invention
[0004] The purpose of the present invention is to provide a cellular number management system of an eSIM module in response to the defects of the prior art, the system comprising: multiple mobile communication devices and a remote service end. Each mobile communication device comprises at least a first communication module (4G / 5G / LTE module), an eSIM module, a local configuration module and a second communication module (WiFi / Ethernet module); wherein the first communication module is used to call the eSIM module to perform a login operation on the mobile communication network when the mobile communication device is powered on / reset, and to set the corresponding login status based on the login result (success, failure), and to transparently transmit the first management SMS / first management message for deleting the old number configuration file sent by the remote service end through the SMS service gateway / data service gateway to the eSIM module, and to respond to the instruction to provide local information sent by the eSIM module; the local configuration module is used to The remote server is connected through the second communication module and a first configuration message corresponding to a cellular number is applied to the remote server, and the eSIM module is written based on the first configuration message, and the mobile communication device is reset when the writing operation is successful, and the configuration management file on the eSIM module is regularly updated after the network is successfully logged in; the eSIM module is used to store a configuration management file and a network file directory corresponding to a cellular number inside the module, and regularly obtain the latest local information to update the configuration management file by sending a local information instruction to the first communication module, and three number deletion methods are given based on the first management SMS / first management message / configuration management file. The remote server is used to regularly sort expired numbers according to the number database and send the first management SMS or first management message to all mobile communication devices corresponding to the expired numbers based on the sorted expired number set, and is also used to respond to the cellular number application tasks initiated by each mobile communication device. The system of the present invention provides three number deletion mechanisms: two passive number deletion mechanisms based on remote SMS / messages and one active number deletion mechanism based on local configuration management files; based on these three number deletion mechanisms, the efficiency and success rate of old number deletion of the eSIM module can be improved, and naturally the purpose of improving the efficiency and success rate of number replacement of the eSIM module can be achieved.
[0005] To achieve the above-mentioned purpose, an embodiment of the present invention provides a cellular number management system for an eSIM module, the system comprising: a plurality of mobile communication devices and a remote service end;
[0006] The mobile communication device includes at least a first communication module, a local configuration module, a second communication module and an eSIM module; the local configuration module is connected to the first communication module, the second communication module and the eSIM module respectively; the first communication module is connected to the eSIM module; the first communication module includes at least a 4G communication module, a 5G communication module and an LTE communication module; the second communication module includes at least a WiFi communication module and an Ethernet communication module;
[0007] The first communication module is used to call the eSIM module to perform a login operation on the mobile communication network when the mobile communication device is turned on or reset, and set the corresponding login status to login success when the login operation is successful, and set the corresponding login status to login failure when the login operation fails; the login status includes login success or login failure;
[0008] The first communication module is also used for, when the login status is successful, if a first management SMS message sent by the remote service end is received through the SMS service gateway of the mobile communication network, forwarding the first management SMS message to the eSIM module; if a first management message sent by the remote service end is received through the data service gateway of the mobile communication network, forwarding the first management message to the eSIM module; if a local information provision instruction is received from the eSIM module, corresponding local information collection is performed based on the command qualifier of the local information provision instruction to obtain corresponding local information feedback and send it back to the eSIM module; the command qualifier limits the type of local information required to be provided by the current instruction through different codes, and the code of the command qualifier includes at least a location information code and a time information code;
[0009] The local configuration module is used to connect to the remote server through the second communication module and apply to the remote server for a first configuration message corresponding to a cellular number when the login status is set to login failure; and perform a number writing operation on the eSIM module based on the first configuration message; and reset the mobile communication device when the number writing operation is successful;
[0010] The local configuration module is further used to regularly update the configuration management file on the eSIM module when the login status is successful.
[0011] The eSIM module is used to store the configuration management file and the network login file directory corresponding to a cellular number inside the module; the configuration management file is an empty file when the cellular number fails to be successfully written; the network login file directory is an empty directory when the cellular number fails to be successfully written; when the network login file directory is an empty directory, the network login operation of the first communication module will fail;
[0012] The eSIM module is further configured to periodically obtain the latest local information by sending the providing local information instruction to the first communication module to update the configuration management file;
[0013] The eSIM module is further used to perform number deletion processing according to the first management SMS;
[0014] The eSIM module is further used to perform number deletion processing according to the first management message;
[0015] The eSIM module is also used to perform number deletion processing according to the configuration management file;
[0016] The remote server is used to store the device database and the number database locally on the server;
[0017] The remote server is also used to periodically sort expired numbers according to the number database to obtain a corresponding expired number set; and send the first management SMS or the first management message to the mobile communication devices corresponding to all expired numbers based on the device database and the expired number set;
[0018] The remote server is also used to respond to cellular number application tasks initiated by each of the mobile communication devices according to the device database and the number database.
[0019] Preferably, the first management SMS is a point-to-point protocol SMS, consisting of a plurality of SMS protocol fields, one of which is a user information field; the field content of the user information field of the first management SMS is a first management instruction; the first management instruction at least includes a deletion instruction;
[0020] The first management message is an HTTP / HTTPS message, consisting of a message header and a message body; the message body of the first management message carries a management instruction field; the field content of the management instruction field of the first management message is a second management instruction; the second management instruction at least includes a delete instruction;
[0021] The first configuration message includes a first number writing script and a first configuration script;
[0022] The first number writing script is used to create files and configure file content in the login file directory of the eSIM module through file creation instructions, file selection instructions, and file data read / write instructions corresponding to various types of files of the eSIM module;
[0023] The first configuration script is used to set the configuration status word, effective period configuration, roaming range configuration and mobile network configuration of the configuration management file through the file selection instruction of the eSIM module and the file data read / write instruction corresponding to the configuration management file, and initialize the latest local location information and the latest local time information of the configuration management file to empty;
[0024] The file content of the configuration management file includes the configuration status word, the effective period configuration, the roaming range configuration, the mobile network configuration, the latest local location information and the latest local time information; the configuration status word, the effective period configuration, the roaming range configuration and the mobile network configuration cannot be empty; the configuration status word includes the first, second and third configuration states; the state values of the first, second and third configuration states include 0 and 1; the effective period configuration consists of a reference time zone, a period start time and a period end time, the reference time zone has a value range of an integer from 1 to 24, the period start time and the period end time are the time zone time in the reference time zone, the period start time and the period end time are the time zone time in the reference time zone, and the period start time and the period end time are the time zone time in the reference time zone. The time information of the time period end time at least includes year, month, day, hour and minute; the roaming range configuration is composed of one or more roaming range information, and the roaming range information is composed of a pair of country code and location area code; the mobile network configuration is composed of one or more mobile network codes; the latest local location information and the latest local time information are initialized to empty; when the latest local location information is not empty, it is composed of the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code; when the latest local time information is not empty, it is composed of the latest time and the latest time zone; the time information of the latest time at least includes year, month, day, hour and minute; the value range of the latest time zone is an integer range of 1 to 24;
[0025] The device database includes a plurality of device data records; the device data records correspond to the mobile communication devices one by one; the device data records include a first identification field and a first number field; the first identification field is used to store the device identification of the corresponding mobile communication device; when the first number field is not empty, it is used to store a cellular number;
[0026] The number database includes multiple number data records; each of the number data records corresponds to a cellular number; the number data record includes a second number field, a first number status field, a first validity period field, a first SMS service field, a first data traffic service field, a first number writing script field and a first configuration script field; the second number field is used to store the corresponding cellular number; the first number status field includes unused, in use, and expired, and the initial value of the first number status field is unused; the first validity period field consists of a first start time and a first end time, and the time zone of the first start time and the first end time is consistent with the server time zone of the remote server, and the first start time and the first end time are consistent with the server time zone of the remote server. The time and the time information of the first end time include at least year, month, day, hour and minute; the first SMS service field includes activated and unactivated, and when the first SMS service field is activated, it indicates that the corresponding cellular number has activated the SMS service, and when it is unactivated, it indicates that the corresponding cellular number has not activated the SMS service; the first data traffic service field includes activated and unactivated, and when the first data traffic service field is activated, it indicates that the corresponding cellular number has activated the data traffic service, and when it is unactivated, it indicates that the corresponding cellular number has not activated the data traffic service; the first number writing script field is used to store the first number writing script of the corresponding cellular number; the first configuration script field is used to store the first configuration script of the corresponding cellular number.
[0027] Preferably, the first communication module is specifically used to identify the code of the command qualifier when the corresponding local information is collected based on the command qualifier of the instruction to provide local information to obtain the corresponding local information feedback and send it back to the eSIM module; if the code of the command qualifier is a location information code, then the country code, mobile network code, location area code and base station identifier corresponding to the current mobile communication network are obtained by querying the current login base station to form a corresponding local information feedback and send it back to the eSIM module; if the code of the command qualifier is a time information code, then the current time and current time zone are obtained by querying the current login base station to form a corresponding local information feedback and send it back to the eSIM module; the time information of the current time at least includes year, month, day, hour and minute; the value range of the current time zone is an integer range of 1 to 24.
[0028] Preferably, the local configuration module is specifically used to access the Internet and connect to the remote server through the second communication module when the remote server is connected through the second communication module and a first configuration message corresponding to a cellular number is applied to the remote server; and after the connection is successful, the unique identifier of the mobile communication device is used as the corresponding first device identifier; and the first number selection request carrying the first device identifier is sent to the remote server; and the first number list sent back by the remote server is displayed to the user of the mobile communication device; and the cellular number information of a first number record selected by the user from the first number list is used as the corresponding first cellular number; and the first download request carrying the first device identifier and the first cellular number is sent to the remote server; and the first configuration message sent back by the remote server is received; the first number list includes one or more of the first number records; the first number record includes the cellular number information and number profile information.
[0029] Preferably, the local configuration module is specifically used to extract the corresponding first number writing script and the first configuration script from the first configuration message when the number writing operation is performed on the eSIM module based on the first configuration message; and complete the file creation and file configuration operations of the login file directory on the eSIM module by executing the first number writing script; and complete the file configuration operation of the configuration management file on the eSIM module by executing the first configuration script; and confirm the success of the number writing operation after the first number writing script and the first configuration script are successfully executed.
[0030] Preferably, the local configuration module is specifically used to periodically obtain a set of the latest country codes, mobile network codes, location area codes and base station identifiers based on the location information query interface provided by the operating system of the mobile communication device at a preset first time frequency when periodically updating the configuration management file on the eSIM module, and record them as the corresponding current country code, current mobile network code, current location area code and current base station identifier; and obtain a set of the latest system time and system time zone based on the time information query interface provided by the operating system of the mobile communication device, and record them as the corresponding current system time and current system time zone; and use the file selection instruction of the eSIM module to and file data read / write instructions corresponding to the configuration management file, setting the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code of the latest local location information of the configuration management file to the corresponding current country code, the current location area code, the current base station identifier and the current mobile network code, and setting the latest time and the latest time zone of the latest local time information of the configuration management file to the corresponding current system time and the current system time zone; the time information of the system time includes at least year, month, day, hour and minute; the value range of the system time zone is an integer range of 1 to 24.
[0031] Preferably, the eSIM module is specifically used to, when the latest local information is obtained by periodically sending the provide local information instruction to the first communication module to update the configuration management file, periodically send the provide local information instruction in which the code of the command qualifier is set to the location information code to the first communication module at a preset second time frequency, and use the local information feedback sent back by the first communication module as the corresponding first location information; and after obtaining the first local information, send the provide local information instruction in which the code of the command qualifier is set to the time information code to the first communication module, and use the local information feedback sent back by the first communication module as the corresponding first time information; extract the corresponding country code, mobile network code, location area code and base station identifier from the first location information to update the corresponding latest country code, the latest location area code, the latest base station identifier and the latest mobile network code in the latest local location information of the configuration management file; and extract the corresponding current time and current time zone from the first time information to update the corresponding latest time and latest time zone in the latest local time information of the configuration management file.
[0032] Preferably, the eSIM module is specifically used to identify the first management instruction of the first management SMS when the number deletion processing is performed according to the first management SMS; if the first management instruction is a deletion instruction, all files under the login file directory are deleted, and the configuration management file is cleared.
[0033] Preferably, the eSIM module is specifically used to identify the second management instruction of the first management message when performing number deletion processing according to the first management message; if the second management instruction is a deletion instruction, all files under the login file directory are deleted, and the configuration management file is cleared.
[0034] Preferably, the eSIM module is specifically used to periodically identify whether the configuration management file is an empty file at a preset third time frequency when number deletion processing is performed according to the configuration management file; if the configuration management file is not an empty file, then based on the configuration status word, the valid period configuration, the roaming range configuration, the mobile network configuration, the latest local location information and the latest local time information of the configuration management file, identify whether it is necessary to initiate local spontaneous deletion to obtain a corresponding first identification state, and when the first identification state is needed, delete all files under the login file directory and clear the configuration management file; the first identification state includes needed and not needed.
[0035] Further, the eSIM module is specifically used to identify whether it is necessary to start local spontaneous deletion based on the configuration status word, the valid period configuration, the roaming range configuration, the mobile network configuration, the latest local location information and the latest local time information of the configuration management file to obtain a corresponding first identification state:
[0036] Identify the first configuration state of the configuration state word; if the state value of the first configuration state is 0, set the corresponding first sub-state as not required; if the state value of the first configuration state is 1, use the time period composed of the time period start time and the time period end time of the effective time period configuration as the corresponding inspection period, and use the latest time zone of the latest local time information and the reference time zone of the effective time period configuration as the corresponding pre-conversion time zone and post-conversion time zone, and convert the latest time of the latest local time information to the corresponding time zone time under the post-conversion time zone according to the pre-conversion time zone and the post-conversion time zone according to a preset time zone time conversion method to obtain a corresponding conversion time, and identify whether the conversion time satisfies the inspection period, if so, set the corresponding first sub-state as not required, if not, set the corresponding first sub-state as required; the first sub-state includes required and not required;
[0037] and identifying the second configuration state of the configuration state word; if the state value of the second configuration state is 0, setting the corresponding second sub-state as not required; if the state value of the second configuration state is 1, confirming whether there is a country code and a location area code of the roaming range information in the roaming range configuration that matches the latest country code and the latest location area code corresponding to the latest local location information, and if it is confirmed that there is, setting the corresponding second sub-state as not required, and if it is confirmed that there is not, setting the corresponding second sub-state as required; the second sub-state includes required and not required;
[0038] and identifying the third configuration state of the configuration state word; if the state value of the third configuration state is 0, setting the corresponding third sub-state to not required; if the state value of the third configuration state is 1, confirming whether there is a mobile network code in the mobile network configuration that matches the latest mobile network code of the latest local location information, and if it is confirmed that there is, setting the corresponding third sub-state to not required, and if it is confirmed that there is not, setting the corresponding third sub-state to required; the third sub-state includes required and not required;
[0039] And identify whether the first, second and third sub-states obtained are all unnecessary; if so, set the corresponding first identification state as unnecessary; if not, set the corresponding first identification state as necessary.
[0040] Preferably, the remote server is specifically used to periodically traverse all the number data records in the number database whose first number status field is not expired according to a preset fourth time frequency when the expired numbers are sorted periodically according to the number database to obtain the corresponding expired number set; and during this round of traversal, the number data record currently traversed is used as the corresponding current record; and the first validity period field of the current record is used as the corresponding current validity period; and the first end time of the current validity period is used as the corresponding current end time; and when the current time of the server is not earlier than the current end time, the first number status field of the current record is set to expired; and at the end of this round of traversal, all the number data records in the number database whose first number status field is expired are extracted to form the corresponding expired number set.
[0041] Preferably, the remote service end is specifically used for performing a round of traversal of all the number data records of the expired number set when the first management SMS or the first management message is sent to the mobile communication devices corresponding to all expired numbers based on the device database and the expired number set; and in this round of traversal, the number data record currently traversed is used as the corresponding current record; and the second number field, the first SMS service field and the first data traffic service field of the current record are extracted as the corresponding current cellular number, the current SMS service activation status and the current data traffic service activation status; and the first number field in the device database is compared with the first management message. The device data record that matches the current cellular number is used as the corresponding current device record; and when the current device record is not empty, the mobile communication device corresponding to the current device record is used as the corresponding current device; and the current SMS service activation status and the current data traffic service activation status are identified. If the current SMS service activation status is activated but the current data traffic service activation status is not activated, the corresponding current sending mode is set to the first sending mode. If the current data traffic service activation status is activated but the current SMS service activation status is not activated, the corresponding current sending mode is set to the second sending mode. If the current SMS service activation status and the current If both the current SMS service activation status and the current data traffic service activation status are activated, randomly select one from the first and second sending modes as the corresponding current sending mode; if both the current SMS service activation status and the current data traffic service activation status are not activated, set the corresponding current sending mode to the non-sending mode; and when the obtained current sending mode is not the non-sending mode, further identify the current sending mode; if the current sending mode is the first sending mode, set a corresponding first management instruction as a deletion instruction, and based on the point-to-point protocol SMS encapsulation rule corresponding to the first management SMS, perform point-to-point protocol SMS encapsulation according to the first management instruction to obtain the corresponding first management SMS. message, and send the first management SMS to the current device through the SMS service gateway of the mobile communication network, and clear the first number field recorded in the current device after the SMS is sent; if the current sending mode is the second sending mode, set a corresponding second management instruction as a deletion instruction, and based on the HTTP / HTTPS message encapsulation rule corresponding to the first management message, perform HTTP / HTTPS message encapsulation according to the second management instruction to obtain the corresponding first management message, and send the first management message to the current device through the data service gateway of the mobile communication network, and clear the first number field recorded in the current device after the message is sent.
[0042] Preferably, the remote server is specifically used for responding to the cellular number application task initiated by each of the mobile communication devices according to the device database and the number database:
[0043] When receiving each first number selection request sent by the local configuration module of the mobile communication device, the first number selection request received at that time is taken as the corresponding current number selection request; and the local configuration module of the mobile communication device corresponding to the current number selection request is taken as the corresponding current device configuration module; and the corresponding first device identifier is extracted from the current number selection request as the corresponding current device identifier; and the device data record whose first identifier field in the device database matches the current device identifier is taken as the corresponding current device record; and when the current device record is not empty, all the number data records whose first number status field in the number database is unused are recorded as corresponding unused records; and the second number field of each unused record is extracted as a corresponding cellular number information, and the first validity period field, the first short message service field and the first data traffic service field of each unused record are extracted to form a corresponding number brief information, and the cellular number information and the number brief information corresponding to each unused record form a corresponding first number record; and all the obtained first number records form a corresponding first number list; and the obtained first number list is sent back to the current device configuration module;
[0044] And when each first download request sent by the local configuration module of the mobile communication device is received, the first download request received at that time is taken as the corresponding current download request; and the local configuration module of the mobile communication device corresponding to the current download request is taken as the corresponding current device configuration module; and the corresponding first device identifier and the first cellular number are extracted from the current download request as the corresponding current device identifier and the current cellular number; and the device data record whose first identifier field in the device database matches the current device identifier is taken as the corresponding current device record; and the number data record whose second number field in the number database matches the current cellular number and whose first number status field is unused is taken as the corresponding current number record; and when both the current device record and the current number record are not empty, the first number field of the current device record is set to the corresponding current cellular number, and the first number status field of the current number record is set to in use, and the first number writing script field and the first configuration script field of the current number record are extracted as the corresponding first number writing script and the first configuration script to form a corresponding first configuration message, and the obtained first configuration message is sent back to the current device configuration module.
[0045] An embodiment of the present invention provides a cellular number management system for an eSIM module. As can be seen from the above content, the system includes: multiple mobile communication devices and a remote server. Each mobile communication device includes at least a first communication module (4G / 5G / LTE module), an eSIM module, a local configuration module, and a second communication module (WiFi / Ethernet module); wherein the first communication module is used to call the eSIM module to perform a login operation on the mobile communication network when the mobile communication device is powered on / reset, and to set the corresponding login status based on the login result (success, failure), and to transparently transmit the first management SMS / first management message for deleting the old number configuration file sent by the remote server through the SMS service gateway / data service gateway to the eSIM module, and to respond to the instruction to provide local information sent by the eSIM module; the local configuration module is used to The remote server is connected through the second communication module and a first configuration message corresponding to a cellular number is applied to the remote server, and the eSIM module is written based on the first configuration message, and the mobile communication device is reset when the writing operation is successful, and the configuration management file on the eSIM module is regularly updated after the network is successfully logged in; the eSIM module is used to store a configuration management file and a network file directory corresponding to a cellular number inside the module, and regularly obtain the latest local information to update the configuration management file by sending a local information instruction to the first communication module, and three number deletion methods are given based on the first management SMS / first management message / configuration management file. The remote server is used to regularly sort expired numbers according to the number database and send the first management SMS or first management message to all mobile communication devices corresponding to the expired numbers based on the sorted expired number set, and is also used to respond to the cellular number application tasks initiated by each mobile communication device. The embodiments of the present invention provide three number deletion mechanisms: two passive number deletion mechanisms based on remote SMS / messages and one active number deletion mechanism based on local configuration management files; based on the embodiments of the present invention, these three number deletion mechanisms not only improve the efficiency of deleting old numbers of the eSIM module, but also improve the success rate of deleting old numbers, which naturally improves the efficiency and success rate of number replacement of the eSIM module. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A module structure diagram of a cellular number management system of an eSIM module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] An embodiment of the present invention provides a cellular number management system for an eSIM module, such as Figure 1 As shown in the module structure diagram of a cellular number management system of an eSIM module provided in an embodiment of the present invention, it mainly includes: multiple mobile communication devices 1 and a remote service end 2.
[0049] (I) Mobile communication device 1:
[0050] The mobile communication device 1 of the embodiment of the present invention at least includes a first communication module 11, a local configuration module 12, a second communication module 13 and an eSIM module 14. Among them, the local configuration module 12 is connected to the first communication module 11, the second communication module 13 and the eSIM module 14 respectively; the first communication module 11 is connected to the eSIM module 14. The first communication module 11 includes at least a 4G communication module, a 5G communication module, and an LTE communication module. The second communication module 13 includes at least a WiFi communication module and an Ethernet communication module. The mobile communication device 1 of the embodiment of the present invention is any type of device or equipment with the above modules 11-14, such as a communication module, a mobile phone, a mobile terminal, a PAD / tablet computer, a laptop computer, etc.
[0051] 1) First communication module 11:
[0052] The first communication module 11 of the embodiment of the present invention is used to call the eSIM module 14 to perform a login operation on the mobile communication network when the mobile communication device 1 is turned on or reset, and set the corresponding login status to login success when the login operation is successful, and set the corresponding login status to login failure when the login operation fails. The login status includes login success or login failure.
[0053] The first communication module 11 of the embodiment of the present invention is also used for forwarding the first management SMS to the eSIM module 14 if the first management SMS sent by the remote server 2 is received through the SMS service gateway of the mobile communication network when the login status is successful; if the first management message sent by the remote server 2 is received through the data service gateway of the mobile communication network, the first management message is forwarded to the eSIM module 14; if the provide local information instruction is received from the eSIM module 14, the corresponding local information is collected based on the command qualifier of the provide local information instruction to obtain the corresponding local information feedback and send it back to the eSIM module 14.
[0054] Here, the first management SMS of the embodiment of the present invention is a point-to-point protocol SMS (Short Message Service-Point to Point, SMS-PP), composed of multiple SMS protocol fields, one of which is a user information field; the field content of the user information field of the first management SMS is a first management instruction; the first management instruction at least includes a delete instruction. The first management message of the embodiment of the present invention is an HTTP / HTTPS message, composed of a message header and a message body; the message body of the first management message carries a management instruction field; the field content of the management instruction field of the first management message is a second management instruction; the second management instruction at least includes a delete instruction. The provide local information instruction of the embodiment of the present invention is the PROVIDE LOCALINFORMATION instruction in the well-known proactive command of the telecommunications card; it can be seen from the instruction parameter structure disclosed by the PROVIDE LOCAL INFORMATION instruction that the command qualifier (Command Qualifier) of the instruction limits the type of local information required to be provided by the current instruction through different encodings. In the embodiment of the present invention, the encoding of the command qualifier includes at least a location information encoding and a time information encoding. The location information encoding is normally hexadecimal 0x00, and the time information encoding is normally hexadecimal 0x03.
[0055] In another specific implementation of the embodiment of the present invention, the first communication module 11 is specifically used to send the first management SMS to the eSIM module 14 through the well-known telecommunications card instruction: ENVELOPE (SMS-PP DOWNLOAD) instruction when forwarding the first management SMS to the eSIM module 14.
[0056] In another specific implementation of the embodiment of the present invention, the first communication module 11 is specifically used to send the first management message to the eSIM module 14 using a message transmission process based on a BIP (bearer Independent Protocol) protocol when forwarding the first management message to the eSIM module 14.
[0057] The message transmission process based on the BIP protocol can be customized or implemented using some public solutions. For example:
[0058] Step A1, the first communication module 11 first sets an ENVELOPE (Data Available) instruction according to the known telecommunication card instruction: the instruction format of the ENVELOPE (Data Available) instruction and the message length of the first management message, and sends it to the eSIM module 14;
[0059] Step A2, after receiving the ENVELOPE (Data Available) instruction, the eSIM module 14 sends back an active instruction with a series of channel configuration information to the first communication module 11 based on the active instruction return mechanism of the telecommunication card: OPEN CHANNEL instruction;
[0060] Step A3, after receiving the OPEN CHANNEL instruction, the first communication module 11 sets a BIP channel identifier and sends another telecommunication card instruction carrying the BIP channel identifier: TERMINAL RESPONSE instruction to the eSIM module 14;
[0061] Step A4, after extracting the BIP channel identifier from the TERMINAL RESPONSE instruction, the eSIM module 14 sends back an active instruction with the BIP channel identifier and the maximum received data length to the first communication module 11 based on the reply mechanism of the active instruction of the telecommunications card: RECEIVE DATA instruction;
[0062] Step A5, after receiving the RECEIVE DATA instruction, the first communication module 11 sends a TERMINAL RESPONSE instruction carrying the first management message to the eSIM module 14;
[0063] Step A6, after extracting the first management message from the TERMINAL RESPONSE instruction, the eSIM module 14 sends back an active instruction with the above BIP channel identifier: CLOSE CHANNEL instruction to the first communication module 11 based on the reply mechanism of the active instruction of the telecommunication card;
[0064] Step A7: After receiving the CLOSE CHANNEL instruction, the first communication module 11 confirms that the current transmission process is completed.
[0065] In another specific implementation of the embodiment of the present invention, the first communication module 11 is specifically used to identify the code of the command qualifier when the corresponding local information is collected based on the command qualifier of the local information instruction and the corresponding local information feedback is sent back to the eSIM module 14; if the code of the command qualifier is the location information code, then the country code (Mobile Country Code, MCC), mobile network code (Mobile Network Code, MNC), location area code (Location Area Code, LAC) and base station identification (Cell ID) corresponding to the current mobile communication network are obtained by querying the current login base station to form a corresponding local information feedback to be sent back to the eSIM module 14; if the code of the command qualifier is the time information code, then the current time and the current time zone are obtained by querying the current login base station to form a corresponding local information feedback to be sent back to the eSIM module 14. Here, the time information of the current time in the above steps at least includes year, month, day, hour and minute; the value range of the current time zone is an integer range of 1 to 24, corresponding to the 24 time zones in the world.
[0066] 2) Local configuration module 12:
[0067] The local configuration module 12 of the embodiment of the present invention may be a software processing module, a hardware processing module, or a processing module combining software and hardware; its function is similar to the LPA (Local Profile Assistant) function module in the eSIM RSP (Remote SIM Provisioning) architecture.
[0068] The local configuration module 12 of the embodiment of the present invention is used to connect to the remote server 2 through the second communication module 13 and apply to the remote server 2 for a first configuration message corresponding to a cellular number when the login status is set to login failure; and perform a number writing operation on the eSIM module 14 based on the first configuration message; and reset the mobile communication device 1 when the number writing operation is successful.
[0069] Here, the first configuration message of an embodiment of the present invention includes a first number writing script and a first configuration script; wherein, the first number writing script is used to create files and configure file content in the login file directory of the eSIM module 14 through the file creation instructions, file selection instructions and file data read / write instructions corresponding to various types of files of the eSIM module 14; the first configuration script is used to set the configuration status word, effective period configuration, roaming range configuration and mobile network configuration of the configuration management file through the file selection instructions of the eSIM module 14 and the file data read / write instructions corresponding to the configuration management file, and initialize the latest local location information and the latest local time information of the configuration management file to empty.
[0070] The local configuration module 12 of the embodiment of the present invention is further configured to periodically update the configuration management file on the eSIM module 14 when the network login status is successful.
[0071] Here, the file content of the configuration management file of the embodiment of the present invention includes a configuration status word, a valid period configuration, a roaming range configuration, a mobile network configuration, the latest local location information and the latest local time information; wherein:
[0072] a) The configuration status word, valid period configuration, roaming range configuration, and mobile network configuration cannot be empty; the configuration status word includes the first, second, and third configuration states; the state values of the first, second, and third configuration states include 0 and 1; the valid period configuration consists of a reference time zone, a period start time, and a period end time, the reference time zone value range is an integer range from 1 to 24, the period start time and the period end time are the time zone time in the reference time zone, and the time information of the period start time and the period end time at least includes year, month, day, hour, and minute; the roaming range configuration consists of one or more roaming range information, and the roaming range information consists of a pair of country code and location area code; the mobile network configuration consists of one or more mobile network codes;
[0073] b) The latest local location information and the latest local time information are initialized to empty; when the latest local location information is not empty, it is composed of the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code; when the latest local time information is not empty, it is composed of the latest time and the latest time zone; the time information of the latest time includes at least year, month, day, hour and minute; the value range of the latest time zone is an integer range from 1 to 24.
[0074] In another specific implementation method of the embodiment of the present invention, the local configuration module 12 is specifically used to access the Internet and connect to the remote server 2 through the second communication module 13 when connecting to the remote server 2 through the second communication module 13 and applying for a first configuration message corresponding to a cellular number from the remote server 2; and after the connection is successful, use the unique identifier of the mobile communication device 1 as the corresponding first device identifier; and send the first number selection request carrying the first device identifier to the remote server 2; and display the first number list sent back by the remote server 2 to the user of the mobile communication device 1; and use the cellular number information of a first number recorded by the user selected from the first number list as the corresponding first cellular number; and send the first download request carrying the first device identifier and the first cellular number to the remote server 2; and receive the first configuration message sent back by the remote server 2.
[0075] The first number list includes one or more first number records; the first number record includes cellular number information and number profile information.
[0076] In another specific implementation method of an embodiment of the present invention, the local configuration module 12 is specifically used to extract the corresponding first writing script and first configuration script from the first configuration message when performing a writing operation on the eSIM module 14 based on the first configuration message; and complete the file creation and file configuration operations of the network file directory on the eSIM module 14 by executing the first writing script; and complete the file configuration operation of the configuration management file on the eSIM module 14 by executing the first configuration script; and confirm the success of the writing operation after the first writing script and the first configuration script are successfully executed.
[0077] In another specific implementation of the embodiment of the present invention, the local configuration module 12 is specifically used to periodically update the configuration management file on the eSIM module 14, and obtain a set of the latest country codes, mobile network codes, location area codes and base station identifiers based on the location information query interface provided by the operating system of the mobile communication device 1 according to a preset first time frequency, and record them as the corresponding current country code, current mobile network code, current location area code and current base station identifier; and obtain a set of the latest system time and system time zone based on the time information query interface provided by the operating system of the mobile communication device 1, and record them as the corresponding current system time and current system time zone; and through the file selection instruction of the eSIM module 14 and the file data read / write instruction corresponding to the configuration management file, set the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code of the latest local location information of the configuration management file to the corresponding current country code, the current location area code, the current base station identifier and the current mobile network code, and set the latest time and the latest time zone of the latest local time information of the configuration management file to the corresponding current system time and the current system time zone.
[0078] Among them, the first time frequency is a preset time frequency parameter; the time information of the system time at least includes year, month, day, hour and minute; the value range of the system time zone is an integer range from 1 to 24.
[0079] 3) eSIM module 14:
[0080] The eSIM module 14 of the embodiment of the present invention is used to store a configuration management file and a network login file directory corresponding to a cellular number inside the module.
[0081] Here, the configuration management file is an empty file when the cellular number fails to be written successfully; the login file directory is an empty directory when the cellular number fails to be written successfully. The login file directory is used to store all telecommunication card files corresponding to a cellular number; when the login file directory is an empty directory, the first communication module 11 cannot obtain normal file data information or normal instruction execution status through the telecommunication card instructions of the eSIM module 14 during the login operation process or the regular network process after successful login, which naturally causes the login operation of the first communication module 11 to fail.
[0082] The eSIM module 14 in the embodiment of the present invention is further configured to periodically obtain the latest local information by sending a local information providing instruction to the first communication module 11 to update the configuration management file.
[0083] The eSIM module 14 of the embodiment of the present invention also provides three number deletion processing mechanisms, namely: the eSIM module 14 is also used to perform number deletion processing according to the first management SMS. The eSIM module 14 is also used to perform number deletion processing according to the first management message. The eSIM module 14 is also used to perform number deletion processing according to the configuration management file.
[0084] In another specific implementation of the embodiment of the present invention, the eSIM module 14 is specifically used to periodically send a command qualifier encoding set to a location information encoding to the first communication module 11 to obtain the latest local information to update the configuration management file by periodically sending a local information providing instruction to the first communication module 11 according to a preset second time frequency, and use the local information feedback sent back by the first communication module 11 as the corresponding first location information; and after obtaining the first local information, send a command qualifier encoding set to a time information encoding to the first communication module 11, and use the local information feedback sent back by the first communication module 11 as the corresponding first time information; extract the corresponding country code, mobile network code, location area code and base station identifier from the first location information to update the corresponding latest country code, latest location area code, latest base station identifier and latest mobile network code in the latest local location information of the configuration management file; and extract the corresponding current time and current time zone from the first time information to update the corresponding latest time and latest time zone in the latest local time information of the configuration management file.
[0085] Here, the second time frequency is a preset time frequency parameter.
[0086] In another specific implementation method of the embodiment of the present invention, the eSIM module 14 is specifically used to identify the first management instruction of the first management SMS when performing number deletion processing according to the first management SMS; if the first management instruction is a deletion instruction, all files under the login file directory will be deleted, and the configuration management file will be cleared.
[0087] In another specific implementation method of the embodiment of the present invention, the eSIM module 14 is specifically used to identify the second management instruction of the first management message when performing number deletion processing according to the first management message; if the second management instruction is a deletion instruction, all files under the login file directory will be deleted, and the configuration management file will be cleared.
[0088] In another specific implementation method of an embodiment of the present invention, the eSIM module 14 is specifically used to periodically identify whether the configuration management file is an empty file according to a preset third time frequency when performing number deletion processing according to the configuration management file; if the configuration management file is not an empty file, then based on the configuration status word, valid period configuration, roaming range configuration, mobile network configuration, latest local location information and latest local time information of the configuration management file, whether it is necessary to initiate local spontaneous deletion is identified to obtain a corresponding first identification state, and when the first identification state is necessary, all files under the login file directory are deleted and the configuration management file is cleared.
[0089] The third time frequency is a preset time frequency parameter, and the first recognition state includes required and not required.
[0090] In another specific implementation of the embodiment of the present invention, the eSIM module 14 is specifically used to identify whether it is necessary to start local spontaneous deletion based on the configuration status word, effective period configuration, roaming range configuration, mobile network configuration, latest local location information and latest local time information of the configuration management file to obtain a corresponding first identification state:
[0091] Step B1, identifying the first configuration state of the configuration state word; if the state value of the first configuration state is 0, setting the corresponding first sub-state as not required; if the state value of the first configuration state is 1, the time period composed of the time period start time and the time period end time of the effective time period configuration is used as the corresponding inspection period, and the latest time zone of the latest local time information and the reference time zone of the effective time period configuration are used as the corresponding pre-conversion time zone and post-conversion time zone, and the latest time of the latest local time information is converted to the corresponding time zone time under the post-conversion time zone according to the pre-conversion time zone and the post-conversion time zone according to the preset time zone time conversion method to obtain the corresponding conversion time, and identifying whether the conversion time meets the inspection period, if it meets, setting the corresponding first sub-state as not required, if not, setting the corresponding first sub-state as required;
[0092] The first sub-state includes "need" and "not needed"; the time zone time conversion method is the well-known time conversion method of the global 24 time zones;
[0093] Step B2, and identifying the second configuration state of the configuration state word; if the state value of the second configuration state is 0, setting the corresponding second sub-state to not required; if the state value of the second configuration state is 1, confirming whether there is a country code and location area code of the roaming range information in the roaming range configuration that matches the latest country code and latest location area code corresponding to the latest local location information, if it is confirmed that it exists, setting the corresponding second sub-state to not required, if it is confirmed that it does not exist, setting the corresponding second sub-state to required;
[0094] Among them, the second sub-state includes need and not need;
[0095] Step B3, and identify the third configuration state of the configuration state word; if the state value of the third configuration state is 0, set the corresponding third sub-state to not required; if the state value of the third configuration state is 1, confirm whether there is a mobile network code in the mobile network configuration that matches the latest mobile network code of the latest local location information, if it is confirmed that there is, set the corresponding third sub-state to not required, if it is confirmed that there is not, set the corresponding third sub-state to required;
[0096] Among them, the third sub-state includes need and no need;
[0097] Step B4, and identify whether the first, second and third sub-states are all not required; if so, set the corresponding first identification state to not required; if not, set the corresponding first identification state to required.
[0098] (II) Remote Server 2:
[0099] The remote server 2 of the embodiment of the present invention is a remote service interface, server, server, system, platform or cloud.
[0100] The remote server 2 of the embodiment of the present invention is used to store the device database and the number database locally on the server.
[0101] Here, the device database of an embodiment of the present invention includes multiple device data records; the device data records correspond one-to-one to the mobile communication device 1; the device data records include a first identification field and a first number field; wherein the first identification field is used to store the device identification of the corresponding mobile communication device 1; when the first number field is not empty, it is used to store a cellular number.
[0102] The number database of the embodiment of the present invention includes multiple number data records; each number data record corresponds to a cellular number; the number data record includes a second number field, a first number status field, a first validity period field, a first SMS service field, a first data traffic service field, a first number writing script field and a first configuration script field; the second number field is used to store the corresponding cellular number; the first number status field includes unused, in use, and expired, and the initial value of the first number status field is unused; the first validity period field is composed of a first start time and a first end time, and the time zone of the first start time and the first end time is consistent with the server time zone of the remote server 2, and the first The time information of the start time and the first end time at least includes year, month, day, hour and minute; the first SMS service field includes activated and unactivated, and when the first SMS service field is activated, it indicates that the corresponding cellular number has activated the SMS service, and when it is unactivated, it indicates that the corresponding cellular number has not activated the SMS service; the first data traffic service field includes activated and unactivated, and when the first data traffic service field is activated, it indicates that the corresponding cellular number has activated the data traffic service, and when it is unactivated, it indicates that the corresponding cellular number has not activated the data traffic service; the first number writing script field is used to store the first number writing script of the corresponding cellular number; the first configuration script field is used to store the first configuration script of the corresponding cellular number.
[0103] The remote server 2 of the embodiment of the present invention is also used to periodically sort expired numbers according to the number database to obtain a corresponding expired number set; and based on the device database and the expired number set, send a first management SMS or a first management message to the mobile communication devices 1 corresponding to all expired numbers.
[0104] The remote server 2 of the embodiment of the present invention is also used to respond to the cellular number application tasks initiated by each mobile communication device 1 according to the device database and the number database.
[0105] In another specific implementation method of the embodiment of the present invention, the remote server 2 is specifically used to periodically perform a round of traversal of all number data records in the number database whose first number status field is not expired according to a preset fourth time frequency when periodically sorting expired numbers according to the number database to obtain the corresponding expired number set; and in this round of traversal, the number data record currently traversed is used as the corresponding current record; and the first validity period field of the current record is used as the corresponding current validity period; and the first end time of the current validity period is used as the corresponding current end time; and when the current time of the server is not earlier than the current end time, the first number status field of the current record is set to expired; and at the end of this round of traversal, all number data records in the number database whose first number status field is expired are extracted to form a corresponding expired number set.
[0106] Here, the fourth time frequency is a preset time frequency parameter.
[0107] In another specific implementation of the embodiment of the present invention, the remote service end 2 is specifically used to perform a round of traversal of all number data records in the expired number set when sending the first management SMS or the first management message to the mobile communication devices 1 corresponding to all expired numbers based on the device database and the expired number set; and in this round of traversal, the currently traversed number data record is used as the corresponding current record; and the second number field, the first SMS service field and the first data traffic service field of the current record are extracted as the corresponding current cellular number, the current SMS service activation status and the current data traffic service activation status; and the first number field in the device database is used as the first SMS service field and the first data traffic service field of the current record. The device data record whose number field matches the current cellular number is taken as the corresponding current device record; and when the current device record is not empty, the mobile communication device 1 corresponding to the current device record is taken as the corresponding current device; and the current SMS service activation status and the current data traffic service activation status are identified. If the current SMS service activation status is activated but the current data traffic service activation status is not activated, the corresponding current sending mode is set to the first sending mode. If the current data traffic service activation status is activated but the current SMS service activation status is not activated, the corresponding current sending mode is set to the second sending mode. If the current SMS service activation status is If both the current SMS service activation state and the current data traffic service activation state are activated, one is randomly selected from the first and second sending modes as the corresponding current sending mode; if both the current SMS service activation state and the current data traffic service activation state are not activated, the corresponding current sending mode is set to the no sending mode; and when the obtained current sending mode is not the no sending mode, the current sending mode is further identified; if the current sending mode is the first sending mode, a corresponding first management instruction is set as a deletion instruction, and based on the point-to-point protocol SMS encapsulation rule corresponding to the first management SMS, the point-to-point protocol SMS is encapsulated according to the first management instruction to obtain the corresponding first sending mode. A management SMS is sent to the current device through the SMS service gateway of the mobile communication network, and the first number field recorded in the current device is cleared after the SMS is sent; if the current sending mode is the second sending mode, a corresponding second management instruction is set as a deletion instruction, and based on the HTTP / HTTPS message encapsulation rule corresponding to the first management message, the HTTP / HTTPS message is encapsulated according to the second management instruction to obtain the corresponding first management message, and the first management message is sent to the current device through the data service gateway of the mobile communication network, and the first number field recorded in the current device is cleared after the message is sent.
[0108] In another specific implementation of the embodiment of the present invention, the remote server 2 is specifically used to respond to the cellular number application task initiated by each mobile communication device 1 according to the device database and the number database:
[0109] Step C1, when receiving a first number selection request sent by the local configuration module 12 of the mobile communication device 1, the first number selection request received at that time is taken as the corresponding current number selection request; and the local configuration module 12 of the mobile communication device 1 corresponding to the current number selection request is taken as the corresponding current device configuration module; and the corresponding first device identification is extracted from the current number selection request as the corresponding current device identification; and the device data record in the device database whose first identification field matches the current device identification is taken as the corresponding current device record; and when the current device record is not empty, all number data records in the number database whose first number status field is unused are recorded as corresponding unused records; and the second number field of each unused record is extracted as a corresponding cellular number information, and the first validity period field, the first short message service field and the first data traffic service field of each unused record are extracted to form a corresponding number brief information, and the cellular number information and number brief information corresponding to each unused record form a corresponding first number record; and all the obtained first number records form a corresponding first number list; and the obtained first number list is sent back to the current device configuration module;
[0110] Step C2, and every time a first download request sent by the local configuration module 12 of a mobile communication device 1 is received, the first download request received at that time is taken as the corresponding current download request; and the local configuration module 12 of the mobile communication device 1 corresponding to the current download request is taken as the corresponding current device configuration module; and the corresponding first device identifier and first cellular number are extracted from the current download request as the corresponding current device identifier and current cellular number; and the device data record whose first identifier field in the device database matches the current device identifier is taken as the corresponding current device record; and the number data record whose second number field in the number database matches the current cellular number and whose first number status field is unused is taken as the corresponding current number record; and when both the current device record and the current number record are not empty, the first number field of the current device record is set to the corresponding current cellular number, and the first number status field of the current number record is set to in use, and the first number writing script field and the first configuration script field of the current number record are extracted as the corresponding first number writing script and the first configuration script to form a corresponding first configuration message, and the obtained first configuration message is sent back to the current device configuration module.
[0111] It should be noted that it should be understood that the division of the various units, interfaces, and modules of the above system is only a division of logical functions. In actual implementation, they can be fully or partially integrated into a physical entity, or they can be physically separated. And these units, interfaces, and modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some units, interfaces, and modules can also be implemented in the form of software called by processing elements, and some units, interfaces, and modules can be implemented in the form of hardware. For example, the local configuration module can be a separately established processing element, or it can be integrated in a chip of the above-mentioned device. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and called by a processing element of the above-mentioned system to perform the above-mentioned determination unit function. The implementation of other units, interfaces, and modules is similar. In addition, these units, interfaces, and modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, the processing steps of each unit, interface, and module of the aforementioned system can be completed by the hardware integrated logic circuit in the processor element or the instructions in the form of software.
[0112] For example, the above system units, interfaces, and modules may be configured as one or more integrated circuits, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a unit, interface, or module of the above system is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these units, interfaces, and modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0113] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the above system are generated. The above computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The above-mentioned computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the above-mentioned computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, Bluetooth, microwave, etc.) methods. The above-mentioned computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The above-mentioned available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.
[0114] An embodiment of the present invention provides a cellular number management system for an eSIM module. As can be seen from the above content, the system includes: multiple mobile communication devices and a remote server. Each mobile communication device includes at least a first communication module (4G / 5G / LTE module), an eSIM module, a local configuration module, and a second communication module (WiFi / Ethernet module); wherein the first communication module is used to call the eSIM module to perform a login operation on the mobile communication network when the mobile communication device is powered on / reset, and to set the corresponding login status based on the login result (success, failure), and to transparently transmit the first management SMS / first management message for deleting the old number configuration file sent by the remote server through the SMS service gateway / data service gateway to the eSIM module, and to respond to the instruction to provide local information sent by the eSIM module; the local configuration module is used to The remote server is connected through the second communication module and a first configuration message corresponding to a cellular number is applied to the remote server, and the eSIM module is written based on the first configuration message, and the mobile communication device is reset when the writing operation is successful, and the configuration management file on the eSIM module is regularly updated after the network is successfully logged in; the eSIM module is used to store a configuration management file and a network file directory corresponding to a cellular number inside the module, and regularly obtain the latest local information to update the configuration management file by sending a local information instruction to the first communication module, and three number deletion methods are given based on the first management SMS / first management message / configuration management file. The remote server is used to regularly sort expired numbers according to the number database and send the first management SMS or first management message to all mobile communication devices corresponding to the expired numbers based on the sorted expired number set, and is also used to respond to the cellular number application tasks initiated by each mobile communication device. The embodiments of the present invention provide three number deletion mechanisms: two passive number deletion mechanisms based on remote SMS / messages and one active number deletion mechanism based on local configuration management files; based on the embodiments of the present invention, these three number deletion mechanisms not only improve the efficiency of deleting old numbers of the eSIM module, but also improve the success rate of deleting old numbers, which naturally improves the efficiency and success rate of number replacement of the eSIM module.
[0115] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0116] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0117] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A cellular number management system for an eSIM module, characterized in that: The system comprises: a plurality of mobile communication devices and a remote service end; The mobile communication device includes at least a first communication module, a local configuration module, a second communication module and an eSIM module; the local configuration module is connected to the first communication module, the second communication module and the eSIM module respectively; the first communication module is connected to the eSIM module; the first communication module includes at least a 4G communication module, a 5G communication module and an LTE communication module; the second communication module includes at least a WiFi communication module and an Ethernet communication module; The first communication module is used to call the eSIM module to perform a login operation on the mobile communication network when the mobile communication device is turned on or reset, and set the corresponding login status to login success when the login operation is successful, and set the corresponding login status to login failure when the login operation fails; the login status includes login success or login failure; The first communication module is also used for, when the login status is successful, if a first management SMS message sent by the remote service end is received through the SMS service gateway of the mobile communication network, forwarding the first management SMS message to the eSIM module; if a first management message sent by the remote service end is received through the data service gateway of the mobile communication network, forwarding the first management message to the eSIM module; if a local information provision instruction is received from the eSIM module, corresponding local information collection is performed based on the command qualifier of the local information provision instruction to obtain corresponding local information feedback and send it back to the eSIM module; the command qualifier limits the type of local information required to be provided by the current instruction through different codes, and the code of the command qualifier includes at least a location information code and a time information code; The local configuration module is used to connect to the remote server through the second communication module and apply to the remote server for a first configuration message corresponding to a cellular number when the login status is set to login failure; and perform a number writing operation on the eSIM module based on the first configuration message; and reset the mobile communication device when the number writing operation is successful; The local configuration module is further used to regularly update the configuration management file on the eSIM module when the login status is successful. The eSIM module is used to store the configuration management file and the network login file directory corresponding to a cellular number inside the module; the configuration management file is an empty file when the cellular number fails to be successfully written; the network login file directory is an empty directory when the cellular number fails to be successfully written; when the network login file directory is an empty directory, the network login operation of the first communication module will fail; The eSIM module is further configured to periodically obtain the latest local information by sending the providing local information instruction to the first communication module to update the configuration management file; The eSIM module is further used to perform number deletion processing according to the first management SMS; The eSIM module is further used to perform number deletion processing according to the first management message; The eSIM module is also used to perform number deletion processing according to the configuration management file; The remote server is used to store the device database and the number database locally on the server; The remote server is also used to periodically sort expired numbers according to the number database to obtain a corresponding expired number set; and send the first management SMS or the first management message to the mobile communication devices corresponding to all expired numbers based on the device database and the expired number set; The remote server is also used to respond to cellular number application tasks initiated by each of the mobile communication devices according to the device database and the number database.
2. The cellular number management system of the eSIM module according to claim 1, characterized in that: The first management SMS is a point-to-point protocol SMS, consisting of a plurality of SMS protocol fields, one of which is a user information field; The field content of the user information field of the first management SMS is a first management instruction; The first management instruction at least includes a deletion instruction; The first management message is an HTTP / HTTPS message, consisting of a message header and a message body; the message body of the first management message carries a management instruction field; the field content of the management instruction field of the first management message is a second management instruction; the second management instruction at least includes a delete instruction; The first configuration message includes a first number writing script and a first configuration script; The first number writing script is used to create files and configure file content in the login file directory of the eSIM module through file creation instructions, file selection instructions, and file data read / write instructions corresponding to various types of files of the eSIM module; The first configuration script is used to set the configuration status word, effective period configuration, roaming range configuration and mobile network configuration of the configuration management file through the file selection instruction of the eSIM module and the file data read / write instruction corresponding to the configuration management file, and initialize the latest local location information and the latest local time information of the configuration management file to empty; The file content of the configuration management file includes the configuration status word, the effective period configuration, the roaming range configuration, the mobile network configuration, the latest local location information and the latest local time information; The configuration status word, the valid period configuration, the roaming range configuration, and the mobile network configuration cannot be empty; the configuration status word includes the first, second, and third configuration states; the state values of the first, second, and third configuration states include 0 and 1; the valid period configuration consists of a reference time zone, a period start time, and a period end time, the reference time zone has a value range of an integer from 1 to 24, the period start time and the period end time are the time zone time in the reference time zone, and the time information of the period start time and the period end time at least includes year, month, day, hour, and minute; the roaming range configuration consists of The roaming range information is composed of one or more roaming range information, wherein the roaming range information is composed of a pair of country codes and location area codes; the mobile network configuration is composed of one or more mobile network codes; the latest local location information and the latest local time information are initialized to be empty; when the latest local location information is not empty, it is composed of the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code; when the latest local time information is not empty, it is composed of the latest time and the latest time zone; the time information of the latest time at least includes year, month, day, hour and minute; the value range of the latest time zone is an integer range of 1 to 24; The device database includes a plurality of device data records; the device data records correspond to the mobile communication devices one by one; the device data records include a first identification field and a first number field; the first identification field is used to store the device identification of the corresponding mobile communication device; when the first number field is not empty, it is used to store a cellular number; The number database includes multiple number data records; each of the number data records corresponds to a cellular number; the number data record includes a second number field, a first number status field, a first validity period field, a first SMS service field, a first data traffic service field, a first number writing script field and a first configuration script field; the second number field is used to store the corresponding cellular number; the first number status field includes unused, in use, and expired, and the initial value of the first number status field is unused; the first validity period field is composed of a first start time and a first end time, and the time zone of the first start time and the first end time is consistent with the server time zone of the remote server, and the time information of the first start time and the first end time includes at least year, month, day, hour and minute; The first SMS service field includes activated and unactivated. When the first SMS service field is activated, it indicates that the corresponding cellular number has activated the SMS service, and when it is unactivated, it indicates that the corresponding cellular number has not activated the SMS service; The first data traffic service field includes activated and unactivated. When the first data traffic service field is activated, it indicates that the corresponding cellular number has activated the data traffic service, and when it is unactivated, it indicates that the corresponding cellular number has not activated the data traffic service; The first number writing script field is used to store the first number writing script corresponding to the cellular number; The first configuration script field is used to store the first configuration script corresponding to the cellular number.
3. The cellular number management system of the eSIM module according to claim 2, characterized in that: The first communication module is specifically used to identify the code of the command qualifier when the corresponding local information is collected based on the command qualifier of the instruction to provide local information to obtain the corresponding local information feedback and send it back to the eSIM module; if the code of the command qualifier is a location information code, then the country code, mobile network code, location area code and base station identifier corresponding to the current mobile communication network are obtained by querying the current network base station to form a corresponding local information feedback and send it back to the eSIM module; if the code of the command qualifier is a time information code, then the current time and current time zone are obtained by querying the current network base station to form a corresponding local information feedback and send it back to the eSIM module; the time information of the current time at least includes year, month, day, hour and minute; the value range of the current time zone is an integer range of 1 to 24.
4. The cellular number management system of the eSIM module according to claim 2, characterized in that: The local configuration module is specifically used to access the Internet through the second communication module to connect to the remote server when the remote server is connected through the second communication module and a first configuration message corresponding to a cellular number is applied to the remote server; After the connection is successful, the unique identifier of the mobile communication device is used as the corresponding first device identifier; the first number selection request carrying the first device identifier is sent to the remote server; the first number list sent back by the remote server is displayed to the user of the mobile communication device; and the cellular number information of a first number record selected by the user from the first number list is used as the corresponding first cellular number; and sending a first download request carrying the first device identifier and the first cellular number to the remote server; and receiving the first configuration message sent back by the remote server; the first number list includes one or more first number records; the first number record includes the cellular number information and number profile information.
5. The cellular number management system of the eSIM module according to claim 2, characterized in that: The local configuration module is specifically configured to extract the corresponding first number writing script and the first configuration script from the first configuration message when performing a number writing operation on the eSIM module based on the first configuration message; And completing the file creation and file configuration operations of the login file directory on the eSIM module by executing the first number writing script; and completing a file configuration operation on the configuration management file on the eSIM module by executing the first configuration script; And confirm that the number writing operation is successful after the first number writing script and the first configuration script are successfully executed.
6. The cellular number management system of the eSIM module according to claim 2, characterized in that: The local configuration module is specifically configured to obtain a set of latest country codes, mobile network codes, location area codes and base station identifiers based on the location information query interface provided by the operating system of the mobile communication device at a preset first time frequency when the configuration management file on the eSIM module is regularly updated, and record them as the corresponding current country code, current mobile network code, current location area code and current base station identifier; And based on the time information query interface provided by the operating system of the mobile communication device, a set of the latest system time and system time zone are obtained and recorded as the corresponding current system time and current system time zone; and through the file selection instruction of the eSIM module and the file data read / write instruction corresponding to the configuration management file, the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code of the latest local location information of the configuration management file are set to the corresponding current country code, the current location area code, the current base station identifier and the current mobile network code, and the latest time and the latest time zone of the latest local time information of the configuration management file are set to the corresponding current system time and the current system time zone; the time information of the system time includes at least year, month, day, hour and minute; the value range of the system time zone is an integer range of 1 to 24.
7. The cellular number management system of the eSIM module according to claim 3, characterized in that: The eSIM module is specifically configured to periodically send a command qualifier encoding a location information encoding to the first communication module according to a preset second time frequency when the latest local information is obtained by periodically sending the local information providing instruction to the first communication module to update the configuration management file, and use the local information feedback sent back by the first communication module as the corresponding first location information; After obtaining the first local information, a providing local information instruction in which the code of the command qualifier is set as the time information code is sent to the first communication module, and the local information feedback sent back by the first communication module is used as the corresponding first time information; and extracting the corresponding country code, mobile network code, location area code and base station identifier from the first location information to update the latest country code, the latest location area code, the latest base station identifier and the latest mobile network code corresponding to the latest local location information in the configuration management file; The corresponding current time and current time zone are extracted from the first time information to update the latest time and the latest time zone corresponding to the latest local time information of the configuration management file.
8. The cellular number management system of the eSIM module according to claim 2, characterized in that: The eSIM module is specifically used to identify the first management instruction of the first management SMS when the number deletion processing is performed according to the first management SMS; if the first management instruction is a deletion instruction, all files under the login file directory are deleted and the configuration management file is cleared.
9. The cellular number management system of the eSIM module according to claim 2, characterized in that: The eSIM module is specifically used to identify the second management instruction of the first management message when performing number deletion processing according to the first management message; if the second management instruction is a deletion instruction, all files under the login file directory are deleted, and the configuration management file is cleared.
10. The cellular number management system of the eSIM module according to claim 2, characterized in that: The eSIM module is specifically used to periodically identify whether the configuration management file is an empty file at a preset third time frequency when number deletion processing is performed according to the configuration management file; if the configuration management file is not an empty file, then based on the configuration status word, the valid period configuration, the roaming range configuration, the mobile network configuration, the latest local location information and the latest local time information of the configuration management file, identify whether it is necessary to initiate local spontaneous deletion to obtain a corresponding first identification state, and when the first identification state is needed, delete all files under the login file directory and clear the configuration management file; the first identification state includes needed and not needed.
11. The cellular number management system of the eSIM module according to claim 10, characterized in that: The eSIM module is specifically used for identifying whether to start local spontaneous deletion based on the configuration status word, the valid period configuration, the roaming range configuration, the mobile network configuration, the latest local location information and the latest local time information of the configuration management file to obtain a corresponding first identification state: Identify the first configuration state of the configuration state word; if the state value of the first configuration state is 0, set the corresponding first sub-state as not required; if the state value of the first configuration state is 1, use the time period composed of the time period start time and the time period end time of the effective time period configuration as the corresponding inspection period, and use the latest time zone of the latest local time information and the reference time zone of the effective time period configuration as the corresponding pre-conversion time zone and post-conversion time zone, and convert the latest time of the latest local time information to the corresponding time zone time under the post-conversion time zone according to the pre-conversion time zone and the post-conversion time zone according to a preset time zone time conversion method to obtain a corresponding conversion time, and identify whether the conversion time satisfies the inspection period, if so, set the corresponding first sub-state as not required, if not, set the corresponding first sub-state as required; the first sub-state includes required and not required; and identifying the second configuration state of the configuration state word; if the state value of the second configuration state is 0, setting the corresponding second sub-state as not required; if the state value of the second configuration state is 1, confirming whether there is a country code and a location area code of the roaming range information in the roaming range configuration that matches the latest country code and the latest location area code corresponding to the latest local location information, and if it is confirmed that there is, setting the corresponding second sub-state as not required, and if it is confirmed that there is not, setting the corresponding second sub-state as required; the second sub-state includes required and not required; and identifying the third configuration state of the configuration state word; if the state value of the third configuration state is 0, setting the corresponding third sub-state to not required; if the state value of the third configuration state is 1, confirming whether there is a mobile network code in the mobile network configuration that matches the latest mobile network code of the latest local location information, and if it is confirmed that there is, setting the corresponding third sub-state to not required, and if it is confirmed that there is not, setting the corresponding third sub-state to required; the third sub-state includes required and not required; And identify whether the first, second and third sub-states obtained are all unnecessary; if so, set the corresponding first identification state as unnecessary; if not, set the corresponding first identification state as necessary.
12. The cellular number management system of the eSIM module according to claim 2, characterized in that: The remote server is specifically configured to periodically perform a round of traversal of all the number data records in the number database whose first number status field is not expired, according to a preset fourth time frequency, when the expired number is sorted periodically according to the number database to obtain a corresponding expired number set; and during this round of traversal, use the number data record currently traversed as the corresponding current record; and use the first validity period field of the current record as the corresponding current validity period; And the first end time of the current validity period is used as the corresponding current end time; and when the current time on the server side is not earlier than the current end time, the first number status field of the current record is set to expired; and at the end of this round of traversal, all the number data records in the number database whose first number status field is expired are extracted to form the corresponding expired number set.
13. The cellular number management system of the eSIM module according to claim 2, characterized in that: The remote server is specifically configured to perform a round of traversal of all the number data records of the expired number set when sending the first management SMS or the first management message to the mobile communication devices corresponding to all expired numbers based on the device database and the expired number set; In this round of traversal, the number data record currently traversed is used as the corresponding current record; and the second number field, the first SMS service field and the first data traffic service field of the current record are extracted as the corresponding current cellular number, the current SMS service activation status and the current data traffic service activation status; and taking the device data record whose first number field in the device database matches the current cellular number as the corresponding current device record; and when the current device record is not empty, taking the mobile communication device corresponding to the current device record as the corresponding current device; and identifying the current SMS service activation status and the current data traffic service activation status, if the current SMS service activation status is activated but the current data traffic service activation status is not activated, setting the corresponding current sending mode to the first sending mode; if the current data traffic service activation status is activated but the current SMS service activation status is not activated, setting the corresponding current sending mode to the second sending mode; if both the current SMS service activation status and the current data traffic service activation status are activated, randomly selecting one from the first and second sending modes as the corresponding current sending mode; if both the current SMS service activation status and the current data traffic service activation status are not activated, setting the corresponding current sending mode to no sending mode; and when the current sending mode obtained is not the no sending mode, further identifying the current sending mode; if the current sending mode is the first sending mode, setting a corresponding first management instruction as a deletion instruction, and based on the point-to-point protocol SMS encapsulation rule corresponding to the first management SMS, performing point-to-point protocol SMS encapsulation according to the first management instruction to obtain the corresponding first management SMS, and sending the first management SMS to the current device through the SMS service gateway of the mobile communication network, and clearing the first number field recorded in the current device after the SMS is sent; If the current sending mode is the second sending mode, a corresponding second management instruction is set as a deletion instruction, and based on the HTTP / HTTPS message encapsulation rule corresponding to the first management message, the HTTP / HTTPS message is encapsulated according to the second management instruction to obtain the corresponding first management message, and the first management message is sent to the current device through the data service gateway of the mobile communication network, and the first number field recorded in the current device is cleared after the message is sent.
14. The cellular number management system of the eSIM module according to claim 4, characterized in that: The remote service end is specifically used for responding to the cellular number application task initiated by each of the mobile communication devices according to the device database and the number database: When receiving each first number selection request sent by the local configuration module of the mobile communication device, the first number selection request received at that time is taken as the corresponding current number selection request; and the local configuration module of the mobile communication device corresponding to the current number selection request is taken as the corresponding current device configuration module; and the corresponding first device identifier is extracted from the current number selection request as the corresponding current device identifier; and the device data record whose first identifier field in the device database matches the current device identifier is taken as the corresponding current device record; and when the current device record is not empty, all the number data records whose first number status field in the number database is unused are recorded as corresponding unused records; and the second number field of each unused record is extracted as a corresponding cellular number information, and the first validity period field, the first short message service field and the first data traffic service field of each unused record are extracted to form a corresponding number brief information, and the cellular number information and the number brief information corresponding to each unused record form a corresponding first number record; and all the obtained first number records form a corresponding first number list; and the obtained first number list is sent back to the current device configuration module; When receiving each of the first download requests sent by the local configuration module of the mobile communication device, the first download request received at that time is used as the corresponding current download request; and the local configuration module of the mobile communication device corresponding to the current download request is used as the corresponding current device configuration module; and the corresponding first device identifier and the first cellular number are extracted from the current download request as the corresponding current device identifier and current cellular number; and taking the device data record in the device database whose first identification field matches the current device identification as the corresponding current device record; And the number data record in the number database in which the second number field matches the current cellular number and the first number status field is unused is taken as the corresponding current number record; and when both the current device record and the current number record are not empty, the first number field of the current device record is set to the corresponding current cellular number, and the first number status field of the current number record is set to in use, and the first number writing script field and the first configuration script field of the current number record are extracted as the corresponding first number writing script and the first configuration script to form a corresponding first configuration message, and the obtained first configuration message is sent back to the current device configuration module.