A vSIM module remote number writing processing method

By presetting the seed number on the vSIM module before leaving the factory and obtaining the service number remotely, the problem of inconvenient number writing is solved, and efficient card number rotation and resource conservation are achieved.

CN117915309BActive Publication Date: 2025-09-30BEIJING SHUMI NETWORK TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410099124.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2025-09-30
Estimated Expiration
2044-01-23

AI Technical Summary

Technical Problem

The existing vSIM module number writing method is inconvenient and leads to low card number rotation rate and waste of resources.

Method used

The vSIM module is pre-set with one or more seed numbers when it leaves the factory, and obtains service number data packets through the remote cloud platform for network login. It limits the number of network logins under abnormal conditions and identifies the reuse of seed numbers through heartbeat monitoring.

Benefits of technology

It improves the convenience of writing numbers, increases the card number rotation rate, and reduces resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117915309B_ABST
    Figure CN117915309B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention relates to a method for processing remote number writing using a vSIM module. The method comprises: pre-embedding a vSIM module in each communication device; the module updating a first data record based on the current date each time the communication device is powered on or reset; identifying whether remote number writing needs to be activated; and, when activation is required, identifying an access status of excessive times based on the first data record; selecting a seed number for network login if the number of times has not exceeded the limit; and, upon successful network login, connecting to a first cloud platform and obtaining module status from the platform; if the module status is abnormal, incrementing the first record count of the first data record by 1 and resetting the communication device; if the module status is normal, obtaining a new service number data packet from the first cloud platform to update the service number, logging in based on the latest service number, and resetting the first record count of the first data record to 0 upon successful network login. The present invention can improve the convenience of number writing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method for processing remote number writing of a vSIM module. Background Art

[0002] The virtual SIM card (vSIM) module can pre-set multiple card numbers locally for backup. The module is generally pre-installed inside the communication device and helps the communication device to log on to the network by loading different card numbers. There are currently two main ways to write numbers to the vSIM module: 1) It is not set at the factory. Before activation, the user needs to take the communication device with the vSIM module to the designated business hall to write the number offline; 2) One or more card numbers are set at the factory. If all card numbers are abnormal, the user takes the communication device with the vSIM module to the designated business hall to write the number offline. Obviously, these two conventional methods are not very convenient, and the latter will also reduce the card number rotation rate and cause waste of resources. Summary of the Invention

[0003] The purpose of the present invention is to address the shortcomings of the prior art and provide a method, electronic device, and computer-readable storage medium for remotely writing numbers to a vSIM module. The vSIM module of the present invention is pre-set with one or more seed numbers at the factory, and vSIM modules in the same batch share a limited number of seed numbers, thereby improving the reuse rate of seed numbers and reducing seed number costs. When the vSIM module of the present invention is turned on or reset, if it is found that a service number has not been written locally or an existing service number cannot log in to the network, it can log in based on the seed number, obtain the required service number data packet by connecting to a remote cloud platform, refresh the local service number based on the service number data packet, and log in based on the latest service number. The vSIM module of the present invention can also limit the number of daily logins of the current module when the remote cloud platform indicates that the module is in an abnormal state, thereby also improving the reuse rate of the seed number. After successfully logging in based on a seed number, the vSIM module of the present invention can identify whether the current seed number has been reused by other modules through heartbeat monitoring with the remote cloud platform. If a heartbeat interruption is found, it confirms that the current seed number has been reused by other modules and uses another seed number to log in to the network, thereby ensuring that the device remains connected to the network. The remote number writing method provided by the present invention can not only improve the convenience of number writing, but also increase the card number rotation rate and reduce resource waste.

[0004] To achieve the above objectives, a first aspect of an embodiment of the present invention provides a method for processing remote number writing of a vSIM module, the method comprising:

[0005] A corresponding vSIM module is pre-embedded in each first communication device, denoted as a corresponding first module; a specified number N of seed numbers, or N seed numbers and a service number, are locally preset in the first module; all first modules in the same batch share a specified number M of seed numbers; an initialized empty first data record is also locally preset in the first module; N and M are both integers greater than 0;

[0006] The first module obtains the current date from the first communication device as the corresponding first date each time the first communication device is powered on or reset; and updates the first data record according to the first date; the updated first data record includes the latest first record date and first record number;

[0007] and identifying whether the remote number writing needs to be activated according to the local business number to obtain a corresponding first identification result; the first identification result includes whether activation is required or not;

[0008] When the first identification result indicates that activation is required, a corresponding second identification result is obtained by performing an access status identification based on the first data record; the second identification result includes whether the access status has exceeded the limit or not exceeded the limit;

[0009] When the second recognition result is within the limit, one of the N local seed numbers is selected as the corresponding current seed number; and a login process is performed based on the current seed number to obtain a corresponding current login status; the current login status includes login success and login failure;

[0010] When the current login status is successful, the system connects to a remote first cloud platform; uses a preset module identifier as a first module identifier; sends a first status query request carrying the first module identifier to the first cloud platform; and receives a first module status sent back by the first cloud platform; the first module status includes a normal state and an abnormal state.

[0011] If the state of the first module is an abnormal state, the first record count of the first data record is increased by 1 and the first communication device is reset;

[0012] If the status of the first module is normal, the first remote number retrieval application carrying the first module identifier will be sent to the first cloud platform; and the new business number data packet sent back by the first cloud platform will be received; and the business number will be updated according to the new business number data packet; and after the update is successful, the network login process will be performed based on the local latest business number to obtain the corresponding current network login status; and when the current network login status is successful login, the first record number of the first data record will be reset to 0.

[0013] Preferably, updating the first data record according to the first date specifically includes:

[0014] Identifying whether the first data record is empty;

[0015] If the first data record is empty, the corresponding first record number is set to 0; the first date is used as the corresponding first record date; and the record content of the first data record is set to the first record date and the first record number obtained this time;

[0016] If the first data record is not empty, it is identified whether the first recording date in the first data record is the same day as the first date; if not, the first recording date of the first data record is updated to the corresponding first date, and the first recording time is reset to 0.

[0017] Preferably, the step of identifying whether to activate remote number writing based on the local business number to obtain a corresponding first identification result specifically includes:

[0018] Identify whether there is a business number locally; if not, set the corresponding first identification result to require activation; if so, perform login processing based on the business number to obtain the corresponding current login status, and identify whether the current login status is successful login, if so, set the corresponding first identification result to not require activation, otherwise set the corresponding first identification result to require activation; the current login status includes successful login and failed login.

[0019] Preferably, the step of identifying the access status of the number of times exceeded according to the first data record to obtain a corresponding second identification result specifically includes:

[0020] Identify whether the first record count of the first data record exceeds a preset limit count threshold; if so, set the corresponding second recognition result as exceeded; if not, set the corresponding second recognition result as not exceeded.

[0021] Preferably, the method further comprises:

[0022] When the second recognition result is that the limit has been exceeded, the first module shuts down the first communication device.

[0023] Preferably, the method further comprises:

[0024] After successfully logging on to the network through any of the seed numbers and successfully connecting to the first cloud platform, the first module sends a first heartbeat message to the first cloud platform at a specified first time interval; and after sending each first heartbeat message, it waits to receive the first heartbeat receipt sent back by the first cloud platform within a specified second time interval. If the first heartbeat receipt is not received within the second time interval, it is regarded as a heartbeat failure; and when the number of consecutive heartbeat failures exceeds the preset failure threshold, one is selected from the remaining N-1 seed numbers locally as the corresponding current seed number, and the network login processing is performed based on the current seed number to obtain the corresponding current network status, and when the current network status is successful, the remote first cloud platform is connected.

[0025] A second aspect of an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a transceiver;

[0026] The processor is configured to be coupled to the memory, read and execute instructions in the memory, so as to implement the method described in the first aspect above;

[0027] The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.

[0028] A third aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed by a computer, the computer executes the method described in the first aspect.

[0029] An embodiment of the present invention provides a method for processing remote number writing of a vSIM module, an electronic device, and a computer-readable storage medium; the vSIM module of the present invention will be pre-set with one or more seed numbers when leaving the factory, and vSIM modules of the same batch share a limited number of seed numbers, thereby improving the reuse rate of seed numbers and reducing seed number costs; when the vSIM module of the present invention is turned on or reset, if it is found that the local service number has not been written or the existing service number cannot log in to the network, it can log in based on the seed number, obtain the required service number data packet by connecting to a remote cloud platform, refresh the local service number according to the service number data packet, and log in based on the latest service number; the vSIM module of the present invention can also limit the number of daily logins of the current module when the remote cloud platform prompts that the module is in an abnormal state, thereby also improving the reuse rate of the seed number; the vSIM module of the present invention can also identify whether the current seed number is reused by other modules through heartbeat monitoring with the remote cloud platform after successfully logging in based on a seed number, and confirm that the current seed number is reused by other modules when a heartbeat interruption is found, and use another seed number to log in to the network to ensure that the device is not disconnected from the network. The remote number writing method provided by the present invention not only improves the convenience of number writing, but also increases the card number rotation rate and reduces resource waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a method for remotely writing a number to a vSIM module provided in the first embodiment of the present invention;

[0031] Figure 2 This is a structural diagram of an electronic device provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0032] To make the objectives, technical solutions, and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the embodiments described herein are merely some, rather than all, of the present invention. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are intended to fall within the scope of protection of the present invention.

[0033] The first embodiment of the present invention provides a method for processing remote number writing of a vSIM module, such as Figure 1 A schematic diagram of a method for remotely writing a vSIM number provided in the first embodiment of the present invention is shown, which mainly includes the following steps:

[0034] Step 1: pre-embed a corresponding vSIM module in each first communication device, denoted as the corresponding first module;

[0035] Among them, the first module locally presets a specified number N seed numbers, or N seed numbers and a business number; all first modules in the same batch share a specified number M seed numbers; the first module locally also presets an initialized empty first data record; N and M are both integers greater than 0.

[0036] Step 2: Each time the first communication device is powered on or reset, the first module obtains the current date from the first communication device as the corresponding first date; and updates the first data record according to the first date;

[0037] The updated first data record includes the latest first record date and first record number;

[0038] Specifically comprising: step 21, the first module obtains the current date from the first communication device as the corresponding first date each time the first communication device is powered on or reset;

[0039] Step 22, updating the first data record according to the first date;

[0040] Specifically comprising: step 221, identifying whether the first data record is empty;

[0041] Step 222: If the first data record is empty, set the corresponding first record number to 0; use the first date as the corresponding first record date; and set the record content of the first data record to the first record date and first record number obtained this time;

[0042] Step 223: If the first data record is not empty, identify whether the first recording date in the first data record and the first date are the same day; if not, update the first recording date of the first data record to the corresponding first date, and reset the first recording time to 0.

[0043] Step 3: Identify whether to activate remote number writing based on the local business number and obtain a corresponding first identification result;

[0044] Specifically, it includes: identifying whether there is a business number locally; if not, setting the corresponding first identification result as requiring activation; if so, performing login processing based on the business number to obtain the corresponding current login status, and identifying whether the first login status is successful login, if so, setting the corresponding first identification result as not requiring activation, otherwise setting the corresponding first identification result as requiring activation; wherein, the current login status includes successful login and failed login; the first identification result includes requiring activation and not requiring activation.

[0045] Step 4: When the first identification result indicates that activation is required, an access status of excessive times is identified based on the first data record to obtain a corresponding second identification result;

[0046] The second recognition result includes whether the limit has been exceeded or not exceeded;

[0047] Specifically, it includes: identifying whether the number of first records of the first data record exceeds a preset limit threshold; if so, setting the corresponding second recognition result as exceeded; if not, setting the corresponding second recognition result as not exceeded.

[0048] Here, the threshold of the number of times exceeding the limit is a preset parameter, such as 5 times.

[0049] It should be noted that, when the second identification result is that the limit has been exceeded, the first module of the embodiment of the present invention will shut down the first communication device.

[0050] Step 5: If the second identification result is within the limit, select one of the N local seed numbers as the corresponding current seed number; and perform network login processing based on the current seed number to obtain the corresponding current network login status;

[0051] The current login status includes login success and login failure.

[0052] Step 6: When the current login status is successful, connect to the remote first cloud platform; use the preset module identifier as the first module identifier; send a first status query request carrying the first module identifier to the first cloud platform; and receive the first module status sent back by the first cloud platform;

[0053] The first module state includes a normal state and an abnormal state.

[0054] Here, the module identifier is the unique identifier of the current vSIM module, i.e., the first module, and is preset locally in the first module; after receiving the first status query application, the first cloud platform extracts the corresponding first module identifier from it, and queries a series of abnormal states such as arrears and service suspension of the vSIM module corresponding to the first module identifier through the module status query interface preset in the background. If the current vSIM module does not have any abnormal state, the first module state specifically set to the normal state will be returned to the first module; if the current vSIM module has one or more abnormal states, the first module state specifically set to the abnormal state will be returned to the first module.

[0055] Step 7: If the first module is in an abnormal state, the first record count of the first data record is increased by 1 and the first communication device is reset.

[0056] Here, the number of times the first module with abnormal status logs in can be counted by adding 1 to the first record number. From the above step 4, it can be seen that if the number of times the first module with abnormal status logs in exceeds the limit threshold, it will be shut down.

[0057] Step 8. If the status of the first module is normal, the first remote number retrieval application carrying the first module identifier is sent to the first cloud platform; and the new business number data packet sent back by the first cloud platform is received; and the business number is updated according to the new business number data packet; and after the update is successful, the network login process is performed based on the local latest business number to obtain the corresponding current network login status; and when the current network login status is successful login, the first record count of the first data record is reset to 0.

[0058] It should also be noted that, after the first module of the embodiment of the present invention successfully logs on to the network through any seed number and successfully connects to the first cloud platform, it sends a first heartbeat message to the first cloud platform at every specified first time interval; and after each sending of a first heartbeat message, it waits to receive the first heartbeat receipt sent back by the first cloud platform within a specified second time interval. If the first heartbeat receipt is not received within the second time interval, it is regarded as a heartbeat failure; and when the number of consecutive heartbeat failures exceeds the preset failure threshold, one is selected from the remaining N-1 seed numbers locally as the corresponding current seed number, and the network login processing is performed based on the current seed number to obtain the corresponding current network status, and when the current network status is successful, it connects to the remote first cloud platform.

[0059] Here, the first and second time intervals are two preset time length parameters; the failure number threshold is a preset number, for example, set to 3 or 5.

[0060] Figure 2 This is a schematic diagram of the structure of an electronic device provided in the second embodiment of the present invention. The electronic device may be the aforementioned terminal device or server, or may be a terminal device or server connected to the aforementioned terminal device or server to implement the method of the embodiment of the present invention. Figure 2 As shown, the electronic device may include: a processor 301 (such as a CPU), a memory 302, and a transceiver 303; the transceiver 303 is coupled to the processor 301, and the processor 301 controls the transceiver 303's transceiver actions. Various instructions may be stored in the memory 302 for completing various processing functions and implementing the processing steps described in the aforementioned method embodiment. Preferably, the electronic device involved in the embodiment of the present invention further includes: a power supply 304, a system bus 305, and a communication port 306. The system bus 305 is used to realize communication connections between components. The above-mentioned communication port 306 is used for connection and communication between the electronic device and other peripherals.

[0061] exist Figure 2 The system bus 305 mentioned in the figure can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 The use of a single bold line in the diagram does not necessarily imply a single bus or type of bus. Communication interfaces enable communication between the database access device and other devices (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and non-volatile memory (NVM), such as at least one disk drive.

[0062] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0063] It should be noted that an embodiment of the present invention further provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on a computer, it enables the computer to execute the method provided in the above embodiment.

[0064] An embodiment of the present invention further provides a chip for executing instructions, which is used to execute the processing steps described in the above method embodiment.

[0065] An embodiment of the present invention provides a method for processing remote number writing of a vSIM module, an electronic device, and a computer-readable storage medium; the vSIM module of the present invention will be pre-set with one or more seed numbers when leaving the factory, and vSIM modules of the same batch share a limited number of seed numbers, thereby improving the reuse rate of seed numbers and reducing seed number costs; when the vSIM module of the present invention is turned on or reset, if it is found that the local service number has not been written or the existing service number cannot log in to the network, it can log in based on the seed number, obtain the required service number data packet by connecting to a remote cloud platform, refresh the local service number according to the service number data packet, and log in based on the latest service number; the vSIM module of the present invention can also limit the number of daily logins of the current module when the remote cloud platform prompts that the module is in an abnormal state, thereby also improving the reuse rate of the seed number; the vSIM module of the present invention can also identify whether the current seed number is reused by other modules through heartbeat monitoring with the remote cloud platform after successfully logging in based on a seed number, and confirm that the current seed number is reused by other modules when a heartbeat interruption is found, and use another seed number to log in to the network to ensure that the device is not disconnected from the network. The remote number writing method provided by the present invention not only improves the convenience of number writing, but also increases the card number rotation rate and reduces resource waste.

[0066] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. 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.

[0067] The steps of the methods or algorithms 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.

[0068] 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 method for processing remote number writing of a vSIM module, characterized in that: The method comprises: A corresponding vSIM module is pre-embedded in each first communication device, denoted as a corresponding first module; a specified number N of seed numbers, or N seed numbers and a service number, are locally preset in the first module; all first modules in the same batch share a specified number M of seed numbers; an initialized empty first data record is also locally preset in the first module; N and M are both integers greater than 0; The first module obtains the current date from the first communication device as the corresponding first date each time the first communication device is powered on or reset; and updates the first data record according to the first date; the updated first data record includes the latest first record date and first record number; and identifying whether remote number writing needs to be activated based on the local business number to obtain a corresponding first identification result; the first identification result includes whether activation is required or not; When the first identification result indicates that activation is required, a corresponding second identification result is obtained by performing an access status identification based on the first data record; the second identification result includes whether the access status has exceeded the limit or not exceeded the limit; When the second recognition result is within the limit, one of the N local seed numbers is selected as the corresponding current seed number; and a login process is performed based on the current seed number to obtain a corresponding current login status; the current login status includes login success and login failure; When the current login status is successful, the system connects to a remote first cloud platform; uses a preset module identifier as a first module identifier; sends a first status query request carrying the first module identifier to the first cloud platform; and receives a first module status sent back by the first cloud platform; the first module status includes a normal state and an abnormal state. If the state of the first module is an abnormal state, the first record count of the first data record is increased by 1 and the first communication device is reset; If the first module is in a normal state, the first remote number acquisition request carrying the first module identifier is sent to the first cloud platform; a new service number data packet sent back by the first cloud platform is received; the service number is updated according to the new service number data packet; and after the update is successful, a login process is performed based on the latest local service number to obtain a corresponding current login state; and when the current login state is successful, the first record count of the first data record is reset to 0; The step of identifying whether to activate remote number writing based on the local service number to obtain a corresponding first identification result specifically includes: Identify whether there is a business number locally; if not, set the corresponding first identification result to require activation; if so, perform login processing based on the business number to obtain the corresponding current login status, and identify whether the current login status is successful login, if so, set the corresponding first identification result to not require activation, otherwise set the corresponding first identification result to require activation; the current login status includes successful login and failed login.

2. The method for processing remote number writing of the vSIM module according to claim 1, characterized in that: The updating of the first data record according to the first date specifically includes: Identifying whether the first data record is empty; If the first data record is empty, the corresponding first record number is set to 0; the first date is used as the corresponding first record date; and the record content of the first data record is set to the first record date and the first record number obtained this time; If the first data record is not empty, it is identified whether the first recording date in the first data record is the same day as the first date; if not, the first recording date of the first data record is updated to the corresponding first date, and the first recording time is reset to 0.

3. The method for processing remote number writing of the vSIM module according to claim 1, characterized in that: The step of identifying the access status with an excessive number of times according to the first data record to obtain a corresponding second identification result specifically includes: Identify whether the first record count of the first data record exceeds a preset limit count threshold; if so, set the corresponding second recognition result as exceeded; if not, set the corresponding second recognition result as not exceeded.

4. The method for processing remote number writing of a vSIM module according to claim 1, characterized in that: The method further comprises: When the second recognition result is that the limit has been exceeded, the first module shuts down the first communication device.

5. The method for processing remote number writing of a vSIM module according to claim 1, characterized in that: The method further comprises: After successfully logging on to the network through any of the seed numbers and successfully connecting to the first cloud platform, the first module sends a first heartbeat message to the first cloud platform at a specified first time interval; and after sending each first heartbeat message, it waits to receive the first heartbeat receipt sent back by the first cloud platform within a specified second time interval. If the first heartbeat receipt is not received within the second time interval, it is regarded as a heartbeat failure; and when the number of consecutive heartbeat failures exceeds the preset failure threshold, one is selected from the remaining N-1 seed numbers locally as the corresponding current seed number, and the network login processing is performed based on the current seed number to obtain the corresponding current network status, and when the current network status is successful, the remote first cloud platform is connected.

6. An electronic device, characterized in that: include: memory, processors, and transceivers; The processor is configured to be coupled to the memory, read and execute instructions in the memory, so as to implement the method according to any one of claims 1 to 5; The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 5.