Information configuration method and device and storage medium

By receiving configuration values ​​consistent with the mobile device network code, the terminal system configuration is reloaded or replaced, which solves the problems of long configuration change cycle, high cost and data loss risks in the prior art, and realizes efficient configuration modification and optimized user experience.

CN119697651APending Publication Date: 2025-03-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311236754.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, configuration changes or repairs related to mobile communications need to be upgraded or reset by system, which has disadvantages such as long landing cycle, high cost, risk of data loss and relying on mobile phone manufacturers to release.

Method used

An information configuration method is provided, by receiving configuration values ​​consistent with the network code of the electronic device mobile device, reloading or replacing the specified configuration items included in the system configuration of the terminal without manually downloading and installing system updates.

Benefits of technology

It realizes that the terminal configuration information is modified without restoring the factory settings or waiting for ROM updates, which improves configuration efficiency, optimizes user experience, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697651A_ABST
    Figure CN119697651A_ABST
Patent Text Reader

Abstract

The invention relates to an information configuration method and device and a storage medium. The information configuration method comprises: in response to an obtained first configuration value and a first mobile device network code, determining consistency between the first mobile device network code and a second mobile device network code currently used by a terminal, the first configuration value being a configuration value for reconfiguration for a specified configuration item; if the first mobile equipment network code is consistent with the second mobile equipment network code, determining the current use consistency of the specified configuration item in the terminal; if the second configuration value is not consistent with the first configuration value, system configuration of the terminal is reloaded, and the system configuration comprises a default configuration value of the specified configuration item; and replacing the default configuration value with the first configuration value. According to the invention, the problem that a user needs to carry out system updating or system resetting when information configuration is changed can be solved, and the user experience is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to an information configuration method, device and storage medium. Background Art

[0002] CarrierConfig is a framework for the Android platform to support dynamic feature control through SIM card public land mobile network (PLMN) information configuration, where dynamic feature control includes specific network configuration, parameter settings or other functions related to mobile communications. However, existing changes or repairs to mobile communication-related configurations can only be made through system upgrades or system resets, which have disadvantages such as long implementation cycles, high costs, data loss risks, and reliance on mobile phone manufacturers for release. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides an information configuration method, device and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an information configuration method, including:

[0005] In response to obtaining a first configuration value and a first mobile device network code, determining the consistency of the first mobile device network code with a second mobile device network code currently used by the terminal, wherein the first configuration value is a configuration value for reconfiguring a specified configuration item; if the first mobile device network code is consistent with the second mobile device network code, determining the consistency currently used by the specified configuration item in the terminal; if the second configuration value is inconsistent with the first configuration value, reloading the system configuration of the terminal, wherein the system configuration includes a default configuration value for the specified configuration item; and replacing the default configuration value with the first configuration value.

[0006] In one implementation, before obtaining the first configuration value of the cache, the method further includes:

[0007] It is determined that the second configuration value and the default configuration value satisfy a condition for communicating based on the specified configuration item.

[0008] In one embodiment, the method further comprises:

[0009] In response to determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, the default configuration value is repaired based on the default configuration value and the second configuration value.

[0010] In one implementation, the determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, and repairing the default configuration value based on the default configuration value and the second configuration value, includes:

[0011] If an exception occurs when loading the default configuration value for the first time, clear the default configuration value and the second configuration value, and reload the default configuration value; and / or if an exception occurs when loading the default configuration value for a non-first time, obtain a third configuration value from the cloud and use the third configuration value as the default configuration value for the specified configuration item.

[0012] In one embodiment, the method further comprises:

[0013] In response to acquiring a first configuration value and a first mobile device network code, saving the first configuration value; replacing the default configuration value with the first configuration value, including: reading the saved first configuration value, and replacing the default configuration value with the saved first configuration value.

[0014] According to a second aspect of an embodiment of the present disclosure, there is provided an information configuration device, including:

[0015] A detection unit is used to, in response to obtaining a first configuration value and a first mobile device network code, determine the consistency of the first mobile device network code with a second mobile device network code currently used by the terminal, wherein the first configuration value is a configuration value for reconfiguring a specified configuration item. A processing unit is used to, if the first mobile device network code is consistent with the second mobile device network code, determine the consistency currently used by the specified configuration item in the terminal, and if the second configuration value is inconsistent with the first configuration value, reload the system configuration of the terminal, wherein the system configuration includes a default configuration value of the specified configuration item, and replace the default configuration value with the first configuration value.

[0016] In one implementation, before the detection unit acquires the first configuration value, the processing unit is further configured to:

[0017] It is determined that the second configuration value and the default configuration value satisfy a condition for communicating based on the specified configuration item.

[0018] In one implementation, the processing unit is further configured to:

[0019] In response to determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, the default configuration value is repaired based on the default configuration value and the second configuration value.

[0020] In one implementation, the processing unit determines that the default configuration value does not satisfy the condition for communication based on the specified configuration item in the following manner, and repairs the default configuration value based on the default configuration value and the second configuration value:

[0021] If an exception occurs when loading the default configuration value for the first time, clear the default configuration value and the second configuration value, and reload the default configuration value; and / or if an exception occurs when loading the default configuration value for a non-first time, obtain a third configuration value from the cloud and use the third configuration value as the default configuration value for the specified configuration item.

[0022] In one implementation, the processing unit is further configured to:

[0023] In response to the detection unit acquiring the first configuration value and the first mobile device network code, saving the first configuration value; replacing the default configuration value with the first configuration value, including: reading the saved first configuration value, and replacing the default configuration value with the saved first configuration value.

[0024] In response to switching back to playing the audio of the second call application, restoring the flag bit to a default value.

[0025] According to a third aspect of an embodiment of the present disclosure, there is provided an audio control device, including:

[0026] A processor; a memory for storing processor executable instructions; wherein the processor is configured to: execute the function control method described in the first aspect or any one of the embodiments of the first aspect.

[0027] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal can perform the method described in the first aspect or any one of the implementations of the first aspect.

[0028] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by receiving a first configuration value consistent with the network code of the electronic device mobile device, the specified configuration items included in the system configuration are configured, and the specified configuration items included in the system configuration can be reloaded or replaced without the user manually downloading and installing system updates, thereby improving configuration efficiency and optimizing user experience.

[0029] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0031] Figure 1 The present invention is a flowchart of an information configuration method according to the related art.

[0032] Figure 2 The present invention is a flowchart of an abnormality repair method according to the related art.

[0033] Figure 3 The invention is a flowchart of an information configuration method according to an exemplary embodiment.

[0034] Figure 4 The figure is a flow chart of a configuration detection method according to an exemplary embodiment.

[0035] Figure 5 The figure is a flow chart of a self-repair method according to an exemplary embodiment.

[0036] Figure 6 The invention is a flowchart of an information configuration method according to an exemplary embodiment.

[0037] Figure 7 It is a schematic diagram of information configuration according to an exemplary embodiment.

[0038] Figure 8 The figure is a flowchart of abnormality detection and self-repair according to an exemplary embodiment.

[0039] Fig. 9 The figure is a block diagram of an information configuration device according to an exemplary embodiment.

[0040] Fig.10 It is a block diagram of a device for information configuration according to an exemplary embodiment. DETAILED DESCRIPTION

[0041] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0042] In the accompanying drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limitations on the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure. The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0043] The information configuration method provided by the embodiment of the present disclosure is applied to application scenarios where the current network configuration information of a mobile device is abnormal or needs to be modified. By receiving the first configuration value sent by the server in a scenario where an abnormality still occurs after abnormality detection and self-repair of the local network configuration information, the configuration value that has an abnormality or needs to be replaced is covered to avoid affecting the user's communication service. Based on the Internet, the long implementation cycle of the operator's configuration change requirements is solved. And whether it takes effect depends on whether the user upgrades the ROM version, which brings the problem that the change requirements cannot be fully covered. There is no need to restore the factory settings or wait for the ROM upgrade. When it is detected that the relevant default configuration value of the current SIM does not meet expectations, the repair mechanism will be triggered, and the current SIM related configuration will be automatically cleared and reloaded to ensure the normal use of the configuration function, such as VoLTE.

[0044] In the related art, it is necessary to complete the change of configuration information by system upgrade, that is, data package (ROM) update. For example, the Android platform configures the public land mobile network (PLMN) of the subscriber identification module (Subscriber Identification Module, SIM) card through the carrier configuration (CarrierConfig) framework to realize the scheme of dynamic control of configuration values, which mainly includes: setting the default value in the carrier configuration management class (CarrierConfigManager), if the SIM card is not inserted, the default value is used, and the mobile phone is inserted into the SIM card, and after the card information is identified (the corresponding SIM card status is LOADED), the configuration file is dynamically loaded. Once the SIM card is loaded, the CarrierConfig related configuration information will be stored in the cache of the phone process. After the card is removed and inserted again, it is directly loaded from the cache file. Among them, the carrierconfig configuration content includes the display and hiding default values ​​of the long-term evolution voice bearer (VoLTE) / voice service based on WIFI network (VoWiFi) switch and whether it is editable, etc., involving hundreds of configurations.

[0045] However, the related technology can only complete the change of configuration information in the form of ROM update, and when the configuration information in the local cache is abnormal, it can only be repaired by restoring the factory settings or receiving a ROM upgrade and updating. In summary, the related technology has problems such as high maintenance cost, risk of user data loss, long solution period and reliance on equipment manufacturers to release updates. Especially in the scenario where the operator has an urgent need to modify the configuration information, the related technology can more clearly reflect the above problems.

[0046] Figure 1 The present invention is a flowchart of an information configuration method according to the related art.

[0047] In the embodiments of the present disclosure, the information configuration method involved in the above embodiments is described below by taking an electronic device as a terminal and ROM update as an example of information configuration means.

[0048] In the related art, in response to the operator's request for configuration value change, the terminal manufacturer completes the modification of the configuration value according to the request after receiving the request, and sends the ROM update package to the terminal of the model to be configured. After the terminal receives the update push, it downloads and installs it according to the user's operation. After the installation is completed, the configuration value is changed.

[0049] Figure 2The present invention is a flowchart of an abnormality repair method according to the related art.

[0050] The embodiments of the present disclosure take an electronic device as a terminal and a CarrierConfig framework as an example to illustrate the abnormality repair method involved in the above embodiments.

[0051] When the terminal detects a problem with the existing configuration value, it checks whether to perform a system update. If it detects that a system update is required, it clears the configuration value saved in the cache and checks whether the SIM card is loaded. If it detects that the SIM card is loaded, it reloads the configuration value corresponding to the terminal. Finally, it checks whether the problem is fixed.

[0052] In view of this, an embodiment of the present disclosure provides an information configuration method. In the information configuration method provided by the present disclosure, configuration information sent by a server is received, and in response to a configuration value in the current device not meeting expectations, the configuration value is repaired to ensure that the function corresponding to the configuration is used normally.

[0053] Figure 3 is a flow chart of an information configuration method according to an exemplary embodiment. Figure 3 As shown, the information configuration method is used in a terminal and includes the following steps.

[0054] In step S11, in response to acquiring the first configuration value and the first mobile equipment network code, it is determined whether the first mobile equipment network code is consistent with a second mobile equipment network code currently used by the terminal.

[0055] In the disclosed embodiment, the first configuration value is a configuration value for reconfiguring a specified configuration item. For example, if the first configuration value includes "VoLTE=true", it means that the value of VoLTE is set to true. The first mobile device network code may be relevant information that identifies the network operator of the mobile device. For example, the relevant information of the network operator of the mobile device may be identified by the mobile country code (MCC) and the mobile network code (MNC). The first mobile device network code is a mobile device network code received from the outside, and the second mobile device network code is the current mobile device network code of the local mobile device. It should be understood that the first configuration value may be issued by a designated server.

[0056] In step S12, if the first mobile equipment network code is consistent with the second mobile equipment network code, the consistency of the current use of the specified configuration item in the terminal is determined.

[0057] In the disclosed embodiment, if the first mobile device network code is consistent with the second mobile device network code, it indicates that the terminal corresponding to the second mobile device network code is the terminal device that needs to receive the first configuration value. For example, if the first mobile device network code includes MCC and MNC, and the corresponding values ​​represent "country A operator B", then only the terminal equipped with the SIM card of country A operator B will receive the first configuration value.

[0058] In step S13, if the second configuration value is inconsistent with the first configuration value, the system configuration of the terminal is reloaded.

[0059] In the embodiment of the present disclosure, the second configuration value is a configuration value of a system configuration item corresponding to a specified configuration item, and may include one or more configuration values ​​corresponding to the specified configuration item. The inconsistency between the second configuration value and the first configuration value indicates that when it is detected that the configuration value in the terminal is different from one or more configuration values ​​in the received configuration value, the system configuration of the terminal is reloaded, wherein the system configuration includes the default configuration value of the specified configuration item. For example, when it is detected that the second configuration value in the terminal cache is different from the first configuration value, the specified configuration item containing the second configuration value in the cache is reset and restored to the default value. Based on the detection of the first configuration value and the second configuration value, the reloading of the terminal system configuration is triggered, that is, the system configuration is restored to the initialization configuration.

[0060] In step S14, the default configuration value is replaced with the first configuration value.

[0061] In the embodiment of the present disclosure, after restoring the default value of the specified configuration item in the terminal, the first configuration value is used to overwrite the default configuration value. For example, the operator corresponding to the current terminal sends the first configuration value to the terminal, and after the terminal detects that the current second configuration value is different from the first configuration value, the current system configuration is restored to the default configuration value, that is, the reloaded second configuration value is the same as the default configuration value.

[0062] In the embodiment of the present disclosure, by receiving the first configuration value and replacing the default configuration value based on the first configuration value, the configuration information in the terminal can be modified without restoring the factory settings or updating the ROM, thereby improving the efficiency of information configuration and ensuring user experience.

[0063] In the disclosed embodiment, before replacing the default configuration value based on the first configuration value, it is also possible to determine whether the terminal can communicate normally based on the second configuration value and the default configuration value by judging the second configuration value and the default configuration value.

[0064] Figure 4 is a flow chart of a configuration detection method according to an exemplary embodiment. Figure 4 As shown, the configuration detection method is used in a terminal, including the following steps.

[0065] because Figure 4 The steps S23, S24, S25 and S26 in Figure 3 Steps S11, S12, S13 and S14 are the same and will not be described in detail here. Please refer to the relevant description of the above embodiment.

[0066] In step S21, it is determined whether the second configuration value and the default configuration value satisfy a condition for communication based on the specified configuration item.

[0067] In the embodiment of the present disclosure, the conditions for communication based on the specified configuration items can be set by oneself. For example, operators in some countries require that the terminal cannot display the VoLTE switch. In this case, the conditions for communication based on the specified configuration items in these countries can be set to "the VoLTE switch is in the off state", and it can be determined whether the second configuration value and the default configuration value meet this condition.

[0068] In the embodiment of the present disclosure, if it is determined that the second configuration value and the default configuration value satisfy the condition for communication based on the specified configuration item, the subsequent operation of performing information configuration through the first configuration value is directly performed.

[0069] In step S22, in response to determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, a repair operation is performed on the default configuration value based on the default configuration value and the second configuration value.

[0070] In the disclosed embodiment, the default configuration value cannot meet the condition for communication based on the specified configuration item, that is, the terminal cannot achieve normal communication functions based on the default configuration value. For example, all operators in country X have withdrawn from the 2 / 3G network, so the terminals in the country must turn on VoLTE to ensure the normal operation of the call service. Therefore, if the condition for communication based on the specified configuration item is "VoLTE must be turned on", the terminals in country X that have not turned on VoLTE due to abnormal conditions cannot meet the conditions for communication and may not be able to achieve functions such as Internet calls. Therefore, it is necessary to perform necessary repair operations on the terminals that have not turned on VoLTE. For example, set VoLTE to the on state.

[0071] In the disclosed embodiment, the repair operation for the default configuration value only needs to be performed once. If the repair operation is performed continuously, other communication problems may occur in the terminal.

[0072] In the disclosed embodiment, the number of times the default configuration value is loaded can be used to determine whether the default configuration value is loaded for the first time, thereby detecting whether the default configuration value has been repaired. For example, by counting the number of times the terminal has called the reset system configuration function interface, detection of whether the default configuration value is loaded for the first time can be achieved.

[0073] Figure 5is a flow chart of a self-repair method according to an exemplary embodiment. Figure 5 As shown, the self-repairing method is used in a terminal and includes the following steps.

[0074] because Figure 5 The steps S31, S33, S34, S35 and S36 in Figure 4 Steps S21, S23, S24, S25 and S26 are the same and will not be described in detail here. Please refer to the relevant description of the above embodiment.

[0075] In step S32a, if an exception occurs when the default configuration value is loaded for the first time, the default configuration value and the second configuration value are cleared, and the default configuration value is reloaded.

[0076] In the embodiment of the present disclosure, if it is determined that an abnormality occurs when the default configuration value is loaded for the first time, the default configuration value and the second configuration value, that is, the configuration values ​​contained in the current terminal are all cleared, and the default configuration value and the second configuration value are reloaded. For example, the default configuration value may be caused by an occasional error in the previous loading process, resulting in an error in a certain configuration value. At this time, by reloading the default configuration value, the incorrect value in the default configuration value can be modified to a correct value.

[0077] In step S32b, if an exception occurs when the default configuration value is not loaded for the first time, a third configuration value is obtained from the cloud, and the third configuration value is used as the default configuration value of the specified configuration item.

[0078] In the embodiment of the present disclosure, the third configuration value includes the first configuration value, and in addition to the first configuration value, it also includes other configuration information. The default configuration value of the specified configuration item is changed to the third configuration value. If the default configuration value is not loaded for the first time and an exception occurs, it means that reloading the default configuration value after the first loading of the default configuration value still cannot meet the conditions for communication based on the specified configuration item. It can be proved that the error in the first loading of the default configuration value is not caused by an occasional error in the loading process, so there is no need to continue to reload the default configuration value. It should be understood that if the default configuration value is not loaded for the first time, the communication repair operation can be performed according to the preset content to restore the necessary communication function of the terminal, for example, forcibly turning on the VoLTE switch, etc. The third configuration value received from the cloud is used to overwrite the default configuration value of the current specified configuration item. It should be understood that the use of the third configuration value to overwrite the default configuration value of the current specified configuration item is performed after determining that the second configuration value and the default configuration value meet the conditions for communication based on the specified configuration item, or determining that the second configuration value and the default configuration value do not meet the conditions for communication based on the specified configuration item. The default configuration value is loaded for the first time and the communication repair operation is completed according to the preset content.

[0079] In the embodiment of the present disclosure, the first configuration value may be temporarily stored and loaded when needed.

[0080] Figure 6 is a flow chart of an information configuration method according to an exemplary embodiment. Figure 6 As shown, the information configuration method is used in a terminal and includes the following steps.

[0081] because Figure 6 The steps S42 and S43 in Figure 3 Steps S12 and S13 are the same and will not be described in detail here. Please refer to the relevant description of the above embodiment.

[0082] In step S41, in response to acquiring the first configuration value and the first mobile equipment network code, the first configuration value is saved.

[0083] In the embodiment of the present disclosure, after receiving the first configuration value, the first configuration value can be saved for use. It should be understood that the first configuration value can be saved in a database in the terminal, and in response to receiving the first configuration value again, the first configuration value in the database is updated and replaced. For example, a database can be set in the terminal to temporarily save the first configuration value, and the saved first configuration value can be replaced by setting the data storage time or when a new first configuration value is received, so as to avoid accumulating too many first configuration values ​​in the database and affecting the terminal storage space.

[0084] In step S44, the saved first configuration value is read, and the default configuration value is replaced with the saved first configuration value.

[0085] In an embodiment of the present disclosure, in response to the default configuration value being different from the first configuration value, the first configuration value saved in the terminal is read, and after it is determined that the current default configuration value cannot meet the conditions for communication based on the specified configuration item and it is not the first time that the default configuration value is loaded, the saved first configuration value is extracted from the database and the default configuration value is replaced with the first configuration value.

[0086] Figure 7 It is a schematic diagram of information configuration according to an exemplary embodiment.

