CN102063467B - Method and system for acquiring customizable parameters - Google Patents
Method and system for acquiring customizable parameters Download PDFInfo
- Publication number
- CN102063467B CN102063467B CN201010578926.0A CN201010578926A CN102063467B CN 102063467 B CN102063467 B CN 102063467B CN 201010578926 A CN201010578926 A CN 201010578926A CN 102063467 B CN102063467 B CN 102063467B
- Authority
- CN
- China
- Prior art keywords
- data structure
- structure table
- matching code
- national
- customized parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for acquiring customizable parameters, comprising the following steps: creating a first data structural table according to a country match code and a corresponding mobile country code (MCC)/mobile network code (MNC); creating a second data structural table according to the country match code and a basic customization service; creating a third data structural table...a Nth customization structural table according to the country match code and a specific customization service, wherein N is more than or equal to 3; and acquiring the customizable parameters from the first data structural table, the second data structural table and/or the third data structural table and/or the Nth data structural table when required. The invention also discloses a system for acquiring the customizable parameters. In the invention, tables are respectively created for the customizable parameters common in most of regions and the customizable parameters specific in minority regions, thus space is greatly saved, inquiry time is saved, and automatic setup on mobile phone parameters is realized. Customized development can be convenient when a new requirement is added.
Description
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of method and system of obtaining customized parameter.
Background technology
In handset customization, different version (being applicable to different areas) often has different customized demand, realize a version and meet the different needs, and can adopt self-adaptation customization.First the concrete customized parameter of different regions is established in a form, according to network parameter (MCC/MNC) or alternate manner identifies different areas, then search the form of setting up above, find corresponding customized parameter, according to the customized parameter finding, mobile phone parameters is set.But, for example, when there are some special business (special service number) in some country, and most countries is not when have, if these special business are also all built in to a table the inside together with other customized parameter, both wasting space, was inconvenient to again find corresponding customized parameter.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method and system of obtaining customized parameter, can save storage space, and can quick obtaining customized parameter.
For achieving the above object, technical scheme of the present invention is achieved in that
A method of obtaining customized parameter, comprising:
According to national matching code and corresponding mobile national number (MCC)/mobile network No. (MNC) thereof, set up the first data structure table;
According to national matching code and basic custom service, set up the second data structure table;
According to national matching code and peculiar custom service set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, N >=3;
In the time of need to obtaining customized parameter, from described the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter.
Each row of described the second data structure table Chinese Home matching code puts in order consistent with described the first data structure table.
Configuration is during operational parameters of mobile terminal, described from the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter and is:
According to MCC/MNC, inquire about the first data structure table, obtain mobile terminal location, be i.e. national matching code;
According to described national matching code, inquire about the second data structure table, obtain customized parameter information corresponding to national matching code described in the second data structure table;
According to described national matching code inquiry the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table, obtain the 3rd data structure table and/or the 4th data structure table ... and/or customized parameter information corresponding to national matching code described in N data structure table.
A system of obtaining customized parameter, comprising: data structure table is set up unit, customized parameter acquiring unit; Wherein,
Described data structure table is set up unit, for setting up the first data structure table according to national matching code and corresponding MCC/MNC thereof; And set up the second data structure table according to national matching code and basic custom service; And according to national matching code and peculiar custom service set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, N >=3;
Described customized parameter acquiring unit, for need to obtain customized parameter time, from described data structure table set up the first data structure table of setting up unit and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter.
When the custom service that described data structure table is set up unit to be had according to national matching code and most of area is set up the second data structure table, each row of described the second data structure table Chinese Home matching code puts in order consistent with described the first data structure table.
Described customized parameter acquiring unit from data structure table set up the first data structure table of setting up unit and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter and is:
During configuration operational parameters of mobile terminal, according to MCC/MNC, inquire about the first data structure table, obtain mobile terminal location, i.e. national matching code;
According to described national matching code, inquire about the second data structure table, obtain customized parameter information corresponding to national matching code described in the second data structure table;
According to described national matching code inquiry the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table, obtain the 3rd data structure table and/or the 4th data structure table ... and/or customized parameter information corresponding to national matching code described in N data structure table.
The present invention obtains the method and system of customized parameter, according to national matching code and corresponding mobile national number (MCC)/mobile network No. (MNC) thereof, sets up the first data structure table; The basic custom service having according to national matching code and most of area is set up the second data structure table; According to the peculiar custom service in national matching code and minority area set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, N >=3; In the time of need to obtaining customized parameter, from described the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter.The distinctive customized parameter of the customized parameter that the present invention has most of areas and minority area is built separately respectively table, can greatly save space, saves query time, realizes the Lookup protocol to mobile phone parameters.And when having newly increased requirement, also can facilitate customized development.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram that the present invention obtains customized parameter;
Fig. 2 is a kind of method flow schematic diagram that obtains customized parameter of the embodiment of the present invention;
Fig. 3 is the method flow schematic diagram that embodiment of the present invention another kind obtains customized parameter.
Embodiment
Basic thought of the present invention is: according to national matching code and corresponding mobile national number (MCC)/mobile network No. (MNC) thereof, set up the first data structure table; The basic custom service having according to national matching code and most of area is set up the second data structure table; According to the peculiar custom service in national matching code and minority area set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, N >=3; In the time of need to obtaining customized parameter, from described the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter.
The present invention adopts and disperses to build table method, and some parameters to mobile phone while being applicable to custom-made mobile phone have different customized demand, particularly exist several parameters of only a few different.Several parameters to only a few are different, for example, as there are some special business (special service number) in some country, and most countries does not have, so these individual characteies are built separately to table, while facilitating mobile phone operation, can inquire about fast correlation parameter and parameter is carried out to Lookup protocol, meeting in handset customization and configure adaptive needs for multiple setting option.
Fig. 1 is the method flow schematic diagram that the present invention obtains customized parameter, and as shown in Figure 1, the method comprises:
Step 101: set up the first data structure table according to national matching code and corresponding mobile national number (MCC)/mobile network No. (MNC) thereof.
For example, according to the MCC/MNC of national matching code and correspondence thereof, setting up the first data structure table can be as shown in table 1:
Country's matching code | MCC | MNC |
PB_MEXICO | 0x334 | 0x3 |
PB_GUATEMALE | 0x704 | 0x3 |
PB_VENEZUELA | 0x734 | 0x4 |
PB_TEST | 0x460 | 0x0 |
…… | …… | …… |
Table 1
Step 102: set up the second data structure table according to national matching code and basic custom service.
Here, basic custom service refers to the custom service that most of areas have, while setting up the second data structure table, the demand data that most of areas have is inserted data structure table according to different national matching codes by each demand information, and the custom service having according to national matching code and most of area is set up the second data structure table can be as shown in table 2:
Table 2
Each row that generally need to guarantee national matching code here, puts in order and keeps in full accord with the first data structure table.The benefit of doing is like this, when we complete, the inquiry of the first data structure table is obtained after national matching code, can directly utilize array index to locate the content of associated custom parameter in the second data structure table, thereby simplified the query script to the second data structure table, accelerated program operation speed.
Step 103: according to national matching code and peculiar custom service set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, N >=3.
Here, peculiar custom service refers to the distinctive custom service in minority area.
For example, according to the distinctive custom service of national matching code and minority area, setting up the 3rd data structure table (as shortcode code table) can be as shown in table 3:
Table 3
Step 104: in the time of need to obtaining customized parameter, from described the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter.
Configuration is obtained the method for customized parameter below during operational parameters of mobile terminal, and the method for obtaining customized parameter during the corresponding character string of inquiry special service number is described.
The situation of N=3 of take herein mainly describes as example.In the time of need to configuring operational parameters of mobile terminal, first inquire about the first data structure table, according to MCC/MNC, find national matching code; Then according to national matching code, inquire about the second data structure table and can obtain most customized information; If also need to inquire about the information that special service number is relevant, can continue to inquire about the 3rd data structure table; Other business is inquired about other form accordingly.Fig. 2 is a kind of method flow schematic diagram that obtains customized parameter of the embodiment of the present invention, and as shown in Figure 2, the method comprises:
Step 201: network parameter changes or dependent event (as call) occurs.
The described network parameter changing refers generally to PLMN, and described PLMN comprises MCC/MNC.
Step 202: inquire about the first data structure table according to MCC/MNC, obtain mobile terminal location (being national matching code).
Step 203: inquire about the second data structure table according to described national matching code, obtain customized parameter information corresponding to national matching code described in the second data structure table.
Here, generally according to the array index of associated the second data structure table of national matching code, according to array index, directly obtain the related data in the second data structure table in location.
Step 204: have particular traffic requirements, according to described national matching code inquiry the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table, obtain the 3rd data structure table and/or the 4th data structure table ... and/or customized parameter information corresponding to national matching code described in N data structure table.
Here, generally use successively traversal method inquire about relevant specific transactions form N (N can be 3,4 ... .n).
Afterwards, the customized parameter information that just can obtain according to step 203 and step 204 is configured operational parameters of mobile terminal.
Take above-mentioned table 1, table 2, table 3 describes as example, for example: the current network parameter obtaining is 0x334/0x3 (MCC/MNC),
It is PB_MEXICO that question blank 1 obtains national matching code corresponding to this network parameter, and the row data are in the 0th row of table 1, and array index is 0.
Because table 1 and table 2 are in full accord with respect to the order of national matching code, so we can judge customized parameter that PB_MEXICO the is corresponding also position in the 0th row in table 2.Therefore can navigate to fast this national associated custom parameter of the 0th row data acquisition of table 2.So just greatly simplified the query script of his-and-hers watches 2.
Fig. 3 is the method flow schematic diagram that embodiment of the present invention another kind obtains customized parameter, and as shown in Figure 3, the method comprises:
Step 301: user calls (as 171).
Step 302: inquire about the first data structure table according to MCC/MNC, obtain mobile terminal location (being national matching code).
Step 303: according to described national matching code inquiry shortcode code table.
Step 304: judge whether the number that user dials is special service number, if so, forwards step 305 to; Otherwise, forward step 306 to.
Step 305: obtain the character string that special service number is corresponding and return.
Step 306: return to null character string.
For example: there is special service number " 171 " in Venezuela, " 811 ", " * 8 " ..., there is special service number " 171 " in Mexico, " 411 ", " 132 " ..., we just can set up form (as the table 3 in Fig. 1) for these two national special service numbers, when user dials a telephone number as " 171 ", also be first according to network parameter (as MCC/MNC) the question blank 1 current affiliated area of judgement, obtain national matching code, by interface function, according to national matching code, inquire about shortcode code table (table 3) and judge whether current number is special service number, if special service number, can also return to the character string that special service number is corresponding.
The present invention also correspondingly discloses a kind of system of obtaining customized parameter, comprising: data structure table is set up unit, customized parameter acquiring unit; Wherein,
Described data structure table is set up unit, for setting up the first data structure table according to national matching code and corresponding MCC/MNC thereof; And set up the second data structure table according to national matching code and basic custom service; And according to national matching code and peculiar custom service set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, N >=3;
Described customized parameter acquiring unit, for need to obtain customized parameter time, from described data structure table set up the first data structure table of setting up unit and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter.
When the custom service that described data structure table is set up unit to be had according to national matching code and most of area is set up the second data structure table, each row of described the second data structure table Chinese Home matching code puts in order consistent with described the first data structure table.
Described customized parameter acquiring unit from data structure table set up the first data structure table of setting up unit and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table obtains customized parameter and is:
During configuration operational parameters of mobile terminal, according to MCC/MNC, inquire about the first data structure table, obtain mobile terminal location, i.e. national matching code;
According to described national matching code, inquire about the second data structure table, obtain customized parameter information corresponding to national matching code described in the second data structure table;
According to described national matching code inquiry the 3rd data structure table and/or the 4th data structure table ... and/or N data structure table, obtain the 3rd data structure table and/or the 4th data structure table ... and/or customized parameter information corresponding to national matching code described in N data structure table.
Can find out, the present invention adopts and disperses the method for building table to preserve user customized information in mobile terminal, as concentrating effective improvement and the compensation process of building table method.After building and having shown, according to the network parameter of different regions, search relevant national matching code, then automatically search relevant customized parameter, the operational factor of configuration mobile terminal, thus both can be user-friendly to, also can facilitate customized development.
Should be understood that; concerning the those of ordinary skill in field, the technology of the present invention place; can be equal to accordingly and change or replace according to technical scheme of the present invention and design thereof, and all these changes or replacement, all should belong to the protection domain of claims of the present invention.For example: if there are two countries to have special service number, two national special service numbers and corresponding character string thereof are built respectively to table, during inquiry, by country, inquire about corresponding form.The special service number of take herein disperses to build table as example explanation, also applicable to other particular traffic requirements.All in the protection domain of this patent.
Claims (6)
1. a method of obtaining customized parameter, is characterized in that, the method comprises:
According to national matching code and corresponding mobile national number (MCC)/mobile network No. (MNC) thereof, set up the first data structure table;
According to national matching code and basic custom service, set up the second data structure table;
According to national matching code and peculiar custom service set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, and N≤3;
In the time of need to obtaining customized parameter, from described the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table obtain customized parameter.
2. method according to claim 1, is characterized in that, each row of described the second data structure table Chinese Home matching code puts in order consistent with described the first data structure table.
3. method according to claim 1, it is characterized in that, configuration is during operational parameters of mobile terminal, described from the first data structure table and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table obtain customized parameter and be:
According to MCC/MNC, inquire about the first data structure table, obtain mobile terminal location, be i.e. national matching code;
According to described national matching code, inquire about the second data structure table, obtain customized parameter information corresponding to national matching code described in the second data structure table;
According to described national matching code inquiry the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table, obtain the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table described in customized parameter information corresponding to national matching code.
4. a system of obtaining customized parameter, is characterized in that, this system comprises: data structure table is set up unit, customized parameter acquiring unit; Wherein,
Described data structure table is set up unit, for setting up the first data structure table according to national matching code and corresponding mobile national number (MCC)/mobile network No. (MNC) thereof; And set up the second data structure table according to national matching code and basic custom service; And according to national matching code and peculiar custom service set up the 3rd data structure table, the 4th data structure table ... N customizes structural table, wherein, and N≤3;
Described customized parameter acquiring unit, for need to obtain customized parameter time, from described data structure table set up the first data structure table of setting up unit and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table obtain customized parameter.
5. system according to claim 4, it is characterized in that, when the custom service that described data structure table is set up unit to be had according to national matching code and most of area is set up the second data structure table, each row of described the second data structure table Chinese Home matching code puts in order consistent with described the first data structure table.
6. system according to claim 4, it is characterized in that, described customized parameter acquiring unit from data structure table set up the first data structure table of setting up unit and the second data structure table and/or the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table obtain customized parameter and be:
During configuration operational parameters of mobile terminal, according to MCC/MNC, inquire about the first data structure table, obtain mobile terminal location, i.e. national matching code;
According to described national matching code, inquire about the second data structure table, obtain customized parameter information corresponding to national matching code described in the second data structure table;
According to described national matching code inquiry the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table, obtain the 3rd data structure table and/or the 4th data structure table ..., and/or N data structure table described in customized parameter information corresponding to national matching code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010578926.0A CN102063467B (en) | 2010-12-08 | 2010-12-08 | Method and system for acquiring customizable parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010578926.0A CN102063467B (en) | 2010-12-08 | 2010-12-08 | Method and system for acquiring customizable parameters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102063467A CN102063467A (en) | 2011-05-18 |
CN102063467B true CN102063467B (en) | 2014-08-20 |
Family
ID=43998743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010578926.0A Active CN102063467B (en) | 2010-12-08 | 2010-12-08 | Method and system for acquiring customizable parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102063467B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104615463B (en) * | 2015-01-26 | 2018-07-06 | 青岛海信电器股份有限公司 | A kind of system property setting method and terminal |
CN106528140B (en) * | 2016-10-28 | 2019-06-21 | 青岛海信移动通信技术股份有限公司 | Specification adaptation method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1335023A (en) * | 1998-11-25 | 2002-02-06 | 艾利森电话股份有限公司 | Method and system for automatic configuration of fixed cellular terminals |
CN101040551A (en) * | 2004-10-13 | 2007-09-19 | 摩托罗拉公司 | Using an enhanced preferred roaming list in a terminal device |
CN101247608A (en) * | 2008-03-10 | 2008-08-20 | 深圳华为通信技术有限公司 | Method and device for adaptively adjusting camera parameters of terminal equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8412189B2 (en) * | 2009-01-22 | 2013-04-02 | Research In Motion Limited | Method for wireless system selection optimization |
CN101826097B (en) * | 2010-01-22 | 2012-03-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for saving memory space of address book database |
-
2010
- 2010-12-08 CN CN201010578926.0A patent/CN102063467B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1335023A (en) * | 1998-11-25 | 2002-02-06 | 艾利森电话股份有限公司 | Method and system for automatic configuration of fixed cellular terminals |
CN101040551A (en) * | 2004-10-13 | 2007-09-19 | 摩托罗拉公司 | Using an enhanced preferred roaming list in a terminal device |
CN101247608A (en) * | 2008-03-10 | 2008-08-20 | 深圳华为通信技术有限公司 | Method and device for adaptively adjusting camera parameters of terminal equipment |
Non-Patent Citations (2)
Title |
---|
余洪.多关键字数据结构及其在参数匹配中的应用.《计算机系统应用》.2010,第19卷(第1期),190-193. |
多关键字数据结构及其在参数匹配中的应用;余洪;《计算机系统应用》;20100329;第19卷(第1期);190-193 * |
Also Published As
Publication number | Publication date |
---|---|
CN102063467A (en) | 2011-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104869615B (en) | Network access method and mobile communication terminal | |
CN110177392B (en) | Cell selection method and device | |
CN102724657B (en) | The mobile terminal parameter automatic configuration method of android system and system | |
CN104837180B (en) | A kind of the roaming method for searching network and device of smart phone | |
CN101657005A (en) | Method for accessing terminal to network and terminal | |
CN102300193A (en) | International mobile subscriber identifier (IMSI) automatic switching method and device | |
CN1848878B (en) | Method for realizing one card multi-number business in mobile communication system | |
TWI442756B (en) | Mobile phone and method for selecting a sim card | |
CN102104675A (en) | Emergency service number setting system and method | |
CN103152717A (en) | Method and terminal for terminal frequency band adaptation | |
CN108282845A (en) | A kind of method for network access and mobile communication terminal | |
CN104980998B (en) | A kind of method for network access and mobile terminal | |
CN104320833A (en) | Automatic network selecting method and system of mobile terminal | |
CN102149068B (en) | Roaming access method and terminal | |
US9553965B2 (en) | Method and device for number display based on mobile terminal, and mobile terminal | |
CN104853411A (en) | Network access method and mobile communication terminal | |
CN102984788A (en) | Radio access technology RAT module network selection method | |
CN103581889A (en) | Method and system for automatically updating network configuration parameters | |
CN102075915A (en) | Mobile terminal and parameter setting method thereof | |
CN102063467B (en) | Method and system for acquiring customizable parameters | |
CN101765089B (en) | Mobile subscriber roaming method and device, mobile terminal and subscriber card | |
CN103313204B (en) | The method and device of Cell Broadcast CB is received based on mobile terminal | |
CN102014457A (en) | Mobile communication system, and automatic network-selecting method for mobile terminal | |
CN103929734B (en) | Beidou mobile terminal equipment and its addressing method | |
CN101222770B (en) | Method for generating mobile phone international mobile subscriber identification code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |