Communication module code switching method, device, equipment, and storage medium based on eSIM

By using eSIM chips and LPA modules in remote meter reading devices to automatically switch code numbers, the problem of unstable communication in remote meter reading devices is solved, the stability and reliability of data transmission are achieved, and operation and maintenance costs are reduced.

CN118215036BActive Publication Date: 2025-09-26EASTCOMPEACE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410271637.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2025-09-26
Estimated Expiration
2044-03-11

AI Technical Summary

Technical Problem

Existing remote meter reading equipment uses pluggable IoT SIM cards, resulting in unstable communication, unstable signal strength, and insufficient tariffs, increasing operation and maintenance costs and affecting the accuracy of data transmission.

Method used

It uses a communication module with a built-in eSIM chip, communicates with the remote service platform through the LPA module, automatically switches between different code numbers, and uses profile data sets and switching strategies to ensure the stability and reliability of data transmission.

Benefits of technology

It realizes automatic switching of code numbers when the signal is poor or the tariff is insufficient, ensuring the stability and reliability of data transmission, simplifying the structure of remote meter reading equipment, and reducing operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118215036B_ABST
    Figure CN118215036B_ABST
Patent Text Reader

Abstract

The present invention proposes a method, apparatus, device, and storage medium for switching the code number of a communication module based on an eSIM. The method includes: when the eSIM chip is communicating online based on a first profile, the LPA module sends a profile acquisition instruction to the eSIM chip in response to a code number switching instruction; the eSIM chip feeds back a profile dataset to the LPA module; the communication module parses the profile dataset and determines a second profile from installed profiles whose enabled or inactive status indicates inactivity; the communication module controls the eSIM chip via the LPA module to switch from the first profile to the second profile; the eSIM chip feeds back the code number switching result to the LPA module, automatically refreshes, and resumes online communication based on the second profile; and the LPA module simultaneously reports the code number switching result to the RSP platform. According to the technical solution of the embodiments of the present invention, the LPA module can select a profile from the installed but inactive profiles of the eSIM chip for switching, thereby achieving automatic code number switching and ensuring stable and reliable data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular to a method, device, equipment, and storage medium for switching communication module codes based on eSIM. Background Art

[0002] Remote meter reading devices automatically acquire meter reading information and upload it to the master station system via the network, effectively improving meter reading efficiency. Currently, remote meter reading devices primarily connect to the network using pluggable IoT SIM cards. While this allows for network communication, frequent insertion and removal of IoT SIM cards can cause poor contact and unstable communication modules. Furthermore, IoT SIM cards are only pre-installed with a single operator number. After installation, remote meter reading devices may experience unstable signal strength or insufficient service charges. This necessitates manual SIM card replacement, increasing operational costs and leading to failed or incomplete data transmission, impacting the accuracy of meter reading data. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a communication module code switching method, device, equipment, and storage medium based on eSIM, which can eliminate the need for physical card insertion and maintenance, automatically switch between different code numbers, and ensure stable and reliable data transmission.

[0004] In a first aspect, an embodiment of the present invention provides a communication module code switching method based on an eSIM, which is applied to a remote meter reading device. The remote meter reading device includes a communication module, the communication module has a built-in eSIM chip, and the communication module is configured with a Local Profile Assistant (LPA) module. The LPA module is communicatively connected to a remote service platform (RSP). The communication module code switching method based on the eSIM includes:

[0005] When the eSIM chip performs network communication based on the first profile, the LPA module sends a profile acquisition instruction to the eSIM chip in response to the code number switching instruction;

[0006] The eSIM chip feeds back a profile data set to the LPA module, wherein the profile data set includes a plurality of installed profiles of the eSIM chip;

[0007] The communication module parses the profile data set to determine the enablement status of each of the installed profiles, and determines a second profile from the installed profiles whose enablement status indicates inactivation based on a preset switching strategy;

[0008] The communication module controls the eSIM chip to switch from the first profile to the second profile through the LPA module. After the eSIM chip completes the switch, it generates a code switch execution result and feeds it back to the LPA module.

[0009] The eSIM chip automatically refreshes and communicates with the network based on the second profile. The LPA module also reports the code number switching execution result to the RSP platform to complete information synchronization.

[0010] According to some embodiments of the present invention, before the LPA module sends a profile acquisition instruction to the eSIM chip in response to the code switching instruction, the method further includes:

[0011] When the eSIM chip communicates with the network based on the first profile, the communication module polls the network signal based on a preset first period to obtain a first signal strength;

[0012] When the first signal strength is less than a preset strength threshold, the communication module polls the network signal based on a preset second period to obtain a second signal strength, wherein the second period is less than the first period;

[0013] Before the number of times that the second signal strength is continuously less than the strength threshold reaches a preset polling threshold, when it is detected that at least one second signal strength is greater than or equal to the strength threshold, the communication module re-polls the network signal based on the first period;

[0014] When the second signal strength is continuously less than the strength threshold for a number of times reaching a preset polling threshold, the communication module sends the code number switching instruction to the LPA module.

[0015] According to some embodiments of the present invention, before determining a second profile from the installed profiles whose enabling state representation is deactivated based on a preset switching strategy, the method further includes:

[0016] Determine the number of installed Profiles by the LPA module;

[0017] When the number of installed Profiles is one, code switching is stopped and network communication based on the first Profile is maintained.

[0018] According to some embodiments of the present invention, the communication module controls the eSIM chip to switch from the first profile to the second profile through the LPA module, including:

[0019] The eSIM chip performs a deactivation operation on the first profile;

[0020] activating the second profile after the deactivation operation of the first profile is successful, or stopping the code number switching after the deactivation operation of the first profile fails, and rolling back to network communication based on the first profile;

[0021] After the activation operation of the second profile is successful, the eSIM chip generates a code number switching execution result and feeds it back to the LPA module. The eSIM chip automatically refreshes and performs network communication based on the second profile, or rolls back to network communication based on the first profile if the activation operation of the second profile fails.

[0022] According to some embodiments of the present invention, after the LPA module reports the code number switching execution result to the RSP platform, the method further includes:

[0023] The LPA module generates a first switching record, wherein the first switching record is used to record the switching from the first profile to the second profile;

[0024] When the eSIM chip performs network communication based on the second profile, the LPA module excludes the first profile and the second profile from the installed profiles based on the first switching record in response to a code number switching instruction;

[0025] When the number of the remaining installed profiles is not zero, determining a third profile from the remaining installed profiles based on the switching strategy;

[0026] The communication module controls the eSIM chip to switch from the second profile to the third profile through the LPA module. After the eSIM chip completes the switch, it generates a code switch execution result and feeds it back to the LPA module. After the eSIM chip automatically refreshes, it performs network communication based on the third profile.

[0027] When the LPA module generates a second switching record, wherein the second switching record is used to record the switching from the second profile to the third profile.

[0028] According to some embodiments of the present invention, after the LPA module simultaneously reports the code number switching execution result to the RSP platform to complete information synchronization, the method further includes:

[0029] When the LPA module obtains the code number remote management instruction issued by the RSP platform, it forwards the remote management instruction to the eSIM chip, wherein the remote management instruction is used to indicate the code number management operation, and the code number management operation includes code number downloading, code number switching or code number deletion;

[0030] The eSIM chip responds to the code number remote management instruction.

[0031] In the second aspect, an embodiment of the present invention provides a communication module code number switching device based on eSIM, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the communication module code number switching method based on eSIM as described in the first aspect above.

[0032] In a third aspect, an embodiment of the present invention provides an electronic device, comprising the communication module code switching device based on eSIM as described in the second aspect above.

[0033] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the communication module code switching method based on eSIM as described in the first aspect above.

[0034] According to an embodiment of the present invention, a method for switching a communication module code number based on an eSIM has at least the following advantageous effects: when the eSIM chip is communicating over the Internet based on a first profile, the LPA module sends a profile acquisition instruction to the eSIM chip in response to a code number switching instruction; the eSIM chip feeds back a profile data set to the LPA module, wherein the profile data set includes multiple installed profiles of the eSIM chip; the communication module parses the profile data set to determine the enablement status of each installed profile, and determines a second profile from the installed profiles whose enablement status indicates inactivation based on a preset switching strategy; the communication module controls the eSIM chip through the LPA module to switch from the first profile to the second profile; after the switching is completed, the eSIM chip generates a code number switching execution result and feeds it back to the LPA module; the eSIM chip automatically refreshes and communicates over the Internet based on the second profile, and the LPA module simultaneously reports the code number switching execution result to the RSP platform to complete information synchronization. According to the technical solution of the embodiment of the present invention, when the signal is poor or the tariff is insufficient, affecting the communication quality, the LPA module can select one of the installed and inactive profiles of the eSIM chip for switching, thereby realizing automatic code switching and ensuring the stability and reliability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a schematic diagram of a remote meter reading device provided by one embodiment of the present invention;

[0036] Figure 2 This is a flowchart of a communication module code switching method based on eSIM provided by another embodiment of the present invention;

[0037] Figure 3 This is a complete flow chart of a communication module code switching method based on eSIM provided by another embodiment of the present invention;

[0038] Figure 4 is a flowchart of a specific example provided by another embodiment of the present invention;

[0039] Figure 5 It is a structural diagram of a communication module code switching device based on eSIM provided in another embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.

[0041] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on the present invention.

[0042] In the description of the present invention, "several" means one or more, "many" means more than two, "greater than," "less than," and "exceed" are understood to exclude the number itself, while "above," "below," and "within" are understood to include the number itself. The use of "first" and "second" in the description is solely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, implicitly specifying the number of the indicated technical features, or implicitly specifying the order of the indicated technical features.

[0043] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0044] An embodiment of the present invention provides a communication module code switching method, apparatus, device, and storage medium based on eSIM, wherein the communication module code switching method based on eSIM includes: when the eSIM chip performs network communication based on a first profile, the LPA module sends a profile acquisition instruction to the eSIM chip in response to the code switching instruction; the eSIM chip feeds back a profile data set to the LPA module, wherein the profile data set includes the installed profiles of the eSIM chip, and the number of installed profiles is multiple; the communication module parses the profile data set to determine the enablement status of each installed profile, and determines a second profile from the installed profiles whose enablement status is characterized as inactivated based on a preset switching strategy; the communication module controls the eSIM chip to switch from the first profile to the second profile through the LPA module, and after the eSIM chip completes the switch, it generates a code switching execution result and feeds it back to the LPA module; the eSIM chip automatically refreshes and performs network communication based on the second profile, and the LPA module simultaneously reports the code switching execution result to the RSP platform to complete information synchronization. According to the technical solution of the embodiment of the present invention, when the signal is poor or the tariff is insufficient, affecting the communication quality, the LPA module can select one of the installed and inactive profiles of the eSIM chip for switching, thereby realizing automatic code switching and ensuring the stability and reliability of data transmission.

[0045] First, refer to Figure 1 , Figure 1 This is a structural diagram of a remote meter reading device provided in an embodiment of the present invention. The remote meter reading device in this embodiment includes a communication module, which has a built-in eSIM chip and a communication module.

[0046] Among them, the eSIM chip can download and install multiple code numbers from different operators, and multiple code numbers can also come from the same operator. This embodiment does not limit the operator affiliation of multiple code numbers.

[0047] Among them, the communication module is installed with LPA software, which can connect to the RSP platform of eSIM through LPA software to realize management functions such as downloading, switching, and deleting eSIM chip code numbers. For the sake of convenience, the LPA module is referred to as the communication module with LPA software installed.

[0048] The following is based on Figure 1 The remote meter reading device shown is used to further illustrate the technical solution of the embodiment of the present invention.

[0049] Reference Figure 2 , Figure 2A flowchart of a communication module code switching method based on an eSIM is provided in an embodiment of the present invention. The communication module code switching method based on an eSIM includes but is not limited to the following steps:

[0050] S21, when the eSIM chip is communicating with the network based on the first profile, the LPA module sends a profile acquisition instruction to the eSIM chip in response to the code switching instruction;

[0051] S22, the eSIM chip feeds back a profile data set to the LPA module, where the profile data set includes the installed profiles of the eSIM chip, and the number of installed profiles is multiple;

[0052] S23, the communication module parses the profile data set to determine the enablement status of each installed profile, and determines a second profile from the installed profiles whose enablement status indicates inactivation based on a preset switching strategy;

[0053] S24, the communication module controls the eSIM chip through the LPA module to switch from the first profile to the second profile. After the eSIM chip completes the switch, it generates a code switch execution result and feeds it back to the LPA module;

[0054] S25, the eSIM chip automatically refreshes and communicates with the network based on the second profile. The LPA module also reports the code switching execution result to the RSP platform to complete information synchronization.

[0055] It should be noted that after receiving the code switching instruction, the profile acquisition instruction sent by the LPA module to the eSIM chip can be a GetProfilesInfo command. After the eSIM chip receives this instruction, it builds a profile data set based on the downloaded and installed installed profiles and feeds the profile data set back to the LPA module, allowing the LPA module to obtain all profiles in the eSIM chip. It is worth noting that the GetProfilesInfo command is used to obtain all profiles in the eSIM chip, so the installed profile also includes the first profile in the active state.

[0056] It should be noted that after obtaining the Profile data set, the data of each Profile in the data set is parsed to determine the enablement status of each installed Profile. Since only one Profile is activated for communication at a time, even if the Profile data set includes data of the first Profile, the parsed enablement status of the first Profile is activated, while the other Profiles are inactivated. This embodiment uses the inactivation status as the basis for switchable identification and determines the second Profile from the installed Profiles in the inactivated state. This can ensure that the switching target avoids the first Profile and ensure that the switchable code number Profile is selected during the automatic switching process.

[0057] For example, reference Figure 1 As shown, code number 1 corresponds to the first profile. Under the current state, parsing the profile data set can determine that the first profile is in the active state, and the profiles of code numbers 2 and 3 are in the inactive state. Based on the switching strategy, the profile of code number 2 or code number 3 is selected as the second profile. This embodiment takes the profile of code number 2 as the second profile to perform subsequent switching operations as an example to illustrate the principle.

[0058] It should be noted that the switching strategy can be a sequential switching. The installation order of each code number is recorded in the Profile data set fed back by the eSIM chip. According to the installation order, the next Profile of the first Profile is used as the second Profile. The next time you switch, the next Profile of the second Profile is used as the third Profile. After reaching the last Profile, you can return to the first Profile repeatedly, and so on. The switching strategy can also be to specify the target operator in the code number switching instruction. For example, specify the code number of operator A in the code number switching instruction, and select the profile corresponding to operator A as the second profile from the inactivated installed profile. The switching strategy can be adjusted according to actual needs, and it can automatically select the profile based on the profile pool determined by the inactivation status.

[0059] It should be noted that after the LPA module determines the second profile, it generates a profile switching instruction based on the second profile, such as sending an EnableProfile command for the second profile, so that the eSIM chip deactivates the first profile and activates the second profile to complete the profile switching. After the switching is completed, the code number switching execution result is generated. The eSIM chip automatically refreshes after feeding back the code number switching execution result to the LPA module, and communicates with the network based on the second profile. After the eSIM chip is connected to the network, the LPA module feeds back the code number switching execution result to the RSP platform, thereby synchronizing the switched code number information to the RSP platform, making it convenient for managers to remotely manage the eSIM chip through the RSP platform.

[0060] Through the technical solution of this embodiment, it is possible to achieve automatic code switching when multiple profiles are installed on the eSIM chip. At the same time, signal detection, switching triggering and execution of the switching process are all independently completed by the communication module, without the need for additional technical modifications to the remote meter reading equipment, simplifying the structure of the remote meter reading equipment and improving the communication stability and reliability of the remote meter reading equipment.

[0061] In addition, in one embodiment, referring to Figure 3 , in execution Figure 2 Before step S21, the following steps are also included but not limited to:

[0062] S31, when the eSIM chip is communicating with the network based on the first profile, the communication module polls the network signal based on a preset first period to obtain a first signal strength;

[0063] S32, when the first signal strength is less than a preset strength threshold, the communication module polls the network signal based on a preset second period to obtain a second signal strength, wherein the second period is less than the first period;

[0064] S33, before the second signal strength is continuously less than the strength threshold a number of times reaching a preset polling threshold, when detecting that at least one second signal strength is greater than or equal to the strength threshold, the communication module re-polls the network signal based on the first period;

[0065] S34: When the second signal strength is continuously less than the strength threshold for a number of times that reaches a preset polling threshold, the communication module sends a code switching instruction to the LPA module.

[0066] It should be noted that, referring to Figure 1 As shown, the communication module of the communication module can detect the signal strength. The specific detection principle is a technology well known to those skilled in the art and will not be elaborated here.

[0067] It should be noted that, in the networked state, this embodiment first performs signal polling in the first cycle. When it is detected that the first signal strength is less than the strength threshold, it is determined that the signal is weak. However, the weak signal may be caused by occasional factors. Therefore, the polling cycle is further shortened, and polling is performed through a smaller second cycle. In the process of signal polling based on the second cycle, it is necessary to trigger the code number switching instruction after multiple consecutive failures. Otherwise, it returns to the first cycle and re-polling detection. By switching between the two cycles of polling and setting the strength threshold to make multiple consecutive judgments to confirm the strength of the signal, it is ensured that the code number switching is automatically triggered when the signal is weak, so that the remote meter reading device can automatically switch to another code number for communication with sufficient strength when the signal is weak, thereby ensuring the continuity and stability of the meter reading data.

[0068] For example, the first cycle is 30 seconds, the second cycle is 5 seconds, and the polling threshold is 10 times. The first signal strength is detected every 30 seconds. When it is detected that the strength is less than the strength threshold, the polling is switched to 5 seconds. When the second signal strength is less than the strength threshold for 5 consecutive times and then exceeds the strength threshold for the 6th time, the polling is returned to the step of 30 seconds. When the second signal strength is less than the strength threshold for 10 consecutive times, the code number switching instruction is triggered.

[0069] It should be noted that this embodiment uses the communication module to poll and switch signals without interacting with the MCU of the remote meter reading device, so that the communication module can implement code number control as an independent module, which can effectively simplify the modification cost of the remote meter reading device and improve the applicability of the communication module.

[0070] In addition, in one embodiment, referring to Figure 3 , in execution Figure 2 Before step S24, the following steps are also included but not limited to:

[0071] S41, determining the number of installed profiles through the LPA module;

[0072] S42: When the number of installed profiles is one, stop code switching and maintain network communication based on the first profile.

[0073] It should be noted that, according to the description of the above embodiment, the installed profile is the profile installed in the eSIM chip and will not be excluded due to activation or not. Therefore, after the profile data set, the LPA module first performs a simple identification of the number of installed profiles. When the number of installed profiles is one, that is, there is only one first profile in the eSIM chip, there is no other profile to switch to, the switching process ends and the application of the first profile is maintained.

[0074] In addition, in one embodiment, referring to Figure 3 , Figure 2 Step S24 shown specifically includes but is not limited to the following steps:

[0075] S51: The eSIM chip deactivates the first profile.

