Communication setting method, device, storage medium and electronic device

By loading the initial operator logo and configuration file and performing secondary matching of identification, the problem of inaccurate multimedia communication capabilities caused by operator configuration file loading errors is solved, and more accurate multimedia communication capabilities are achieved.

CN119211009BActive Publication Date: 2025-03-11TCL COMM TECH (CHENGDU) LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411719463.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-11
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

In the prior art, loading errors in operator configuration files result in the operator customized multimedia communication capabilities in the device that are not in line with expectations.

Method used

By loading the operator configuration file corresponding to the initial operator identification from locally and performing identification quadratic matching rules based on the extended identification matching rules, the new operator identification and configuration files are obtained to ensure the accuracy of the multimedia communication capability settings.

Benefits of technology

It effectively improves the accuracy of the operator's customized multimedia communication capabilities to ensure that the multimedia communication capabilities in the equipment meet expectations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211009B_ABST
    Figure CN119211009B_ABST
Patent Text Reader

Abstract

The present application discloses a communication setting method, device, storage medium and electronic device, which relates to the field of communication technology. The method includes: loading an operator configuration file corresponding to an initial operator identifier from a local location to obtain an initial operator configuration file; if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, determining whether the initial operator identifier is a predetermined identifier; if so, reading local operator information, and performing secondary identifier matching from the local operator information according to an extended identifier matching rule to obtain a new operator identifier; if the new operator identifier is different from the initial operator identifier, loading an operator configuration file corresponding to the new operator identifier from a local location to obtain a new operator configuration file for local multimedia communication capability settings. The present application can further ensure the accuracy of multimedia communication capability settings and improve the accuracy of setting multimedia communication capabilities customized by operators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication setting method, device, storage medium and electronic device. Background Art

[0002] Terminal equipment manufacturers can add customized configurations in the carrier configuration file (CarrierConfig) according to the needs of different operators. The carrier configuration file can customize, including but not limited to, whether a certain operator supports VoLTE (voice calls based on LTE network), VoWifi (voice calls based on Wifi network), ViLTE (video calls based on LTE network) and other IP Multimedia Subsystem (IMS) multimedia communication capabilities on the device.

[0003] Therefore, the correctness of loading the carrier configuration file (CarrierConfig) is very important. Currently, the carrier configuration file is usually loaded according to the carrier identifier (Carrier Id) that uniquely corresponds to the carrier. However, the applicant has found that in many scenarios, the incorrect carrier configuration file is loaded or cannot be loaded due to the incorrect matching of the carrier identifier (Carrier Id), resulting in the carrier-customized multimedia communication capabilities in the device not meeting expectations. Summary of the invention

[0004] The embodiment of the present application provides a solution that can effectively improve the setting accuracy of the multimedia communication capabilities customized by the operator.

[0005] The embodiments of the present application provide the following technical solutions:

[0006] According to one embodiment of the present application, a communication setting method includes: loading an operator configuration file corresponding to an initial operator identifier from a local computer to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, determining whether the initial operator identifier is a predetermined identifier; if so, reading local operator information, and performing a secondary identifier match from the local operator information according to an extended identifier matching rule to obtain a new operator identifier; if the new operator identifier is different from the initial operator identifier, loading an operator configuration file corresponding to the new operator identifier from a local computer to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

[0007] In some embodiments of the present application, the local operator information includes multiple operator information; performing secondary identification matching from the local operator information according to the extended identification matching rule to obtain a new operator identification includes: scoring each of the operator information to obtain a score for each of the operator information; obtaining the operator identification from the operator information with the highest score to obtain the new operator identification.

[0008] In some embodiments of the present application, the scoring of each of the operator information to obtain a score for each of the operator information includes: reading user identification card information; determining whether the user identification card information includes the operator name; if so, matching and scoring the non-name information in each of the operator information with the user identification card information to obtain a first score corresponding to each of the operator information; matching the operator name in each of the operator information with the operator name in the user identification card information to obtain a name matching relationship corresponding to each of the operator information; setting a second score for the operator information whose name matching relationship is a complete match, and setting a third score for the operator information whose name matching relationship is an inclusion relationship, the third score being less than the second score; and adding the first score, second score and third score corresponding to each of the operator information respectively to obtain a score for each of the operator information.

[0009] In some embodiments of the present application, obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier includes: determining whether there is operator information with a score exceeding the third score; if so, obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier.

[0010] In some embodiments of the present application, after the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the method further includes: if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, and if it is determined that the initial operator identifier is not a predetermined identifier, issuing an instruction to enable the multimedia communication capability supported by the modem; or, if it is determined that the modem does not support at least one multimedia communication capability included in the initial operator configuration file, issuing an instruction not to enable the multimedia communication capability.

[0011] In some embodiments of the present application, before the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the method further includes: reading user identification card information; obtaining operator information matching the user identification card information from a local preset operator database; matching the operator identifier from the operator information according to the system native identifier matching rule to obtain the initial operator identifier.

[0012] In some embodiments of the present application, after obtaining the operator information matching the user identification card information from the local preset operator database, the method further includes: saving the operator information matching the user identification card information to a local cache; and reading the local operator information includes: reading the operator information corresponding to the user identification card information from the local cache to obtain the local operator information.

[0013] According to one embodiment of the present application, a communication setting device includes: an initial loading module, which is used to: load an operator configuration file corresponding to an initial operator identifier from a local computer to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; a judgment module, which is used to: if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, then judge whether the initial operator identifier is a predetermined identifier; a matching module, which is used to: if so, read local operator information, and perform a secondary identifier match from the local operator information according to an extended identifier matching rule to obtain a new operator identifier; a reloading module, which is used to: if the new operator identifier is different from the initial operator identifier, then load the operator configuration file corresponding to the new operator identifier from a local computer to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

[0014] In some embodiments of the present application, the local operator information includes multiple operator information; the matching module is used to: score each of the operator information to obtain a score for each of the operator information; obtain an operator identifier from the operator information with the highest score to obtain the new operator identifier.

[0015] In some embodiments of the present application, the matching module is used to: read user identification card information; determine whether the user identification card information includes the operator name; if so, match and score the non-name information in each operator information with the user identification card information to obtain a first score corresponding to each operator information; match the operator name in each operator information with the operator name in the user identification card information to obtain a name matching relationship corresponding to each operator information; set a second score for the operator information whose name matching relationship is a complete match, and set a third score for the operator information whose name matching relationship is an inclusion relationship, the third score being less than the second score; and add the first score, second score and third score corresponding to each operator information respectively to obtain a score for each operator information.

[0016] In some embodiments of the present application, the matching module is used to: determine whether there is operator information with a score exceeding the third score; if so, obtain the operator identifier from the operator information with the highest score to obtain the new operator identifier.

[0017] In some embodiments of the present application, after the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the device also includes a sending module for: if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, and if it is determined that the initial operator identifier is not a predetermined identifier, then sending an instruction to enable the multimedia communication capability supported by the modem; or, if it is determined that the modem does not support at least one multimedia communication capability included in the initial operator configuration file, then sending an instruction not to enable the multimedia communication capability.

[0018] In some embodiments of the present application, before the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the device includes a native module for: reading user identification card information; obtaining operator information matching the user identification card information from a local preset operator database; matching the operator identifier from the operator information according to the system native identifier matching rule to obtain the initial operator identifier.

[0019] In some embodiments of the present application, after obtaining the operator information matching the user identification card information from the local preset operator database, the device also includes a cache module, which is used to: save the operator information matching the user identification card information to the local cache; the matching module is used to: read the operator information corresponding to the user identification card information from the local cache to obtain the local operator information.

[0020] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer executes the method described in the embodiment of the present application.

[0021] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0022] According to another embodiment of the present application, a computer program product or a computer program includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.

[0023] In an embodiment of the present application, an operator configuration file corresponding to an initial operator identifier is loaded locally to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, it is determined whether the initial operator identifier is a predetermined identifier; if so, the local operator information is read, and a secondary identifier match is performed from the local operator information according to an extended identifier matching rule to obtain a new operator identifier; if the new operator identifier is different from the initial operator identifier, the operator configuration file corresponding to the new operator identifier is loaded locally to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

[0024] The beneficial effect of the present application is: in this way, after matching the initial operator identifier according to the system native identifier matching rule and loading the corresponding operator configuration file, if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file and the initial operator identifier is a predetermined identifier, it can trigger a secondary identifier matching according to the extended identifier matching rule to obtain a new operator identifier. If the new operator identifier is different from the initial operator identifier, the operator configuration file corresponding to the new operator identifier can be loaded locally for a second time to obtain an accurate new operator configuration file. The new operator configuration file performs local multimedia communication capability settings, which can further ensure the accuracy of the local multimedia communication capability settings, thereby effectively improving the accuracy of the settings of the operator-customized multimedia communication capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 A flow chart of a communication setting method according to an embodiment of the present application is shown.

[0027] Figure 2A flow chart of a method for performing communication setting according to an embodiment of the present application in a scenario is shown.

[0028] Figure 3 Shows Figure 2 Flowchart for extended identifier matching in the corresponding scenario.

[0029] Figure 4 A block diagram of a communication setting device according to an embodiment of the present application is shown.

[0030] Figure 5 A block diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0031] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.

[0032] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).

[0033] For example, the communication setting method provided in the embodiment of the present disclosure includes a series of steps, but the communication setting method provided in the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the communication setting device provided in the embodiment of the present disclosure includes a series of units, but the device provided in the embodiment of the present disclosure is not limited to including the units explicitly recorded, and may also include units that need to be set to obtain relevant information or perform processing based on the information.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0035] It is understandable that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0036] Figure 1 The flowchart of the communication setting method according to an embodiment of the present application is schematically shown. The execution subject of the communication setting method can be any device with communication capability, such as a mobile phone, a smart watch, a monitor, a door lock, etc.

[0037] like Figure 1 As shown, the communication setting method may include steps S110 to S140.

[0038] Step S110, loading the operator configuration file corresponding to the initial operator identifier from the local to obtain the initial operator configuration file, wherein the initial operator identifier is matched according to the system native identifier matching rule; Step S120, if it is determined that the modem supports at least one multimedia communication capability contained in the initial operator configuration file, determining whether the initial operator identifier is a predetermined identifier; Step S130, if so, reading the local operator information, and performing a secondary identifier match from the local operator information according to the extended identifier matching rule to obtain a new operator identifier; Step S140, if the new operator identifier is different from the initial operator identifier, loading the operator configuration file corresponding to the new operator identifier from the local to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

[0039] The device uses a carrier identification matching component (Carrier Id matching component) to match the carrier identification as the initial carrier identification (initial Carrier Id) according to the system native identification matching rules, and then loads the carrier configuration file corresponding to the initial carrier identification from the device locally. The loaded carrier configuration file is the initial carrier configuration file. Among them, the system native identification matching rules refer to the rules native to the system (such as the Android system) for matching carrier identification. In the Android system, the system native identification matching rules are Google native logic, and the system native identification matching rules are not specifically limited or elaborated in this application.

[0040] The initial operator configuration file includes, but is not limited to, whether a certain operator supports multimedia communication capabilities of the IP Multimedia Subsystem (IMS) such as VoLTE (voice calls based on LTE network), VoWifi (voice calls based on Wifi network), and ViLTE (video calls based on LTE network) on the device.

[0041] In an embodiment of the present application, after the device obtains the initial operator identifier and loads it into the initial operator configuration file, it first determines whether the modem in the device supports at least one multimedia communication capability included in the initial operator configuration file. If so (that is, the modem supports at least one multimedia communication capability included in the initial operator configuration file), it determines whether the initial operator identifier is a predetermined identifier, such as "-1".

[0042] If yes (that is, the initial operator identifier is the predetermined identifier), local operator information is read from the device locally, and a secondary identifier match is performed from the local operator information according to the extended identifier matching rule to obtain a new operator identifier.

[0043] The extended identifier matching rule is a matching rule other than the system native identifier matching rule configured in the system. When the conditions are met, the extended identifier matching rule is triggered to perform a secondary identifier match from the local operator information to obtain a new operator identifier. When the conditions are met, the secondary identifier match based on the extended identifier matching rule is triggered again, which can avoid the situation where the initial operator identifier matched by the system native identifier matching rule is incorrect, and match a new operator identifier with higher accuracy.

[0044] After matching the new operator identifier, the device can determine whether the new operator identifier is the same as the initial operator identifier. If the new operator identifier is different from the initial operator identifier, the secondary loading of the operator configuration file is triggered, and the operator configuration file corresponding to the new operator identifier can be loaded locally to obtain a new operator configuration file with higher accuracy. The local multimedia communication capability setting based on the new operator configuration file can further ensure the accuracy of the local multimedia communication capability setting, thereby effectively improving the accuracy of the setting of the operator-customized multimedia communication capability.

[0045] In this way, after matching the initial operator identifier according to the system native identifier matching rule and loading the corresponding operator configuration file, if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file and the initial operator identifier is a predetermined identifier, it can trigger a secondary identifier matching according to the extended identifier matching rule to obtain a new operator identifier. If the new operator identifier is different from the initial operator identifier, the operator configuration file corresponding to the new operator identifier can be loaded locally for a second time to obtain an accurate new operator configuration file. The new operator configuration file performs local multimedia communication capability settings, which can further ensure the accuracy of the local multimedia communication capability settings, thereby effectively improving the accuracy of the settings of the operator-customized multimedia communication capabilities.

[0046] Described below Figure 1 When performing communication settings under the embodiment, further optional specific embodiments are provided under each step performed.

[0047] In one embodiment, before loading the operator configuration file corresponding to the initial operator identifier from the local computer to obtain the initial operator configuration file, the method further includes:

[0048] Read the user identification card information; obtain the operator information matching the user identification card information from the local preset operator database; match the operator identifier from the operator information according to the system native identifier matching rule to obtain the initial operator identifier.

[0049] The user identification card information is the SIM card information in the user identification card (SIM card). When the SIM card is loaded, the SIM card information can be obtained from the user identification card (SIM card). The local preset operator database of the device stores the operator details information (carrier_list information). The operator details information stores the operator information defined by Google, which may be 0 or more of PLMN+GID1 / GID2 / SPN / IMSI / ICCID.

[0050] The operator identification matching component in the device can obtain the operator information matching the read user identification card information from the local preset operator database, and match the operator identification from the operator information matching the user identification card information according to the system native identification matching rules to obtain the initial operator identification.

[0051] Furthermore, after obtaining the operator information matching the user identification card information from the local preset operator database, the method also includes: saving the operator information matching the user identification card information to a local cache; reading the local operator information includes: reading the operator information corresponding to the user identification card information from the local cache to obtain the local operator information.

[0052] In this embodiment, before matching the operator identifier according to the system native identifier matching rule, the operator information matched by the read user identification card information is obtained from the local preset operator database, and then the operator information matched by the user identification card information is saved in the local cache. Furthermore, when a secondary match is required, in the embodiment of the present application, the operator information corresponding to the user identification card information can be efficiently read directly from the local cache as the obtained local operator information, without having to repeatedly obtain it from the local preset operator database.

[0053] In one embodiment, the local operator information includes multiple operator information; performing secondary identification matching from the local operator information according to the extended identification matching rule to obtain a new operator identification includes: scoring each of the operator information to obtain a score for each of the operator information; obtaining the operator identification from the operator information with the highest score to obtain the new operator identification.

[0054] The local operator information includes multiple operator information, that is, the user identification card information matches multiple operator information. In this embodiment, the extended identifier matching rule is specifically: scoring each operator information to obtain the score of each operator information; obtaining the operator identifier from the operator information with the highest score to obtain a new operator identifier. By scoring and selecting the operator information with the highest score, the operator identifier can be accurately obtained as the new operator identifier.

[0055] Furthermore, in one embodiment, scoring each of the operator information to obtain a score for each of the operator information may specifically include: reading user identification card information; determining whether the user identification card information includes the operator name; if so, matching and scoring the non-name information in each of the operator information with the user identification card information to obtain a first score corresponding to each of the operator information; matching the operator name in each of the operator information with the operator name in the user identification card information to obtain a name matching relationship corresponding to each of the operator information; setting a second score for the operator information whose name matching relationship is a complete match, and setting a third score for the operator information whose name matching relationship is an inclusion relationship, the third score being less than the second score; and adding the first score, second score and third score corresponding to each of the operator information to obtain a score for each of the operator information.

[0056] In the process of performing secondary identification matching from local operator information according to the extended identification matching rule, when scoring each operator information, first read the user identification card information, the user identification card information may include the operator name (carrier name), public land mobile network (Public Land Mobile Network, PLMN) information and other parameters. Each operator information may include the operator name (carrier name), operator identification (carrier id), public land mobile network (Public Land Mobile Network, PLMN) information and other parameters.

[0057] After reading the user identification card information, first determine whether the user identification card information includes the operator name; if so, match and score the non-name information in each operator information with the user identification card information to obtain the first score corresponding to each operator information, where the non-name information refers to the remaining information in the operator information except the carrier name. For example, match the non-name information in operator information A with the user identification card information. If they match (such as the user identification card information contains the non-name information in A), the first score is obtained for operator information A. On the contrary, if the non-name information in operator information A does not match the user identification card information, operator information B will obtain a score of 0.

[0058] Further, the operator name in each operator information is matched with the operator name in the user identification card information to obtain the name matching relationship corresponding to each operator information; a second score is set for the operator information whose name matching relationship is a complete match, for example, if the operator name in operator information A and the operator name in the user identification card information are completely matched (i.e., completely identical), then operator information A further obtains a second score; and a third score is set for the operator information whose name matching relationship is an inclusion relationship, for example, if the operator name in operator information B and the operator name in the user identification card information are an inclusion relationship (i.e., the operator name in operator information B contains the operator name in the user identification card information), then operator information B further obtains a third score. The third score is less than the second score.

[0059] The first score, second score and third score corresponding to each operator information are added together respectively to obtain the score of each operator information. For example, the first score and the second score corresponding to operator information A are added together to obtain the score of operator information A, and the score of 0 and the third score corresponding to operator information B are added together to obtain the score of operator information B.

