CN106528140B - Specification adaptation method and device - Google Patents
Specification adaptation method and device Download PDFInfo
- Publication number
- CN106528140B CN106528140B CN201610964404.1A CN201610964404A CN106528140B CN 106528140 B CN106528140 B CN 106528140B CN 201610964404 A CN201610964404 A CN 201610964404A CN 106528140 B CN106528140 B CN 106528140B
- Authority
- CN
- China
- Prior art keywords
- target labels
- labels
- mobile terminal
- target
- software
- 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
- 230000006978 adaptation Effects 0.000 title claims abstract description 118
- 238000000034 method Methods 0.000 title claims abstract description 79
- 238000003860 storage Methods 0.000 claims description 19
- 238000001514 detection method Methods 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 10
- 238000012790 confirmation Methods 0.000 claims description 8
- 230000003044 adaptive effect Effects 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 7
- 239000000047 product Substances 0.000 description 35
- 230000008569 process Effects 0.000 description 24
- 238000004519 manufacturing process Methods 0.000 description 22
- 230000006870 function Effects 0.000 description 21
- 238000005516 engineering process Methods 0.000 description 9
- 230000009471 action Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000006855 networking Effects 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 230000003213 activating effect Effects 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000007639 printing Methods 0.000 description 3
- 241000196324 Embryophyta Species 0.000 description 2
- 241000079947 Lanx Species 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000002994 raw material Substances 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000283070 Equus zebra Species 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- -1 inventory Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000005022 packaging material Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000009885 systemic effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000032258 transport Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/77—Software metrics
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of specification adaptation method and devices, belong to technical field of electronic equipment.The method is used for mobile terminal, which comprises obtains the corresponding target labels of goal standard of the software for mobile terminal, goal standard is suitable for target radio network;Whether target labels are had in prestored labels group in inspection software, and prestored labels group includes at least one label, the predetermined corresponding specification of value supported of either one or two of any label in software support prestored labels group;When there are target labels in prestored labels group, the latest value of target labels is determined;According to the latest value adaptation objective specification of the type of target labels and target labels.The present invention solves existing specification adaptation method smaller scope of application, the larger problem of limitation, realize with one seal version software still can automatic adaptation meet different networks various specifications automatic variable body effect, for the compatibility being widely used under various specifications, plurality of wireless networks from being adapted to, limitation is small.
Description
Technical field
The present invention relates to technical field of electronic equipment, in particular to a kind of specification adaptation method and device.
Background technique
Currently, specification (such as software, hardware and the packaging material that can use same set of code that mobile terminal be made to meet different markets
Equal-specification) demand.Meet the envelope version software in corresponding market, in production using the set code to meet the specification demands in corresponding market
When, it needs to be compiled the set code for the market, and enable the label in the market (label is used to indicate corresponding right
As, such as market, client), corresponding envelope version software is obtained, corresponding specification adaptation is completed.So, if wanting to make mobile whole
End meets the specification demands in a market N (N be greater than 1), must at least produce N number of envelope version software, and the process is more complex, cost compared with
It is high.
There is a kind of specification adaptation method in the prior art, in this method, mobile terminal is equipped with common software, this is general soft
Part is for reading the application for meeting goal standard demand.Before mobile terminal is released to market, meet goal standard demand
Application be written into specified region in the memory of mobile terminal, when mobile terminal is released to market and executes boot action
When, common software can read the application for being written into specified region automatically, and then be changed into the software for meeting goal standard demand.
The application that the above method is required to meet goal standard demand can be written into specified region, and be performed in mobile terminal
When boot action, using can be read by common software and complete to initialize, and at present many specifications require directly to modify it is logical
Mobile terminal can be just set to meet these specification demands only by modification code with the code of software, institute in the above way can not
Suitable for these specifications, therefore, current specification adaptation method smaller scope of application, limitation is larger.
Summary of the invention
In order to solve existing specification adaptation method smaller scope of application, the larger problem of limitation, the present invention provides
A kind of specification adaptation method and device.The technical solution is as follows:
In a first aspect, providing a kind of specification adaptation method, it to be used for mobile terminal, which comprises
The corresponding target labels of goal standard of the software for the mobile terminal are obtained, the goal standard is suitable for
Target radio network;
Whether in prestored labels group in the software have the target labels, the prestored labels group includes at least if detecting
A kind of label, the predetermined corresponding specification of value supported of either one or two of described any label of software support;
When there are the target labels in the prestored labels group, the latest value of the target labels is determined;
The goal standard is adapted to according to the latest value of the type of the target labels and the target labels.
Optionally, described that the target rule are adapted to according to the type of the target labels and the latest value of the target labels
Lattice, comprising:
Detect the latest value whether software supports the target labels;
When the latest value of the target labels described in the software support, prompt information is issued, the prompt information is for referring to
Show the software support goal standard corresponding with the latest value of the target labels;
It detects the mobile terminal and whether receives user and act on the feedback information generated when the mobile terminal, it is described
Feedback information is that user is raw when confirming whether the mobile terminal carries out the adaptation of the goal standard according to the prompt information
At;
When mobile terminal, which receives the feedback information confirmation, to carry out the adaptation, according to the kind of the target labels
The latest value of class and the target labels is adapted to the goal standard.
Optionally, the latest value of the determination target labels, comprising:
Whether the value for the parameter that the tag parameter that detection influences the mobile terminal of the target labels value is concentrated is sent out
Changing, the tag parameter collection include at least one parameter;
When the value of parameter that the tag parameter is concentrated changes, according in the software default corresponding relationship and
The latest value for the parameter that the tag parameter is concentrated determines the latest value of the target labels, and the default corresponding relationship is for remembering
Record the corresponding relationship of the value for the parameter that the tag parameter is concentrated and the value of the target labels.
Optionally, the method also includes:
The latest value of the target labels and the target labels is written to the default storage region of the mobile terminal.
Optionally, the label in the prestored labels group is for distinguishing the different objects that the mobile terminal is supported.
Second aspect provides a kind of specification adaptive device, is used for mobile terminal, and described device includes:
Module is obtained, it is described for obtaining the corresponding target labels of goal standard for being directed to the software of the mobile terminal
Goal standard is suitable for target radio network;
Detection module, it is described to prestore for detecting in the prestored labels group in the software whether have the target labels
Set of tags includes at least one label, and either one or two of any label is predetermined in prestored labels group described in the software support supports
The corresponding specification of value;
Determining module determines the target labels most when for having the target labels in the prestored labels group
New value;
Adaptation module, for being adapted to the target according to the type of the target labels and the latest value of the target labels
Specification.
Optionally, the adaptation module, is used for:
Detect the latest value whether software supports the target labels;
When the latest value of the target labels described in the software support, prompt information is issued, the prompt information is for referring to
Show the software support goal standard corresponding with the latest value of the target labels;
It detects the mobile terminal and whether receives user and act on the feedback information generated when the mobile terminal, it is described
Feedback information is that user is raw when confirming whether the mobile terminal carries out the adaptation of the goal standard according to the prompt information
At;
When mobile terminal, which receives the feedback information confirmation, to carry out the adaptation, according to the kind of the target labels
The latest value of class and the target labels is adapted to the goal standard.
Optionally, the determining module, is used for:
Whether the value for the parameter that the tag parameter that detection influences the mobile terminal of the target labels value is concentrated is sent out
Changing, the tag parameter collection include at least one parameter;
When the value of parameter that the tag parameter is concentrated changes, according in the software default corresponding relationship and
The latest value for the parameter that the tag parameter is concentrated determines the latest value of the target labels, and the default corresponding relationship is for remembering
Record the corresponding relationship of the value for the parameter that the tag parameter is concentrated and the value of the target labels.
Optionally, described device further include:
Writing module, for the pre- of the mobile terminal to be written in the latest value of the target labels and the target labels
If storage region.
Optionally, the label in the prestored labels group is for distinguishing the different objects that the mobile terminal is supported.
The present invention provides a kind of specification adaptation method and devices, prestore mark since mobile terminal is able to detect in software
When whether there are target labels in label group, and there are target labels in prestored labels group, the latest value of target labels is determined, and according to
The type of target labels and the latest value adaptation objective specification of target labels, the default set of tags include at least one label, phase
Compared with the prior art, the application without being required to meet specification demands can be written into specified region, without requiring using can
Read and initialized by common software, reached with one seal version software can automatic adaptation meet the various rule of different networks
The effect of the automatic variable body of lattice, is widely used in various specifications, and limitation is small.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of specification adaptation method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another specification adaptation method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the latest value of determining target labels provided in an embodiment of the present invention;
Fig. 4-1 is a kind of flow chart of adaptation objective specification provided in an embodiment of the present invention;
Fig. 4-2 is a kind of schematic diagram of specification adaptation provided in an embodiment of the present invention;
Fig. 4-3 is a kind of frame diagram of specification adaptation provided in an embodiment of the present invention;
Fig. 4-4 is a kind of signal that complete machine code is written into mobile phone using process tool provided in an embodiment of the present invention
Figure;
Fig. 5-1 is a kind of structural schematic diagram of specification adaptive device provided in an embodiment of the present invention;
Fig. 5-2 is the structural schematic diagram of another specification adaptive device provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Exemplary, the mobile terminal in the embodiment of the present invention can be mobile phone.For the mobile phone of any a type,
To reduce its overall cost, expand its market clout, it will usually be synchronized to be sold to different markets, extend to different clients.When
When different market/clients have purchasing demand to the mobile phone with a type, generally requires this type mobile phone and meet different markets
The specification demands of customization, the corresponding wireless network of each specification.It is fixed in order to make the mobile phone of this type meet different markets
The prototype project of the specification demands of system, mobile phone can derive multiple projects, as shown in table 1.What the prototype project derived
Four projects are LAMP, LBMP, LANX and LBNY respectively.As shown in Table 1, different market/operator/customization specification
Be it is discrepant, such as in project LAMP, mobile phone is sold to national M by client ANX, and mobile phone meets the networking requirement of operator P;
In project LBMP, mobile phone is sold to national M by client BCL, and the networking that mobile phone meets the open market that operator P is covered is wanted
It asks;In project LANX, mobile phone is sold to national N by client ANX, and mobile phone meets the networking requirement of operator X;In project LBNY
In, mobile phone is sold to national N by client BCL, and mobile phone meets the networking requirement of operator Y.
Table 1
Application, global positioning system (English: Global Positioning are supported in preset application, Information Mobile Service in table 1
System;Referred to as: GPS) setting, emergency numbers and access point (English: Access Point Name;Saying referred to as: APN) etc.
It is bright to refer to the prior art.Difference in table 1 between four project corresponding specifications is smaller.In the prior art, disparity items by
Independent project team develops, shared there may be Local resource between project team or manpower is shared.Between project corresponding specification
Difference can be controlled by specified label.For example area can be carried out to operator by the corresponding label of operator
Point.If mobile phone needs to meet the specification demands in N (N is greater than 1) a market, N number of envelope version software must be at least produced.
Compared to the above process, specification adaptation method provided in an embodiment of the present invention is without making multiple envelope version softwares, only
The specification demands in N number of market can be met by sealing version software with one, realize with an envelope version software can automatic adaptation satisfaction not
With the effect of the various specifications of wireless network, the fast adaptation of specification is realized.
The prior art is in order to solve the problems, such as to make multiple envelope version softwares, before mobile phone is released to market, can incite somebody to action
Specified region in corresponding application write-in memory.It, can be using installation in advance when executing boot action after mobile phone is published
Common software read the application in specified region, later, common software is changed into the software for meeting dimension demand.The skill
Art realizes a software and meets market segment/operator/customization specification demands, by realizing using writing mode
The function of specification adaptation.But the application that the technical requirements meet specification demands can be written into specified region, and hold in mobile phone
When row boot action, using can be read by common software and complete to initialize.However specification, physics such as mobile phone whole style
The bottom specification of non-application feature etc. exclusive for the wireless messages specification of different Market Designs, certain market/clients, all
It needs to realize by modification code.And such problems is then not present in specification adaptation method provided in an embodiment of the present invention.This
What the specification adaptation method that inventive embodiments provide was directed to is not part specification, and this method can complete the adaptation of various specifications,
Various specifications are widely used in, limitation is small.
In addition, in the prior art, " system setting " item in mobile phone based on android system has the function of " time zone switching "
" multilingual switching " function.Wherein, " time zone switching " function enables mobile phone to be completed according to the time zone that user currently selects
The adaptation of " time zone/time " correlation specification, such as stand-by time, screen locking time, default zebra time related specification.It is " multilingual
The language that switching " function enables mobile phone currently to be set according to user completes the adaptation of language correlation specification, as interface languages,
The related specifications such as default input syntax language." time zone switching " function and " multilingual switching " function are all based on Android system progress
, which can flexibly complete specification adaptation under the operation of user, and user changes setting at any time, user experience compared with
It is good;The technology may be implemented an envelope version software and complete the adaptation of the dimension of nearly all countries/regions in the world, and be
Pure software realizes adaptation procedure, and the consumption of system is smaller, and the links such as producing and selling are without additionally being put into.However market/fortune
Remaining specification of quotient/customization is sought, can not be realized by " time zone switching " function and " multilingual switching " function, such as
Switching on and shutting down animation etc..And the adaptation to remaining specification may be implemented in the embodiment of the present invention, the scope of application is wider, and limitation is small.
In addition, existing can be changed embedded client identification module (English: Embedded with " electronic ID card " function
Subscriber Identity Module;Referred to as: eSIM) technology no longer needs to mobile phone using SIM card, and mobile phone is in different fortune
Without in roaming state when being used between battalion's quotient's network.Variable eSIM technology can make mobile phone be suitable for different operators net
Network makes the software and hardware of mobile phone realize that automatic seamless switches between different operators network, and mobile phone is always all in workable
State.In addition, current many mobile phone producers are all studying and are supporting that " hardware is constant, makes radio-frequency configuration parameter by software configuration
Variable radio frequency parameter as a variety of carrier networks of compatibility " technology (hereinafter referred " variable radio frequency parameter " technology).Although can
Change eSIM technology may be implemented same software and meet multiple markets/operator/customization wireless network specification demands,
" variable radio frequency parameter " technology may be implemented same hardware and meet multiple markets/operator/customization radio frequency environment rule
Lattice demand, but the two technologies are unable to satisfy remaining specification demands, such as switching on and shutting down animation etc..
The embodiment of the invention provides a kind of specification adaptation methods, are used for mobile terminal, as shown in Figure 1, this method comprises:
Step 101 obtains the corresponding target labels of goal standard for being directed to the software of mobile terminal, which is applicable in
In target radio network.
Whether there are target labels in prestored labels group in step 102, inspection software, which includes at least one
Label is planted, the predetermined corresponding specification of value supported of either one or two of any label in the software support prestored labels group.
Step 103, when having target labels in prestored labels group, determine the latest value of target labels.
Step 104, according to the type of target labels and the latest value adaptation objective specification of target labels.
In conclusion specification adaptation method provided in an embodiment of the present invention, since mobile terminal is able to detect in software
When whether there are target labels in prestored labels group, and there are target labels in prestored labels group, the latest value of target labels is determined,
And according to the latest value adaptation objective specification of the type of target labels and target labels, which includes at least one mark
Label, compared to the prior art, the application without being required to meet specification demands can be written into specified region, without requiring to apply
Can be read and be initialized by common software, reached with an envelope version software still can automatic adaptation meet different networks
The effect of the automatic variable body of various specifications, is widely used in various specifications, and limitation is small.
The embodiment of the invention provides another specification adaptation methods, mobile terminal are used for, as shown in Fig. 2, this method can
To include:
Step 201 obtains the corresponding target labels of goal standard for being directed to the software of mobile terminal.
The goal standard is suitable for target radio network.Software can be " Global Link " software.
Assuming that mobile terminal is mobile phone, when the card slot of mobile phone is inserted with the card of operator a of national A, mobile phone can opened
Determine that the goal standard is a whole set of specification for supporting the operator a of country A by software when machine.Exemplary, which can
With include switching on and shutting down animation, it is switching on and shutting down sound, default wallpaper, default ring tone, browser default homepage, status bar, desktop layouts, pre-
Set application (such as facebook, push away the application of special and carrier customization etc.), GPS setting, Information Mobile Service support application, emergency numbers and
The contents such as APN.
For another example, when the card slot of mobile phone is inserted with the card of operator b of national B, mobile phone can be true by software in booting
The fixed goal standard is a whole set of specification for supporting the operator b of country B.
Mobile terminal can obtain target according to the specification label corresponding relationship in software after goal standard has been determined
The corresponding target labels of specification.The specification label corresponding relationship is used to record the corresponding relationship of specification and label.
Whether there are target labels in prestored labels group in step 202, inspection software.
The prestored labels group includes at least one label, either one or two of any label in the software support prestored labels group
The predetermined corresponding specification of value supported.Label is for distinguishing the different objects that mobile terminal is supported, such as market, operator or visitor
Family etc..Label can use radio network information that mobile terminal is supported, customer information, the technological parameter of mobile terminal or its
His relevant information indicates.Exemplary, which may include six kinds of labels of F1, F2, F3, F4, F5 and F6.
Wherein, F1 is used to indicate label with national title abbreviation and operator name abbreviation etc. to indicate.
F2 is used to indicate in label mobile phone card slot the Mobile Country Code MCC (English: Mobile in card in fact or eSIM
Country Code;It is referred to as: MCC) (English: Mobile Network Code with Mobile Network Code;Referred to as: MNC) (i.e. real card
Parameter) it indicates.Exemplary, the software of mobile phone supports two countries (i.e. country A and country B) simultaneously, and Liang Ge operator (transports
The specification for seeking quotient a and operator b) customization only does a software envelope version, later, as the MCC and MNC blocked in fact in the card slot of mobile phone
Connection string be country A operator a card corresponding character string when, when mobile phone power-on can pass through software complete it is national
The adaptation of the specification of the operator a customization of A;When the connection string of the MCC and MNC of the card in the card slot of mobile phone are country B's
When the corresponding character string of the card of operator b, when mobile phone power-on, can pass through software and complete the specification that the operator b of country B is customized
Adaptation.When user replaces the card in card slot, mobile phone can complete specification adaptation procedure by software, realize the automatic of software
Variable body.The prior art can be referred to about MCC and MNC, details are not described herein for the embodiment of the present invention.
MCC and MNC that F3 is searched when being used to indicate label mobile phone power-on in the real network parameters that net obtains is indicated.It is optional
, when mobile phone, which searches net, obtains MCC and MNC in real network parameters, mobile phone can prompt the user whether to need to restart, in order to hand
Function automatically switches to specification corresponding to current MCC and MNC by software.If the user determine that need restart, mobile phone then from
It is dynamic to restart professional etiquette lattice adaptation of going forward side by side to meet specification demands corresponding to current MCC and MNC.The specification adaptation procedure can refer to
The memory in mobile phone is switched to flash memory cards (English: Trans-flash Card in the prior art;Referred to as: TF) or
The process of local memory, details are not described herein.Exemplary, when the user of national A goes national B to travel, mobile phone is from national A's
Real net environment is transferred to the real net environment of national B, mobile phone when detecting that MCC in real network parameters and MNC change for the first time,
Prompt information can be issued the user with, in order to which user can be changed without mobile phone card or use eSIM skill according to the prompt information
In the case where art, control mobile phone completes the adaptation of the corresponding specification of real net environment of country B.
F4 is used to indicate the technological parameter of label mobile terminal to indicate, such as complete machine code, microsoft network service (English
Text: Microsoft service Network;Referred to as: MSN) etc..It should be noted that since complete machine code is according to country
What title was abridged, so complete machine code can be written in the final step of plant produced link.When one software of needs is full
When the multiple specification demands of foot, mobile phone hardware itself can be first produced, then corresponding complete machine code is written in mobile phone, Jin Ershi
An existing software is adapted to the specification in corresponding market according to the complete machine code in write-in mobile phone.
F5 is used to indicate label with multiple numbers to indicate, multiple number can be according to country /region, operator, visitor
The information such as family obtain.Cut-off 2015, shares 195 countries and 34 areas in the world, amounts to 229 regions, this 229 areas
Domain can be indicated using three bit digitals.Further, 100 different operators can also be indicated using two digits, and
The different clients of the same operator in areal are indicated using two digits.So " three national codes+two can be used
Seven bit digitals of position operator+two customer numbers of code " distinguish different markets, operator and client.It is exemplary, this seven bit digital
First five position can (such as 268 be used to indicate national B, and 06 is used to indicate the operator b) of national B to indicate using MCC and MNC.
The customer number that client kh1 is indicated according to " 00 " indicates the customer number of client kh2 using " 03 ", then " 2680600 " indicate hand
Machine is sold to the operator b of national B, and the mobile phone meets the specification of client kh1 customization." 2680603 " indicate mobile phone by pin
It sells to the operator b of national B, and the mobile phone meets the specification of client kh2 customization.
F6 is used to indicate label and is indicated on machine menu about the menu item in " market/operator ".It is exemplary, Ke Yi
Increase " market/operator's selection " function in " system setting " item in mobile phone, in order to which mobile phone can be according to the demand of user
The market that mobile phone is currently applicable in is switched to the market that user likes, or the operator that mobile phone is currently applicable in is switched to user
The operator liked.In addition, mobile phone can also currently be fitted mobile phone using " handover network " function in " network settings " item
Network switching is to the network searching net obtains and user and liking, and switches to and search the operation that net obtains and user likes
Quotient.When mobile phone by currently applicable network switching to when searching network that net obtains and user likes, software becomes meeting the net
The software of the specification demands of network customization, the automatic variable body of software realization.
Assuming that target labels are F1, prestored labels group includes six kinds of labels of F1, F2, F3, F4, F5 and F6, then mobile phone can
There is target labels F1 in prestored labels group to determine.Assuming that target labels are F7, then mobile phone can determine in prestored labels group
There is no target labels F7.
Step 203, when having target labels in prestored labels group, determine the latest value of target labels.
The latest value of target labels is parameter value corresponding with target radio network/target customer.Specifically, determining target
The latest value of label, as shown in figure 3, may include:
Whether the value for the parameter that the tag parameter that step 2031, detection influence the mobile terminal of target labels value is concentrated is sent out
Changing.
The tag parameter collection includes at least one parameter.Exemplary, target labels F3, when mobile phone power-on, searches what net obtained
Connection string, that is, F3 value of MCC and MNC in real network parameters are XX, and the tag parameter collection for influencing the mobile phone of XX includes ginseng
Number C1 and parameter C2, thus mobile phone can the value of elder generation detection parameters C1 and parameter C2 whether change.
It should be noted that the value for the parameter concentrated in the tag parameter that detection influences the mobile terminal of target labels value
When, need the value of each single item parameter concentrated to tag parameter to detect, i.e. the one by onechecking tag parameter parameter concentrated
Whether value changes.
Step 2032, when the value of parameter that tag parameter is concentrated changes, according to the default corresponding relationship in software
The latest value for the parameter concentrated with tag parameter determines the latest value of target labels.
The value for the parameter that the default corresponding relationship is used to record tag parameter concentration is corresponding with the value of target labels to close
System.It is exemplary, by taking parameter C1 and parameter C2 in step 2031 as an example, when the value of at least one parameter in parameter C1 and parameter C2
When changing, mobile phone determines target labels according to the value of the parameter of default corresponding relationship and tag parameter concentration in software
Latest value.The default corresponding relationship can be as shown in table 2.Assuming that parameter C1 original value is 4, parameter C2 original value is 2, such as
The value of fruit parameter C1 is changed, and has become 1, the value of parameter C2 is still 2, then can obtain according to table 2 there is no variation
It arrives, the latest value of target labels is XX.If the value of parameter C1 is changed, become 1, the value of parameter C2 is also become
Change, become 3, then available according to table 2, the latest value of target labels is YY.
Table 2
Step 204, the default storage region that the latest value of target labels and target labels is written to mobile terminal.
Mobile terminal, can be by the latest value of target labels and target labels after the latest value of target labels has been determined
The default storage region that mobile terminal is written can quickly read target labels and target labels in order to which mobile terminal is subsequent
Latest value.
It is exemplary, mobile terminal can by the latest value of target labels and target labels be written mobile terminal it is non-volatile with
Machine accesses memory (English: Non Volatile Random Access Memory;Non-volatile variable in referred to as: NVRAM)
(English: Non-Volatile;In referred to as: NV).
It should be noted that the latest value of target labels and target labels is written in NV, when mobile terminal switching on and shutting down, mesh
The latest value for marking label is not easy to lose.It is exemplary, the latest value of target labels and target labels can be write using process tool
Enter in NV.
Step 205, according to the type of target labels and the latest value adaptation objective specification of target labels.
Mobile terminal, can be according to the type and target labels of target labels after the latest value of target labels has been determined
Latest value adaptation objective specification, be the software for meeting goal standard by software change.Specifically, as shown in Fig. 4-1, step
205 may include:
Whether step 2051, inspection software support the latest value of target labels.
For mobile terminal in adaptation objective specification, whether first inspection software supports the latest value of target labels.If software
The latest value for supporting target labels, shows that mobile terminal can be with adaptation objective specification.If software does not support target labels most
New value, show mobile terminal can not adaptation objective specification, mobile phone can keep current specifications or preassigned default specification.
Step 2052, when the latest value of software support target labels, issue prompt information.
The prompt information is used to indicate software support goal standard corresponding with the latest value of target labels.Work as software support
When the latest value of target labels, i.e. mobile terminal can be with adaptation objective specifications, mobile terminal can issue prompt information, for making
User is confirmed whether that mobile terminal is needed to be adapted to the goal standard.
Whether step 2053, detection mobile terminal receive user and act on the feedback information generated when mobile terminal.
The feedback information is generation when user confirms whether mobile terminal carries out the adaptation of goal standard according to prompt information
's.If the user determine that needing to be adapted to goal standard, user confirms the adaptation for carrying out goal standard according to prompt information,
It generates one and confirms the feedback information to be adapted to, after mobile terminal receives the feedback information, target rule can be completed
The adaptation of lattice.If user confirms the adaptation without goal standard according to prompt information, a confirmation is generated without adaptation
Feedback information, after mobile terminal receives the feedback information, do not continue to execute subsequent goal standard adaptation procedure.
Step 2054, when mobile terminal receive feedback information confirmation to be adapted to when, according to the type of target labels
With the latest value adaptation objective specification of target labels.
When mobile terminal receives the feedback information generated when user acts on mobile terminal, and confirmation will be adapted to,
Mobile terminal passes through software according to the type of target labels and the latest value adaptation objective specification of target labels again.
In addition, if project demands middle finger is shown with: when changing such as fruit card parameter or real network parameters, being adapted to mesh immediately
Mark specification.In this case, mobile terminal is not necessarily to issue prompt information to user.
Fig. 4-2 shows a kind of schematic diagram of specification adaptation, takes the mobile phone as an example, referring to fig. 4-2,1, this method first determine mesh
Mark latest value (the i.e. step 421) of label.On the one hand, if after " Global Link " software seals version, before user's acquisition mobile phone
Adaptation objective network, need to be converted to the information such as the latest value of target labels and target labels standardization process flow,
Electron stream, rule declaration document (instructing document) or tool of standardization etc..It is exemplary, when target labels use complete machine generation
Code first can determine the related process to be executed in the factory according to the establishment rules of complete machine code come when indicating, and make work
The technique is familiar with as personnel;Before shipment, production plan portion, process part correlation supervisor is needed to be proposed in advance according to sales manager
Shipment projected demand determines needs to mobile phone and which complete machine code is written, and gives determining result notice to related work in advance
Factory staff.In this way, plant personnel can with " Global Link " software production shipment give a certain target market mobile phone when,
Can be in time according to the process flow for instructing document and make in advance of specification, it will be correct with the technique write-in tool of specification
This batch of mobile phone is written in complete machine code, produces and meets the mobile phone of the goal standard of target market demand to deliver.Likewise, working as goods
When object be arrived in the business people or after-sales staff hand of target market, if they want to transfer to part mobile phone cargo this " entirely
Ball is logical " another target market of software support, they can also instruct document acquisition to should be new target city according to specification
The new correct complete machine code of field write-in mobile phone, and be written with the write-in tool of specification;On the other hand, if user has obtained hand
Whether the value of machine, the parameter that the tag parameter that mobile phone detection influences the mobile terminal of target labels value is concentrated changes, and
The latest value for determining target labels, according to the latest value adaptation objective specification of the type of target labels and target labels.Due to mesh
Mark label and the latest value of target labels have been written into the default storage region of mobile phone, so software is by after envelope version, mobile phone is being held
Row goal standard is not easy to make mistakes when being adapted to.2, target labels are updated and activate, the first situation, when mobile phone not yet sells to user
When, can using process tool (such as technique number of writing tool) by the NV of the values of target labels write-in mobile phone (i.e. step 422), and
The value for activating the target labels in NV, completes the adaptation of goal standard.The process can be customized by the factory's number of writing instrument, delivery
Member, target market business people, target market storekeeper personnel or target market after-sales staff etc. execute.Second situation, when
Mobile phone in user hand, can using other modes will target labels value write-in mobile phone NV in.Then may determine that is
It is no that (i.e. step 423) is written using process tool.As described in step 2031, although real card parameter, real network parameters and user's setting
Deng variation can all influence the values of target labels, but user is not intended to mobile phone sometimes and changes current specifications, it is possible to
Prompt information is issued, inquiring whether the user needs to progress specification adaptation, (i.e. whether step 424), detection user need to carry out specification
(i.e. step 425) if user needs to carry out specification adaptation, then judges whether to need to activate target labels in NV most to adaptation
New value (i.e. step 426).When needing to activate, mobile phone executes activation operation (i.e. step 427), and in boots or reruning
When completes the adaptation of goal standard, and (i.e. step 428), when not needing activation, mobile phone is complete in boots or rerun when
At the adaptation of goal standard.Exemplary, needing the case where activating includes: that label is indicated with real card parameter or real network parameters;No
Needing the case where activating includes: that label is indicated with national title abbreviation and operator name abbreviation etc., label mobile terminal
Technological parameter indicate, label indicated with multiple numbers and label menu on about " market/operator's selection "
Menu item indicates.Mobile terminal according to the mode of the type of target labels and the latest value adaptation objective specification of target labels very
It is more, can in such a way that mobile phone is restarted adaptation objective specification, can be using switch sentence invocation target label when restarting
The corresponding target resource of latest value, realizes the adaptation of goal standard.Alternatively, being adapted to default specification according to default value.So far, specification
Adaptation terminates.
Fig. 4-3 shows a kind of frame diagram of specification adaptation, by taking mobile terminal is mobile phone as an example, the prototype project of mobile phone
Multiple projects can be derived, exemplary, product required for project, it may be possible to the prototype product being newly opened, it is also possible to hard
The ready-made type product of part but need software that can use new platform/new baseline.The ready-made type of the prototype product and hardware being newly opened produces
Product belong to the product (baseline code product where the product is denoted as type L) developed for the first time on the basis of prototype, do not have
There is label that can refer to.Product required for project, it is also possible to including ready-made prototype, but not have " compatibility " function
The product (is denoted as prototype L source code product) by product, so also can refer to without label.Product required for project may also
" Global Link " software was made according to some label before, has newest " Global Link " software, supports a variety of labels (by the production
Product are denoted as newest " Global Link " software product of type L).Referring to 4-3, which is first determined according to three of the above product
Basic type (i.e. step 431).Representation (the i.e. step 432), such as client, market, operator, reality of target labels is determined again
Block MCC MNC and real net MCC MNC etc..Then, by (i.e. step in the goal standard write-in software of target labels control
433).Later, envelope version (i.e. step 434) is carried out to the software for the type for supporting target labels.Then, by the newest " complete of type L
Ball is logical " software upgrading be support target labels software (i.e. step 435).Detect whether to receive the new production task of type L
(i.e. step 436) produces this batch using newest " Global Link " software of type L when receiving the new production task of type L
Mobile phone (i.e. step 437);When being not received by the new production task of type L, continue " compatibility " function of enhancing type L,
Research and develop software (the i.e. step 438) that next target labels are supported.This batch is produced using newest " Global Link " software of type L
After mobile phone, according to step 2031, the value for the parameter that the tag parameter that detection influences the mobile terminal of target labels value is concentrated is
No (the i.e. step 439) that changes.It is exemplary, it can detecte real card parameter, real network parameters, current institute set by user in mobile phone
Whether change in ground/operator etc..When a change, according to step 2032, the latest value of target labels is determined (i.e.
Step 440) then updates and activates target labels (i.e. step 441), finally, according to step 205, according to the kind of target labels
Latest value adaptation objective specification (the i.e. step 442) of class and target labels.In newest target market, when user uses type L,
Whether the value that can detecte the parameter of tag parameter concentration for influencing the mobile terminal of target labels value changes, and works as generation
When variation, the latest value of target labels is determined;When there is no variation, then current state is kept.
In addition, mobile terminal adaptation objective specification may include two kinds of situations according to the representation of label, one is
After " Global Link " software envelope version, before user obtains the mobile terminal, mobile terminal adaptation objective specification;One is in user
After obtaining the mobile terminal, mobile terminal adaptation objective specification.No matter what kind of situation it is, when mobile terminal execution boot action,
The latest value that the target labels and target labels in default storage region can first be read, further according to the type and target of target labels
The latest value of label loads corresponding target resource, and the initialization of all applications of mobile terminal is completed according to the target resource.
It should be added that mobile terminal is in the default storage that the latest value of target labels and target labels is written to mobile terminal
When region, the latest value of presently written target labels can be compared with the value of the target labels of last time write-in, if
The latest value of presently written target labels is identical as the value of target labels of last time write-in, it is determined that does not need to be written;If
The latest value of presently written target labels is not identical as the value of the target labels of last time write-in, it is determined that needs to be written.If
It needs to be written, mobile terminal reinitializes the default storage region of the latest value write-in mobile terminal of target labels and the mesh
The relevant application of latest value of label is marked, then whether test initialization process runs succeeded, if running succeeded, saves the mesh
The latest value for marking label, then restarts application relevant to the latest value of the target labels, later, restarts and the target labels not phase
The application of pass;If not needing to be written, mobile terminal directly restarts application relevant to the latest value of the target labels.Later,
Restart and the incoherent application of the latest value of target labels.
Now it is illustrated by taking the complete machine code of mobile phone as an example.Table 3 shows and is sold to place 1 respectively, place 2 and place 3
Same prototype different derived products difference condition.
Table 3
According to difference shown in table 3, " compatibility " function is realized in same set of code, meanwhile, default in mobile phone is deposited
Storage area domain stores the value of complete machine code: Df1, Df2 and Df3 with variable respectively, and is carried out initially according to complete machine code to each application
Change.Later, the envelope version of software is completed.
Product code including the complete machine code uses " X1X2X3X4X5X6X7X8X9X10X11X12X13X14X15X16X17X18X1 9X20X21X22X23" indicate.Wherein, X1Indicate state recognition code, X2Indicate product category code, X3Indicate product subclass, X4X5
Indicate product function code, X6X7Indicate product sequence code, X8Indicate supplementary functions code, X9X10Indicate region recognition code,
X11Indicate structure type code, X12X13Indicate product colour code, X14Indicate reserved code, X15X16X17Indicate date of manufacture information
Code, X18X19Indicate production place of production wire body code, X20X21X22X23Indicate production sequence number."X1X2X3X4X5X6X7X8X9X10X11X12X1 3X14" indicate product basic code (i.e. complete machine code), " X15X16X17X18X19X20X21X22X23" indicate production code.It needs to illustrate
, region recognition code X9X10It is made of two capitalization English letters, for distinguishing product sales area.It can be according to " logical
Letter product information coding rule " and " countries in the world and area name code " determine the value range of region recognition code.It is practical
In, default storage region only can be written into product basic code.
It should be noted that complete machine code is to need pre- first to file.Specifically, after product prototype machine has been determined,
Product manager proposes demand according to techniques such as function, the colors of product in related platform, and fills in the corresponding Shen of complete machine code
Please table, then this application table is notified to software maintenance engineering teacher of process part.Software maintenance engineering teacher is according to coding rule and Shen
Please table determine 14 product basic codes, and determining product basic code is notified to the code printing in manufacturing portion
Member.In process of production, code printing person is according to the product basic code and date of manufacture information code of acquisition, the production place of production
Wire body code and production sequence number come out required printing bar code.The specific application process of complete machine code can refer to existing skill
Art, details are not described herein.
The software of above-mentioned mobile phone with " compatibility " function is placed into factory's version repository after completing envelope version, for spare.
When needing the mobile phone being sold to a certain market, factory is based on software and produces the mobile phone.Then using complete machine code as label
It is written in mobile phone.After mobile phone executes boots movement, the adaptation of goal standard will be completed.Wherein, using process tool toward hand
When complete machine code being written in machine, which can be written default storage region by mobile phone, used and become in default storage region
Amount saves complete machine code.When executing boot action every time, mobile phone can read the complete machine code saved in the variable, and judging should
Whether complete machine code is supported by the software of the mobile phone.If supporting, mobile phone is to the relevant application of the latest value of the target labels
It is initialized.After initialization, mobile phone enters standby mode.
Referring to fig. 4-4, the process that complete machine code is written into mobile phone using process tool may include steps of: step
451, code platform is first one complete machine code of corresponding marketing sharing;Step 452, software add the complete machine generation in software code
The specification in the market that code is controlled, and seal " Global Link " software for multiple specifications that version has been supported;It is step 453, " complete using this
Ball is logical " a collection of mobile phone of software production, the complete machine code to be written such as this batch of mobile phone;Step 454, the identity code for reading mobile phone,
The work order information that step 455, inquiry management system are formulated;Step 456, judge 14 in the work order information complete machine code whether
Identical as allocated 14 complete machine codes, execute step 457 if they are the same: mobile phone allocated 14 complete machine codes is written pre-
If storage region, if not identical execution step 458: mobile phone alert.It is corresponding marketing sharing one in code platform
After complete machine code, execute step 459: 14 complete machine codes of distribution are also assigned to the position 1-14 of MSN: X by management system1X2X3X4X5X6X7X8X9X10X11X12X13X14, and executing step 460: distribution corresponds to the MSN range of complete machine code, and process tool is again
Judge whether to need using target MSN (i.e. step 461), if desired using target MSN, execution step 454: mobile phone reading mobile phone
Identity code, if not needing using target MSN, execute step 462: default memory blocks are written in 14 complete machine codes by mobile phone
Domain.
Complete machine code can be written toward the default storage region in all mobile phones using process tool, it can be according to mobile phone
Type presets storage region this is specifically arranged.For example, default storage region can be set for high-pass platform mobile phone
Whole section of (English: diag) subregion;For MTK (i.e. Lian Fake) platform mobile phone, default storage region be can be set in NVRAM
In.
Specification adaptation method provided in an embodiment of the present invention can select suitable opportunity complete according to the representation of label
At the adaptation of specification.Exemplary, when the complete machine code in the technological parameter of label mobile phone is to indicate, mobile phone can be in user
The adaptation of specification is completed when use and later for the first time.If the corresponding complete machine code in target market is written into mobile phone, just can not
It modifies to complete machine code, which can only be sold to target market.The complete machine code can not be modified in factory, also without
Method is modified in target market, can not also be modified by user, be written the complete machine code mobile phone can not be sold to it is another
Target market (even if software supports two markets simultaneously).For another example when label in real card parameter MCC and MNC indicate
When, mobile phone can complete the adaptation of specification when user uses mobile phone for the first time.When user replace mobile phone card when, mobile phone can with
The adaptation of specification is completed when family uses for the first time and later.After completing mobile phone production process, mobile phone can be sold to the software
Any market supported, and it is distributed directly to user.After user inserts cards into mobile phone, mobile phone executes boot action, mobile phone for the first time
The MCC and MNC in real card parameter can be read, and then completes the adaptation of specification.For another example when label in real network parameters MCC and
MNC is come when indicating, mobile phone can complete the adaptation of specification when user uses for the first time and later.
Specification adaptation method provided in an embodiment of the present invention has the advantages that first, and this method is directed to mobile whole
It holds software whole, belongs to systemic variable body, without limitation to the type of specification, which can be any one can be by soft
The specification of part realization " will meet the specified region in the application write-in memory of specification demands and be switched on previously described
When complete individual difference application update adaptation ", " time zone switching ", " multilingual switching ", " variable radio frequency parameter ", " can be changed
Only support section specification/applications/functions are different come the restricted manner for updating adaptation by eSIM " etc.;Second, software and memory can
Under conditions of receiving, without limitation to market/operator/client specification quantity.Specification demands will be met compared to existing
Application write-in memory in specified region technology, the specification adaptation method in the embodiment of the present invention can be supported most
The specification of amount;Third, after producing mobile terminal for multiple markets and distributing goods, without distinguishing composing software for different market
Multiple envelope version softwares are obtained, resource and manpower is greatly saved, R&D work and the follow-up maintenance course of work is simplified, accelerates
The same automatic variable body of software is to meet the process of different markets/operator/customization specification demands software, is greatly improved
The efficiency of enterprise;4th, the specification adaptation method is to place is adapted to no restrictions, using the multiple markets of same software support
When, it is easy to share the resources of production of the product, inventory, raw material between these markets, is also easy to the intermodulation product
Resources of production, inventory and raw material.So, it is advantageously implemented the volume procurement of product, also difference easy to accomplish
The intermodulation intercommunication of inventory, greatly reduces the risk of inventory between market, improves the market adaptability and flexibility of product.
Specification adaptation method provided in an embodiment of the present invention can flexible, efficient, simple and direct implementation specification adaptation procedure, it is mobile
Terminal can quickly meet the specification demands of a certain market customization using same envelope version software.It is soft the present embodiments relate to arriving
The links such as part, technique, production, test, the sale in different markets, are a big system engineerings;It can make research and development, production, pin
It is more convenient the links such as to sell, saves each link resource.As described above, the embodiment of the present invention is directed to mobile terminal software
It is whole, rather than part specification, so compatibility is stronger.
It should be noted that the sequencing of specification adaptation method step provided in an embodiment of the present invention can carry out suitably
Adjustment, step according to circumstances can also accordingly be increased and decreased, anyone skilled in the art the invention discloses
Technical scope in, the method that can readily occur in variation should be covered by the protection scope of the present invention, therefore no longer superfluous
It states.
In conclusion specification adaptation method provided in an embodiment of the present invention, since mobile terminal is able to detect in software
When whether there are target labels in prestored labels group, and there are target labels in prestored labels group, the latest value of target labels is determined,
And according to the latest value adaptation objective specification of the type of target labels and target labels, which includes at least one mark
Label, compared to the prior art, the application without being required to meet specification demands can be written into specified region, without requiring to apply
Can be read and be initialized by common software, reached with an envelope version software still can automatic adaptation meet different networks
The effect of the automatic variable body of various specifications, is widely used in various specifications, and limitation is small.
The embodiment of the invention provides a kind of specification adaptive devices, are used for mobile terminal, as shown in fig. 5-1, the device 300
Include:
Module 310 is obtained, for obtaining the corresponding target labels of goal standard for being directed to the software of mobile terminal, the target
Specification is suitable for target radio network.
Detection module 320, for whether having target labels in the prestored labels group in inspection software, the prestored labels group packet
At least one label is included, the predetermined corresponding specification of value supported of either one or two of any label of the software support.
Determining module 330 when for having target labels in prestored labels group, determines the latest value of target labels.
Adaptation module 340, for according to the type of target labels and the latest value adaptation objective specification of target labels.
In conclusion specification adaptive device provided in an embodiment of the present invention, since mobile terminal is able to detect in software
When whether there are target labels in prestored labels group, and there are target labels in prestored labels group, the latest value of target labels is determined,
And according to the latest value adaptation objective specification of the type of target labels and target labels, which includes at least one mark
Label, compared to the prior art, the application without being required to meet specification demands can be written into specified region, without requiring to apply
Can be read and be initialized by common software, reached with an envelope version software still can automatic adaptation meet different networks
The effect of the automatic variable body of various specifications, is widely used in various specifications, and limitation is small.
Specifically, adaptation module 340, is used for:
Whether inspection software supports the latest value of target labels;
When the latest value of software support target labels, prompt information is issued, which is used to indicate software support
Goal standard corresponding with the latest value of target labels;
Whether detection mobile terminal, which receives user, acts on the feedback information generated when mobile terminal, which is
What user generated when confirming whether mobile terminal carries out the adaptation of goal standard according to prompt information;
When mobile terminal, which receives feedback information confirmation, to be adapted to, according to the type and target labels of target labels
Latest value adaptation objective specification.
Determining module 330, is used for:
Whether the value for the parameter that the tag parameter that detection influences the mobile terminal of target labels value is concentrated changes, should
Tag parameter collection includes at least one parameter;
When the value for the parameter that tag parameter is concentrated changes, according to the default corresponding relationship and tag parameter in software
The latest value of the parameter of concentration determines the latest value of target labels.The default corresponding relationship is used to record the ginseng of tag parameter concentration
The corresponding relationship of the value of several value and target labels.
As shown in Fig. 5-2, the device further include:
Writing module 350, for the latest value of target labels and target labels to be written to the default memory block of mobile terminal
Domain.
Optionally, the label in prestored labels group is for distinguishing the different objects that mobile terminal is supported, such as market, operation
Quotient or client etc..Label can use radio network information that mobile terminal is supported, customer information, the technique ginseng of mobile terminal
Several or other relevant informations indicate.
In conclusion specification adaptive device provided in an embodiment of the present invention, since mobile terminal is able to detect in software
When whether there are target labels in prestored labels group, and there are target labels in prestored labels group, the latest value of target labels is determined,
And according to the latest value adaptation objective specification of the type of target labels and target labels, which includes at least one mark
Label, compared to the prior art, the application without being required to meet specification demands can be written into specified region, without requiring to apply
Can be read and be initialized by common software, reached with an envelope version software still can automatic adaptation meet different networks
The effect of the automatic variable body of various specifications, is widely used in various specifications, and limitation is small.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Term "and/or" in the present invention, only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds
Relationship, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, this
Character "/" in text typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of specification adaptation method, which is characterized in that be used for mobile terminal, which comprises
The corresponding target labels of goal standard of the software for the mobile terminal are obtained, the goal standard is suitable for target
Wireless network;
Whether in prestored labels group in the software have the target labels, the prestored labels group includes at least one if detecting
Label, the predetermined corresponding specification of value supported of either one or two of any label in prestored labels group described in the software support;
When there are the target labels in the prestored labels group, the latest value of the target labels is determined;
The goal standard is adapted to according to the latest value of the type of the target labels and the target labels;
Wherein, described that the goal standard, packet are adapted to according to the type of the target labels and the latest value of the target labels
It includes:
Detect the latest value whether software supports the target labels;
When the latest value of the target labels described in the software support, prompt information is issued, the prompt information is used to indicate institute
State the software support goal standard corresponding with the latest value of the target labels;
It detects the mobile terminal and whether receives user and act on the feedback information generated when the mobile terminal, the feedback
Information is that user generates when confirming whether the mobile terminal carries out the adaptation of the goal standard according to the prompt information;
When mobile terminal, which receives feedback information confirmation, to carry out the adaptation, according to the type of the target labels and
The latest value of the target labels is adapted to the goal standard.
2. the method according to claim 1, wherein the latest value of the determination target labels, comprising:
Whether the value for the parameter that the tag parameter that detection influences the mobile terminal of the target labels value is concentrated becomes
Change, the tag parameter collection includes at least one parameter;
When the value of parameter that the tag parameter is concentrated changes, according to default corresponding relationship in the software and described
The latest value for the parameter that tag parameter is concentrated determines the latest value of the target labels, and the default corresponding relationship is for recording institute
State the corresponding relationship of the value of the parameter of tag parameter concentration and the value of the target labels.
3. the method according to claim 1, wherein the method also includes:
The latest value of the target labels and the target labels is written to the default storage region of the mobile terminal.
4. method according to any one of claims 1 to 3, which is characterized in that
Label in the prestored labels group is for distinguishing the different objects that the mobile terminal is supported.
5. a kind of specification adaptive device, which is characterized in that be used for mobile terminal, described device includes:
Module is obtained, for obtaining the corresponding target labels of goal standard for being directed to the software of the mobile terminal, the target
Specification is suitable for target radio network;
Whether detection module has the target labels, the prestored labels for detecting in the prestored labels group in the software
Group includes at least one label, the predetermined value supported of either one or two of any label in prestored labels group described in the software support
Corresponding specification;
Determining module determines the latest value of the target labels when for having the target labels in the prestored labels group;
Whether adaptation module supports the latest value of the target labels for detecting the software;Described in the software support
When the latest value of target labels, prompt information is issued, the prompt information is used to indicate the software support and the target mark
The corresponding goal standard of the latest value of label;It detects the mobile terminal and whether receives user and act on the mobile terminal
When the feedback information that generates, the feedback information confirms whether the mobile terminal carries out institute according to the prompt information for user
It is generated when stating the adaptation of goal standard;When mobile terminal, which receives the feedback information confirmation, to carry out the adaptation, root
The goal standard is adapted to according to the type of the target labels and the latest value of the target labels.
6. device according to claim 5, which is characterized in that the determining module is used for:
Whether the value for the parameter that the tag parameter that detection influences the mobile terminal of the target labels value is concentrated becomes
Change, the tag parameter collection includes at least one parameter;
When the value of parameter that the tag parameter is concentrated changes, according to default corresponding relationship in the software and described
The latest value for the parameter that tag parameter is concentrated determines the latest value of the target labels, and the default corresponding relationship is for recording institute
State the corresponding relationship of the value of the parameter of tag parameter concentration and the value of the target labels.
7. device according to claim 5, which is characterized in that described device further include:
Writing module is deposited for the default of the mobile terminal to be written in the latest value of the target labels and the target labels
Storage area domain.
8. according to any device of claim 5 to 7, which is characterized in that
Label in the prestored labels group is for distinguishing the different objects that the mobile terminal is supported.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610964404.1A CN106528140B (en) | 2016-10-28 | 2016-10-28 | Specification adaptation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610964404.1A CN106528140B (en) | 2016-10-28 | 2016-10-28 | Specification adaptation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528140A CN106528140A (en) | 2017-03-22 |
CN106528140B true CN106528140B (en) | 2019-06-21 |
Family
ID=58326415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610964404.1A Active CN106528140B (en) | 2016-10-28 | 2016-10-28 | Specification adaptation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528140B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769245A (en) * | 2019-02-27 | 2019-05-17 | 努比亚技术有限公司 | A kind of mobile terminal radio frequency compatibility method, mobile terminal and computer readable storage medium |
CN111722880B (en) * | 2020-05-11 | 2024-02-09 | 深圳市共进电子股份有限公司 | Equipment production method and device, terminal equipment and medium |
CN113157309B (en) * | 2021-01-26 | 2024-02-13 | 上海商米科技集团股份有限公司 | Software design method for storing activation files by utilizing NVRAM |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063467A (en) * | 2010-12-08 | 2011-05-18 | 中兴通讯股份有限公司 | Method and system for acquiring customizable parameters |
CN102118736A (en) * | 2011-02-22 | 2011-07-06 | 中兴通讯股份有限公司 | Mobile terminal and self-adaptive method and system thereof |
CN102368847A (en) * | 2011-10-08 | 2012-03-07 | 中兴通讯股份有限公司 | Information binding method and apparatus thereof |
CN105101479A (en) * | 2015-05-29 | 2015-11-25 | 努比亚技术有限公司 | Adaptive configuration method and device for network frequency band of mobile terminal |
-
2016
- 2016-10-28 CN CN201610964404.1A patent/CN106528140B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063467A (en) * | 2010-12-08 | 2011-05-18 | 中兴通讯股份有限公司 | Method and system for acquiring customizable parameters |
CN102118736A (en) * | 2011-02-22 | 2011-07-06 | 中兴通讯股份有限公司 | Mobile terminal and self-adaptive method and system thereof |
CN102368847A (en) * | 2011-10-08 | 2012-03-07 | 中兴通讯股份有限公司 | Information binding method and apparatus thereof |
CN105101479A (en) * | 2015-05-29 | 2015-11-25 | 努比亚技术有限公司 | Adaptive configuration method and device for network frequency band of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106528140A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Shekhawat | Decentralized pricing on mobile phone-based esls | |
CN112118169B (en) | Message reply method, device, terminal and storage medium | |
CN111679824B (en) | Active page manufacturing method and device, electronic equipment and storage medium | |
CN105677353A (en) | Feature extraction method and machine learning method and device thereof | |
US20160148259A1 (en) | Method of managing cookie information for target advertisement and application for managing cookie information | |
CN109522068A (en) | The edit methods of the methods of exhibiting and system of the page, page data | |
CN107092652B (en) | Navigation method and device for target page | |
CN107391134B (en) | Method and device for automatically generating and dynamically transforming universal mobile application interactive interface | |
CN101283572A (en) | Application program update deployment to a mobile device | |
CN106528140B (en) | Specification adaptation method and device | |
CN101371227A (en) | Persistent maintenance of customization data on computing devices | |
CN108804188A (en) | Changing an interface skin method and device | |
CN103119538A (en) | Apparatus and methods of extending application services | |
CN111443910A (en) | Skin rendering method and device, electronic equipment and computer storage medium | |
CN112669110A (en) | Server label management method and related equipment | |
CN111859198A (en) | Page jump method, page jump system, client device and server device | |
CN110647278A (en) | Method and device for controlling plug-in display, computing equipment and storage medium | |
CN106909429A (en) | A kind of synchronous upgrade method and device | |
CN113827957B (en) | Virtual game character deployment method and device, storage medium and electronic device | |
US20050235256A1 (en) | Web-site development tool | |
CN107852422A (en) | Connected from the server interface with different API to obtain ad data | |
CN109165332A (en) | A kind of webpage information acquisition methods, device and equipment | |
CN105653528A (en) | Business filed multi-modal display method and device | |
CN111930424B (en) | Black box technology-based software as a service (SaaS) software customization demand assembly method | |
CN111694627A (en) | Desktop editing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Country or region after: China Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |