Carrier network switching method, apparatus, device and computer storage medium

By pre-storing multiple sets of configuration data and firmware in the terminal device and automatically loading the configuration data and firmware of the target operator's network, the problem of long interruption during network switching is solved, and fast and seamless network switching is achieved.

CN115915321BActive Publication Date: 2025-10-17FIBOCOM WIRELESS SOFTWARE INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211580849.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-10-17
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

In the prior art, when switching operator networks, it takes a long time for a terminal device to download configuration data from a server, resulting in a prolonged network interruption.

Method used

Multiple sets of configuration data and firmware are pre-stored in the terminal device. By detecting changes in identification information, the configuration data and firmware that match the target operator's network are automatically loaded, avoiding re-downloading from the server and restarting the wireless communication module.

Benefits of technology

It shortens the network interruption time, improves the user experience, and avoids the problems of network interruption and disappearance of the honeycomb icon on the operating system interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115915321B_ABST
    Figure CN115915321B_ABST
Patent Text Reader

Abstract

The application discloses an operator network switching method and device, equipment and a computer storage medium, and relates to the technical field of communication. The method is applied to a terminal device comprising a wireless communication module, the wireless communication module comprises a first module firmware and at least two groups of configuration data, the first module firmware supports the access standards of at least two operator networks, and any one group of configuration data in the at least two groups of configuration data matches one operator network in the at least two operator networks. The method comprises the following steps: when detecting that the identification information of the terminal device changes, obtaining the identification information of the terminal device, the identification information corresponding to a target operator network; if the target operator network is any one operator network in the at least two operator networks, obtaining first configuration data from the at least two groups of configuration data; and connecting the target operator network according to the first configuration data. The method can shorten the duration of network interruption of the terminal device when switching the operator network.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, and in particular to a method and apparatus for switching operator network, a device and a computer storage medium. BACKGROUND

[0002] A subscriber identity module (SIM) card is an identity card held by a mobile user of a global system for mobile communications (GSM) system. The SIM card can be used to access a corresponding operator network and provide network connection services for a terminal device.

[0003] When using the SIM card to connect to the corresponding operator network, the SIM card needs to be connected to a wireless communication module in the terminal device first, and then the configuration data corresponding to the SIM card is downloaded to the wireless communication module, so that the wireless communication module is connected to the operator network, and the running mode of the wireless communication module and the interaction mode between the wireless communication module and the operator network are determined. If a SIM card of a different network operator is replaced, in order to enable the terminal device to connect to the new operator network for online, the operator network accessed by the wireless communication module needs to be switched. At present, the method for switching the operator network is usually that the terminal device downloads configuration data matched with the new operator network from a server to the wireless communication module, and restarts the wireless communication module, so as to realize the switching of the network operator.

[0004] However, in the above method, the process of downloading the configuration data matched with the new operator network from the server to the terminal device is time-consuming, which may cause a long network interruption of the terminal device. SUMMARY

[0005] Embodiments of the present application disclose a method and apparatus for switching operator network, a device and a computer storage medium, so as to shorten the duration of network interruption of the terminal device in the process of switching the operator network.

[0006] In a first aspect, an embodiment of the present application provides a method for switching an operator network, applied to a terminal device comprising a wireless communication module, wherein the wireless communication module comprises a first module firmware and at least two sets of configuration data, the first module firmware supports access standards of at least two operator networks, and any one of the at least two sets of configuration data matches one of the at least two operator networks. The method comprises: in a case where it is detected that identification information of the terminal device changes, obtaining the identification information of the terminal device, wherein the identification information corresponds to a target operator network; in a case where the target operator network is any one of the at least two operator networks, obtaining first configuration data matching the target operator network from the at least two sets of configuration data; and connecting the target operator network according to the first configuration data.

[0007] In the embodiment of the present application, the wireless communication module is used to connect the terminal device to an operator network, and in a case where it is detected that identification information of the terminal device changes, it indicates that the operator network needs to be switched. Since the first module firmware and the first configuration data required for the terminal device to connect to and use the target operator network are both contained in the wireless communication module of the terminal device, when switching to the target operator network, the first module firmware and the first configuration data can be loaded inside the wireless communication module to switch the running mode of the wireless communication module and the information interaction mode between the wireless communication module and the target operator network. It can be understood that in the switching process, the terminal device does not need to download new configuration data from a server and restart the wireless communication module, and network interruption of the terminal device can be avoided.

[0008] In a possible implementation of the first aspect, before the step of obtaining the identification information of the terminal device in the case where it is detected that the identification information of the terminal device changes, the method further comprises: integrating the at least two sets of configuration data in an operator configuration data mirror file; and the step of obtaining the first configuration data matching the target operator network from the at least two sets of configuration data comprises: obtaining the first configuration data matching the target operator network from the operator configuration data mirror file.

[0009] In the embodiment, since the mirror file has the advantages of convenient searching and supporting quick activation compared to other types of files, integrating each set of configuration data in the operator configuration data mirror file can reduce the time consumed for searching the first configuration data when obtaining the first configuration data matching the target operator network from the at least two sets of configuration data, and can realize quick loading of the first configuration data to make it effective, so as to more conveniently and quickly connect the terminal device to the target operator network.

[0010] In a possible implementation of the first aspect, before the connecting to the target operator network according to the first configuration data, the method further includes: in a case where a version update of the first configuration data is detected, obtaining second configuration data after the version update; and the connecting to the target operator network according to the first configuration data includes: connecting to the target operator network according to the second configuration data.

[0011] In this embodiment, since whether the configuration data is applicable to the operator network corresponding to the configuration data is affected by the authentication period of the operator network, before the connecting to the target operator network, it is detected whether the first configuration data matched with the target operator network has a version update, in a case where a version update of the first configuration data is detected, the second configuration data after the version update is downloaded to connect to the target operator network, so as to avoid the network switching failure caused by the mismatch between the version before the update and the authentication period of the target operator network.

[0012] In a possible implementation of the first aspect, the wireless communication module is provided with a first storage partition, and the first storage partition stores the operator configuration data image file, and before the obtaining of the second configuration data after the version update, the method further includes: downloading the second configuration data into the first storage partition, and covering the first configuration data in the operator configuration data image file.

[0013] In this embodiment, the second configuration data is downloaded into the specified first storage partition, since the first storage partition corresponds to different storage spaces from other partitions in the wireless communication module, the independent downloading or updating of the data in different partitions can be supported, and therefore the data in other partitions can be avoided from being covered or damaged when the second configuration data is downloaded. In addition, the second configuration data in the new version covers the first configuration data in the old version, so as to reduce the data redundancy in the image file and save the storage space occupied by the configuration data.

[0014] In a possible implementation of the first aspect, after the obtaining of the identification information of the terminal device, the method further includes: in a case where the target operator network is an operator network other than the at least two operator networks, obtaining a firmware combination matched with the target operator network, the firmware combination including a small application processor (SAP) firmware, a second module firmware and third configuration data; and connecting to the target operator network according to the SAP firmware, the second module firmware and the third configuration data.

[0015] In this embodiment, the SAP is the application processing core (or small application processor) in the wireless communication module. The SAP firmware is used to support the driver corresponding to the wireless communication module to manage and invoke the functions of the wireless communication module. The driver can communicate with the operating system of the wireless communication module to enable the operating system to use the functions of the wireless communication module.

[0016] In this embodiment, if the target carrier network is not one of the at least two carrier networks, it indicates that the first module firmware does not support the certification standards of the target carrier network. Therefore, it is necessary to re-download the firmware and configuration data that support the target carrier network. Different switching methods are used to address the two situations where a single module firmware supports the access standards of the target carrier network and does not support the certification standards of the target carrier network. The two methods work in combination to meet the needs of network carrier switching in different scenarios.

[0017] In a possible implementation of the first aspect, the above-mentioned identification information includes the mobile country code (MCC) and mobile network code (MNC) of the user identity module SIM card. Before obtaining the firmware combination matching the target operator network, the above-mentioned method also includes: obtaining a first mapping table and a second mapping table, the above-mentioned first mapping table recording the association relationship between the MCC and MNC and the operator, and the above-mentioned second mapping table recording the association relationship between the operator identification number (ID) and the firmware combination; the above-mentioned obtaining the firmware combination matching the above-mentioned target operator network includes: determining the operator ID corresponding to the above-mentioned target operator network according to the above-mentioned MCC, the above-mentioned MNC and the above-mentioned first mapping table; obtaining the above-mentioned firmware combination matching the above-mentioned target operator network according to the above-mentioned operator ID corresponding to the above-mentioned target operator network and the above-mentioned second mapping table.

[0018] In this embodiment, after a user switches SIM cards of different operator types, it is usually necessary to switch operator networks. Since the MCC / MNC (MCC and MNC) of the SIM card can uniquely identify the country and network operator corresponding to the SIM card (i.e., it can uniquely identify a mobile network provider), a operator network can be uniquely determined through the MCC / MNC and the above-mentioned first mapping table. Then, based on the operator ID corresponding to the operator network and the above-mentioned second mapping table, information of the firmware combination matching the above-mentioned target operator network can be determined, thereby facilitating rapid acquisition of the above-mentioned firmware combination.

[0019] In a possible implementation of the first aspect, the wireless communication module is provided with a second storage partition. Before the wireless communication module is connected to the target operator network according to the SAP firmware, the second module firmware and the third configuration data, the method further includes: downloading the SAP firmware, the second module firmware and the third configuration data to the second storage partition; restarting the wireless communication module; and connecting the target operator network according to the SAP firmware, the second module firmware and the third configuration data, which includes loading the SAP firmware, the second module firmware and the third configuration data from the second storage partition to connect the target operator network.

[0020] In the embodiment, the second storage partition can be a storage space in a storage system in the wireless communication module. The SAP firmware, the second module firmware and the third configuration data are downloaded to the designated second storage partition. Since the corresponding storage space of the second storage partition in the wireless communication module is different from other partitions, the data can be independently downloaded or updated, and the data in other partitions can be avoided from being overwritten or damaged. After the wireless communication module is restarted, the wireless communication module can determine the corresponding storage address of the SAP firmware, the second module firmware and the third configuration data in the second storage partition according to the internal structure and storage capacity of the second storage partition, and read the data to make it effective and connect the target operator network.

[0021] In the second aspect, the embodiment of the present application provides an operator network switching device applied to a terminal device including a wireless communication module. The wireless communication module includes a first module firmware and at least two groups of configuration data. The first module firmware supports access standards of at least two operator networks. Any one of the at least two groups of configuration data matches one of the at least two operator networks. The device includes: a first acquisition unit configured to acquire identification information of the terminal device when it is detected that the identification information of the terminal device changes, the identification information corresponding to a target operator network; a second acquisition unit configured to acquire first configuration data matching the target operator network from the at least two groups of configuration data when the target operator network is any one of the at least two operator networks; and a connection unit configured to connect the target operator network according to the first configuration data.

[0022] In a possible implementation of the second aspect, the apparatus further includes an integrating unit, configured to integrate the at least two sets of configuration data into an operator configuration data mirror file; and the second obtaining unit is specifically configured to obtain the first configuration data matching the target operator network from the operator configuration data mirror file.

[0023] In a possible implementation of the second aspect, the apparatus further includes a third obtaining unit, configured to obtain second configuration data after version update, in response to detecting that the first configuration data is updated in version; and the connecting unit is specifically configured to connect the target operator network according to the second configuration data.

[0024] In a possible implementation of the second aspect, the wireless communication module is provided with a first storage partition, and the first storage partition stores the operator configuration data mirror file; and the apparatus further includes a downloading unit, configured to download the second configuration data into the first storage partition, and overwrite the first configuration data in the operator configuration data mirror file.

[0025] In a possible implementation of the second aspect, the second obtaining unit is further configured to obtain a firmware combination matching the target operator network, in response to the target operator network being an operator network other than the at least two operator networks, the firmware combination including a second application processing core (SAP) firmware, a second module firmware, and third configuration data; and the connecting unit is further configured to connect the target operator network according to the SAP firmware, the second module firmware, and the third configuration data.

[0026] In a possible implementation of the second aspect, the identification information includes a mobile country code (MCC) and a mobile network code (MNC) of a subscriber identity module (SIM) card, the second obtaining unit is further configured to obtain a first mapping table and a second mapping table, the first mapping table recording an association between the MCC and the MNC and an operator, and the second mapping table recording an association between an operator ID and a firmware combination; the second obtaining unit is specifically configured to determine the operator ID corresponding to the target operator network according to the MCC, the MNC, and the first mapping table; and the second obtaining unit is specifically configured to obtain the firmware combination matching the target operator network according to the operator ID corresponding to the target operator network and the second mapping table.

[0027] In a possible implementation of the second aspect, the wireless communication module is provided with a second storage partition, and the apparatus further includes: the download unit is further configured to download the SAP firmware, the second module firmware and the third configuration data to the second storage partition; a restart unit configured to restart the wireless communication module; and the connection unit is further configured to load the SAP firmware, the second module firmware and the third configuration data from the second storage partition and connect to the target operator network.

[0028] For the technical effects brought by the second aspect and any possible implementation of the second aspect, refer to the introduction of the technical effects corresponding to the first aspect and the corresponding implementation of the first aspect.

[0029] In a third aspect, an embodiment of the present application provides a computer device, which includes:

[0030] a memory configured to store a program;

[0031] a processor configured to execute the program stored in the memory, and when the program is executed by the processor, the processor executes the method in any possible implementation of the first aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, and the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method in the first aspect and any possible implementation of the first aspect.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes: instructions or a computer program; and when the instructions or the computer program are executed, the method in the first aspect and any possible implementation of the first aspect is implemented.

[0034] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor configured to execute instructions, and when the processor executes the instructions, the chip executes the method in the first aspect and any possible implementation of the first aspect. Optionally, the chip further includes an input / output interface configured to receive or send a signal. BRIEF DESCRIPTION OF DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application.

[0036] Figure 1A flowchart of a first operator network switching method provided by an embodiment of the present application is shown in FIG. 1.

[0037] Figure 2 An application scenario diagram of the first operator network switching method provided by an embodiment of the present application is shown in FIG. 2.

[0038] Figure 3 A flowchart of a second operator network switching method provided by an embodiment of the present application is shown in FIG. 3.

[0039] Figure 4 An interaction diagram of the first operator network switching method provided by an embodiment of the present application is shown in FIG. 4.

[0040] Figure 5 An application scenario diagram of the second operator network switching method provided by an embodiment of the present application is shown in FIG. 5.

[0041] Figure 6 A flowchart of a third operator network switching method provided by an embodiment of the present application is shown in FIG. 6.

[0042] Figure 7 An interaction diagram of the second operator network switching method provided by an embodiment of the present application is shown in FIG. 7.

[0043] Figure 8 A structure diagram of an operator network switching device provided by an embodiment of the present application is shown in FIG. 8.

[0044] Figure 9 A structure diagram of a computer device provided by an embodiment of the present application is shown in FIG. 9. DETAILED DESCRIPTION

[0045] In order to make the objects, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described below with reference to the accompanying drawings.

[0046] The terms "first" and "second" and the like in the specification of the present application, claims and drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device and the like that includes a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or inherent to the process, method, product or device.

[0047] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. Those skilled in the art will recognize that the embodiments described herein can be combined with one another.

[0048] It should be understood that, in the present application, "at least one" means one or more, "multiple" means two or more, "at least two" means two or three and three or more, and "and / or" is used to describe the relationship between the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that there are three cases of only A, only B and A and B at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can mean a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0049] The present application provides an operator network switching method, device, equipment and computer storage medium. In order to more clearly describe the scheme of the present application, some related term definitions are introduced first.

[0050] Module firmware: is the underlying software that enables the wireless communication module to run, which can support the operating system to implement the running action of the wireless communication module according to the standard device driver.

[0051] Configuration data: according to the configuration data, the running mode of the wireless communication module and the interaction mode between the wireless communication module and the operator network can be determined when the wireless communication module is running.

[0052] Mirror file: mirror is a file storage form, which is a type of redundancy. The mirror file is a single file made of a series of files in a certain format, which is convenient for users to download and use.

[0053] MCC: MCC resources are allocated and managed by international telecommunication union (ITU), which is used to identify the country to which the mobile user belongs, and there are 3 digits.

[0054] MNC: used to identify the mobile network to which the mobile customer belongs, consisting of 2-3 digits.

[0055] Customer customization data: for different functional requirements of customers, the data of the module system main program can be configured, and the configured data is the customer customization data, wherein the system main program is a program code for realizing the basic function or some specified function of the module.

[0056] Customer device customization data: for different functional requirements of customers, the components inside the module are re-customized, for example, the hardware peripheral interface of the module is re-packaged, and the data related to the above components can be regarded as customer device customization data.

[0057] Maximum transmission unit (MTU): used to inform the other party of the maximum size of the data service unit that can be accepted, indicating the size of the payload that the sender can accept.

[0058] The operator network switching method provided in the application relates to the technical field of communication and can be applied to switching operator networks of different operator types.

[0059] After the user replaces the SIM card of a different network operator, in order to enable the terminal device to connect to the new operator network through the new SIM card for online surfing, it is necessary to switch the operator network accessed by the wireless communication module of the terminal device. At present, the method for switching the operator network is usually that the terminal device downloads configuration data matched with the new operator network from a server to the wireless communication module, and restarts the wireless communication module to make the configuration data take effect, so that the wireless communication module can interact with the base station according to the configuration data and provide network connection services for the terminal device.

[0060] However, in the above method, the process of downloading the configuration data matched with the new operator network from the server to the terminal device is time-consuming, which may cause a long network interruption of the terminal device.

[0061] To solve the above problems, the embodiments of the application provide an operator network switching method, which can shorten the duration of network interruption of the terminal device in the process of switching the operator network.

[0062] The above and other objects, features and advantages of the application will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: Figure 1 The above operator network switching method is introduced, please refer to Figure 1 , Figure 1 is a flowchart of the first operator network switching method provided by the embodiments of the application.

[0063] As Figure 1As shown, the above operator network switching method is applied to a terminal device comprising a wireless communication module, the wireless communication module comprising a first module firmware and at least two sets of configuration data, the first module firmware supporting access standards of at least two operator networks, and any one of the at least two sets of configuration data matching one of the at least two operator networks, the method comprising the following steps:

[0064] S101, in the case where it is detected that the identification information of the terminal device changes, obtaining the identification information of the terminal device, the identification information corresponding to a target operator network.

[0065] It can be understood that, in the case where the first module firmware supports the access standards of the at least two operator networks, it means that the first module firmware also meets the access authentication period of the at least two operator networks, and further, in the case where the module firmware meets the access standards and the access authentication period of the operator network, the module firmware can make the wireless communication module run to realize the basic function or the specific function of the wireless communication module.

[0066] In addition, since the network standards of different operators can be different, each operator can correspond to a set of configuration data to meet the network standards of each operator. It can be understood that, if the network standards of some operators are the same, these operators can correspond to a set of general configuration data or correspond to multiple sets of the same configuration data.

[0067] In the embodiments of the present application, the identification information can be used to uniquely distinguish the operator network. For example, in the case where the terminal device detects that the identification information changes, it means that the current terminal device needs to switch the operator network, at this time, the identification information can be obtained by a designated monitoring program inside the terminal device to determine the target operator network to be switched.

[0068] S102, in the case where the target operator network is any one of the at least two operator networks, obtaining first configuration data matching the target operator network from the at least two sets of configuration data.

[0069] In the embodiments of the present application, if the target operator network is any one of the at least two operator networks, it means that the first module firmware can support the access standards of the target operator network and meet the access authentication period of the target operator network, and can make the wireless communication module run to realize the basic function or the specific function of the wireless communication module. For example, since the first module firmware and the first configuration data are contained in the wireless communication module, the first configuration data can be loaded and take effect inside the wireless communication module.

[0070] S103: Connect to the target operator network according to the first configuration data.