[0060] In this way, each operator information is scored, and the score accurately reflects the accuracy of the operator identification contained in the operator information. The higher the score of the operator information, the higher the accuracy of the operator identification in the operator information.

[0061] Further, obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier may include: determining whether there is operator information with a score exceeding the third score; if so, obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier.

[0062] For example, in a specific implementation, the first score is 1 point, the second score is 20 points, and the third score is 10 points. When obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier, it is first determined whether there is operator information with a score exceeding 10 points. If so, the operator identifier is obtained from the operator information with the highest score as the obtained new operator identifier. In this way, when there is operator information with a score exceeding the third score, the operator identifier is obtained from the operator information with the highest score as the obtained new operator identifier, which can further improve the accuracy of the obtained new operator identifier.

[0063] Furthermore, in one embodiment, if it is determined that there is no operator information with a score exceeding the third score, the process of matching the new operator identifier is terminated, and an instruction to enable the multimedia communication capabilities in the initial operator configuration file supported by the modem can be issued, thereby enabling the multimedia communication capabilities in the initial operator configuration file supported by the modem in the system.

[0064] In one embodiment, after the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the method may further include:

[0065] If it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, and if it is determined that the initial operator identifier is not a predetermined identifier, an instruction to enable the multimedia communication capability supported by the modem is issued; or, if it is determined that the modem does not support at least one multimedia communication capability included in the initial operator configuration file, an instruction to not enable the multimedia communication capability is issued.

[0066] After obtaining the initial operator configuration file by loading the operator configuration file corresponding to the initial operator identifier locally, if it is determined that the modem supports at least one multimedia communication capability contained in the initial operator configuration file and it is determined that the initial operator identifier is not a predetermined identifier, an instruction to enable the multimedia communication capability in the initial operator configuration file supported by the modem can be issued, so that the multimedia communication capability in the initial operator configuration file supported by the modem will be enabled in the system.

[0067] Alternatively, after the initial operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, if it is determined that the modem does not support at least one multimedia communication capability included in the initial operator configuration file, an instruction to not enable the multimedia communication capability is issued, so that the multimedia communication capability of the IMS will not be enabled in the system.

[0068] Furthermore, in one embodiment, after obtaining the new operator configuration file by locally loading the operator configuration file corresponding to the new operator identifier, the method may also include: determining at least one multimedia communication capability in the new operator configuration file supported by the modem; issuing an instruction to enable the multimedia communication capability in the new operator configuration file supported by the modem, so that the multimedia communication capability in the new operator configuration file supported by the modem will be enabled in the system.

[0069] Furthermore, in one embodiment, after performing a secondary identifier match from the local operator information according to the extended identifier matching rule to obtain a new operator identifier, the method may also include: if the new operator identifier is the same as the initial operator identifier, an instruction to enable the multimedia communication capability in the initial operator configuration file supported by the modem may be issued, thereby enabling the multimedia communication capability in the initial operator configuration file supported by the modem in the system.

[0070] The following further describes the aforementioned embodiment in conjunction with a process of performing communication settings using the aforementioned embodiment of the present application in a scenario, wherein the meanings of the nouns are the same as in the aforementioned communication setting method, and specific implementation details may refer to the description in the method embodiment.

[0071] See also Figure 2 and Figure 3 The communication setting process in this scenario may include steps S210 to S2110.

[0072] Step S210, inserting a SIM card.

[0073] Step S220, native identifier matching: reading user identification card information (SIM card information); obtaining operator information matching the user identification card information from a local preset operator database; matching the operator identifier from the operator information according to the system native identifier matching rule to obtain the initial operator identifier.

[0074] The user identification card information is the SIM card information in the user identification card (SIM card). When the SIM card is loaded, the SIM card information can be obtained from the user identification card (SIM card). The local preset operator database of the device stores the operator details information (carrier_list information). The operator details information stores the operator information that Google has defined, which may be 0 or more of PLMN+GID1 / GID2 / SPN / IMSI / ICCID. The operator identification matching component in the device can obtain the operator information matched by the read user identification card information from the local preset operator database, and match the operator identification from the operator information matched by the user identification card information according to the system native identification matching rules to obtain the initial operator identification.

[0075] Step S230, saving the operator information matching the SIM card information to a cache: saving the operator information matching the subscriber identification card information to a local cache.

[0076] Step S240, the initial operator configuration file is loaded: the operator configuration file corresponding to the initial operator identifier is loaded from the local to obtain the initial operator configuration file.