[0076] S52, activating the second profile after the deactivation operation of the first profile is successful, or stopping the code number switching after the deactivation operation of the first profile fails, and rolling back to network communication based on the first profile;

[0077] S53: After the activation operation of the second profile is successful, the eSIM chip generates a code switching execution result and feeds it back to the LPA module. The eSIM chip automatically refreshes and performs network communication based on the second profile, or, if the activation operation of the second profile fails, rolls back to performing network communication based on the first profile.

[0078] It should be noted that to achieve code switching, the current profile must be deactivated (disabled) and then the target profile must be activated (enabled). Since this embodiment triggers the switch when the signal strength is weak, rather than switching after the first profile is disconnected, the first profile actually still has a certain communication capability. The remote meter reading device needs to ensure the continuity of communication. If an error occurs during the switching process, such as a data error in the second profile that prevents the switch from being completed, it is necessary to immediately roll back to the first profile to maintain communication. In this embodiment, the disable and enable operations together constitute an atomic operation, that is, the first profile is first deactivated, and after success, the second profile is activated. If both operations are successful, the eSIM chip is automatically refreshed to apply the second profile. Otherwise, if an error occurs at any step, it rolls back to the first profile to ensure communication continuity.

[0079] In addition, in one embodiment, referring to Figure 3 , in execution Figure 2 After step S25, the following steps are also included but not limited to:

[0080] S61: The LPA module generates a first switching record, where the first switching record is used to record the switching from the first profile to the second profile.

[0081] S62, when the eSIM chip is communicating with the network based on the second profile, the LPA module, in response to the code switching instruction, excludes the first profile and the second profile from the installed profiles based on the first switching record;

[0082] S63, when the number of remaining installed profiles is not zero, determining a third profile from the remaining installed profiles based on the switching strategy;

[0083] S64: The communication module controls the eSIM chip through the LPA module to switch from the second profile to the third profile. After the switch is successful, the eSIM chip generates a code switch execution result and feeds it back to the LPA module. The eSIM chip automatically refreshes and then performs network communication based on the third profile.

[0084] S65: The LPA module generates a second switching record, wherein the second switching record is used to record the switching from the second profile to the third profile.

[0085] It should be noted that the signal strength of each code number will be affected by external factors, such as base station coverage and building obstruction. The installation location of the remote meter reading equipment is usually fixed, so the external factors can be considered fixed. In this case, if the signal strength of the first profile is weak, it will usually not be significantly improved in the short term. Therefore, after executing the code number switch, the LPA module of this embodiment also generates a first switching record to record the profile involved in this switch. If the next switch occurs, the first profile will not be selected if other profiles are available to avoid repeated switching to a profile with a known weak signal strength.

[0086] For example, Figure 1As shown, the eSIM chip includes three code numbers. After the first switch from code number 1 to code number 2, the first switching record generated records the switch from the first profile to the second profile. After the switch is triggered again, if the number of remaining installed profiles is 0 in addition to the first profile and the second profile, there is no third profile and can only switch to the first profile again; if the number of remaining installed profiles is not 0, the profile with code number 3 is selected from the remaining installed profiles as the third profile, and the steps of the above embodiment are executed to switch from the second profile to the third profile, and a second switching record is generated to record this switch.

[0087] In addition, in one embodiment, referring to Figure 3 , in execution Figure 2 After step S25, the following steps are also included but not limited to:

[0088] S71: When the LPA module obtains the code remote management instruction issued by the RSP platform, it forwards the remote management instruction to the eSIM chip, where the remote management instruction is used to indicate the code control operation, including code download, code switching, or code deletion;

[0089] S72, responding to the code number remote management instruction through the eSIM chip.

[0090] It should be noted that the LPA module is connected to the RSP platform for communication. Therefore, after synchronizing the code number information of the eSIM chip to the RSP platform, the management personnel can use the LPA module to transfer information and remotely manage the eSIM chip through the RSP platform, such as downloading, deleting, updating and other management operations of the code number.

