Network Parameter Configuration Method and Related Devices

By implementing the card customization function in electronic devices, combining the NV parameters set by the user, the actual network configuration parameters are determined, which solves the problem that the NV parameters cannot be used normally after the user identification card is replaced, and the normal operation of the user identification card and the improvement of the user experience is achieved.

CN115776666BActive Publication Date: 2025-06-17HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111045536.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2025-06-17
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

When the user identification card of an electronic device is replaced, it is difficult for the prior art to ensure that the NV parameters set by the user can be used normally, resulting in the user identification card not working normally and affecting the user experience.

Method used

By implementing the card customization function in the electronic device, obtaining the public land mobile network information to which the user identification card belongs, determining the corresponding first NV parameters, and combining the second NV parameters set by the user, the actual network configuration parameters are determined to ensure the normal operation of the user identification card.

Benefits of technology

After the user identification card is replaced, the NV parameters set by the user in the electronic device can be used normally, ensuring the normal operation of the user identification card and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115776666B_ABST
    Figure CN115776666B_ABST
Patent Text Reader

Abstract

The present application provides a network parameter configuration method and related devices, which are applied to an electronic device. The electronic device has a user identification card. The method includes: determining that the electronic device is in the state of customization with the card, and obtaining the public land mobile network information to which the user identification card belongs; determining corresponding first NV parameters according to the public land mobile network information, where the first NV parameters include a network configuration parameter list; obtaining second NV parameters, where the second NV parameters are the parameters already configured by the electronic device, and the second NV parameters include network configuration parameters; determining the actual network configuration parameters in the network configuration parameter list according to the network configuration parameters of the second NV parameters; configuring the electronic device according to the actual network configuration parameters, and by setting the actual network configuration parameters according to the first NV parameters and the second NV parameters, to ensure that the user identification card can work normally and the actual network configuration parameters can meet the requirements of the NV parameters already configured by the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electronic devices, and in particular, to a network parameter configuration method and related devices. Background Art

[0002] In order to prevent data loss after the electronic device loses power, data is usually stored in an NV (Non-Volatile) memory. The parameters stored in the NV memory are called NV parameters, and the NV parameters include radio frequency parameters, calibration data, network protocol parameters, IMEI, MEID, WiFi address, Bluetooth address, etc. When the electronic device is upgraded or the data in the electronic device is damaged, in order to ensure that the NV parameters set by the user can be used normally, the NV parameters set by the user are often restored to the electronic device through NV parameter backup and recovery, so that the electronic device can continue to use the NV parameters configured by the user. However, when the user identification card in the electronic device is replaced, it often happens that the NV parameters set by the user do not match the user identification card in the electronic device (for example, the NV parameters configured by the user are applicable to a mobile user identification card, but the user identification card in the electronic device is a Unicom user identification card), resulting in the user identification card in the electronic device being unable to be used normally.

[0003] In order to ensure that the electronic device can be used normally after the user identification card of the electronic device changes, the electronic device adaptively configures corresponding NV parameters according to the type of the user identification card, such as a mobile user identification card or a Unicom user identification card. However, the NV parameters configured by the electronic device according to the user identification card often directly overwrite the NV parameters set by the user or the NV parameters based on NV backup and recovery, resulting in changes in the data traffic and other uses of the user identification card set by the user, affecting the charges of the user identification card. Summary of the Invention

[0004] Embodiments of this application disclose a network parameter configuration method and related devices, enabling the network configuration parameters in the electronic device to refer to the data configured by the user and enabling the user identification card of the electronic device to work properly.

[0005] A first aspect of this application discloses a network parameter configuration method, which is applied to an electronic device having a user identification card therein. The method includes:

[0006] Determine that the electronic device is in the state of customization with the card, and obtain the public land mobile network information to which the user identification card belongs;

[0007] Determine corresponding first NV parameters according to the public land mobile network information. The first NV parameters include a network configuration parameter list, and at least one network configuration parameter is included in the network configuration list;

[0008] Obtain a second NV parameter, where the second NV parameter is a parameter configured by the electronic device, and the second NV parameter includes a network configuration parameter;

[0009] Determine the actual network configuration parameter in the network configuration parameter list according to the network configuration parameter of the second NV parameter;

[0010] Configure the electronic device according to the actual network configuration parameter.