[0071] In an embodiment of the present application, illustratively, the wireless communication module can determine the operating mode of the first module firmware in the wireless communication module and the interaction mode of the wireless communication module with the target operator according to the first configuration data, connect to the target operator network, and then interact with the base station. It is understandable that in the process of switching the operator network using this method, the terminal device does not need to re-download new configuration data from the server and restart the wireless communication module, which can avoid network interruption of the terminal device. Furthermore, it can avoid the disappearance of the cellular icon in the operating system interface of the terminal device, thereby improving the user experience.

[0072] In some optional implementations, in order to achieve independent downloading and updating of configuration data, an independent storage partition may be set in the storage system inside the wireless communication module to store the at least two sets of configuration data. In order to further introduce the above-mentioned operator network switching method, the embodiment of the present application also provides a flow chart of a second operator network switching method, please refer to Figure 2 ,like Figure 2 As shown, the above method includes the following steps:

[0073] S201: Integrate at least two sets of configuration data into an operator configuration data image file.

[0074] It should be understood that the configuration data contained in the above-mentioned operator configuration data image file can match one or more operators.

[0075] Exemplarily, a first storage partition can be set in the storage system in the above-mentioned wireless communication module. Specifically, if the above-mentioned wireless communication module includes a non-volatile storage device, such as a NAND flash memory, the above-mentioned first storage partition can be set in the non-volatile storage device to store the above-mentioned operator configuration data image file.

[0076] It is understandable that before the terminal device executes S202, since the above-mentioned at least two sets of configuration data are integrated in the operator configuration data image file, the configuration data stored in the above-mentioned operator configuration data image file can be accessed and updated (such as adding, deleting, and modifying) during the subsequent switching of the operator network. It is understandable that if the wireless communication module has pre-set the operator configuration data image file containing the above-mentioned at least two sets of configuration data, then when implementing this application, it is not necessary to execute S201.

[0077] In the embodiment, the at least two groups of configuration data are integrated in the operator configuration data mirror file, which has the advantages of convenient searching and supporting quick activation, so that the retrieval efficiency of the configuration data is improved, the corresponding configuration data can be quickly loaded to take effect, and the terminal device can be more conveniently and quickly accessed to the target operator network.

[0078] S202, in the case where it is detected that the identification information of the terminal device changes, obtaining the identification information of the terminal device, the identification information corresponding to the target operator network.

[0079] In the embodiment, the specific implementation of S202 can refer to the content corresponding to S102 in the foregoing embodiments, which is not described herein.

[0080] S203, in the case where the target operator network is any one of the at least two operator networks, obtaining the first configuration data matched with the target operator network from the operator configuration data mirror file.

[0081] In the embodiment, if the target operator network is any one of the at least two operator networks, it means that the first module firmware can support the access period of the target operator network and can meet the access authentication standard of the target operator network, and the wireless communication module can be run. For example, according to the internal structure and storage capacity of the first storage partition, the corresponding storage location of the first storage partition in the storage system of the wireless communication module can be determined by specific operation instructions, and the first configuration data can be further extracted according to the file information of the operator configuration data mirror file.

[0082] S204, whether the version of the first configuration data is updated is detected.

[0083] In the embodiment, after S203 is performed, the terminal device detects the version of the first configuration data to determine whether the first configuration data has an updated version. For example, whether the version of the first configuration data is updated can be determined by the modification time, data size, version number and other information corresponding to the first configuration data. If the version is updated, S205 is performed, otherwise S207 is performed. It can be understood that whether the configuration data is applicable to the operator network corresponding thereto is also affected by the authentication period of the operator network, and before connecting to the target operator network, whether the first configuration data matched with the target operator network is updated can avoid network switching failure caused by the fact that the version before the update does not match the authentication period of the target operator network.

[0084] S205, obtaining the second configuration data after the version is updated.

[0085] In the embodiment, in the case that the first configuration data is detected to be updated, the second configuration data after version update is downloaded into the wireless communication module. For example, the second configuration data is downloaded into the first storage partition in the wireless communication module by over the air download technology (OTA), and the original first configuration data is overwritten, so as to reduce data redundancy in the operator configuration data image file, and save storage space occupied by the configuration data.

[0086] S206, connecting the target operator network according to the second configuration data.

[0087] In the embodiment, for example, the second configuration data is read from the first storage partition, and the first module firmware is used to connect the target operator network and interact with the base station. For details, reference can be made to the related description in S103 in the foregoing embodiment, which will not be repeated here.

[0088] S207, connecting the target operator network according to the first configuration data.

[0089] In the embodiment, after S204 is performed, if the version update of the first configuration data is not detected, the target operator network is connected according to the first configuration data. For details, reference can be made to the related description in S103 in the foregoing embodiment, which will not be repeated here.

[0090] In order to more clearly introduce the operator network switching method, the following will be further introduced in combination with the accompanying drawings. Figure 3 and the accompanying drawings. Figure 4

[0091] Please refer to Figure 3 , Figure 3 is a schematic diagram of an application scenario of a first operator network switching method provided by the embodiment of the present application. For example, a 5th generation mobile communication technology (5G) wireless communication module contained in a terminal device includes an application processing core (SAP) and a modem core. Figure 3

[0092] ​​The SAP is provided with an OTA partition, an SAP partition and a non-volatile random access memory (NVRAM) system. The OTA partition is divided into an OTA_1 partition, an OTA_2 partition and an OTA_3 partition. The OTA_1 partition is an independent global operator configuration data storage partition (which can be the first storage partition described above) for storing the at least two groups of configuration data, and can include global operator network corresponding configuration data or the universal operator configuration data. The OTA_2 partition is a customer customization data storage partition for storing customer customization data. The OTA_3 partition is a customer device customization data storage partition for storing customer device customization data. The SAP partition can be used to store the SAP firmware. The NVRAM system can support the modem core to read configuration data from the SAP.

[0093] The modem partition is provided in the modem core, and the module firmware (which can be the first module firmware described above) is stored in the modem partition.

[0094] Taking the scenario in which the at least two groups of configuration data are integrated in the operator configuration data image file as an example, each group of configuration data in the operator configuration data image file can correspond to an independent binary data file (which can be an XXX.mcfopota file, where XXX can distinguish different groups) parsed according to a specific data structure. In the process of switching the operator network, the first configuration data in the operator configuration data image file can be loaded from the OTA_1 partition to the NVRAM system in the wireless communication module, and then the first configuration data can be read from the NVRAM system by the wireless communication protocol stack corresponding to the modem, and imported into the module firmware to make the first configuration data effective. Then, the wireless communication protocol stack can run according to the first configuration data, connect to the target operator network, and interact with the base station, thereby realizing the switching of the operator network.

[0095] The following will introduce the operator network switching method based on the application scenario as shown in Figure 3 and the interaction diagram of the first operator network switching method provided by the embodiments of the present application. Please refer to Figure 4 As shown in Figure 4 , the operator network switching method includes the following steps:

[0096] S401, the SIM card driver sends a new SIM card access message notification to the MCC / MNC monitoring application. Correspondingly, the MCC / MNC monitoring application receives the new SIM card access message notification.

[0097] In the embodiment, after the user replaces the SIM card, the SIM card driver can detect the replacement of the SIM card and send a new SIM card access message notification to the MCC / MNC monitoring application, which indicates that the current SIM card has been replaced.

[0098] S402, the MCC / MNC monitoring application obtains first configuration data from the operator configuration data storage area through the MCC / MNC of the SIM card.

[0099] In the embodiment, the operator configuration data storage area can be the aforementioned OTA_1 partition, which stores the at least two sets of configuration data or the operator configuration data mirror file containing the at least two sets of configuration data.

[0100] For example, when the SIM card driver detects the replacement of the SIM card, the file system of the new SIM card can be read to obtain the MCC / MNC of the new SIM card and send it to the MCC / MNC monitoring application. It can be understood that the MCC / MNC can be sent after the new SIM card access message notification or together with the new SIM card access message notification. Correspondingly, the MCC / MNC monitoring application started in the wireless communication module receives the MCC / MNC. Alternatively, after receiving the new SIM card access message notification sent by the SIM card driver, the MCC / MNC monitoring application can autonomously monitor and obtain the MCC / MNC. Then, the MCC / MNC monitoring application obtains the first configuration data from the operator configuration data storage area by using the MCC / MNC as an index.

[0101] It can be understood that in the embodiment, the MCC / MNC can be included in the identification information in the foregoing embodiments. Correspondingly, the change of the identification information of the terminal device described in the foregoing embodiments is equivalent to the change of the MCC / MNC in the embodiment.

[0102] S403, the MCC / MNC monitoring application sends a signal to the module wireless communication protocol stack to close the radio frequency.

[0103] In the embodiment, since the module wireless communication protocol stack uses the communication standard matching the original operator network before the first configuration data matching the target operator network takes effect, the module wireless communication protocol stack needs to be closed and signal transceiving stopped before the terminal device connects to the target operator network. For example, the radio frequency can be closed by disconnecting the control logic of the radio frequency signal and disconnecting the radio frequency switch.

[0104] S404, the MCC / MNC monitoring application loads the first configuration data into the NVRAM system.

[0105] In the embodiment, after the MCC / MNC monitoring application obtains the first configuration data inside the module, the first configuration data is loaded into the NVRAM system so that the module wireless communication protocol stack obtains the first configuration data from the NVRAM system and makes it take effect.

[0106] S405, the MCC / MNC monitoring application sends a signal to the module wireless communication protocol stack to turn on the radio frequency.

[0107] In the embodiment, for example, the radio frequency can be turned on by connecting the control logic of the radio frequency signal.

[0108] S406, the module wireless communication protocol stack obtains the first configuration data from the NVRAM system.

[0109] S407, the module wireless communication protocol stack runs according to the first configuration data and interacts with the base station.

[0110] In the embodiment, the module wireless communication protocol stack configures the running mode of the first module firmware in the wireless communication module and the information interaction mode between the wireless communication module and the target operator network or the base station according to the configuration content in the first configuration data. For example, assuming that the operator network connected by the terminal device before the handover is operator network A, the MTU corresponding to operator network A is M bytes, and operator network A does not support the internet protocol (IP) multimedia subsystem (IMS) function. Assuming that the target operator network is operator network B, the MTU corresponding to operator network B is N bytes, and operator network B supports the IMS function. Therefore, when the wireless communication module works on operator network A, the configuration data matching it can inform the network that the MTU supported by the wireless communication module is M bytes, and the IMS function cannot be enabled at this time; when switching to operator network B, the first configuration data can inform the network that the MTU of the wireless communication module is N bytes, and the IMS function can be enabled at this time.

[0111] Optionally, before S404, the terminal device can also detect whether the version of the first configuration data is updated. For example, if the version is updated, the terminal device can obtain the first configuration data after version update (i.e., the second configuration data) through the MCC / MNC monitoring application or other application in the wireless communication module that has the function of downloading the version. It can be understood that the subsequent module wireless communication protocol stack will connect to the target operator network according to the first configuration data after version update. For other related implementation manners, reference can be made to the related description of S204 in the foregoing embodiments, and details are not described herein.

[0112] In some optional embodiments, if the first module firmware does not support the access standard of the target operator network due to the difference between the access standard of the target operator network and the access authentication period of the module firmware of other operator networks, a new module firmware and corresponding configuration data can be downloaded from the host side of the terminal device to support the access standard of the target operator network. The following will be specifically introduced with reference to the accompanying drawings. Figure 5 to the accompanying drawings. Figure 7

[0113] Please refer to Figure 5 , Figure 5 is a schematic diagram of an application scenario of a second operator network switching method provided by the embodiments of the present application. As shown in Figure 5 , on the host side, the module firmware package folder contains a multi-operator firmware package composed of module firmware that has passed operator authentication, specifically including SAP firmware, module firmware, operator configuration data image (corresponding to at least two sets of configuration data in the foregoing embodiments), and customer customization data image and MCC / MNC and operator mapping table corresponding to different operator networks.

[0114] The firmware combination of the SAP firmware 1, the module firmware 1, and the operator configuration data image 1 corresponds to the operator network 1, and the firmware combination of the SAP firmware n, the module firmware n, and the operator configuration data image n corresponds to the operator n. It can be understood that for the same firmware combination, the SAP firmware and the module firmware have a corresponding matching relationship, so as to avoid problems such as failure to start the wireless communication module due to the mismatch between the two. The customer customization data image corresponds to the data configured by the user to the system main program data of the wireless communication module according to the user's own needs. The MCC / MNC and operator mapping table is a mapping table of a public land mobile network (PLMN) and an operator (corresponding to the first mapping table), which can support obtaining the operator ID matched with the SIM card through the MCC / MNC to determine the operator network corresponding to the SIM card.​

[0115] Based on Figure 5 The operator network switching method can include the following steps:

[0116] S601, in the case of detecting that the identification information of the terminal device changes, obtaining the identification information of the terminal device, the identification information corresponding to the target operator network.

[0117] In this embodiment, for the specific implementation of S601, please refer to the relevant introduction corresponding to S101 in the foregoing embodiments, which will not be repeated here.

[0118] S602, in the case that the target operator network is any one operator network other than the at least two operator networks, obtaining a firmware combination matched with the target operator network.

[0119] The firmware combination includes an application processing core SAP firmware, a second module firmware, and third configuration data.

[0120] It can be understood that the target operator network is any one operator network other than the at least two operator networks, which means that the target operator network and the access standard and access authentication period corresponding to the at least two operator networks are different, so that the first module firmware does not support the access standard of the target operator network. It can be understood that at this time, it is necessary to download a new module firmware and corresponding configuration data into the wireless communication module.

