Network configuration method, device, terminal and readable storage medium
By obtaining terminal hardware information and loading RF configuration files, only the supported network standard set is presented, which solves the crash problem caused by users' choice of not supporting the standard, and improves the network search efficiency and user experience.
Patent Information
- Application Number
- CN202010592509.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-24
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2040-06-24
AI Technical Summary
In the prior art, user terminals are prone to crashes or system crashes when selecting or switching network standards, which reduces user experience and is inefficient in network search.
By obtaining the terminal's hardware information, loading the matching RF configuration file, presenting only the network standard set supported by the terminal to the user to select, and determining the intersection network standard in the hardware MBN file, narrowing the range of network standard to be searched.
It effectively avoids crashes caused by users' choice of network standards that are not supported, speeds up the search process of the terminal, and improves the user experience.
Smart Images

Figure CN113840308B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a network configuration method, device, terminal and readable storage medium. Background Art
[0002] When the user terminal is powered on, it usually searches for a network first and then registers to a network to access the network. The existing network search solutions mainly use the Public Land Mobile Network (PLMN) to search for the network. For different operators, the PLMN is different. For example, China Mobile's PLMN is 46000, China Unicom's PLMN is 46001, etc. Usually, after the terminal selects the corresponding operator, it is also necessary to select the corresponding network standard (also called network mode) for network connection, such as GSM, WCDMA, TD-SCDMA or TD-LTE, etc. However, when the user selects a network standard on the network standard setting interface of the terminal to connect or switches to another network standard, the terminal sometimes suddenly flashes back or the system crashes (collectively referred to as crash phenomenon), which greatly reduces the user experience. Summary of the invention
[0003] In view of this, an object of the present invention is to overcome the deficiencies in the prior art and to provide a network configuration method, device, terminal and readable storage medium.
[0004] An embodiment of the present invention provides a network configuration method, which is applied to a terminal. The method includes:
[0005] Acquiring hardware information of the terminal related to network configuration;
[0006] Loading a radio frequency configuration file matching the terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the terminal;
[0007] At least one network standard in the first network standard set is connected to the standard setting interface of the terminal for user selection.
[0008] In some possible embodiments, the network configuration method further includes:
[0009] Loading a hardware MBN file matching the terminal according to the hardware information, wherein the hardware MBN file includes a second network standard set;
[0010] The network standards in the intersection of the first network standard set and the second network standard set are connected to the standard setting interface.
[0011] In some embodiments, the hardware information includes a hardware identifier and a radio frequency identifier, wherein the hardware identifier is used to identify a hardware configuration of the terminal, and the radio frequency identifier is used to identify a radio frequency configuration of the terminal that matches the hardware configuration.
[0012] In some embodiments, the hardware identifier and the radio frequency identifier are respectively associated with different objects of the same hardware type in the terminal, and the acquisition of the hardware information includes:
[0013] The parameter values of the different objects are read respectively to determine the hardware identification and the radio frequency identification.
[0014] In some embodiments, the hardware type is a GPIO port, a resistor, a capacitor or an inductor, and the parameter value is a level value of the GPIO port, a resistance value of the resistor, a capacitance value of the capacitor or an inductance value of the inductor.
[0015] An embodiment of the present invention further discloses a network configuration method, which is applied to a terminal, and the method includes:
[0016] Acquiring hardware information of the terminal related to network configuration;
[0017] Loading a radio frequency configuration file matching the terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the terminal;
[0018] Determining whether each network standard presented in the standard setting interface of the terminal is a network standard in the first network standard set;
[0019] The network standard that is not in the first network standard set is marked as unavailable in the standard setting interface.
[0020] An embodiment of the present invention further discloses a network configuration method, which is applied to a terminal, and the method includes:
[0021] When receiving a network standard selected by a user in a standard setting interface of the terminal, determining whether the selected network standard is an available network standard, wherein the network standard included in a radio frequency configuration file matching the terminal is used as the available network standard, and the radio frequency configuration file is loaded according to hardware information related to network configuration of the terminal;
[0022] If the selected network standard does not belong to the available network standards, the terminal does not perform network search; otherwise, the terminal performs network search according to the selected network standard.
[0023] An embodiment of the present invention further discloses a network configuration device, which is applied to a terminal, and the device includes:
[0024] An information acquisition module, used to acquire hardware information of the terminal related to network configuration;
[0025] A configuration loading module, configured to load a radio frequency configuration file adapted to the terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the terminal;
[0026] The interface presentation module is used to connect at least one network standard in the first network standard set to the standard setting interface of the terminal as an optional network standard for user selection.
[0027] An embodiment of the present invention further discloses a network configuration device, which is applied to a terminal, and the device includes:
[0028] An information acquisition module, used to acquire hardware information of the terminal related to network configuration;
[0029] A configuration loading module is configured to load a radio frequency configuration file matching the terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the terminal;
[0030] A standard determination module, used to determine whether each network standard presented in the setting interface of the terminal is a network standard in the first network standard set;
[0031] A standard marking module is used to mark a network standard that is not in the first network standard set as unavailable in the setting interface.
[0032] An embodiment of the present invention further discloses a network configuration device, which is applied to a terminal, and the device includes:
[0033] a standard determination module, configured to, when receiving a network standard selected by a user in a setting interface of the terminal, determine whether the selected network standard is an available network standard, wherein the network standard included in a radio frequency configuration file matching the terminal is used as the available network standard, and the radio frequency configuration file is loaded according to hardware information related to the network configuration of the terminal;
[0034] The network search control module is used for the terminal not to perform network search if the selected network standard does not belong to the available network standards; otherwise, the terminal performs network search according to the selected network standard.
[0035] An embodiment of the present invention further discloses a terminal, the terminal comprising a processor and a memory, the memory storing a computer program, and the processor being configured to execute the computer program to implement the above-mentioned network configuration method.
[0036] An embodiment of the present invention further discloses a readable storage medium storing a computer program. When the computer program is executed, the above-mentioned network configuration method is implemented.
[0037] The embodiments of the present invention have the following advantages:
[0038] The network configuration method of the embodiment of the present invention obtains the hardware information of the terminal bottom layer and loads the radio frequency configuration file containing the network standard supported by the terminal hardware according to the hardware information, and uses the network standard supported by the terminal as the optional network standard in the standard setting interface, so as to prevent the user from selecting a network standard that is not supported by the terminal bottom layer hardware, thereby effectively solving the crash problem, thereby improving the user experience, etc. In addition, since the interface configuration is performed based on the network standard within the minimum range supported by the bottom layer hardware, that is, the range of network standards to be searched is narrowed, the method can also speed up the terminal's network search, further improving the user experience, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 A schematic diagram showing the structure of a terminal provided by an embodiment of the present invention is shown;
[0041] Figure 2 A first flow chart of a network configuration method according to an embodiment of the present invention is shown;
[0042] Figure 3 A second flow chart of the network configuration method according to an embodiment of the present invention is shown;
[0043] Figure 4 A third flow chart of the network configuration method according to an embodiment of the present invention is shown;
[0044] Figure 5 A schematic diagram of a standard setting interface of a network configuration method according to an embodiment of the present invention is shown;
[0045] Figure 6 A fourth flow chart of the network configuration method according to an embodiment of the present invention is shown;
[0046] Figure 7 A first structural schematic diagram of a network configuration method according to an embodiment of the present invention is shown;
[0047] Figure 8A second structural schematic diagram of the network configuration method according to an embodiment of the present invention is shown;
[0048] Fig. 9 A third structural schematic diagram of the network configuration method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0050] The components of the embodiments of the present invention described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0051] The following embodiments can be applied to Figure 1 In the mobile terminal shown, such as a mobile phone, Figure 1 The structure block diagram of the mobile phone is shown. The mobile phone 100 includes: RF (Radio Frequency) circuit 110, memory 120, input unit 130, display unit 140, shooting unit 150, audio circuit 160, WiFi (wireless fidelity) module 170, processor 180, power supply 190 and other components. Among them, the RF circuit 110 can be used to receive and send wireless signals, etc.; the memory 120 can be used to store the application programs required for the operation of the mobile phone 100 and the user's related file information, etc. The input unit 130 can include keys, touch panels, and can also include other input devices, etc., for receiving information input from the user, etc.; the display unit 140 can include a display panel, which is mainly used to display images, texts and other information; the shooting unit 150 mainly includes front and rear cameras, etc., which are mainly used to take pictures, videos, etc.; the audio circuit 160 is connected to the sound output devices such as the handset and the speaker and the sound input devices such as the microphone, and can be used to record or play voice, etc.; the WiFi module 170 can be used to send and receive WiFi signals to realize information transmission, etc. The processor 180 serves as the control center of the mobile phone 100 and is mainly used to enable other units or modules to perform corresponding functions, etc.; and the power supply 190 mainly includes battery equipment, which is used to provide the required working voltage, etc. for each module or unit in the mobile phone 100.
[0052] Those skilled in the art will understand that Figure 1The structure of the mobile phone 100 shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. The technical solution of the present invention is described below by taking a mobile terminal as an example, wherein the mobile terminal is not limited to being applied to a mobile phone, but may also be applied to a tablet computer, etc. The present invention is described below with specific embodiments, of course, the present invention is not limited to these specific embodiments.
[0053] In response to the phenomenon that users need to select a network standard in the standard setting interface and sometimes crash, the network standard that can be used to achieve effective network connection should at least meet the intersection of the network standards supported by the upper-layer application of the terminal and the network standards configured in the RF solution (also known as the RF configuration file) supported by the underlying hardware. For some terminals using solutions such as Qualcomm chips, it is usually the intersection of the network standards supported by the upper-layer application of the terminal, the network standards configured in the RF solution, and the network standards configured in the hardware MBN file.
[0054] However, after a lot of testing and research by the inventor, it was found that the many network standard options presented in the network standard setting interface not only include the above-mentioned intersection or a subset of the intersection, but also include some network standards that are only supported by upper-level applications. For example, for the upper-level software application of desktop UI, since it is often developed for compatibility during the application development process, that is, it is usually considered that different models of terminals in the same series need to be supported, the upper-level application package often also contains a variety of network standard resources supported by different terminals, which will result in network standards that are not supported by the underlying hardware of the current terminal being displayed in the standard setting interface for user selection. If the user clicks on one of the network standards that is not supported by the hardware on the standard setting interface at this time, a crash phenomenon will occur, which is mainly manifested in that the current interface suddenly flashes back after waiting for a period of time, or the terminal display is always trying to connect to the network, resulting in a system unresponsive state, etc.
[0055] In view of this, the embodiment of the present invention proposes a network configuration method to effectively solve the above problem, which will be described in detail below in conjunction with a specific embodiment.
[0056] In an embodiment of the present invention, a radio frequency configuration file is a code file required by a terminal when performing radio frequency configuration. Since the hardware resources in the terminal are limited, such as a mobile phone, the baseband processor chip and the antenna in the mobile phone are not directly connected. There is also a radio frequency circuit composed of a modem (sometimes integrated in the baseband chip), a transceiver, an antenna switch and other devices between the two. The function of the radio frequency circuit can provide a suitable radio frequency signal transceiver link according to the working requirements of the baseband chip. By flexibly configuring these hardware in the terminal, the terminal can support different standards and frequency bands as much as possible, and the multiple standards that these hardware can support are usually recorded in the radio frequency configuration file. Since the radio frequency configuration needs to be based on the hardware configuration, the hardware configurations of different terminals are different, and the radio frequency solutions they adopt will also be different. Usually, different radio frequency solutions are usually stored in the radio frequency software set in the terminal, and there is a preset correspondence between different radio frequency solutions and different hardware configurations.
[0057] MBN file (modem software configuration) is a configuration file related to SIM card and network environment configuration, which is used to complete the terminal's access to the communication network. In the Qualcomm chip solution, its MBN file distinguishes between software MBN files (mcfg_sw.mbn) and hardware MBN files (mcfg_hw.mbn), among which the loading of software MBN files needs to be based on hardware MBN files. A terminal can contain multiple hardware MBN files, and different SIM card configuration mechanisms correspond to different hardware MBN files. For example, when the terminal is set up with a single SIM card, the hardware MBN file corresponding to the single SIM card will be loaded; if the terminal is set up with dual SIM cards, the hardware MBN file corresponding to the dual SIM card will be loaded. Among them, the device_config.xml of the hardware MBN file contains the network standard set that the hardware of the current terminal can support. These network standards can be configured according to the working frequency bands supported by the underlying hardware of the current terminal and the SIM card configuration.
[0058] The network standard setting interface, referred to as the standard setting interface, is an upper-layer application interactive interface provided by the terminal system, through which users can set or switch network standards. For example, for Android-based mobile phones, the standard setting interface can usually be entered from the system settings application. In the standard setting interface, a variety of network standards are often provided for users to choose, such as GSM, WCDMA, TD-SCDMA, TD-LTE, FDD-LTE, 5G NR and other network standards with different frequency bands. Different operators support different network standards.
[0059] Example 1
[0060] Please refer to Figure 2 This embodiment proposes a network configuration method, which can be applied to various communication terminals, such as mobile phones, tablets, etc. The network configuration method is described in detail below.
[0061] Step S110, obtaining hardware information of the terminal related to the network configuration.
[0062] Exemplarily, the above hardware information mainly includes a hardware identifier (HW_ID) and a radio frequency identifier (RF_ID). The hardware identifier is used to identify the hardware configuration of the current terminal; and the radio frequency identifier is used to identify the radio frequency configuration that matches the hardware configuration of the current terminal.
[0063] In one embodiment, the hardware configuration includes a hardware circuit board (or motherboard) of the terminal, and the hardware identifier is used to identify the motherboard model or version and other information of the current terminal. It can be understood that the correspondence between the motherboard information and the hardware identifier is pre-stored in the terminal, that is, the motherboard information can be further obtained through the obtained hardware identifier, and the corresponding hardware resources on the motherboard are the hardware configuration of the terminal. The terminal also pre-stores the correspondence between the radio frequency identification or radio frequency scheme and the motherboard information. Exemplarily, the radio frequency identification can be the number of each radio frequency scheme, or other parameter information that can distinguish different radio frequency schemes.
[0064] Exemplarily, in the underlying hardware circuit board of the terminal, the corresponding device is usually designated to establish an association relationship with the hardware identification and the radio frequency identification, and the hardware identification and the radio frequency identification can be obtained by reading the relevant information of the underlying designated device. Among them, the above-mentioned association relationship can be a direct mapping relationship or an indirect mapping relationship. Taking the direct mapping relationship as an example, the parameter value of the read designated device can be directly used as the hardware identification or radio frequency identification. If it is an indirect mapping, the hardware identification or radio frequency identification can be converted according to the read parameter value according to the preset mapping rules.
[0065] In an optional implementation, the hardware identification and radio frequency identification are respectively associated with different objects of the same hardware type of the terminal. For example, the hardware type may include but is not limited to a general input and output port (i.e., a GPIO port), a resistor, a capacitor, or an inductor, etc., and the hardware identification and radio frequency identification information can be obtained by reading the parameter values of these hardware devices.
[0066] Taking the GPIO port as an example, for example, if different GPIO ports are specified in the terminal's underlying hardware circuit board to indicate the hardware identifier and the radio frequency identifier respectively, the hardware identifier and the radio frequency identifier will be obtained by reading the output values of the corresponding GPIO ports in the hardware mainboard respectively. For example, if the output value of the GPIO port associated with the hardware identifier is 0, it means that the hardware identifier is 0, and if the output value of the GPIO port associated with the radio frequency identifier is 1, it means that the radio frequency identifier is 1. At this time, the terminal should load the radio frequency configuration scheme associated with radio frequency identifier 1.
[0067] It should be understood that the output value of the above-mentioned GPIO port can also be other values. This is just an example, and the specific value needs to be determined according to the actual situation. For other hardware types, if it is a hardware type of resistor, the hardware identification or radio frequency identification can be indicated according to the resistance value of the resistor. Similarly, for other devices such as capacitors and inductors, the above-mentioned hardware information can also be determined according to the corresponding capacitance value or inductance value.
[0068] Step S120: Load a radio frequency configuration file matching the current terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the current terminal.
[0069] In one embodiment, after determining the hardware motherboard information of the current terminal according to the read hardware identification, the RF_CARD corresponding to the current hardware motherboard to be loaded can be determined by the radio frequency identification, that is, the radio frequency configuration file. Among them, the radio frequency configuration file includes at least one network standard supported by the current hardware configuration. It can be understood that the first network standard set only stores the network standards supported by these hardware in the form of a collection, but is not limited to this. In addition, it is referred to as the first network standard set here, mainly to distinguish the source from the second network standard set in the following text.
[0070] Step S130: access at least one network standard in the first network standard set to the standard setting interface of the current terminal for user selection.
[0071] Taking into account that the network standard setting interface of existing terminals often presents a variety of network standards for selection, and since the network standards supported by the upper-layer applications often cover the network standards supported by the terminal hardware, they may also include some network standards that are not supported by the current terminal hardware. For this reason, the method of this embodiment proposes to connect the network standards concentrated in the network standard setting interface in the radio frequency configuration file to the standard setting interface for presentation, that is, when loading the network standard data in the standard setting interface, only the network standards supported by the current terminal hardware are presented as optional network standards in the setting interface, which can effectively prevent users from selecting network standards that are not supported by the hardware in the setting interface.
[0072] It can be understood that by reading the hardware information from the bottom layer and determining the matching RF configuration file based on the hardware information, the network standards that the terminal hardware can support are obtained, and then the network standards supported by the hardware are presented as optional network standards in the standard setting interface, while the network standards from other sources are not loaded. In this way, the network standard selected by the user must be a valid network standard, which can effectively avoid the above-mentioned crash phenomenon.
[0073] In some optional embodiments, such as Figure 3 As shown, after the above step S120, the method further includes:
[0074] Step S140: loading a hardware MBN file matching the current terminal according to the hardware information, wherein the hardware MBN file includes a second network standard set.
[0075] Considering that for terminals using Qualcomm processor solutions, the network standard that can be used to achieve effective network connection should be the intersection of the network standard supported by the upper-layer application, the network standard configured in the radio frequency solution, and the network standard configured in the hardware MBN file. Therefore, this embodiment will also take into account the network standard contained in the hardware MBN file.
[0076] Exemplarily, in addition to the above-mentioned hardware identification and radio frequency identification, the hardware information also includes a SIM single-dual card configuration identification. The SIM single-dual card configuration identification can be used to distinguish whether the current terminal is configured with a single SIM card or a dual SIM card. Then, according to the corresponding SIM card configuration and motherboard information, the hardware MBN file matching the current terminal can be loaded, and the network standard contained in the hardware MBN file can be read, that is, the above-mentioned second network standard set.
[0077] Step S150: access at least one network standard in the intersection of the first network standard set and the second network standard set to the standard setting interface.
[0078] Exemplarily, the intersection of the first network standard set in the RF configuration file and the second network standard set in the hardware MBN file is obtained, and then at least one network standard in the intersection is connected to the standard setting interface of the terminal for user selection.
[0079] Since the network standard in the RF configuration file is usually included in the network standard in the hardware MBN file, this ensures that each network standard in the intersection is a network standard supported by the underlying hardware. It can be understood that for the above two solutions, by using the network standard supported by the underlying hardware of the terminal as an optional network standard presented in the standard setting interface, it can avoid users from selecting a network standard that is not supported by the hardware, thereby avoiding crashes. At the same time, since the network standard presented in the standard setting interface at this time is the network standard that the hardware can support or part of it, in other words, it is the smallest range of network standards, this will greatly narrow the range of network standards to be searched, so this method can also speed up the terminal's network search, further improving the user experience, etc.
[0080] Example 2
[0081] Please refer to Figure 4 This embodiment proposes a network configuration method, which is different from the above embodiment 1 only in that after determining the network standards supported by the hardware of the current terminal, all network standards in the standard setting interface of the terminal are judged, and the network standards that are not supported by the hardware are marked to achieve the purpose of prompting the user. The network configuration method is described in detail below.
[0082] Step S210, obtaining hardware information of the terminal related to the network configuration.
[0083] Step S220: Load a radio frequency configuration file matching the current terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the current terminal.
[0084] The principles of steps S210 and S220 are the same as those of steps S110 and S120 in the above embodiment 1. Please refer to the relevant description in the above embodiment 1, so they will not be repeated here.
[0085] Step S230: determining whether each network standard presented in the standard setting interface of the current terminal is a network standard in the first network standard set.
[0086] Since the standard setting interface is loaded with multiple network standards including only upper-layer application support and hardware support, this embodiment will determine whether each network standard belongs to the network standard in the first network standard set. For those that belong to the first network standard set, no processing will be performed; for those that do not belong to the first network standard set, step S240 will be executed.
[0087] Step S240: Mark the network standards that are not in the first network standard set as unavailable in the standard setting interface.
[0088] Exemplarily, by marking the network standard that does not belong to the first network standard set as unavailable, the terminal will not respond accordingly when the user clicks on the unavailable network standard. In an optional implementation, if it is determined that the network standard TD-LTE presented in the standard setting interface is not supported by the current hardware, a marking process will be performed, and the result presented can be as follows: Figure 5 As shown, other methods may also be used for marking, for example, making the row where it is located unclickable and marking it in gray or dark color, which will intuitively prompt the user that the network standard cannot be used.
[0089] Example 3
[0090] Please refer to Figure 6 This embodiment proposes a network configuration method, which is different from the above embodiment 2 in that when a user selects a network standard in the standard setting interface, it is determined whether the selected network standard is an available network standard supported by the hardware level of the current terminal, and corresponding operations are performed according to the determination result. The network configuration method is described in detail below.
[0091] Step S310, when receiving a network standard selected by the user in the standard setting interface of the terminal, determining whether the selected network standard is an available network standard, wherein the network standard contained in the radio frequency configuration file matching the current terminal is used as the available network standard, and the radio frequency configuration file is loaded according to the hardware information related to the network configuration of the current terminal.
[0092] In one embodiment, the acquisition of the available network standard includes loading a matching radio frequency configuration file according to the hardware information related to the network configuration of the current terminal, and then acquiring the configured network standard from the radio frequency configuration file, and using these configured network standards as the available network standard. It can be understood that the step of loading a matching radio frequency configuration file according to the hardware information related to the network configuration of the current terminal can refer to steps S110 to S120 or S210 to S220 in the above embodiment, so it will not be repeated here.
[0093] For step S310, exemplarily, when the user selects a certain network standard in the standard setting interface, the terminal will judge the validity of the selected network standard. If it is not an available network standard, step S320 will be executed. Otherwise, subsequent network registration and other related operations will be performed according to the default process.
[0094] Step S320: If the selected network standard does not belong to the available network standards, the terminal does not perform a network search; otherwise, the terminal performs a network search according to the selected network standard.
[0095] Exemplarily, when it is determined that the network standard is not available, the terminal will not select a cell and register based on the selected network standard, i.e., it will stop responding to subsequent related network search operations, so as to prevent flashbacks when it is found that the selected network standard is not supported by the hardware. On the contrary, if the result of the determination is that the network standard is available, subsequent network connection operations will be performed according to normal rules.
[0096] It can be understood that the network configuration method of this embodiment determines whether a network standard selected by the user is valid when it is received, and if it is valid, it connects to the network according to the default rules. Otherwise, it does not respond to the selection operation or blocks the next operation, so as to prevent the user from seeing flash back or crash.
[0097] Example 4
[0098] Please refer to Figure 7 This embodiment provides a network configuration device 10, which is applied to a terminal. The device includes:
[0099] The information acquisition module 101 is used to acquire hardware information of the current terminal related to the network configuration.
[0100] The configuration loading module 102 is used to load a radio frequency configuration file adapted to the current terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the current terminal.
[0101] The interface presenting module 103 is used to connect at least one network standard in the first network standard set to the standard setting interface of the current terminal for user selection.
[0102] It can be understood that the modules of this embodiment correspond to the steps of the above-mentioned embodiment 1, and any optional items in the above-mentioned embodiment 1 are also applicable to this embodiment, so they are not described in detail here.
[0103] Example 5
[0104] Please refer to Figure 8 This embodiment proposes a network configuration device 20, which is applied to a terminal. The device includes:
[0105] The information acquisition module 201 is used to acquire hardware information of the terminal related to the network configuration.
[0106] The configuration loading module 202 loads a radio frequency configuration file matching the current terminal according to the hardware information, wherein the radio frequency configuration file includes a first network standard set supported by the current terminal.
[0107] The standard determination module 203 is used to determine whether each network standard presented in the standard setting interface of the terminal is a network standard in the first network standard set.
[0108] The standard marking module 204 is used to mark the network standard that is not in the first network standard set as unavailable in the standard setting interface.
[0109] It can be understood that the modules of this embodiment correspond to the steps of the above-mentioned embodiment 2, and any optional items in the above-mentioned embodiment 2 are also applicable to this embodiment, so they are not described in detail here.
[0110] Example 6
[0111] Please refer to Fig. 9 This embodiment proposes a network configuration device 30, which is applied to a terminal. The device includes:
[0112] The standard judgment module 301 is used to determine whether a network standard selected by a user in a standard setting interface of the terminal is an available network standard when receiving the network standard selected by the user in the standard setting interface of the terminal, wherein the network standard contained in the radio frequency configuration file matching the terminal is used as the available network standard, and the radio frequency configuration file is loaded according to the hardware information related to the network configuration of the terminal.
[0113] The network connection control module 302 is configured to prevent the terminal from performing a network search if the selected network standard does not belong to the available network standards; otherwise, the terminal performs a network search using the selected network standard.
[0114] It can be understood that the modules of this embodiment correspond to the steps of the above-mentioned embodiment 3, and any optional items in the above-mentioned embodiment 3 are also applicable to this embodiment, so they are not described in detail here.
[0115] The present invention also provides a terminal, which may include a smart phone, a tablet computer, etc. The terminal includes a memory and a processor, the memory may be used to store a computer program, and the processor runs the computer program to enable the mobile terminal to execute the functions of each module in the above-mentioned network configuration method or the above-mentioned network configuration device.
[0116] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the mobile terminal (such as audio data, phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0117] The present invention also provides a computer storage medium for storing the computer program used in the above terminal.
[0118] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes 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 structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0119] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0120] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0121] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A network configuration method, characterized in that: Applied to a terminal, the method comprises: Acquire hardware information of the terminal related to the network configuration, wherein the hardware information includes a hardware identifier and a radio frequency identifier, wherein the hardware identifier is used to identify the hardware configuration of the terminal, and the radio frequency identifier is used to identify the radio frequency configuration of the terminal that matches the hardware configuration; Determine information of a hardware mainboard of the terminal according to the hardware identifier, and determine the radio frequency configuration file corresponding to the hardware mainboard to be loaded through the radio frequency identifier, wherein the radio frequency configuration file includes a first network standard set supported by the terminal, and the first network standard set includes at least one network standard supported by the hardware configuration; At least one network standard in the first network standard set is connected to the standard setting interface of the terminal for user selection.
2. The network configuration method according to claim 1, characterized in that: Also includes: Loading a hardware MBN file matching the terminal according to the hardware information, wherein the hardware MBN file includes a second network standard set; Access the network standards in the intersection of the first network standard set and the second network standard set to the standard setting interface.
3. The network configuration method according to claim 1, characterized in that: The hardware identifier and the radio frequency identifier are respectively associated with different objects of the same hardware type in the terminal, and the acquisition of the hardware information includes: The parameter values of the different objects are read respectively to determine the hardware identification and the radio frequency identification.
4. The network configuration method according to claim 3, characterized in that: The hardware type is a universal input / output port, a resistor, a capacitor or an inductor, and the parameter value is an output value of the universal input / output port, a resistance value of the resistor, a capacitance value of the capacitor or an inductance value of the inductor.
5. A network configuration method, characterized in that: Applied to a terminal, the method comprises: Acquire hardware information of the terminal related to the network configuration, wherein the hardware information includes a hardware identifier and a radio frequency identifier, wherein the hardware identifier is used to identify the hardware configuration of the terminal, and the radio frequency identifier is used to identify the radio frequency configuration of the terminal that matches the hardware configuration; Determine information of a hardware mainboard of the terminal according to the hardware identifier, and determine the radio frequency configuration file corresponding to the hardware mainboard to be loaded through the radio frequency identifier, wherein the radio frequency configuration file includes a first network standard set supported by the terminal, and the first network standard set includes at least one network standard supported by the hardware configuration; Determining whether each network standard presented in the standard setting interface of the terminal is a network standard in the first network standard set; The network standard that is not in the first network standard set is marked as unavailable in the standard setting interface.
6. A network configuration method, characterized in that: Applied to a terminal, the method comprises: When receiving a network standard selected by the user in the standard setting interface of the terminal, determining whether the selected network standard is an available network standard, wherein the network standard contained in the radio frequency configuration file matching the terminal is used as the available network standard, the radio frequency configuration file is loaded according to the hardware information of the terminal related to the network configuration, the hardware information includes a hardware identifier and a radio frequency identifier, the hardware identifier is used to identify the hardware configuration of the terminal, the radio frequency identifier is used to identify the radio frequency configuration of the terminal matching the hardware configuration, the information of the hardware mainboard of the terminal is determined according to the hardware identifier, and the radio frequency configuration file corresponding to the hardware mainboard to be loaded is determined by the radio frequency identifier; If the selected network standard does not belong to the available network standards, the terminal does not perform network search; otherwise, the terminal performs network search according to the selected network standard.
7. A network configuration device, characterized in that: Applied to a terminal, the device comprises: An information acquisition module, used to acquire hardware information of the terminal related to the network configuration, wherein the hardware information includes a hardware identifier and a radio frequency identifier, wherein the hardware identifier is used to identify the hardware configuration of the terminal, and the radio frequency identifier is used to identify the radio frequency configuration of the terminal that matches the hardware configuration; a configuration loading module, configured to determine information of a hardware mainboard of the terminal according to the hardware identifier, and determine the radio frequency configuration file corresponding to the hardware mainboard to be loaded through the radio frequency identifier, wherein the radio frequency configuration file includes a first network standard set supported by the terminal, and the first network standard set includes at least one network standard supported by the hardware configuration; The interface presentation module is used to connect at least one network standard in the first network standard set to the standard setting interface of the terminal for user selection.
8. A terminal, characterized in that: The terminal comprises a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the network configuration method according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that: The computer program is stored therein, and when the computer program is executed, the network configuration method according to any one of claims 1 to 6 is implemented.