[0011] In this way, by determining the actual network configuration parameter according to the second NV parameter, and the actual network configuration parameter is one of the network configuration parameters in the first NV parameter, it can be ensured that the user identification card of the electronic device can work normally in the electronic device configured with the actual network configuration parameter, and the actual network configuration parameter can also refer to the network configuration parameter configured by the user in the electronic device.

[0012] In some embodiments, the determining the network configuration parameter in the network configuration parameter list as the actual network configuration parameter according to the network configuration parameter of the second NV parameter includes:

[0013] Determine whether the network configuration parameter of the second NV parameter exists in the network configuration parameter list;

[0014] If the network configuration parameter of the second NV parameter exists in the network parameter configuration list, set the network configuration parameter of the second NV parameter as the actual network configuration parameter of the electronic device;

[0015] If the network configuration parameter of the second NV parameter does not exist in the network parameter configuration list, determine the actual network configuration parameter according to the network configuration parameter list.

[0016] In this way, through the above judgment steps, the actually determined network configuration parameter is in the network configuration parameter list to ensure that the user identification card can work normally. By determining whether the network configuration parameter of the second NV parameter exists in the network configuration parameter list, it is ensured that the actual network configuration parameter determined based on the second NV parameter can make the user identification card work normally.

[0017] In some embodiments, if the number of network configuration parameters in the network configuration list is at least two, each network configuration parameter has a corresponding priority; determining the actual network configuration parameter according to the network configuration parameter list includes:

[0018] Determine the one with the highest priority among the at least two network configuration parameters as the actual network configuration parameter.

[0019] In this way, determine the actual network configuration parameter in the network configuration list according to the priority.

[0020] In some embodiments, the per-card customization status includes:

[0021] Detecting that the user identification card of the electronic device has been replaced, or the electronic device has been restarted.

[0022] In some embodiments, the network configuration parameters include network modes.

[0023] In some embodiments, the method for forming the second NV parameter includes:

[0024] Receiving a setting instruction input by a user;

[0025] Forming the second NV parameter according to the setting instruction.

[0026] In some embodiments, the method for forming the second NV parameter includes:

[0027] Determining that the electronic device is in a state to be backed up, and configuring the electronic device according to the backed-up NV data to form a second NV parameter.

[0028] In some embodiments, if the network configuration parameter of the second NV parameter does not exist in the network parameter configuration list, the method further includes:

[0029] Generating a warning message to remind the user that the second NV parameter is unavailable.

[0030] A second aspect of the present application discloses a computer-readable storage medium storing computer instructions, which, when running on an electronic device, cause the electronic device to execute the network parameter configuration method as described in the first aspect.

[0031] A third aspect of the present application discloses an electronic device, which includes a processor and a memory. The memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the network parameter configuration method as described in the first aspect.

[0032] A fourth aspect of the present application discloses a chip system, which is applied to an electronic device; the chip system includes an interface circuit and a processor; the interface circuit and the processor are interconnected by a line; the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes computer instructions stored in the memory; when the processor executes the computer instructions, the chip system executes the network parameter configuration method as described in the first aspect.

[0033] It should be understood that the computer-readable storage medium described in the second aspect, the electronic device described in the third aspect, and the chip system described in the fourth aspect provided above all correspond to the method in the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here. Description of Drawings

[0034] Figure 1 is a flowchart of the NV backup and recovery method provided by an embodiment of the present application.

[0035] Figure 2 is a flowchart of the method for customizing functions with the card provided by an embodiment of the present application.

[0036] Figure 3 is a schematic flowchart of the network parameter configuration method provided by an embodiment of the present application.

[0037] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0038] For ease of understanding, some descriptions of concepts related to the embodiments of the present application are exemplarily given for reference.

[0039] It should be noted that "at least one" in the present application means one or more, and "multiple" means two or more than two. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims, and drawings of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0040] First, the relevant terms and concepts that may be involved in the embodiments of the present application are introduced below.

[0041] The network mode is the type of the network. The network modes of Chinese mobile phones include CDMA 1X occupied by CDMA mobile phones in the 800MHZ band; 400 / 1800 / 1400MHZ bands occupied by GSM mobile phones; 400 / 1800MHZ bands occupied by GSM 1X dual-mode (i.e., WCDMA) in the past two years; 400 / 1800 / 1400 / 2100MHz bands occupied by 3G; 1920 - 2170MHZ bands occupied by 4G. The 4G TD LTE of China Unicom occupies the 2555 - 2575MHz and 2300 - 2320MHz bands. Of course, there are other network modes, such as stand-alone networking SA and non-stand-alone networking NSA.

[0042] A user identification card, that is, a user identity recognition card, may include a subscriber identification module card (SIM), a universal subscriber identity module card (USIM), a user identity module card (UIM), etc., which are used to identify the user of a mobile terminal.

[0043] Among them, the subscriber identification module card, usually called the "SIM card", is a smart card mainly used to store user identity recognition data, SMS data, telephone numbers, etc. The SIM card is the key for a Global System for Mobile Communications (GSM) mobile phone to connect to the GSM network. Once the SIM card is removed from the mobile phone, the mobile phone will not be able to enjoy various services provided by the network operator except for emergency calls.

[0044] Among them, a data card, also known as a wireless network card, a broadband Internet card, a USB modem, etc., can connect to a wireless network through mobile communication technologies such as GSM (Global System for Mobile communications), UMTS (Universal Mobile Telecommunication System), CDMA (Code Division Multiple Access), etc., to implement functions such as voice, SMS, and data services. The most important function of the data card is to connect to the Internet by dialing to perform data services.

[0045] Among them, the user identification card information may include: the user's number, user type, card number information of the user, the user's address book or the user's SMS, etc. When multiple user identification cards are installed on an electronic device, the additional call information includes the user information of multiple user identification cards, such as the user types corresponding to each user identification card, the card number information corresponding to each user identification card, the user address books on each user identification card, the user SMS corresponding to each user identification card, or the location information of the contact numbers on each user identification card, etc.

[0046] Among them, the card number information may include the integrated circuit card identification code (ICCID, Integrate circuit card identity), the number of the mobile user (MSISDN, Mobile Subscriber International ISDN / PSTN number), and the public land mobile network (PLMN).

[0047] It can be understood that the user identification card information may also include other information stored in the user identification card or information associated with the user identification card but not stored in the user identification card, such as the monthly package usage of the user identity card.

[0048] The public land mobile network is a network established and operated by the government or its approved operator for the purpose of providing land mobile communication services to the public. This network is usually interconnected with the public switched telephone network to form a communication network on a regional or national scale. Among them, different operators have different PLMNs, and the PLMN is stored in the user identification card in the electronic device. The electronic device can read the PLMN in the user identification card. For example, the PLMN of China Mobile is 46000, and the PLMN of China Unicom is 46001.

[0049] When using an electronic device, the user often sets corresponding network setting parameters according to the tariff package, personal preferences, etc. of the user identification card in the electronic device, such as the network mode and the access point name. To prevent the network setting parameters set by the user from being lost or damaged, the electronic device saves the network setting parameters set by the user in the non-volatile memory through NV backup. When the electronic device system is upgraded or it is detected that the network setting parameters set by the user are damaged, the electronic device triggers NV backup recovery to restore the network configuration parameters set by the user to the electronic device.

[0050] Among them, the electronic device of the present application can be a device such as a mobile phone or a tablet computer that can use a user identification card.

[0051] It can be understood that the NV parameters include multiple parameters related to the electronic device. In the following embodiments, the NV parameters only involve the parameters related to the user identification card of the electronic device, and these parameters are collectively referred to as network configuration parameters.

[0052] Please refer to Figure 1 , and the NV backup recovery will be exemplarily described below.

[0053] S101. Receive a setting instruction input by the user.

[0054] Among them, the user can input a setting instruction through the user interface of the electronic device to set the NV parameters in the electronic device, such as network mode (SA or NSA), access point name, etc.

[0055] S102. Form backup-capable NV parameters according to the setting instruction and back up the NV parameters.

[0056] Among them, the electronic device can store the backup-capable NV parameters in a non-volatile memory to prevent the NV parameters from being lost or damaged.

[0057] Among them, the NV parameters include parameters set by the user, such as network configuration parameters set according to the package of the user identification card and the user's preferences, and also include preset parameters in the electronic device, such as the system default configuration parameters in the electronic device.