[0121] Optionally, before S602, the method can further include the following steps:

[0122] S6021, obtaining a first mapping table and a second mapping table, the first mapping table recording the association relationship between MCC, MNC and operators, and the second mapping table recording the association relationship between operator ID and firmware combination.

[0123] For example, the MCC and MNC (or MCC / MNC) can be included in the foregoing identification information.

[0124] Correspondingly, S602 can include:

[0125] S6022, determining the operator ID corresponding to the target operator network according to the MCC, the MNC and the first mapping table.

[0126] In this embodiment, since the MCC and the MNC together can uniquely identify the country and the operator corresponding to the SIM card, and further can determine the operator network corresponding to the SIM card, the operator ID can be obtained through the MCC and the MNC.

[0127] S6023、According to the operator ID corresponding to the target operator network and the second mapping table, the firmware combination matching the target operator network is obtained.

[0128] For example, the first mapping table can record the operator ID. By using the operator ID as an index, the information of the firmware combination corresponding to the target operator network can be determined from the first mapping table, and the firmware combination matching the operator network can be obtained from the host based on the information of the firmware combination.

[0129] In this embodiment, after the user switches the SIM card of different operator types, the operator network needs to be switched. Since the MCC / MNC of the SIM card can uniquely identify the country and network operator corresponding to the SIM card, an operator network can be uniquely determined through the MCC / MNC and the first mapping table. Then, according to the operator ID corresponding to the operator network and the second mapping table, the information of the firmware combination matching the target operator network can be determined, so as to facilitate the quick acquisition of the firmware combination.

[0130] S603、According to the SAP firmware, the second module firmware, and the third configuration data, the target operator network is connected.

[0131] For example, before S603, the method can include the following steps:

[0132] S6031、The SAP firmware, the second module firmware, and the third configuration data are downloaded to the second storage partition.

[0133] In this embodiment, since the SAP and the wireless communication module have a corresponding matching relationship, when downloading a new SAP firmware, the module firmware (i.e., the second module firmware) matching the SAP firmware also needs to be downloaded to avoid the wireless communication module from failing to start. For example, if a new interface is added between the SAP and the wireless communication module, and the interface needs to be used by the SAP, if the old module firmware that does not include the interface is still used, the wireless communication module may have problems after using the new SAP firmware because the current old module firmware does not include the interface, which further causes the wireless communication module to fail to start.

[0134] For example, the second storage partition can be a usable storage space divided in a storage system inside the wireless communication module. For example, the second storage partition can be a storage area in the NAND flash memory in the wireless communication module. Specifically, the second storage partition can be, for example, Figure 3The SAP partition, the OTA partition and the modem partition are shown. Since the second storage partition is different from the storage area corresponding to other partitions in the wireless communication module, it is convenient to realize independent downloading or updating of data (which can be SAP firmware, second module firmware and / or third configuration data), so as to avoid covering or damaging the data in other partitions.

[0135] For example, the newly downloaded second module firmware and the third configuration data can cover the module firmware and the configuration data originally existing in the second storage partition, so as to save storage space. For example, when the wireless communication module currently works on the operator network A, the corresponding module firmware and the configuration data are module firmware 1 and configuration data 1 respectively. When switching to the operator network B, the module firmware 2 and the configuration data 2 corresponding to the operator network B need to be downloaded into the wireless communication module and cover the module firmware 1 and the configuration data 1.

[0136] S6032, restarting the wireless communication module.

[0137] Correspondingly, S603 can specifically include:

[0138] S6033, loading the SAP firmware, the second module firmware and the third configuration data from the second storage partition, and connecting the target operator network.

[0139] In this embodiment, for example, after restarting the wireless communication module, the wireless communication module can determine the storage addresses of the SAP firmware, the second module firmware and the third configuration data in the second storage partition according to the internal structure and the storage capacity of the second storage partition, and read them to make them effective and connect the target operator network. This embodiment adopts different switching modes for the two cases of supporting the access standard of the target operator network and not supporting the authentication standard of the target operator network for a single module firmware, and the two modes work in combination to meet the switching of network operators in different scenarios.

[0140] In order to more clearly introduce the operator network switching method as Figure 6 shown, the second operator network switching method provided by the embodiment of the present application also provides an interactive schematic diagram, please refer to Figure 7 .

[0141] As shown in Figure 7 , the host end of the terminal device includes an operator firmware storage area, an operator and firmware combination mapping table (corresponding to the second mapping table), a SIM card information and operator mapping table (corresponding to the first mapping table) and a firmware download management application.

[0142] The operator firmware storage area stores module firmware and corresponding configuration data of multiple operators (corresponding to the module firmware and configuration data in the module firmware package folder as shown in Figure 5 The operator and firmware combination mapping table can be used to determine the information of the firmware combination corresponding to the operator according to the operator ID. The SIM card information and operator mapping table can be used to determine the operator information (such as the operator ID) corresponding to the SIM card according to the SIM card information (such as the MCC / MNC), which can be the aforementioned MCC / MNC and operator mapping table.

[0143] The module end of the terminal device includes a mobile broadband interface model (MBIM) application, a SIM card driver, and a firmware partition. The MBIM firmware and the firmware download management application on the host side are communicatively connected. The firmware partition can include the second storage partition.

[0144] The operator network switching method can include the following steps:

[0145] S701, the SIM card driver sends a new SIM card access message notification to the MBIM application. Correspondingly, the MBIM application receives the new SIM card access message notification.

[0146] In this embodiment, after the user replaces the SIM card, the SIM card driver can detect that the SIM card has been replaced and send a new SIM card access message notification to the MBIM application, so that the MBIM application forwards the new SIM card access message notification to the host side.

[0147] S702, the MBIM application sends the new SIM card access message notification to the firmware download management application. Correspondingly, the firmware download management application receives the new SIM card access message notification.

[0148] In this embodiment, for example, in S701, the SIM card driver can access the file system of the new SIM card when detecting that the new SIM card is inserted, thereby obtaining the MCC / MNC of the new SIM card and sending the MCC / MNC to the MBIM application. Optionally, the SIM card driver can carry the MCC / MNC when sending the new SIM card access message notification, and the same, the MBIM application can also carry the MCC / MNC when sending the new SIM card access message notification to the firmware download management application.

[0149] S703, the firmware download management application obtains the operator ID from the SIM card information and operator mapping table according to the MCC / MNC.

[0150] In the embodiment, after the firmware download management application receives the new SIM card access message notification and the MCC / MNC, the firmware download management application can retrieve the corresponding operator ID of the new SIM card from the SIM card information and the operator mapping table according to the MCC / MNC.

[0151] S704, the firmware download management application obtains the firmware information from the operator and firmware combination mapping table according to the operator ID.

[0152] The firmware information is the information of the firmware combination matched with the target operator network. The firmware download management application can retrieve the firmware information from the operator and firmware combination mapping table according to the operator ID.

[0153] S705, the firmware download management application obtains the firmware combination from the operator firmware storage area according to the firmware information.

[0154] In the embodiment, the firmware combination includes the SAP firmware, the second module firmware and the third configuration data in the foregoing embodiments, wherein the SAP firmware, the second module firmware and the third configuration data can be one SAP firmware, module firmware and operator configuration data image respectively as shown in Figure 5 For example, the firmware combination can be stored in the host side or downloaded from a third party platform (such as a server) which has a communication connection with the host.

[0155] S706, the firmware download management application downloads the firmware combination to the corresponding second storage partition.

[0156] For example, if the second storage partition is the SAP partition, the OTA partition and the modem partition as shown in Figure 3 , the SAP firmware, the second module firmware and the third configuration data included in the firmware combination can be loaded into the SAP partition, the modem partition and the OTA partition respectively. For the implementation of loading the firmware combination in the wireless communication module, please refer to the related description in the foregoing Figure 3 , which will not be repeated here.

[0157] S707, the firmware download management application restarts the wireless communication module.

[0158] In the embodiment, the firmware download management application program can interact with the SIM card driver, restart the wireless communication module, enable the SAP firmware, the second module firmware and the third configuration data in the wireless communication module, and connect to the target operator network. It can be understood that the embodiment supports two cases of the access standard of the target operator network and the authentication standard of the target operator network which is not supported by the single module firmware, and different switching modes are adopted. The combination of the two modes can meet the switching of network operators in different scenarios.

[0159] The embodiment of the application further provides an operator network switching device, and the structure of the operator network switching device is shown in the accompanying drawings. Figure 6 The operator network switching device is introduced as follows, please refer to Figure 8 , Figure 8 The structure of the operator network switching device provided by the embodiment of the application is shown in the accompanying drawings.

[0160] As shown in the accompanying drawings, Figure 8 The operator network switching device 800 is applied to a terminal device including a wireless communication module, the wireless communication module includes a first module firmware and at least two groups of configuration data, the first module firmware supports the access standard of at least two operator networks, and any one of the at least two groups of configuration data matches one of the at least two operator networks, and the operator network switching device 800 includes:

[0161] A first acquisition unit 801 is configured to acquire the identification information of the terminal device when it is detected that the identification information of the terminal device changes, and the identification information corresponds to a target operator network;

[0162] A second acquisition unit 802 is configured to acquire first configuration data matched with the target operator network from the at least two groups of configuration data when the target operator network is any one of the at least two operator networks.

[0163] A connection unit 803 is configured to connect to the target operator network according to the first configuration data.

[0164] In an optional embodiment, the device 800 further includes:

[0165] An integration unit 804 is configured to integrate the at least two groups of configuration data in an operator configuration data mirror file.

[0166] The second acquisition unit 802 is further configured to acquire the first configuration data matched with the target operator network from the operator configuration data mirror file.

[0167] In an optional embodiment, the apparatus 800 further comprises:

[0168] The third obtaining unit 805 is configured to, in a case where it is detected that the version of the first configuration data is updated, obtain second configuration data after the version is updated.

[0169] The connection unit is further configured to connect the target operator network according to the second configuration data.

[0170] In an optional embodiment, the wireless communication module is provided with a first storage partition, and the first storage partition stores the operator configuration data mirror file.

[0171] The downloading unit 806 is configured to download the second configuration data into the first storage partition, and overwrite the first configuration data in the operator configuration data mirror file.

[0172] In an optional embodiment,

[0173] The second obtaining unit 802 is further configured to, in a case where the target operator network is an operator network other than the at least two operator networks, obtain a firmware combination matched with the target operator network, the firmware combination comprising an application processing core (SAP) firmware, a second module firmware, and third configuration data.

[0174] The connection unit is further configured to connect the target operator network according to the SAP firmware, the second module firmware, and the third configuration data.

[0175] In an optional embodiment, the identification information comprises a mobile country code (MCC) and a mobile network code (MNC) of a subscriber identity module (SIM) card,

[0176] The second obtaining unit 802 is further configured to obtain a first mapping table and a second mapping table, the first mapping table recording an association relationship between the MCC, the MNC, and an operator, and the second mapping table recording an association relationship between an operator ID and a firmware combination.

[0177] The second obtaining unit 802 is further configured to determine, according to the MCC, the MNC, and the first mapping table, an operator ID corresponding to the target operator network.

[0178] The second obtaining unit 802 is further configured to obtain, according to the operator ID corresponding to the target operator network and the second mapping table, the firmware combination matched with the target operator network.

[0179] In an optional embodiment, the wireless communication module is provided with a second storage partition, and the apparatus 800 further includes:

[0180] The downloading unit 806 is further configured to download the SAP firmware, the second module firmware, and the third configuration data to the second storage partition;

[0181] Restart unit 807, used to restart the wireless communication module;

[0182] The connection unit is further specifically configured to load the SAP firmware, the second module firmware, and the third configuration data from the second storage partition, and connect to the target operator network.

[0183] Regarding the technical effects brought about by the above-mentioned operator network switching device, please refer to the introduction of the technical effects of the above-mentioned operator network switching method, which will not be repeated here.

[0184] According to the embodiment of this application, Figure 8 The various units in the device shown in the figure can be individually or all combined into one or more other units to form a structure, or one (or some) of the units can be further divided into multiple functionally smaller units to form a structure, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit.

[0185] The embodiment of the present application also provides a computer device. Figure 9 For an introduction to the above computer equipment, please refer to Figure 9 , Figure 9 It is a structural diagram of a computer device provided in an embodiment of the present application.

[0186] like Figure 9 As shown, the computer device 900 may include: one or more processors 901, one or more memories 902, one or more communication interfaces 903, and a bus 904. The processors 901, memories 902, and communication interfaces 903 are connected via the bus 904. The computer device may be the operator network switching device 800 described above.

[0187] Among them, the memory 902 is used to store programs; the processor 901 is used to execute the above-mentioned program stored in the above-mentioned memory. When the above-mentioned program is executed, the above-mentioned processor 901 executes a method in any possible implementation manner of the above-mentioned operator network switching method.

[0188] It should be understood that, in the embodiments of the present application, the memory 902 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read only memory (EPROM), or a compact disc read-only memory (CDROM), and an external memory other than a computer memory and a processor cache. Part of the memory 902 can also include a non-volatile random access memory, for example, the memory 902 can also store device type information.

[0189] The processor 901 can be one or more central processing units (CPUs). When the processor 901 is a CPU, the CPU can be a single-core CPU or a multi-core CPU. The processor 901 can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0190] The steps performed in the foregoing embodiments can be based on the implementation of the computer device 900 shown in the foregoing Figure 9 The processor 901 can implement the implementation described in any one of the optional embodiments of the operator network switching method provided in the embodiments of the present application, and can also implement the implementation of the operator network switching apparatus 800 described in the embodiments of the present application. Specifically, the processor 901 can implement the functions of the first acquisition unit 801, the second acquisition unit 802, the connection unit 803, the integration unit 804, the third acquisition unit 805, the download unit 806, or the restart unit 807 in the apparatus shown in the foregoing Figure 6 The communication interface 903 can implement the functions of the first acquisition unit 801, the second acquisition unit 802, the connection unit 803, the integration unit 804, the third acquisition unit 805, the download unit 806, or the restart unit 807 in the apparatus shown in the foregoing Figure 6The memory 902 can provide a cache when the processor 901 executes the implementation of the operator network switching device 800 described in the embodiment of the present application, and can also store the computer program required for the processor 901 to execute the implementation of the operator network switching device 800 described in the embodiment of the present application.