[0087] The server sends network information containing the operator's MCC, MCN and other first mobile device network codes and the first configuration value. After receiving the network information, the terminal side stores it in the database. Get the data from the database and parse the network message into the first configuration value that is distinguished according to the mobile device network code. When it is detected that the current second configuration value is inconsistent with the first configuration value in the network information, reloading is triggered: first load the default configuration value on the code side, and then perform anomaly detection and self-repair. Read the first configuration value: obtain the first configuration value temporarily saved in the database, and use the first configuration value to overwrite the second configuration value. At this point, the configuration that needs to be changed has been overwritten, and notify other modules that the configuration has been loaded.

[0088] Figure 8 The figure is a flowchart of abnormality detection and self-repair according to an exemplary embodiment.

[0089] It should be understood that in this exemplary embodiment, the first configuration value may be referred to as a network-side configuration value. Obtaining the third configuration value from the cloud and using the third configuration value as the default configuration value of the specified configuration item may be referred to as loading a cloud-controlled value. The configuration value satisfying the condition for communication based on the specified configuration item may be referred to as the configuration value meeting expectations.

[0090] Read the second configuration value 1 and the default configuration value 2 from the code side or the cache file. Determine whether value 1 and / or value 2 meet expectations. If they do, directly load cloud control value 3. If they do not meet expectations, continue to detect whether value 2 is an exception for the first loading. If an exception occurs during the first loading, it is necessary to clear the generated cache file and then perform the reloading process to obtain value 4, and continue to judge whether value 4 meets expectations and whether it is the first loading. If it is not the first loading with an exception or there is no exception after the first loading, etc., then load cloud control value 3.

[0091] In the embodiment of the present disclosure, the configuration value contained in the terminal is detected based on the first configuration value sent by the server, and the configuration value contained in the terminal includes a second configuration value and a default configuration value. In response to the configuration value contained in the terminal being different from the first configuration value, the default configuration value in the terminal is replaced with the first configuration value, thereby achieving the purpose of replacing the configuration value in the terminal. The embodiment of the present disclosure can avoid the timeliness problem caused by the need to release ROM packages and manual version upgrades by users in the related art, and can complete the replacement of terminal configuration values ​​without user operation and without user perception, and without causing any damage to user data.

[0092] Based on the same concept, the embodiment of the present disclosure also provides an information configuration device.

[0093] It is understandable that the information configuration device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0094] Fig. 9 is a block diagram of an information configuration device according to an exemplary embodiment. Fig. 9 The device includes a detection unit 101 and a processing unit 102.

[0095] The detection unit 101 is configured to determine the consistency between the first mobile device network code and the second mobile device network code currently used by the terminal in response to obtaining the first configuration value and the first mobile device network code, wherein the first configuration value is a configuration value for reconfiguring a specified configuration item;

[0096] The processing unit 102 is used to determine the consistency of the current use of the specified configuration item in the terminal if the first mobile device network code is consistent with the second mobile device network code, and if the second configuration value is inconsistent with the first configuration value, reload the system configuration of the terminal, the system configuration includes a default configuration value of the specified configuration item, and replace the default configuration value with the first configuration value.

[0097] In one embodiment, before the detection unit 101 obtains the first configuration value, the processing unit 102 is further configured to: determine whether the second configuration value and the default configuration value satisfy a condition for communicating based on the specified configuration item.

[0098] In one embodiment, the processing unit 102 is further configured to: in response to determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, repair the default configuration value based on the default configuration value and the second configuration value.

[0099] In one embodiment, the processing unit 102 determines that the default configuration value does not meet the conditions for communication based on the specified configuration item in the following manner, and repairs the default configuration value based on the default configuration value and the second configuration value: if an exception occurs when the default configuration value is loaded for the first time, clear the default configuration value and the second configuration value, and reload the default configuration value; and / or if an exception occurs when the default configuration value is not loaded for the first time, obtain a third configuration value from the cloud, and use the third configuration value as the default configuration value for the specified configuration item.

[0100] In one embodiment, the processing unit 102 is further used to: in response to the detection unit acquiring the first configuration value and the first mobile device network code, save the first configuration value; replace the default configuration value with the first configuration value, including: reading the saved first configuration value, and replacing the default configuration value with the saved first configuration value.

[0101] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0102] Fig.10 2 is a block diagram of an apparatus 200 for information configuration according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0103] Reference Fig.10 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0104] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0105] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0106] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

[0107] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0108] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0109] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0110] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0111] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0112] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0113] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0114] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0115] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0116] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0117] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0118] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0119] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. An information configuration method, characterized in that: include: In response to acquiring a first configuration value and a first mobile device network code, determining consistency between the first mobile device network code and a second mobile device network code currently used by the terminal, wherein the first configuration value is a configuration value for reconfiguring a specified configuration item; If the first mobile device network code is consistent with the second mobile device network code, determining consistency of current use of the specified configuration item in the terminal; If the second configuration value is inconsistent with the first configuration value, reloading the system configuration of the terminal, the system configuration including the default configuration value of the specified configuration item; The default configuration value is replaced by the first configuration value.

2. The information configuration method according to claim 1, characterized in that: Before acquiring the first configuration value, the method further includes: It is determined that the second configuration value and the default configuration value satisfy a condition for communicating based on the specified configuration item.

3. The information configuration method according to claim 2, characterized in that: The method further comprises: In response to determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, the default configuration value is repaired based on the default configuration value and the second configuration value.

4. The information configuration method according to claim 3, characterized in that: The determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, and repairing the default configuration value based on the default configuration value and the second configuration value, includes: If an exception occurs when the default configuration value is loaded for the first time, clear the default configuration value and the second configuration value, and reload the default configuration value; and / or If an exception occurs when the default configuration value is not loaded for the first time, a third configuration value is obtained from the cloud, and the third configuration value is used as the default configuration value of the specified configuration item.

5. The information configuration method according to claim 1, characterized in that: The method further comprises: In response to acquiring the first configuration value and the first mobile device network code, saving the first configuration value; Replacing the default configuration value with the first configuration value includes: The first configuration value saved is read, and the default configuration value is replaced with the first configuration value saved.

6. An information configuration device, characterized in that: include: a detection unit, configured to determine consistency between the first mobile device network code and a second mobile device network code currently used by the terminal in response to acquiring a first configuration value and a first mobile device network code, wherein the first configuration value is a configuration value for reconfiguring a specified configuration item; a processing unit, configured to determine the consistency of the specified configuration item currently used in the terminal if the first mobile device network code is consistent with the second mobile device network code, and to reload the system configuration of the terminal if the second configuration value is inconsistent with the first configuration value, wherein the system configuration includes a default configuration value of the specified configuration item, and replace the default configuration value with the first configuration value.

7. The information configuration device according to claim 6, characterized in that: Before the detection unit acquires the first configuration value, the processing unit is further configured to: It is determined that the second configuration value and the default configuration value satisfy a condition for communicating based on the specified configuration item.

8. The information configuration device according to claim 7, characterized in that: The processing unit is also used for: In response to determining that the default configuration value does not satisfy the condition for communicating based on the specified configuration item, the default configuration value is repaired based on the default configuration value and the second configuration value.

9. The information configuration device according to claim 8, characterized in that: The processing unit determines that the default configuration value does not satisfy the condition for communication based on the specified configuration item in the following manner, and repairs the default configuration value based on the default configuration value and the second configuration value: If an exception occurs when the default configuration value is loaded for the first time, clear the default configuration value and the second configuration value, and reload the default configuration value; and / or If an exception occurs when the default configuration value is not loaded for the first time, a third configuration value is obtained from the cloud, and the third configuration value is used as the default configuration value of the specified configuration item.

10. The information configuration device according to claim 6, characterized in that: The processing unit is also used for: In response to the detection unit acquiring the first configuration value and the first mobile device network code, saving the first configuration value; Replacing the default configuration value with the first configuration value includes: The first configuration value saved is read, and the default configuration value is replaced with the first configuration value saved.

11. An information configuration device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the method described in any one of claims 1 to 5.

12. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of an electronic device, the terminal is enabled to execute the method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Operator configuration information loading method and terminal

    CN102630081A

  • APN configuration method and apparatus, and terminal device

    CN114885346A

  • Operator network switching method, device and equipment and computer storage medium

    CN115915321A