[0058] It can be understood that while the electronic device forms NV parameters according to the setting instruction input by the user, the electronic device sets the network configuration parameters corresponding to the user identification card in the electronic device, such as network mode, access point name, etc., so that the user identification card in the electronic device can work according to the network configuration parameters set by the user.

[0059] S103. Determine that the electronic device is in a state to be backed up.

[0060] Specifically, the state to be backed up includes the state after the system of the electronic device is upgraded, and the state when the electronic device detects that the NV parameters set by the user have changed or are damaged.

[0061] S104. Configure the electronic device according to the backup-capable NV parameters.

[0062] Specifically, the electronic device reads the NV parameters backed up in the backup area (non-volatile memory), and then calls the write function to write the NV parameters into the corresponding configuration file to implement the configuration of the electronic device based on the NV parameters.

[0063] However, when the user identification card of the electronic device is replaced, for example, the user replaces the mobile user identification card of the electronic device with a China Unicom user identification card. Since different user identification cards of different operators support different network configuration parameters, for example, the network configuration parameters supported by the mobile user identification card are NSA and the network configuration parameters set by the user are also NSA, and the network configuration parameters supported by the China Unicom user identification card are only SA. Then the electronic device uses the network configuration parameter NSA restored through NV data backup. Since the China Unicom user identification card cannot support the network configuration parameter NSA, the replaced China Unicom phone card cannot work properly, affecting the user experience.

[0064] After a user replaces the user identification card of an electronic device, to ensure that the replaced user identification card can work properly, the electronic device supports the function of customizing according to the card, that is, the electronic device can identify the PLMN of the user identification card, determine the operator network corresponding to the user identification card based on the PLMN, find the NV parameters corresponding to the operator network, configure the electronic device based on the NV parameters, and the user identification card of the electronic device configured according to the NV parameters can work properly.

[0065] Please refer to Figure 2 , and the following is an exemplary description of the function of customizing according to the card.

[0066] S201. Obtain the PLMN of the user identification card.

[0067] Among them, the electronic device can directly identify and obtain the PLMN of the user identification card.

[0068] It can be understood that different network operators have different PLMNs, that is, the user identification card can be identified as belonging to which network operator through the PLMN.

[0069] It can be understood that the triggering opportunities for the electronic device to enable the function of customizing according to the card include but are not limited to: the electronic device detects that the user identification card is replaced, the electronic device is restarted (including shutdown restart, power failure restart, etc.).

[0070] S202. Obtain the NV parameters corresponding to the PLMN.

[0071] It can be understood that different network operators support different network modes and have different access point names, so each operator has different NV parameters.

[0072] In one embodiment, the corresponding relationship between the PLMN and the NV parameters is stored in the electronic device, and the NV parameters corresponding to the PLMN can be determined through the obtained PLMN and the corresponding relationship.

[0073] S203. Configure the electronic device according to the NV parameters.

[0074] In this way, the corresponding NV parameters are configured according to the PLMN of the user identification card in the electronic device to ensure that the electronic device configured according to the NV parameters can make the user identification card work properly.

[0075] However, in the following scenarios, there are still problems with the use of the user identification card in the electronic device:

[0076] Scenario 1: The electronic device has already been configured with user - set NV parameters (for example, the user manually configures one or more of the NV parameters); when the electronic device detects that the user identification card is replaced, it triggers the function of customizing according to the card. Based on the NV parameters obtained by the function of customizing according to the card, the electronic device is configured according to the NV parameters and the user - set NV parameters are deleted, resulting in the direct invalidation of the user - set NV parameters.

[0077] Scenario 2: The electronic device triggers both the NV backup and recovery function and the function of customizing according to the card. Thus, there are two optional NV parameters in the electronic device; if the electronic device is configured according to the NV parameters determined by the function of customizing according to the card and the user - set NV parameters are deleted, it may cause a change in the tariff of the user identification card of the electronic device, affecting the user experience; if the electronic device is configured according to the NV parameters restored by NV backup and the NV parameters determined by the function of customizing according to the card in the electronic device are deleted, it may cause the user identification card in the electronic device to fail to work properly.

[0078] In view of the above problems, a network parameter configuration method provided in this application determines the actual configured NV parameters of the electronic device based on the NV parameters corresponding to the user identification card in the electronic device determined by the function of customizing according to the card and the user - set NV parameters or the NV parameters obtained by NV backup and recovery in the electronic device.