[0191] The embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor can implement the above Figures 1 to 7 The method shown in .

[0192] The embodiment of the present application further provides a computer program product, which includes: instructions or computer programs; when the instructions or computer programs are executed, the above-mentioned Figures 1 to 7 The method shown in .

[0193] The embodiment of the present application further provides a chip, the chip includes a processor, the processor is used to execute instructions, when the processor executes the instructions, the chip can achieve the above Figures 1 to 7 Optionally, the chip further comprises a communication interface, and the communication interface is used to receive or send signals.

[0194] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by hardware associated with a computer program. The computer program can be stored in a computer storage medium. When executed, the computer program can implement the processes in the above-described method embodiments. The aforementioned computer storage medium includes various media capable of storing computer program code, such as read-only memory (ROM) or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for switching an operator network, characterized in that: Applicable to a terminal device including a wireless communication module, the wireless communication module including an application processing core (SAP) and a modem core, the SAP including a first storage partition and a non-volatile random access memory (NVRAM) system, the modem core being provided with a modem partition, the modem partition storing first module firmware, the first storage partition being used to store at least two sets of configuration data, the first module firmware supporting access standards of at least two operator networks, the at least two sets of configuration data including configuration data corresponding to each of the at least two operator networks, any one of the at least two sets of configuration data matching one of the at least two operator networks, including: When detecting that the identification information of the terminal device has changed, obtaining the identification information of the terminal device, where the identification information corresponds to the target operator network; When the target operator network is any one of the at least two operator networks, obtaining first configuration data matching the target operator network from the at least two sets of configuration data; Connecting to the target operator network according to the first configuration data; The connecting to the target operator network according to the first configuration data includes: The first configuration data is loaded into the NVRAM system, the first configuration data is read from the NVRAM system through the wireless communication protocol stack corresponding to the modem, and the first module firmware is imported to make the first configuration data effective. The wireless communication protocol stack runs according to the first configuration data to connect to the target operator network.

2. The method according to claim 1, characterized in that Before acquiring the identification information of the terminal device when a change in the identification information of the terminal device is detected, the method further includes: Integrating the at least two sets of configuration data into an operator configuration data image file; The acquiring, from the at least two sets of configuration data, first configuration data matching the target operator network comprises: The first configuration data matching the target operator network is obtained from the operator configuration data image file.

3. The method according to claim 2, characterized in that Before connecting to the target operator network according to the first configuration data, the method further includes: When a version update of the first configuration data is detected, obtaining the second configuration data after the version update; The connecting to the target operator network according to the first configuration data includes: Connect to the target operator network according to the second configuration data.

4. The method according to claim 3, characterized in that The first storage partition stores the operator configuration data image file. Before obtaining the second configuration data after the version update, the method further includes: The second configuration data is downloaded to the first storage partition and overwrites the first configuration data in the operator configuration data image file.

5. The method according to any one of claims 1 to 4, characterized in that After obtaining the identification information of the terminal device, the method further includes: When the target operator network is any one operator network other than the at least two operator networks, obtaining a firmware combination matching the target operator network, the firmware combination including application processing core SAP firmware, second module firmware, and third configuration data; Connecting to the target operator network according to the SAP firmware, the second module firmware, and the third configuration data.

6. The method according to claim 5, characterized in that The identification information includes the mobile country code (MCC) and mobile network number (MNC) of the subscriber identity module (SIM) card. Before obtaining the firmware combination matching the target operator network, the method further includes: Obtain a first mapping table and a second mapping table, wherein the first mapping table records the association relationship between the MCC and MNC and the operator, and the second mapping table records the association relationship between the operator identity number ID and the firmware combination; The acquiring of a firmware combination matching the target operator network includes: Determining an operator ID corresponding to the target operator network according to the MCC, the MNC, and the first mapping table; According to the operator ID corresponding to the target operator network and the second mapping table, the firmware combination matching the target operator network is acquired.

7. The method according to claim 6, characterized in that The wireless communication module is provided with a second storage partition. Before connecting to the target operator network according to the SAP firmware, the second module firmware, and the third configuration data, the method further includes: Downloading the SAP firmware, the second module firmware, and the third configuration data to the second storage partition; Restarting the wireless communication module; The connecting to the target operator network according to the SAP firmware, the second module firmware, and the third configuration data includes: The SAP firmware, the second module firmware, and the third configuration data are loaded from the second storage partition, and the target operator network is connected.

8. An operator network switching device, characterized in that: Applicable to a terminal device including a wireless communication module, the wireless communication module including an application processing core (SAP) and a modem core, the SAP including a first storage partition and a non-volatile random access memory (NVRAM) system, the modem core being provided with a modem partition, the modem partition storing first module firmware, the first storage partition being used to store at least two sets of configuration data, the first module firmware supporting access standards of at least two operator networks, the at least two sets of configuration data including configuration data corresponding to each of the at least two operator networks, any one of the at least two sets of configuration data matching one of the at least two operator networks, including: a first acquiring unit, configured to acquire the identification information of the terminal device when detecting that the identification information of the terminal device changes, the identification information corresponding to the target operator network; A second acquiring unit is configured to acquire, when the target operator network is any one of the at least two operator networks, first configuration data matching the target operator network from the at least two sets of configuration data; a connecting unit, configured to connect to the target operator network according to the first configuration data; The connection unit is specifically used to load the first configuration data into the NVRAM system, read the first configuration data from the NVRAM system through the wireless communication protocol stack corresponding to the modem, import the first module firmware to make the first configuration data effective, and run according to the first configuration data through the wireless communication protocol stack to connect to the target operator network.

9. A computer device, characterized in that: include: Memory, used to store programs; A processor is configured to execute the program stored in the memory, wherein when the program is executed by the processor, the processor executes the method according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that The computer storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Multi-operator implementation method, device, storage medium and computer equipment

    CN107148010A

  • Communication module configuration processing method and device, computer equipment and storage medium

    CN111510909A