Network locking method and device of wireless communication module, module and storage medium
By acquiring the locking mode and locking network list, performing full-band scanning, the wireless communication module locks multiple PLMN or MCC networks, solving the problem of being unable to lock multiple PLMN or MCC networks in the prior art, and improving the model Groups have flexibility and stability in network access.
Patent Information
- Application Number
- CN202411157473.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-10
AI Technical Summary
The existing wireless communication module cannot implement network locking without a specific PLMN network, resulting in the impact of communication services. The existing network locking method can only lock a single PLMN, and cannot meet the network locking needs of multiple PLMNs or MCCs.
By acquiring the current lock mode, determine the corresponding lock network list, perform full-band scanning to obtain the available network list, take the overlapping elements of the lock network list and the available network list as the target, perform network-blocking operations, and flexibly lock multiple PLMNs or MCCs. Corresponding network.
It realizes flexible locking of wireless communication modules between multiple PLMN or MCC networks, expands the number of networks that the module can access, and ensures the stability and flexibility of communication services.
Smart Images

Figure CN119110438A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a network locking method, device, module and storage medium of a wireless communication module. Background Art
[0002] Wireless communication module network locking refers to the process of configuring the wireless communication module to connect only to a specific PLMN (Public Land Mobile Network).
[0003] In the related technology, after receiving the COPS (Common Open Policy Service) command, the module obtains the currently available PLMN list. If a PLMN matching the COPS command is found in the PLMN list, the module will select the network corresponding to the PLMN for network injection, thereby achieving the locking of a single PLMN.
[0004] However, the existing network locking method can only lock a single PLMN. If the network corresponding to the PLMN does not exist in the existing network, the module will not be able to lock the network.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of the present application is to provide a network locking method, device, module and storage medium for a wireless communication module, aiming to solve the technical problem that the wireless communication module cannot achieve network locking.
[0007] To achieve the above objectives, the present application proposes a network locking method for a wireless communication module, the method comprising:
[0008] Obtain the current network lock mode, and determine the corresponding network lock list according to the network lock mode;
[0009] Perform full-band scanning according to the locked network list to obtain a list of available networks;
[0010] The overlapping elements in the available network list and the locked network list are taken as targets to perform a network injection operation.
[0011] In one embodiment, the step of determining a corresponding network lock list according to the network lock mode includes:
[0012] If the fill value of the flag bit of the network lock mode is the first value, setting the public land mobile network list to the network lock list;
[0013] If the filling value of the flag bit of the network lock mode is the second value, the mobile country code list is set as the network lock list.
[0014] In one embodiment, after the step of setting the mobile country code list to the network lock list if the fill value of the flag bit of the network lock mode is the second value, the method further includes:
[0015] If the filling value of the flag bit of the network lock mode is the third value, the network injection operation is performed in a default manner.
[0016] In one embodiment, the step of taking the overlapping elements in the available network list and the locked network list as targets and performing the network injection operation includes:
[0017] Obtaining a public land mobile network identifier or a mobile country code in the available network list;
[0018] If the public land mobile network identifier or the mobile country code belongs to the network lock list, the network corresponding to the public land mobile network identifier or the mobile country code is taken as a target to perform a network registration operation.
[0019] In one embodiment, before the step of taking the overlapping elements in the available network list and the locked network list as targets and performing the network injection operation, the step further includes:
[0020] Obtaining a user's instructions for adding and / or deleting the network lock list;
[0021] According to the adding and / or deleting instructions, the locking network list is updated.
[0022] In one embodiment, after the step of taking the overlapping elements in the available network list and the locked network list as targets and performing the network injection operation, the step further includes:
[0023] When the network injection operation fails, the corresponding failure reminder is output;
[0024] Receiving the adding and / or deleting instruction triggered by the user based on the failure reminder;
[0025] Jump to execute the step of updating the network lock list according to the adding and / or deleting instructions.
[0026] In one embodiment, after the step of performing full-band scanning according to the locked network list to obtain an available network list, the step further includes:
[0027] If the network lock list is empty, no network registration request is initiated.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a network locking device for a wireless communication module, the device comprising:
[0029] A network lock list determination module is used to obtain the current network lock mode and determine the corresponding network lock list according to the network lock mode;
[0030] An available network list acquisition module is used to perform full-band scanning according to the locked network list to obtain an available network list;
[0031] The network locking module is used to take the overlapping elements in the available network list and the locked network list as targets and perform a network injection operation.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a wireless communication module, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the network locking method of the wireless communication module as described above.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the network locking method of the wireless communication module as described above are implemented.
[0034] One or more technical solutions proposed in this application have at least the following technical effects:
[0035] The present application provides a network locking method for a wireless communication module, which determines the corresponding network locking list according to the network locking mode, performs a full-band scan based on the network locking list to obtain an available network list, and then uses the overlapping elements in the two lists as targets to perform network injection operations. Different from a single locking method, this solution flexibly determines the network locking list and expands the number of networks that the module can access. In this way, when the module attempts to inject a network, it can use multiple overlapping elements between the available network list and the network locking list as targets, thereby considering multiple candidate PLMNs for attempts to sequentially implement network injection. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 A network diagram of the network locking method of the wireless communication module of the present application;
[0039] Figure 2 A network diagram of the network locking method of the wireless communication module of the present application;
[0040] Figure 3 A flowchart of a first embodiment of a method for locking a wireless communication module of the present application;
[0041] Figure 4 A schematic diagram of successful matching provided in Embodiment 1 of the network locking method for the wireless communication module of the present application;
[0042] Figure 5 A matching failure schematic diagram provided in Embodiment 1 of the network locking method for the wireless communication module of the present application;
[0043] Figure 6 A flowchart of the second embodiment of the method for locking the network of the wireless communication module of the present application is provided;
[0044] Figure 7 A flowchart of the third embodiment of the method for locking the network of the wireless communication module of the present application is provided;
[0045] Figure 8 A brief flowchart of the network locking method of the wireless communication module of the present application;
[0046] Fig. 9 This is an interactive schematic diagram of the network locking method of the wireless communication module of the present application;
[0047] Fig.10 A schematic diagram of the network locking mode configuration of the network locking method of the wireless communication module of the present application;
[0048] Fig.11 A schematic diagram of the PLMN list setting of the network locking method of the wireless communication module of the present application;
[0049] Fig.12 This is a schematic diagram of the MCC list setting of the network locking method of the wireless communication module of this application;
[0050] Fig.13 This is a schematic diagram of the module structure of the network locking device of the wireless communication module of the embodiment of the present application;
[0051] Fig.14 A schematic diagram of the module structure of the hardware operating environment involved in the network locking method of the wireless communication module in the embodiment of the present application.
[0052] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0053] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0054] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0055] The main solution of the embodiment of the present application is: obtain the current network lock mode, and determine the corresponding network lock list according to the network lock mode; perform a full-band scan according to the network lock list to obtain an available network list; take the overlapping elements in the available network list and the network lock list as targets and perform a network injection operation.
[0056] The existing network locking method of wireless communication modules can only lock the network corresponding to a single PLMN, and cannot lock the networks corresponding to multiple PLMNs.
[0057] In the current network environment, operators' network layout is often adjusted, and there are many uncertainties. An operator can provide multiple PLMN corresponding networks. For example, a mobile operator can provide 5 networks, such as Figure 1 If the PLMN extracted by the module from the COPS command is 46000, but there is no network corresponding to PLMN46000 in the existing network, the module will not be able to lock the network, resulting in the impact on communication services.
[0058] In addition, the operator network of the existing wireless communication module is composed of MCC (Mobile Country Code) and MNC (Mobile Network Code) identifiers, where one or more MCCs can be assigned, such as China has only 460, and the United States has 310, 311, and 316. When it is necessary to lock the MCC to all MNCs, the existing locking method can only lock one, so it cannot meet this requirement.
[0059] Moreover, as operators develop, the number of MNCs is also increasing. For example, the MCC311 in the United States initially had only 35 corresponding MNCs, but as time went on, MNC940 was added. Figure 2 Therefore, the existing locking method has the defect of insufficient flexibility.
[0060] To solve the above problems, the present application provides a solution to flexibly select a lock list according to the current network lock mode, match it with the available network list, and thus flexibly implement network lock.
[0061] It should be noted that the execution subject of this solution can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a wireless communication module capable of realizing the above functions, etc. The following embodiments are described below taking the wireless communication module as an example.
[0062] Based on this, the embodiment of the present application provides a method for locking a wireless communication module. Figure 3 , Figure 3 This is a flow chart of the first embodiment of the network locking method of the wireless communication module of the present application.
[0063] In this embodiment, the network locking method of the wireless communication module includes steps S10 to S30:
[0064] Step S10, obtaining the current network lock mode, and determining a corresponding network lock list according to the network lock mode;
[0065] It should be noted that the network lock mode is a configuration option used to control the network connection status of the module. This mode may be manually set by the user based on the upper-layer application, or automatically enabled by the network lock system based on specific conditions.
[0066] It should be noted that the locked network list contains the configuration information of all networks that are allowed to connect, including but not limited to PLMN, MCC, MNC, network type, frequency, etc.
[0067] For example, if the module attempts to connect to a network but fails more than a threshold within a certain period of time, a network lock mode can be automatically enabled to prevent frequent attempts to connect to the same network. Alternatively, when the device is detected to enter a specific geographic area, such as a cross-border area, the network lock system can automatically enable a network lock mode to only allow connection to the network in the current country. Alternatively, if the data traffic is detected to exceed a predetermined range, a network lock mode can be automatically enabled to restrict the connection.
[0068] Furthermore, the network lock list corresponding to the network lock mode is determined in the following manner:
[0069] Optionally, if the network lock mode is predefined, the network lock list corresponding to the mode can be directly extracted from the configuration database of the network lock system, or a request can be sent to the server through a network connection to obtain the network lock list; if the network lock list is continuously updated based on user interaction, it is necessary to monitor the user's operations regularly and filter them in combination with the rules of the network lock mode to form a network lock list; if the network lock mode is dynamically generated based on network connection status, user location and other conditions, it is necessary to obtain the current conditions in real time and filter out qualified networks according to the rules of the network lock mode to form a network lock list.
[0070] It should be noted that if the final locked network list is empty, it means that no network is specified to be allowed to connect, and the module will not try to connect to any network. This is a security or restriction measure to ensure that the module will not automatically try to connect to any operator network without clear network instructions. This can avoid access to untrusted or incorrect networks, thereby ensuring the stability and security of the business.
[0071] Step S20, performing full-band scanning according to the locked network list to obtain an available network list;
[0072] It should be noted that the available network list usually refers to the collection of networks that the module can connect to at a specific location and time.
[0073] First, determine the frequency band range to be scanned based on the network lock list. The network lock list defines the boundary conditions for scanning, so that the module does not waste time and resources scanning frequency bands that are not in the network lock list, thereby improving the efficiency of scanning. In addition, the priority order of scanning can be set according to the network type and frequency band characteristics, such as signal strength, coverage, etc.
[0074] Then, by calling the underlying wireless communication API (Application Programming Interface), such as the AT (Attention) instruction set, the full-band scan is performed to obtain all possible signals in the band. During the scanning process, the module will try to parse the synchronization signal and broadcast message of each detected cell, and then obtain the network configuration information of the cell, including but not limited to PLM N, MCC, MNC, network type, frequency, etc.
[0075] Finally, the parsed network configuration information is recorded locally to generate a list of available networks.
[0076] Step S30: taking the overlapping elements in the available network list and the locked network list as targets, performing a network injection operation.
[0077] First, the module will traverse each item in the available network list to determine whether it matches the locked network list, and then determine the overlapping elements between the available network list and the locked network list.
[0078] When determining overlapping elements, various configuration information may be considered as matching basis, including but not limited to PLMN, MCC, MNC, network type, frequency, etc.
[0079] For example, after the module is powered on or the flight mode is switched on, it scans the available networks in the current environment and returns an available network list, such as {PLMN 1 (5G), PLMN 2 (5G), PLMN 3 (4G)}. It is known that the network lock list corresponding to the current network lock mode is {network lock list A: select 5G network}. Then, the matching results of the available network list and the network lock list are PLMN1 (5G) and PLMN 2 (5G).
[0080] Alternatively, the module loads a PLMN list, where each item in the PLMN list has a corresponding PLMN, such as PLMN31100 and PLMN31101; traverses each PL MN in the available network list, compares it with each item in the PLMN list, and searches for a matching PLMN as the target network.
[0081] Alternatively, the module loads an MCC list, in which each item in the list has a corresponding MCC, such as MCC311; traverses each PLMN in the available network list, and extracts the MCC of each PLMN through string operations according to the format of the PLMN; if the MCC of the current PLMN is the same as the MCC in the mobile country code list, then the current PLMN is set as the target network.
[0082] like Figure 4 As shown in the figure, if a PLMN matching the locked network list is found in the available network list, the module will retrieve the frequency information corresponding to the PLMN. This means that the module has obtained the communication frequency band provided by the network and is now ready to synchronize the signal.
[0083] The module then searches for a synchronization signal on the extracted frequency. Once the correct synchronization signal is found, the module synchronizes with the target cell to ensure that it can correctly connect to the network. This indicates that the module is attempting an attachment operation.
[0084] After successfully synchronizing to the target cell, the module establishes a connection with the network and completes the residency, which means that the module has locked the network that the user wants to use and achieved network attachment.
[0085] In addition, if Figure 5 As shown in FIG. 1 , if all PLMNs in the available network list cannot match the locked network list, the module will not initiate a camping cell and registration attachment request. This process ensures that the module will not connect to a network not specified by the user, thereby achieving the purpose of locking the network.
[0086] This embodiment provides a network locking method for a wireless communication module, which determines a corresponding network locking list according to a network locking mode, performs a full-band scan based on the network locking list to obtain an available network list, and then uses the overlapping elements in the two lists as targets to perform a network injection operation. Different from a single locking method, this solution flexibly determines the network locking list and expands the number of networks that the module can access. In this way, when the module attempts to inject a network, it can use multiple overlapping elements between the available network list and the network locking list as targets, thereby considering multiple candidate PLMNs for attempts to sequentially implement network injection.
[0087] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 6 , step S10 may include steps A10 to A20:
[0088] Step A10, if the fill value of the flag bit of the network lock mode is the first value, setting the public land mobile network list as the network lock list;
[0089] Step A20: If the filling value of the flag bit of the network lock mode is the second value, the mobile country code list is set as the network lock list.
[0090] It should be noted that the public land mobile network list (hereinafter referred to as the PLMN list) is used to record the PLMNs that the wireless communication module (hereinafter referred to as the module) is allowed to access; the mobile country code list (hereinafter referred to as the MCC list) is used to record the MCCs that the module is allowed to access.
[0091] Set the fill value of the lock network mode flag in advance:
[0092] Network lock mode 1: The first value, such as 1, indicates that the PLMN list network lock function is enabled. When the network lock system is set to this mode, the module will determine whether the existing network meets the conditions for initiating the network attachment operation based on the PLMN list, so as to achieve the network lock goal by locking the PLMN list.
[0093] Network lock mode 2: The second value, such as 2, indicates that the MCC list network lock function is enabled. When the network lock system is set to this mode, the module will determine whether the existing network meets the conditions for initiating the network attachment operation based on the MCC list, so as to achieve the network lock goal by locking the MCC list.
[0094] Optionally, the flag information of the current network lock mode is obtained through an API, a configuration file, or a system command.
[0095] If the fill value of the flag bit is the first value, the PLMN list is set as the locked network list. If the fill value of the flag bit is the second value, the MCC list is set as the locked network list. The locked network list may be predefined, continuously updated, or dynamically generated, which is not limited here.
[0096] In addition, before determining the network lock list, you can also consider turning the network lock function on and off. The specific plan is as follows:
[0097] Optionally, set the fill value of the network lock mode flag in advance:
[0098] Network lock mode 3: The third value, such as 0, means turning off the module network lock function. When the network lock system is set to this mode, the module will not lock the network, but will register the network in the module default way.
[0099] Get the flag information of the current network lock mode.
[0100] If the obtained filling value of the flag bit is the first value, the network is registered in the default manner, that is, the network lock function is turned off, which allows the module to connect to all available PLMNs.
[0101] It is understandable that this solution provides a clear and consistent criterion for the on-state of the network lock mode through predefined flag information. This criterion does not depend on the real-time state of the operating system or log information, reduces the risk of inaccurate judgment due to changes in external factors, and makes the judgment process more intuitive and reliable.
[0102] In general, this solution is divided into three network locking modes:
[0103] For network locking mode 1, that is, using the PLMN list to lock the network, it is possible to accurately specify which networks the module can connect to. This accuracy ensures that the module will only try to connect to trusted and compliant networks.
[0104] For the second network lock mode, that is, using the MCC list to lock the network, it can connect to the network of a specific country. It can be applied not only to terminal application IoT module products, such as customers' IPC (Internet Protocol Camera) module products. In some cases, the product cannot obtain certification from a certain operator in a country, but considering the market demand, it needs to be quickly launched to the market, so it is necessary to use other operator networks in the country. At this time, you only need to set the MCC list corresponding to the country to specify multiple operator networks for locking to meet market demand. This method effectively solves the rapid introduction and delivery of products and reduces business risks. It can also be applied to mobile IoT module products, such as portable IoT access devices. When users need to use products in other areas due to business trips, the roaming function of the operator may cause a significant increase in traffic costs. At this time, you can lock the network by specifying the MCC list to limit network use, thereby avoiding unnecessary roaming expenses. In this way, users can effectively control costs and reduce traffic expenses.
[0105] For network lock mode three, that is, turning off the network lock function, the module is allowed to actively select the best network for connection based on the current signal strength and network availability to provide better communication services.
[0106] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be described in detail later. Figure 7 Before step S30, the network locking method of the wireless communication module further includes steps B10 to B20:
[0107] Step B10, obtaining a user's instructions for adding and / or deleting the network lock list;
[0108] Step B20: updating the network lock list according to the adding and / or deleting instructions.
[0109] This solution enables dynamic modification of the locked network list.
[0110] Optionally, for a module with a display screen and input function, the user's instructions can be received through a built-in or externally connected graphical interface, for example, by allowing the user to select or input the network identifier to be added or deleted through a touch screen, buttons, knobs, etc.
[0111] Optionally, for modules without a graphical interface, a CLI (command-line interface) is usually provided to receive user instructions. The user can connect to the module through a serial port or other communication interface and use a specific command format, such as an AT command, to send a request to add or delete a network identifier.
[0112] In addition, the user may also add or delete a lock network by modifying a configuration file, which is not specifically limited in this embodiment.
[0113] It should be noted that the add command indicates that the user wants to add a new network configuration information, such as a new MCC or PLMN, to the network lock list so that the module can connect to the newly specified network; the delete command indicates that the user wants to remove an existing network identifier from the network lock list so that the module will not try to connect to this network in subsequent connection processes.
[0114] Accordingly, when the module receives the instruction, if it is an add instruction, the network configuration information carried by the instruction is added to the network lock list; if it is a delete instruction, the network configuration information carried by the instruction is removed from the network lock list.
[0115] Exemplarily, when in network lock mode 2, the user can add PLMN to the PLMN list based on the upper-layer application, or delete the specified PLMN from the PLMN list. If the PLMN list is empty, the module will be prohibited from initiating network attachment; when in network lock mode 3, the user can add MCC to the MCC list based on the upper-layer application, or delete the specified MCC from the MCC list. If the MCC list is empty, the module will be prohibited from initiating network attachment.
[0116] It should be noted that the above is only an example sequence. In addition to this, the update operation of the locked network list can also be completed before obtaining the current available network list, which is not specifically limited in this embodiment.
[0117] In addition, when the module attempts to perform a network injection operation, it may encounter various problems, such as unstable network, invalid input information, or system failure. Once the failure of the network injection operation is detected, the module will output the corresponding failure prompt. These prompts can be error codes, short messages, or instructions, such as "Failed to add MNC operation, please check the input information." After seeing the failure reminder, the user can take corresponding measures according to the prompt, such as making modifications, trying to re-add, or directly deleting a PLMN. Accordingly, according to the user's add or delete instructions, the module will jump to the corresponding processing steps, perform the update operation, and then try to inject the network again. With this setting, the module demonstrates its adaptability by receiving new instructions from the user and flexibly adjusting the network lock list, and can quickly adjust according to user needs and changes in the network environment.
[0118] This embodiment provides a method for locking a network of a wireless communication module, and timely updates the locked network list based on the user's add and / or delete instructions. This solution fully considers the continuous changes in the network environment, especially the continuous increase in operator networks, and enables dynamic modification of the locked network list, so that users can add or delete networks at any time according to actual needs to adapt to new network requirements.
[0119] For example, in order to help understand the implementation process of the wireless communication module network locking method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 8 , Figure 8 A brief flow chart of a method for locking a wireless communication module is provided, specifically:
[0120] 1. The user sets the module network lock mode, and the parameters are 0, 1, and 2. If the value is set to 0, it means that the module network lock function is turned off; if the value is set to 1, it means that the network lock function is achieved by locking the PLMN list; if the value is set to 2, it means that the network lock function is achieved by locking the MCC list.
[0121] 2. Determine whether to enable the module network lock function based on the parameters;
[0122] 3. If the module network lock function is turned on, further determine the network lock mode;
[0123] 4. When the value of the flag information of the network lock mode is 1, the PLMN list is set as the network lock list;
[0124] When the value of the network lock mode flag information is 2, the MCC list is set as the network lock list;
[0125] 5. Match the PLMN list or MCC list with the available network list, and decide whether to initiate a network registration request based on the matching result.
[0126] Please refer to Fig. 9 , Fig. 9 A schematic diagram of the interaction between a module, a Linux host device and a base station is provided.
[0127] Users can set the lock mode and lock list based on the upper layer application. Since the Linux master device and the module are connected based on UART (Universal Asynchronous Receiver / Transmitter) or USB (Universal Serial Bus), they can communicate through AT commands or data services to transmit the content set by the user. In this way, the module can determine the applicable PLMN list or MCC list according to the network lock mode, thereby determining whether the current network meets the network lock conditions and deciding whether to initiate a network attachment request to the base station.
[0128] By configuring the module's network lock mode, an example of controlling the module's network lock is as follows:
[0129] first step:
[0130] Design the module's network lock AT commands, a total of three instructions:
[0131] 1.1Configure the network lock mode, the specific content is as follows Fig.10 As shown;
[0132] 1.2 Set the PLMN list, the specific content is as follows Fig.11 As shown;
[0133] 1.3 Set up the MCC list, the specific content is as follows Fig.12 shown.
[0134] Step 2:
[0135] The user uses a mobile card to test the network registration.
[0136] The currently available networks include China Mobile, China Telecom, China Unicom and China Radio and Television Network.
[0137] 1.1 The network lock function is turned off by default, and the module is successfully added to the network.
[0138] 1.2 Enable the network lock function. The user configures the PLMN lock mode and configures the corresponding PLMN list, including the radio and television network and the mobile network.
[0139] The radio and television network is locked, and the mobile card registration fails.
[0140] Lock the mobile network and register the mobile card successfully.
[0141] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the network locking method of the wireless communication module of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0142] This application also provides a wireless communication module locking device, please refer to Fig.13 , the network locking device of the wireless communication module includes:
[0143] The network lock list determination module 10 is used to obtain the current network lock mode and determine the corresponding network lock list according to the network lock mode;
[0144] An available network list acquisition module 20 is used to perform full-band scanning according to the locked network list to acquire an available network list;
[0145] The network locking module 30 is used to perform a network injection operation by taking the overlapping elements in the available network list and the locked network list as targets.
[0146] The network locking device of the wireless communication module provided by the present application adopts the network locking method of the wireless communication module in the above embodiment, which can solve the technical problem that the wireless communication module cannot achieve network locking. Compared with the prior art, the beneficial effects of the network locking device of the wireless communication module provided by the present application are the same as the beneficial effects of the network locking method of the wireless communication module provided by the above embodiment, and other technical features in the network locking device of the wireless communication module are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0147] The present application provides a wireless communication module, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the network locking method of the wireless communication module in the above-mentioned embodiment one.
[0148] Reference below Fig.14 , which shows a schematic diagram of the structure of a wireless communication module suitable for implementing the embodiment of the present application. The wireless communication module in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.14 The wireless communication module shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0149] like Fig.14As shown, the wireless communication module may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the wireless communication module are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the wireless communication module to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a wireless communication module with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0150] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0151] The wireless communication module provided by the present application adopts the network locking method of the wireless communication module in the above embodiment, which can solve the technical problem that the wireless communication module cannot achieve network locking. Compared with the prior art, the beneficial effects of the wireless communication module provided by the present application are the same as the beneficial effects of the network locking method of the wireless communication module provided by the above embodiment, and the other technical features in the wireless communication module are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0152] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0153] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0154] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the network locking method of the wireless communication module in the above-mentioned embodiment.
[0155] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0156] The computer-readable storage medium may be included in the wireless communication module; or may exist independently without being assembled into the wireless communication module.
[0157] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the wireless communication module, the wireless communication module: obtains the current network lock mode, and determines the corresponding network lock list according to the network lock mode; performs a full-band scan according to the network lock list to obtain an available network list; takes the overlapping elements in the available network list and the network lock list as targets, and performs a network injection operation.
[0158] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0159] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0160] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0161] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the network locking method of the above-mentioned wireless communication module, and can solve the technical problem that the wireless communication module cannot achieve network locking. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the network locking method of the wireless communication module provided by the above-mentioned embodiment, and will not be repeated here.
[0162] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for locking a wireless communication module, characterized in that: The method comprises: Obtain the current network lock mode, and determine the corresponding network lock list according to the network lock mode; Perform full-band scanning according to the locked network list to obtain a list of available networks; The overlapping elements in the available network list and the locked network list are taken as targets to perform a network injection operation.
2. The method according to claim 1, characterized in that The step of determining the corresponding network lock list according to the network lock mode comprises: If the fill value of the flag bit of the network lock mode is the first value, setting the public land mobile network list to the network lock list; If the filling value of the flag bit of the network lock mode is the second value, the mobile country code list is set as the network lock list.
3. The method according to claim 2, characterized in that After the step of setting the mobile country code list to the network lock list if the filling value of the flag bit of the network lock mode is the second value, the method further includes: If the filling value of the flag bit of the network lock mode is the third value, the network injection operation is performed in a default manner.
4. The method according to claim 1, characterized in that The step of taking the overlapping elements in the available network list and the locked network list as targets and performing the network injection operation comprises: Obtaining a public land mobile network identifier or a mobile country code in the available network list; If the public land mobile network identifier or the mobile country code belongs to the network lock list, the network corresponding to the public land mobile network identifier or the mobile country code is taken as a target to perform a network registration operation.
5. The method according to claim 1, characterized in that Before the step of taking the overlapping elements in the available network list and the locked network list as targets and performing the network injection operation, the method further includes: Obtaining a user's instructions for adding and / or deleting the network lock list; According to the adding and / or deleting instructions, the locking network list is updated.
6. The method according to claim 5, characterized in that After the step of taking the overlapping elements in the available network list and the locked network list as targets and performing the network injection operation, the method further includes: When the network injection operation fails, the corresponding failure reminder is output; Receiving the adding and / or deleting instruction triggered by the user based on the failure reminder; Jump to execute the step of updating the network lock list according to the adding and / or deleting instructions.
7. The method according to claim 1, characterized in that After the step of performing full-band scanning according to the locked network list to obtain an available network list, the method further includes: If the network lock list is empty, no network registration request is initiated.
8. A network locking device for a wireless communication module, characterized in that: The device comprises: A network lock list determination module is used to obtain the current network lock mode and determine the corresponding network lock list according to the network lock mode; An available network list acquisition module is used to perform full-band scanning according to the locked network list to obtain an available network list; The network locking module is used to take the overlapping elements in the available network list and the locked network list as targets and perform a network injection operation.
9. A wireless communication module, characterized in that: The module includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network locking method of the wireless communication module according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the network locking method of the wireless communication module according to any one of claims 1 to 7 are implemented.