[0077] Step S250, IMS capability assessment: determine the multimedia communication capabilities included in the initial operator configuration file (i.e., multimedia communication capabilities of IP Multimedia Subsystem (IMS) such as VoLTE (voice calls based on LTE network), VoWifi (voice calls based on Wifi network), ViLTE (video calls based on LTE network)).

[0078] Step S260, determine whether the modem supports IMS capability: determine whether the modem in the device supports at least one multimedia communication capability included in the initial operator configuration file. If yes, proceed to step S270. If no, proceed to step S2110 to issue the IMS capability, specifically: issue an instruction not to enable the multimedia communication capability, so that the multimedia communication capability of IMS will not be enabled in the system.

[0079] Step S270, judging whether the operator identifier is a predetermined identifier (e.g. -1): judging whether the initial operator identifier is a predetermined identifier, if so, proceeding to step S280. If not, proceeding to step S2110 to issue the IMS capability, specifically: issuing an instruction to enable the multimedia communication capability in the initial operator configuration file supported by the modem, so that the system will enable the multimedia communication capability in the initial operator configuration file supported by the modem.

[0080] Step S280: rematch the identifier to obtain a new operator identifier. Figure 3 , step S280 may specifically include steps S281 to S2814.

[0081] Step S290, determine whether the operator identifier has changed: determine whether the new operator identifier is the same as the initial operator identifier, if not, proceed to step S2100; if yes, proceed to step S2110 to issue the IMS capability, specifically: issue an instruction not to enable the multimedia communication capability.

[0082] Step S2100, reload the configuration file: load the operator configuration file corresponding to the new operator identifier from the local to obtain the new operator configuration file. Then, proceed to step S2110 to issue the IMS capability, specifically: determine at least one multimedia communication capability in the new operator configuration file supported by the modem; issue an instruction to enable the multimedia communication capability in the new operator configuration file supported by the modem, so that the system will enable the multimedia communication capability in the new operator configuration file supported by the modem.

[0083] Step S2110: IMS capability is issued.

[0084] The following is further combined Figure 3 The description will now be given of steps S281 to S2814 specifically included in step S280.

[0085] Step S281, reading SIM card information, that is, reading subscriber identification card information.

[0086] Step S282, determine whether the operator name in the SIM card information is empty, that is, determine whether the subscriber identity card information includes the operator name. If yes, proceed to step S2814 and end the process. If no, proceed to step S283.

[0087] Step S283, reading the operator information from the cache: reading the operator information corresponding to the user identification card information from the local cache to obtain the local operator information.

[0088] Step S284, determine whether there is any remaining operator information, that is, determine whether there is any operator information in the local operator information that has not been scored. If yes, proceed to step S285. If no, proceed to step S2812.

[0089] Step S285, traverse the operator information and set an initial score: traverse the operator information in the local operator information, and set an initial score (for example, 1 point) for the traversed operator information.

[0090] Step S286, if the non-name information matches the user identification card information, increase the first score, specifically: match and score the non-name information in each of the traversed operator information with the user identification card information to obtain the first score corresponding to each of the operator information. The non-name information refers to the remaining information in the operator information except the operator name (carrier name). For example, the non-name information in operator information A is matched with the user identification card information. If they match (such as the user identification card information contains the non-name information in A), the first score (for example, 1 point) is obtained for operator information A. On the contrary, if the non-name information in operator information A does not match the user identification card information, operator information B obtains 0 points.

[0091] Step S287, determine whether the operator name is completely matched, specifically: match the operator name in each of the operator information with the operator name in the user identification card information to obtain the name matching relationship corresponding to each of the operator information. If yes, proceed to step S288; otherwise, proceed to step S289.

[0092] Step S288, adding a second score: setting a second score (eg, 20 points) for the operator information whose name matching relationship is a complete match.

[0093] Step S289, determining whether the name matching relationship is an inclusion relationship, specifically, for example, determining whether the operator name in the operator information contains the operator name in the user identification card information, if so, proceeding to step S2810; if not, proceeding to step S2811.

[0094] Step S2810, adding a third score: setting a third score (eg, 10 points) for the operator information whose name matching relationship is a containment relationship.

[0095] Step S2811, store the operator information and the corresponding score: respectively add the first score, the second score and the third score corresponding to each of the operator information to obtain the score of each of the operator information, and store the operator information and the corresponding score. Then, enter step S284. If it is determined in step S284 that there is no operator information in the local operator information that has not been scored, then enter step S2812.

[0096] Step S2812, determine whether there is operator information with a score exceeding the third score, if so, proceed to step S2813; if not, proceed to step S2814 to end the process.

[0097] Step S2814: Obtain an operator identifier from the operator information with the highest score to obtain a new operator identifier.

[0098] In this scenario, communication capabilities are set by applying the relevant embodiments of the present application. After matching the initial operator identifier according to the system native identifier matching rules and loading the corresponding operator configuration file, if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file and the initial operator identifier is a predetermined identifier, a secondary identifier matching according to the extended identifier matching rules can be triggered to obtain a new operator identifier. If the new operator identifier is different from the initial operator identifier, the operator configuration file corresponding to the new operator identifier can be loaded locally for a second time to obtain an accurate new operator configuration file. The new operator configuration file performs local multimedia communication capability settings, which can further ensure the accuracy of local multimedia communication capability settings, thereby effectively improving the accuracy of operator-customized multimedia communication capability settings.

[0099] In order to better implement the communication setting method provided in the embodiment of the present application, the embodiment of the present application also provides a communication setting device based on the above communication setting method. The meanings of the terms are the same as those in the above communication setting method, and the specific implementation details can refer to the description in the method embodiment. Figure 4 A block diagram of a communication setting device according to an embodiment of the present application is shown.

[0100] like Figure 4As shown, the communication setting device 300 may include: an initial loading module 310 may be used to: load an operator configuration file corresponding to an initial operator identifier from a local location to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; a judgment module 320 may be used to: if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, then determine whether the initial operator identifier is a predetermined identifier; a matching module 330 may be used to: if so, read local operator information, and perform a secondary identifier match from the local operator information according to an extended identifier matching rule to obtain a new operator identifier; a reloading module 340 may be used to: if the new operator identifier is different from the initial operator identifier, then load an operator configuration file corresponding to the new operator identifier from a local location to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

[0101] In some embodiments of the present application, the local operator information includes multiple operator information; the matching module is used to: score each of the operator information to obtain a score for each of the operator information; obtain an operator identifier from the operator information with the highest score to obtain the new operator identifier.

[0102] In some embodiments of the present application, the matching module is used to: read user identification card information; determine whether the user identification card information includes the operator name; if so, match and score the non-name information in each operator information with the user identification card information to obtain a first score corresponding to each operator information; match the operator name in each operator information with the operator name in the user identification card information to obtain a name matching relationship corresponding to each operator information; set a second score for the operator information whose name matching relationship is a complete match, and set a third score for the operator information whose name matching relationship is an inclusion relationship, the third score being less than the second score; and add the first score, second score and third score corresponding to each operator information respectively to obtain a score for each operator information.

[0103] In some embodiments of the present application, the matching module is used to: determine whether there is operator information with a score exceeding the third score; if so, obtain the operator identifier from the operator information with the highest score to obtain the new operator identifier.

[0104] In some embodiments of the present application, after the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the device also includes a sending module for: if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, and if it is determined that the initial operator identifier is not a predetermined identifier, then sending an instruction to enable the multimedia communication capability supported by the modem; or, if it is determined that the modem does not support at least one multimedia communication capability included in the initial operator configuration file, then sending an instruction not to enable the multimedia communication capability.

[0105] In some embodiments of the present application, before the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the device includes a native module for: reading user identification card information; obtaining operator information matching the user identification card information from a local preset operator database; matching the operator identifier from the operator information according to the system native identifier matching rule to obtain the initial operator identifier.

[0106] In some embodiments of the present application, after obtaining the operator information matching the user identification card information from the local preset operator database, the device also includes a cache module, which is used to: save the operator information matching the user identification card information to the local cache; the matching module is used to: read the operator information corresponding to the user identification card information from the local cache to obtain the local operator information.

[0107] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0108] In addition, the present application also provides an electronic device, such as Figure 5 As shown, Figure 5 A block diagram of an electronic device according to an embodiment of the present application is shown, specifically:

[0109] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 5The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0110] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0111] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0112] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0113] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0114] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 will run the computer program stored in the memory 402, thereby realizing various functions in the aforementioned embodiments of the present application, such as the processor 401 may perform the following steps:

[0115] Loading an operator configuration file corresponding to an initial operator identifier from a local computer to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, determining whether the initial operator identifier is a predetermined identifier; if so, reading local operator information, and performing a secondary identifier match from the local operator information according to an extended identifier matching rule to obtain a new operator identifier; if the new operator identifier is different from the initial operator identifier, loading an operator configuration file corresponding to the new operator identifier from a local computer to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

[0116] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0117] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.

[0118] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0119] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

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

[0121] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.

Claims