[0091] In addition, in order to better illustrate the technical solution of this embodiment, the following Figure 1 The remote meter reading device structure shown in the figure provides a specific example. Figure 4 As shown, this example specifically includes but is not limited to the following steps:

[0092] S81, the communication module performs polling with an original cycle of 30 seconds or 60 seconds to determine the signal strength. If the signal is weak, the polling cycle is shortened to 5 seconds and polling is continued. If the number of weak signals reaches the polling threshold, the next step is executed. Otherwise, the original cycle is restored to continue polling.

[0093] Among them, 30 seconds or 60 seconds is the first cycle or the third cycle of the above embodiment, and 5 seconds is the second cycle or the fourth cycle of the above embodiment.

[0094] S82: The LPA module sends a GetProfilesInfo command to the eSIM chip.

[0095] The GetProfilesInfo command is the Profile acquisition instruction in the above embodiment.

[0096] S83: The eSIM chip feeds back the eSIM chip Profile data to the LPA module.

[0097] The eSIM chip Profile data is the Profile data set of the above embodiment.

[0098] S84: The LPA module parses the eSIM chip profile data. If there is only one installed profile, switching is impossible and the process ends. If there are multiple installed profiles, an inactivated profile is selected as the target profile according to the switching strategy and the next switching operation is performed.

[0099] S85: The LPA module sends an EnableProfile command for the target Profile to the eSIM chip.

[0100] S86: The eSIM chip disables the current profile. If successful, it enables the target profile. If successful, the eSIM chip is automatically refreshed. Otherwise, if any node fails, the switch is stopped and rolled back to the current profile.

[0101] S87: The eSIM chip responds to the LPA module with the result of executing the EnableProfile command.

[0102] The execution result of the EnableProfile command is the execution result of the code number switching in the above embodiment.

[0103] S88: The eSIM chip automatically refreshes and connects to the network based on the target profile.

[0104] S89: The LPA module sends the execution result of the EnableProfile command to the RSP platform.

[0105] like Figure 5 As shown, Figure 5 This is a structural diagram of a communication module code switching device based on eSIM provided by an embodiment of the present invention. The present invention also provides a communication module code switching device based on eSIM, including:

[0106] The processor 501 may be implemented as a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0107] The memory 502 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 502 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 502 and is called by the processor 501 to execute the communication module code switching method based on the eSIM in the embodiments of this application.

[0108] Input / output interface 503, used to implement information input and output;

[0109] Communication interface 504, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);

[0110] Bus 505 , which transmits information between various components of the device (e.g., processor 501 , memory 502 , input / output interface 503 , and communication interface 504 );

[0111] The processor 501 , the memory 502 , the input / output interface 503 and the communication interface 504 are connected to each other in communication within the device via a bus 505 .

[0112] An embodiment of the present application also provides an electronic device, including the eSIM-based communication module code switching device as described above.

[0113] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned eSIM-based communication module code switching method is implemented.

[0114] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory optionally includes a memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of the above-mentioned networks include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0115] Those skilled in the art will appreciate that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory, or other memory technologies. In addition, it is known to those skilled in the art that communication media typically include computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium.

[0116] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above implementation. Those skilled in the art can also make various equivalent modifications or substitutions under the shared conditions that do not violate the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A communication module code switching method based on eSIM, characterized in that: Applied to a remote meter reading device, the remote meter reading device includes a communication module, the communication module has an eSIM chip built in, the communication module is configured with an LPA module, the LPA module is communicatively connected to the RSP platform, and the eSIM-based communication module code switching method includes: When the eSIM chip performs network communication based on the first profile, the LPA module sends a profile acquisition instruction to the eSIM chip in response to the code number switching instruction; The eSIM chip feeds back a profile data set to the LPA module, wherein the profile data set includes a plurality of installed profiles of the eSIM chip; The communication module parses the profile data set to determine the enablement status of each of the installed profiles, and determines a second profile from the installed profiles whose enablement status indicates inactivation based on a preset switching strategy; The communication module controls the eSIM chip to switch from the first profile to the second profile through the LPA module. After the eSIM chip completes the switch, it generates a code switch execution result and feeds it back to the LPA module. The eSIM chip automatically refreshes and communicates with the network based on the second profile. The LPA module also reports the code number switching execution result to the RSP platform to complete information synchronization.

2. The communication module code switching method based on eSIM according to claim 1, characterized in that: Before the LPA module sends a profile acquisition instruction to the eSIM chip in response to the code switching instruction, the method further includes: When the eSIM chip communicates with the network based on the first profile, the communication module polls the network signal based on a preset first period to obtain a first signal strength; When the first signal strength is less than a preset strength threshold, the communication module polls the network signal based on a preset second period to obtain a second signal strength, wherein the second period is less than the first period; Before the number of times that the second signal strength is continuously less than the strength threshold reaches a preset polling threshold, when it is detected that at least one second signal strength is greater than or equal to the strength threshold, the communication module re-polls the network signal based on the first period; When the second signal strength is continuously less than the strength threshold for a number of times reaching a preset polling threshold, the communication module sends the code number switching instruction to the LPA module.

3. The communication module code switching method based on eSIM according to claim 1, characterized in that: Before determining a second profile from the installed profiles whose enabling state representation is deactivated based on a preset switching strategy, the method further includes: Determine the number of installed Profiles by the LPA module; When the number of installed Profiles is one, code switching is stopped and network communication based on the first Profile is maintained.

4. The method for switching communication module codes based on eSIM according to claim 1, characterized in that: The communication module controls the eSIM chip to switch from the first profile to the second profile through the LPA module, including: The eSIM chip performs a deactivation operation on the first profile; activating the second profile after the deactivation operation of the first profile is successful, or stopping the code number switching after the deactivation operation of the first profile fails, and rolling back to network communication based on the first profile; After the activation operation of the second profile is successful, the eSIM chip feeds back the code number switching execution result to the LPA module, and the eSIM chip automatically refreshes and performs network communication based on the second profile, or rolls back to network communication based on the first profile after the activation operation of the second profile fails.

5. The communication module code switching method based on eSIM according to claim 1 or 4, characterized in that: After the LPA module reports the code number switching execution result to the RSP platform, the method further includes: The LPA module generates a first switching record, wherein the first switching record is used to record the switching from the first profile to the second profile; When the eSIM chip performs network communication based on the second profile, the LPA module excludes the first profile and the second profile from the installed profiles based on the first switching record in response to a code number switching instruction; When the number of the remaining installed profiles is not zero, determining a third profile from the remaining installed profiles based on the switching strategy; The communication module controls the eSIM chip to switch from the second profile to the third profile through the LPA module. After the eSIM chip completes the switch, it generates a code switch execution result and feeds it back to the LPA module. After the eSIM chip automatically refreshes, it performs network communication based on the third profile. When the LPA module generates a second switching record, wherein the second switching record is used to record the switching from the second profile to the third profile.

6. The communication module code switching method based on eSIM according to claim 1, characterized in that: After the LPA module simultaneously reports the code number switching execution result to the RSP platform to complete information synchronization, the method further includes: When the LPA module obtains the code number remote management instruction issued by the RSP platform, it forwards the remote management instruction to the eSIM chip, wherein the remote management instruction is used to indicate the code number management operation, and the code number management operation includes code number downloading, code number switching or code number deletion; The eSIM chip responds to the code number remote management instruction.

7. A communication module code switching device based on eSIM, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the eSIM-based communication module code switching method as described in any one of claims 1 to 6.

8. An electronic device, characterized in that: Including the communication module code switching device based on eSIM as described in claim 7.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the communication module code switching method based on eSIM as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • ESIM remote configuration management method, terminal device, integrated RSP platform and system

    CN114125892A

  • User Equipment with Improved DRX Performance

    US20150257198A1