[0079] Please refer to Figure 3 As shown below, an exemplary description is given to a network parameter configuration method provided in an embodiment of this application.

[0080] S301: Determine that the electronic device is in the state of customizing according to the card.

[0081] The state of customizing according to the card is the state of the electronic device when the electronic device detects that the user identification card is replaced or the electronic device restarts. Of course, the state of customizing according to the card may also include other states, that is, this state can trigger the electronic device to configure the corresponding NV parameters according to the user identification card in the electronic device to ensure that the user identification card can work properly.

[0082] S302: Based on the fact that the electronic device is in the state of customizing according to the card, obtain the PLMN of the user identification card in the electronic device.

[0083] S303: Determine the first NV parameters corresponding to the PLMN.

[0084] The first NV parameters may include a list of network configuration parameters corresponding to the PLMN, and the list of network configuration parameters includes at least one network configuration parameter.

[0085] S304: Obtain the second NV parameters, where the second NV parameters are the parameters already configured in the electronic device, and the second NV parameters include network configuration parameters.

[0086] In one embodiment, the second NV parameter may be an NV parameter formed when a user sends an input setting instruction to the electronic device. For example, the user sets that the user identification card in the electronic device can only access the LTE network according to the user's preferences, tariff type, etc. Among them, only accessing the LTE network may be one item in the second NV parameter.

[0087] In one embodiment, the second NV parameter is an NV parameter set in the electronic device based on the NV backup and recovery after the electronic device triggers the NV backup and recovery. The specific NV backup and recovery process has been described in the above embodiments and will not be elaborated here.

[0088] S305. Determine one of the network configuration parameters in the first NV parameter as the actual network configuration parameter according to the second NV parameter.

[0089] By determining the actual network configuration parameter according to the second NV parameter, and the actual network configuration parameter is one of the network configuration parameters in the first NV parameter, it can be ensured that the user identification card of the electronic device can work normally in the electronic device configured with the actual network configuration parameter, and the actual network configuration parameter can also refer to the network configuration parameter configured by the user in the electronic device or the NV parameter formed by the NV backup.

[0090] Optionally, the electronic device determines whether the network configuration parameter in the second NV parameter exists in the network configuration parameter list; if the network configuration parameter in the second NV parameter exists in the network configuration parameter list, it is determined that the network configuration parameter in the second NV parameter is the actual network configuration parameter; if the network configuration parameter in the second NV parameter does not exist in the network configuration parameter list, a network configuration parameter in the network configuration parameter list is selected as the actual network configuration parameter. In this way, if the NV parameter based on the NV backup and recovery or the NV parameter set by the user exists in the network configuration parameter list, it indicates that the electronic device configured based on the second NV parameter can enable the user identification card to work normally, and the current electronic device adopts the second NV parameter. If the NV parameter based on the NV backup and recovery or the NV parameter set by the user does not exist in the network configuration parameter list, it indicates that the electronic device configured based on the second NV parameter cannot enable the user identification card to work normally, and the current electronic device selects a network configuration parameter in the network configuration parameter list as the actual network configuration parameter.

[0091] Optionally, if the number of network configuration parameters in the network configuration parameter list is at least two, and each network configuration parameter has a corresponding priority, the electronic device is further configured to obtain the priorities of at least two network configuration parameters and determine the network configuration parameter with the highest priority in the network configuration parameter list as the actual network configuration parameter.

[0092] Among them, the priority of the network configuration parameters can be manually configured by the user or configured according to the performance of each network configuration parameter.

[0093] In one embodiment, the network configuration parameter is a network mode.

[0094] Further, in other embodiments, the network configuration parameter can also be an access point name, a network IP type (including IPV4, IPV6).

[0095] Optionally, when the network configuration parameter in the second NV parameter does not exist in the network configuration parameter list, the electronic device is further configured to generate a warning message to remind the user that the second NV parameter is unavailable, that is, neither the NV parameter configured by the user nor the NV parameter restored based on the NV backup can be applied to the current electronic device, otherwise, the user identification card in the current electronic device cannot work properly.

[0096] Among them, the warning message can be displayed as a prompt message on the display screen of the electronic device or through voice broadcast prompt, etc., to remind the user that the network configuration parameter set is unavailable due to the user identification card in the current electronic device not supporting it. In order to ensure the normal use of the user identification card in the current electronic device, the electronic device uses the network configuration parameter formed by the function customized with the card.

[0097] S306. Configure the electronic device according to the actual network configuration parameter.

[0098] In this way, after the electronic device forms the first NV parameter based on the function customized with the card, one of the NV parameters in the first NV parameter is determined as the actual network configuration parameter according to the NV parameter stored or also set in the electronic device, so as to ensure that the electronic device configured according to the actual configuration parameter can make the user identification card work properly.

[0099] Figure 4 It is a schematic structural diagram of an electronic device 40 provided by an embodiment of the present application. As Figure 4 shown, the electronic device 40 may include: an RF circuit 401, a memory 402, an input unit 403, a display unit 404, a sensor 405, an audio circuit 406, a Wi-Fi module 407, a processor 408, and a power supply 409. Those skilled in the art can understand that Figure 4 the structure shown in does not constitute a limitation on the service flow aggregation and forwarding node, and may include more or fewer components than shown, or combine some components, or arrange different components.

[0100] The RF circuit 401 can be used to send warning messages and receive warning indication messages, receive and send signals. In particular, after receiving the downlink information from the base station, it is transferred to the processor 408 for processing; in addition, the data related to the uplink is sent to the base station. Generally, the RF circuit 401 includes, but is not limited to: an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.

[0101] The memory 402 can be used to store software programs and modules. The processor 408 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 402. The memory 402 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.). In addition, the memory 402 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0102] The input unit 403 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the electronic device. Specifically, the input unit 403 can include a touch panel 4031 and other input devices 4032. The touch panel 4031, also known as a touch screen, can collect touch operations of the user on or near it (such as the user uses a finger, a stylus or other suitable objects or accessories to operate on the touch panel 4031 or near the touch panel 4031 to delimit a set area), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 4031 can include two parts: a touch detection device and a touch electronic device. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch electronic device; the touch electronic device receives the touch information from the touch detection device, converts it into touch point coordinates, then sends it to the processor 408, and receives and executes the command sent by the processor 408. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 4031. In addition to the touch panel 4031, the input unit 403 can also include other input devices 4032. Specifically, the other input devices 4032 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.

[0103] The display unit 404 can be used to display information input by the user or information provided to the user, as well as the area of interest or environmental image of the electronic device. The display unit 404 may include a display panel 4041. Optionally, the display panel 4041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 4031 can cover the display panel 4041. When the touch panel 4031 detects a touch operation on or near it, it is transmitted to the processor 408 to determine the type of touch event. Subsequently, the processor 408 provides a corresponding visual output on the display panel 4041 according to the type of touch event. The input and output functions of the electronic device can be realized by integrating the touch panel 4031 and the display panel 4041.

[0104] The electronic device may further include at least one sensor 405, such as a light sensor and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel 4041 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 4041 and / or the backlight when the electronic device is moved to the ear. In addition, the electronic device may also be configured with other sensors such as a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be elaborated here.

[0105] The audio circuit 406, the speaker 4061, and the microphone 4062 can provide an audio interface between the user and the electronic device. The audio circuit 406 can transmit the electrical signal converted from the received audio data to the speaker 4061, and the speaker 4061 converts it into a sound signal for output. On the other hand, the microphone 4062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 406 and then converted into audio data. After the audio data is output to the processor 408 for processing, it is sent to another electronic device through the RF circuit 401, or the audio data is output to the memory 402 for further processing.

[0106] Wi-Fi belongs to short-range wireless transmission technology. The electronic device can help users send and receive emails, browse the web, and access streaming media through the Wi-Fi module 407. It provides users with wireless broadband Internet access. Although Figure 4 the Wi-Fi module 407 is shown, it can be understood that it is not an essential component of the electronic device and can be omitted completely according to needs within the scope of not changing the essence of the invention.

[0107] The processor 408 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 402, and by invoking the data stored in the memory 402, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 408 may include one or more processing units; preferably, the processor 408 may integrate an application processor and a modem, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 408 either.

[0108] The electronic device further includes a power supply 409 (such as a battery) for supplying power to each component. Optionally, the power supply can be logically connected to the processor 408 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.

[0109] The electronic device may further include a camera, a Bluetooth module, etc., which will not be elaborated here.