1. A communication setting method, characterized in that: include: Loading an operator configuration file corresponding to an initial operator identifier from a local computer to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; If it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, determining whether the initial operator identifier is a predetermined identifier; If yes, read the local operator information, and perform secondary identification matching from the local operator information according to the extended identification matching rule to obtain a new operator identification, wherein the local operator information includes information of multiple operators; If the new operator identifier is different from the initial operator identifier, the operator configuration file corresponding to the new operator identifier is loaded locally to obtain a new operator configuration file, where the new operator configuration file is used to perform local multimedia communication capability settings; The performing secondary identification matching from the local operator information according to the extended identification matching rule to obtain a new operator identification includes: Scoring each of the operator information to obtain a score for each of the operator information; obtaining an operator identifier from the operator information with the highest score to obtain the new operator identifier; Scoring each of the operator information to obtain a score for each of the operator information includes: Read the user identification card information; determine whether the user identification card information includes the operator name; if so, match and score the non-name information in each of the operator information with the user identification card information to obtain a first score corresponding to each of the operator information; match the operator name in each of the operator information with the operator name in the user identification card information to obtain a name matching relationship corresponding to each of the operator information; set a second score for the operator information whose name matching relationship is a complete match, and set a third score for the operator information whose name matching relationship is an inclusion relationship, wherein the third score is less than the second score; respectively add the first score, the second score and the third score corresponding to each of the operator information to obtain a score for each of the operator information; The acquiring the operator identifier from the operator information with the highest score to obtain the new operator identifier includes: It is determined whether there is operator information with a score exceeding the third score; if so, an operator identifier is obtained from the operator information with the highest score to obtain the new operator identifier.

2. The method according to claim 1, characterized in that: After the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the method further includes: If it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, and if it is determined that the initial operator identifier is not a predetermined identifier, an instruction to enable the multimedia communication capability supported by the modem is issued; Alternatively, if it is determined that the modem does not support at least one multimedia communication capability included in the initial operator configuration file, an instruction to disable the multimedia communication capability is issued.

3. The method according to claim 1, characterized in that Before the operator configuration file corresponding to the initial operator identifier is loaded locally to obtain the initial operator configuration file, the method further includes: Read user identification card information; Acquire operator information matching the user identification card information from a local preset operator database; The operator identifier is matched from the operator information according to the system native identifier matching rule to obtain the initial operator identifier.

4. The method according to claim 3, characterized in that After acquiring the operator information matching the user identification card information from the local preset operator database, the method further includes: Saving the operator information matched with the user identification card information to a local cache; The reading of local operator information includes: The operator information corresponding to the user identification card information is read from the local cache to obtain the local operator information.

5. A communication setting device, characterized in that: include: An initial loading module, used to: load an operator configuration file corresponding to an initial operator identifier from a local computer to obtain an initial operator configuration file, wherein the initial operator identifier is matched according to a system native identifier matching rule; A determination module, configured to: if it is determined that the modem supports at least one multimedia communication capability included in the initial operator configuration file, determine whether the initial operator identifier is a predetermined identifier; A matching module, configured to: if yes, read the local operator information, and perform secondary matching of identifiers from the local operator information according to the extended identifier matching rule to obtain a new operator identifier, wherein the local operator information includes information of multiple operators; The method of performing secondary identification matching from the local operator information according to the extended identification matching rule to obtain a new operator identification includes: scoring each of the operator information to obtain a score for each of the operator information; obtaining the operator identification from the operator information with the highest score to obtain the new operator identification; further, the method of scoring each of the operator information to obtain a score for each of the operator information includes: reading user identification card information; determining whether the user identification card information includes an operator name; if so, matching and scoring the information other than the name in each of the operator information with the user identification card information to obtain a first score corresponding to each of the operator information; matching the operator name in each of the operator information with the user identification card information to obtain a first score corresponding to the operator information; and matching the operator name in the operator information with the user identification card information to obtain a first score corresponding to the operator information. The operator names in the card information are matched to obtain a name matching relationship corresponding to each of the operator information; a second score is set for the operator information whose name matching relationship is a complete match, and a third score is set for the operator information whose name matching relationship is an inclusion relationship, and the third score is less than the second score; the first score, the second score and the third score corresponding to each of the operator information are added together to obtain the score of each of the operator information; further, obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier includes: determining whether there is operator information with a score exceeding the third score; if so, obtaining the operator identifier from the operator information with the highest score to obtain the new operator identifier The reloading module is used to: if the new operator identifier is different from the initial operator identifier, load the operator configuration file corresponding to the new operator identifier from the local to obtain a new operator configuration file, wherein the new operator configuration file is used to perform local multimedia communication capability settings.

6. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 4.

7. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

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

    CN107148010A

  • Method and apparatus of loading configuration files

    CN107395760A