[0110] Figure 4 The electronic device described in can be used to implement part or all of the processes in the method embodiments of this application Figure 3 For the relevant elaboration in the method embodiments introduced, reference can be made to the foregoing Figure 3 The relevant elaboration in the said embodiments will not be repeated here.

[0111] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions run on the electronic device, the electronic device is enabled to execute the above-mentioned related method steps to implement the network parameter configuration method in the above-mentioned embodiments.

[0112] This embodiment also provides a computer program product. When the computer program product runs on the electronic device, the electronic device is enabled to execute the above-mentioned related steps to implement the network parameter configuration method in the above-mentioned embodiments.

[0113] In addition, the embodiments of this application also provide a device, which may specifically be a chip, a component or a module. The device may include a processor and a memory connected to each other; wherein, the memory is used to store computer execution instructions. When the device runs, the processor may execute the computer execution instructions stored in the memory, so that the chip executes the network parameter configuration method in the above-mentioned method embodiments.

[0114] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, which will not be repeated here.

[0115] From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0116] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the module or unit is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.

[0117] The unit described as a separated component may or may not be physically separated. The component displayed as a unit may be a physical unit or multiple physical units, that is, it can be located in one place, or it can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0118] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0119] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other various media that can store program codes.

[0120] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims described.

Claims

1. A network parameter configuration method, characterized in that, Applied to an electronic device which has a user identification card, the method includes: Determine that the electronic device is in the state of customization with the card, and obtain the public land mobile network information to which the user identification card belongs; Determine corresponding first NV parameters according to the public land mobile network information, where the first NV parameters include a network configuration parameter list, and the network configuration parameter list includes at least one network configuration parameter; Obtain second NV parameters, where the second NV parameters are configured parameters and include network configuration parameters; Determine the actual network configuration parameters in the network configuration parameter list according to the network configuration parameters of the second NV parameters; Configure the electronic device according to the actual network configuration parameters.

2. The method according to claim 1, characterized in that, The determining the actual network configuration parameters in the network configuration parameter list according to the network configuration parameters of the second NV parameters includes: Judge whether the network configuration parameters of the second NV parameters exist in the network configuration parameter list; If the network configuration parameters of the second NV parameters exist in the network configuration parameter list, set the network configuration parameters of the second NV parameters as the actual network configuration parameters; If the network configuration parameters of the second NV parameters do not exist in the network configuration parameter list, determine the actual network configuration parameters according to the network configuration parameter list.

3. The method according to claim 2, characterized in that, If the number of network configuration parameters in the network configuration list is at least two, each of the network configuration parameters has a corresponding priority; The determining the actual network configuration parameters according to the network configuration parameter list includes: Determine that the network configuration parameter with the highest priority among at least two network configuration parameters is the actual network configuration parameter.

4. The method according to claim 3, characterized in that, The state of customization with the card includes: Detect that the user identification card of the electronic device is replaced, or the electronic device is restarted.

5. The method according to claim 4, characterized in that, The network configuration parameters include network mode.

6. The method according to claim 5, characterized in that, The method for forming the second NV parameters includes: Receive a setting instruction input by the user; Form the second NV parameters according to the setting instruction.

7. The method according to claim 5, characterized in that, The method for forming the second NV parameters includes: Determine that the electronic device is in the state of waiting for backup, and configure the electronic device according to the backed-up NV data to form the second NV parameters.

8. The method according to claim 2, characterized in that, If the network configuration parameters of the second NV parameters do not exist in the network configuration parameter list, the method further includes: Generate a warning message to remind the user that the second NV parameters are unavailable.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and when the computer instructions run on the electronic device, the electronic device is caused to execute the network parameter configuration method according to any one of claims 1 to 8.

10. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory is used for storing instructions, and the processor is used for calling the instructions in the memory, so that the electronic device executes the network parameter configuration method according to any one of claims 1 to 8.

11. A chip system, the chip system is applied to an electronic device; the chip system includes an interface circuit and a processor; the interface circuit and the processor are interconnected by a line; the interface circuit is configured to receive a signal from a memory of the electronic device and send the signal to the processor, the signal includes computer instructions stored in the memory; when the processor executes the computer instructions, the chip system executes the network parameter configuration method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Terminal network parameter configuration method, and terminal

    CN105101171A