Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can be by the scope of the present disclosure complete conveys to those skilled in the art.
In the embodiment of the present invention, for simplicity, the terminals such as mobile phone to be identified, panel computer are referred to as to target terminal; To be referred to as the nominal model for the type information that characterizes mobile phone to be identified, panel computer etc.
Refer to Fig. 1, the method for target terminal nominal model is differentiated that the embodiment of the present invention provides comprises the following steps:
S101: obtain the nominal model of target terminal, and the hardware identifier information of target terminal and/or hardware performance information;
Target terminal be take to the android mobile phone as example, determine the mobile phone model of android mobile phone to be identified, and collect hardware identifier information and/or the hardware performance information of android mobile phone to be identified by API.Wherein, hardware identifier information can comprise at least following a kind of information: CPU model, core cpu number, cpu chip title, cpu instruction collection, RAM model, RAM chip title, camera pixel and screen resolution; Hardware performance information can comprise at least following a kind of information: CPU operational data speed, GPU performance index, RAM performance index and speaker performance index.
In the embodiment of the present invention, for simplicity, target terminal in the embodiment of the present invention be take to the android mobile phone as example, related Key Term is defined as follows: the CPU model: its definition is arranged in " Processor " field of device file "/proc/cpuinfo ", the model difference for the difference of distinguishing CPU support instruction set; For example: according to known its CPU model of content in the cpuinfo file of millet 2s mobile phone, be ARMv7Processor rev0 (v7l); Cpu chip: its definition is arranged in " Hardware " field of device file "/proc/cpuinfo " file, or in " ro.board.platform " field of "/system/build.prop "; For example: according to the Hardware field value of millet mobile phone 2s mobile phone, be the cpu chip title that " MI2 " reaches the millet mobile phone 2s that " ro.board.platform " field value is " msm8960 " known correspondence.Wherein, on market, for CPU model, cpu chip, there is no strict differences, the two is one usually, by the self-defining CPU of producer title, such as: " the valiant imperial Snapdragon of high pass ", " OMAP4460 of Texas Instrument " etc.
S102: according to the nominal model of target terminal, by the inquiry presetting database, obtain standard hardware identification information and/or the standard hardware performance information under the counterpart terminal model;
According to the mobile phone model of above-mentioned android mobile phone to be identified, by user license agreement, utilize 360 mass users, the inquiry presetting database is obtained standard hardware identification information and/or the standard hardware performance information of respective model android mobile phone.
Wherein, the construction step of presetting database refers to Fig. 2, specifically comprises:
S201: type information and hardware identifier information and/or the hardware performance information of obtaining each terminal from the information data of a plurality of different terminals; Target terminal be take to the android mobile phone as example, according to the android information data of mobile phone of user input or the android mobile phone is detected, extract mobile phone model information and hardware identifier information and/or hardware performance information;
S202: each hardware identifier information under same terminal models is classified, and/or, each hardware performance information under same terminal models is classified; Target terminal be take to the android mobile phone as example, for same android mobile phone model, hardware identifier information, the hardware performance information of this android mobile phone are classified; The hardware identifier information of wherein, hardware identifier information being classified and can obtain an at least following kind: CPU model classification, core cpu are counted classification, cpu chip title classification, cpu instruction collection classification, RAM model classification, RAM chip title classification, camera pixel class and screen resolution classification; The hardware performance information that hardware performance information is classified and can be obtained an at least following kind: CPU operational data speed category, GPU performance index classification, RAM performance index classification and speaker performance index classification.
S203: for the different hardware identification information under same classification, according to quantity, sorted, and/or, for the different hardware performance information under same classification, according to quantity or numerical values recited, sorted; Target terminal be take to the android mobile phone as example, for same android mobile phone model, respectively the hardware identifier information under respective classes and hardware performance information are sorted according to quantity or numerical values recited;
S204: determine the corresponding standard hardware identification information of this terminal models and/or standard hardware performance information according to ranking results, and standard hardware identification information and/or standard hardware performance information are deposited in database, form presetting database; Target terminal be take to the android mobile phone as example, according to ranking results, determine the corresponding standard hardware identification information of this android mobile phone model and/or standard hardware performance information, and deposit standard hardware identification information and/or standard hardware performance information in the database corresponding presetting database of this android mobile phone model of formation.
Build in the process of above-mentioned presetting database, the method of determining the corresponding standard hardware identification information of this terminal models according to ranking results specifically comprises: select the hardware identifier information that under this terminal models, at least one classification, quantity is maximum, as the standard hardware identification information of respective classes under this terminal models; Concrete operations are as described below:
S204a1: the identification information under the same classification in hardware identifier information, according to collecting quantity from how to be sorted to few, is built to the first data rows: { P
1, P
2, P
3, P
4... ... ..P
n;
S204a2: choose the identification information P that quantity is maximum
1as the standard hardware identification information parameter under this classification; Then according to formula P
n-1* k
1<P
n, to P
nwhether be that standard hardware identification information parameter is judged: work as P
n-1* k
1<P
n, define P
nit is also the standard hardware identification information parameter under this classification; Work as P
n-1* k
1>=P
n, do not define P
nfor standard hardware identification information parameter; In corresponding the first data rows and formula, n is more than or equal to 2 integer; k
1for the number percent coefficient.
Wherein, target terminal be take to the android mobile phone as example, the android mobile phone that to choose with android mobile phone to be identified be same model, hardware identifier information (CPU model by this android mobile phone, the core cpu number, the cpu chip title, the cpu instruction collection, the RAM model, RAM chip title, camera pixel and screen resolution) in hardware identifier information under same classification according to collecting quantity from how to be sorted to few, chosen the data rows under the corresponding classification of hardware identifier information architecture of one or more classifications after sequence, the kind of take is example as CPU model classification, build CPU model categorical data row, i.e. the first data rows: { P
1, P
2, P
3, P
4... ... ..P
n, choose maximum identification information P
1as under this classification standard hardware identification information parameter, and according to formula P
n-1* k
1<P
n, to P
nbe whether that standard hardware identification information ginseng under this classification is judged.Compare formula P
n-1* k
1<P
nbe based on producer to after same model android mobile phone hardware parameter upgrading, its turnout reaches a number percent of turnout before upgrading to I haven't seen you for ages, and this ratio to be false machine be beyond one's reach sales target, defining this percentages is k
1, can between 1% to 30%, be adjusted (may be defined as 10%), and for large its k of type of sales volume after upgrading
1numerical value can suitably increase.
Build in the process of above-mentioned presetting database, the method of determining the corresponding standard hardware performance information of this terminal models according to ranking results specifically comprises: select under this terminal models quantity at least one classification at most or numerical value meets the hardware performance information of prerequisite, as the standard hardware performance information of respective classes under this terminal models; Concrete operations are as described below:
S204b1: the performance information under the same classification in hardware performance information, according to collecting quantity from how to be sorted to few, is built to the second data rows: { Q
1, Q
2, Q
3, Q
4... ... ..Q
n;
S204b2: choose the performance information Q that quantity is maximum
1as the standard hardware performance information parameter under this classification; Then according to formula Q
n-1* k
2<Q
n, to Q
nwhether be that standard hardware performance information parameter is judged: work as Q
n-1* k
2<Q
n, define Q
nit is also the standard hardware performance information parameter under this classification; Work as Q
n-1* k
2>=Q
n, do not define Q
nfor standard hardware performance information parameter; In corresponding the second data rows and formula, n is more than or equal to 2 integer; k
2for the number percent coefficient.Perhaps,
S204b3: the performance information under the same classification in hardware performance information is sorted from big to small according to numerical value, build the 3rd data rows: { T
1, T
2, T
3, T
4... ... ..T
m; And set prerequisite according to described the 3rd data rows, choose first threshold T
xas the standard hardware performance information under this classification.
For first threshold T
xchoose, can be by removing the 3rd data rows most end mantissa amount for m*k
3hardware performance information, obtain the 4th data rows; By the hardware performance information definition at the end of the 4th obtained data rows, be first threshold T
x; In corresponding the 3rd data rows and formula, x<m, x, m are natural number, k
3for the number percent coefficient.Simultaneously, due to first threshold T
xto be m*k in the 3rd data rows most end mantissa amount of removing
3hardware performance information after the described standard hardware performance information of choosing, for avoiding there is the standard hardware performance information in removed hardware performance information, in building presetting database, also can choose Second Threshold T by the second data rows
yalso as the standard hardware performance information under this classification, and T
y=T
x* k
4; Y is natural number; k
3, k
4for the number percent coefficient; k
3be normally defined 10%; k
4can between 0-100%, according to mobile phone scoring statistics, be adjusted, be normally defined 60%.
Wherein, target terminal be take to the android mobile phone as example, the android mobile phone that to choose with android mobile phone to be identified be same model, by the hardware performance information of this android mobile phone (CPU operational data speed, the GPU performance index, RAM performance index and speaker performance index) in performance information under same classification according to numerical value, sorted from big to small, chosen the data rows under the corresponding classification of hardware performance information architecture of one or more classifications after sequence, the kind of take is example as CPU operational data speed category, build CPU operational data speed category data rows, i.e. the 3rd data rows: { T
1, T
2, T
3, T
4... ... ..T
m, removing described the 3rd data rows most end mantissa amount is m*k
3hardware performance information, by the hardware performance information definition at the end of the 3rd obtained data rows, be first threshold T
x, and according to formula T
y=T
x* k
3the T that definition satisfies condition
yfor Second Threshold T
y.Be first threshold T
x, Second Threshold T
ystandard hardware performance information for CPU operational data speed data row.
S103: the standard hardware identification information under the hardware identifier information of target terminal and its counterpart terminal model is mated, and/or, the standard hardware performance information under the hardware performance information of target terminal and its counterpart terminal model is mated.
Particularly, the standard hardware identification information under the hardware identifier information of target terminal and its counterpart terminal model is contrasted, if not identical, the standard hardware identification information under the hardware identifier information of target terminal and its counterpart terminal model does not mate; Standard hardware performance information under the hardware performance information of target terminal and its counterpart terminal model is contrasted, if not identical, the standard hardware performance information under the hardware performance information of target terminal and its counterpart terminal model does not mate; Standard hardware performance information under the hardware performance information of target terminal and its counterpart terminal model is contrasted, if this hardware performance information be less than with its counterpart terminal model under the standard hardware performance information, the standard hardware performance information under the hardware performance information of target terminal and its counterpart terminal model does not mate.
S104: if the standard hardware identification information under the hardware identifier information of target terminal and its counterpart terminal model and/or, in the hardware performance information of target terminal and the standard hardware performance information under its counterpart terminal model at least one group do not mate, judge that target terminal does not conform to its nominal model.
Particularly, it is example that target terminal be take to above-mentioned android mobile phone, hardware identifier information to android mobile phone to be identified is carried out matching judgment, be about to android mobile phone to be identified one or more classifications hardware identifier information respectively with respective classes under the standard hardware identification information contrasted, as choose the CPU model classification in hardware identifier information, by the standard hardware identification information P in the CPU model of android mobile phone to be identified and described CPU model classification
1and meet P
n-1* k
1<P
np
ncontrasted respectively, if the CPU model of android mobile phone to be identified and standard hardware identification information P
1and meet P
n-1* k
1<P
np
nin each is not all identical, the hardware identifier information of android mobile phone to be identified and respective standard hardware identifier information are not mated; Hardware performance information to android mobile phone to be identified is carried out matching judgment, be about to android mobile phone to be identified one or more classifications hardware performance information respectively with respective classes under the standard hardware performance information contrasted, as choose the CPU operational data speed category in hardware performance information, by the standard hardware identification information Q in the CPU operational data speed of android mobile phone to be identified and described CPU operational data speed category
1and meet Q
n-1* k
2<Q
nq
ncontrasted respectively, if the CPU operational data speed of android mobile phone to be identified and standard hardware identification information Q
1and meet Q
n-1* k
2<Q
nq
nin each is not all identical, the hardware performance information of android mobile phone to be identified and respective standard hardware performance information are not mated; Perhaps, by the first threshold T in the CPU operational data speed of android mobile phone to be identified and described CPU operational data speed category
x, Second Threshold T
ycontrasted, if the parameter value of the CPU operational data speed of android mobile phone to be identified is less than Second Threshold T
y, the hardware performance information of android mobile phone to be identified and respective standard hardware performance information are not mated; If the parameter value of the CPU operational data speed of android mobile phone to be identified is more than or equal to Second Threshold T
y, and be less than or equal to first threshold T
x, the hardware performance information of android mobile phone to be identified and respective standard hardware performance information are not mated (may mate, also may not mate); If the parameter value of the CPU operational data speed of android mobile phone to be identified is greater than first threshold T
x, can tentatively judge that the hardware performance information of android mobile phone to be identified and respective standard hardware performance information are complementary on this classification of CPU operational data speed.
The matching result of the hardware identifier information based on above-mentioned android mobile phone to be identified, hardware performance information and respective standard hardware identifier information, standard hardware performance information, as long as if having one group not mate in the hardware performance information of the hardware identifier information of android mobile phone to be identified and respective standard hardware identifier information, android mobile phone to be identified and respective standard hardware performance information, judge that target terminal does not conform to its nominal model; If the hardware identifier information of android mobile phone to be identified and respective standard hardware identifier information are complementary, and the hardware performance information of android mobile phone to be identified and respective standard hardware performance information are complementary, and draw preliminary conclusion: android mobile phone to be identified conforms to its nominal model.Certainly, on the basis of above-mentioned preliminary conclusion, in order more whether target terminal to be conformed to and to be judged with its nominal model, after the matching process that completes hardware identifier information, hardware performance information, also can differentiate judgement by the operating system version of target terminal is true and false, if the operating system version of target terminal is true, target terminal conforms to its nominal model; If the operating system version of target terminal is false, target terminal does not conform to its nominal model.
According to the technique scheme in the present embodiment, can be by obtaining the nominal model of target terminal, and the hardware identifier information of target terminal and/or hardware performance information; And, according to the nominal model of target terminal, by the inquiry presetting database, obtain standard hardware identification information and/or the standard hardware performance information under the counterpart terminal model; Then by the hardware identifier information of target terminal and/or hardware performance information, respectively with the counterpart terminal model under standard hardware identification information and/or standard hardware performance information mated; If the described standard hardware identification information under the hardware identifier information of target terminal and its counterpart terminal model and/or, in the hardware performance information of target terminal and the standard hardware performance information under its counterpart terminal model at least one group do not mate, judge that target terminal does not conform to its nominal model; Whether realize thus the purpose that target terminal nominal model is differentiated, having solved user in the actual life can't be the problem that false machine is judged to portable terminal device; Hardware identifier information is combined target terminal nominal model is differentiated with the hardware performance both information simultaneously, overcome and revised and intactly imitate prototype by the hardware parameter of operating system grade because of the high imitative machine of part, even if make the user understand various concrete hardware parameters whether also be difficult to it be the defect that false machine is identified.
The method for target terminal nominal model is differentiated provided with the embodiment of the present invention is corresponding, and the embodiment of the present invention also provides a kind of equipment for target terminal nominal model is differentiated, refers to Fig. 3, and this equipment comprises:
Detecting unit 301, for obtaining the nominal model of described target terminal, and the hardware identifier information of described target terminal and/or hardware performance information;
Standard information acquiring unit 302, for the nominal model according to described target terminal, obtain standard hardware identification information and/or the standard hardware performance information under the counterpart terminal model by the inquiry presetting database;
Matching unit 303, for the described standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model is mated, and/or, the described standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is mated;
Discriminating unit 304, if for the hardware identifier information of described target terminal and the described standard hardware identification information under its counterpart terminal model and/or, at least one group of the hardware performance information of described target terminal and the described standard hardware performance information under its counterpart terminal model do not mate, and judges that described target terminal does not conform to its nominal model.
In the equipment that the embodiment of the present invention provides, detecting unit 301 is specifically for the nominal model of the described target terminal of acquisition of information inputted by the user, and the hardware identifier information of described target terminal and/or hardware performance information; And/or, by target terminal being detected to the nominal model of obtaining described target terminal, and the hardware identifier information of described target terminal and/or hardware performance information.
In the equipment that the embodiment of the present invention provides, in order to build presetting database, be convenient to obtain according to the nominal model inquiry presetting database of target terminal the standard information of respective model terminal, its standard information acquiring unit 302 refers to Fig. 4, comprise: end message obtains subelement 302a, obtains type information and hardware identifier information and/or the hardware performance information of each terminal for the information data from a plurality of different terminals; Classification subelement 302b, classified for each hardware identifier information under same terminal models, and/or, each hardware performance information under same terminal models is classified; Sequence subelement 302c, sorted according to quantity for the different hardware identification information under same classification, and/or, for the different hardware performance information under same classification, according to quantity or numerical values recited, sorted; Standard information is determined subelement 302d, for according to ranking results, determining the corresponding standard hardware identification information of this terminal models and/or standard hardware performance information, and described standard hardware identification information and/or standard hardware performance information are deposited in database, form described presetting database.
In the equipment that the embodiment of the present invention provides, classification subelement 302b specifically comprises: the first sort module, classified specifically for each hardware identifier information under same terminal models, obtain the hardware identifier information of an at least following kind: CPU model classification, core cpu are counted classification, cpu chip title classification, cpu instruction collection classification, RAM model classification, RAM chip title classification, camera pixel class and screen resolution classification; And/or, the second sort module, classified specifically for each hardware performance information under same terminal models, obtained the hardware performance information of an at least following kind: CPU operational data speed category, GPU performance index classification, RAM performance index classification and speaker performance index classification.
In the equipment that the embodiment of the present invention provides, standard information is determined subelement 302d, specifically for selecting the hardware identifier information that under this terminal models, at least one classification, quantity is maximum, as the standard hardware identification information of respective classes under this terminal models; And/or, select under this terminal models quantity at least one classification at most or numerical value meets the hardware performance information of prerequisite, as the standard hardware performance information of respective classes under this terminal models.
In the equipment that the embodiment of the present invention provides, matching unit 303 comprises: the first coupling subelement, specifically for the standard hardware identification information under the hardware identifier information by described target terminal and its counterpart terminal model, contrasted, if not identical, the standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model does not mate; And/or, the second coupling subelement, specifically for the standard hardware performance information under the hardware performance information by described target terminal and its counterpart terminal model, contrasted, if not identical, the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model does not mate; And/or, the 3rd coupling subelement, for the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is contrasted, if this hardware performance information is less than the standard hardware performance information under its counterpart terminal model, the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model does not mate.
Below, by take the Note2 mobile phone, the present invention is described in further detail as example, to support technical matters to be solved by this invention.
As the data rows under one or more classifications of hardware identifier information architecture of collecting the Note2 mobile phone by mass users:
Choose P
1for the standard hardware identification information of mobile phone Note2, and according to formula P
n-1* k
1<P
n, to P
nwhether be that standard hardware identification information ginseng is judged, definable k
1=10%.
Judgement P
1* 10%<P
2whether set up, i.e. the known 182096*10% of substitution data<103987th, set up, therefore P
2it is also the standard hardware identification information of Note2 mobile phone;
Judgement P
2* 10%<P
3whether set up, i.e. the known 103987*10% of substitution data<1980th, invalid, therefore P
3it is not the standard hardware identification information of mobile phone Note2 mobile phone;
Due to P
3be not the standard hardware identification information of Note2 mobile phone, P by that analogy
4-P
8it is not all the standard hardware identification information of Note2 mobile phone.
In actual mechanical process, at first mobile phone model to be identified is uploaded onto the server, whether server mates this mobile phone model to be identified is the Note2 mobile phone model, if mobile phone model to be identified and Note2 mobile phone model are complementary, server issues the standard hardware identification information P of Note2 mobile phone
1, P
2, and standard hardware performance information T
x, T
y; Then gather hardware identifier information and the hardware performance information of mobile phone to be identified; The hardware identifier information of mobile phone to be identified and Note2 mobile phone standard hardware identification information are mated, suppose that mobile phone to be identified is ARMv7Processor rev0 (v7l) | BP1:SMDK4x12 (exynos4), now hardware identifier information and the P of mobile phone to be identified
1it fails to match, continues and P
2coupling, the match is successful, can tentatively show when discrimination process proceeds to herein that mobile phone to be identified conforms to the Note2 mobile phone model of its nominal on the matching judgment of hardware identifier information; The hardware performance information of mobile phone to be identified and Note2 mobile phone standard hardware performance information are mated in continuation, the hardware performance information be about under one or more classifications of mobile phone to be identified is mated with the standard hardware performance information under the corresponding classification of Note2 mobile phone, the CPU operational data speed of take is example, by the standard hardware performance information T under the CPU operational data speed category of the CPU operational data speed of mobile phone to be identified and Note2 mobile phone
x, T
y(above-mentioned to each parameter, given defined declaration) contrasted: if the parameter value of the CPU operational data speed of mobile phone to be identified is less than Second Threshold T
y, mobile phone to be identified does not mate for the hardware performance information under CPU operational data speed category and the standard hardware performance information under respective classes; If the parameter value of the CPU operational data speed of mobile phone to be identified is greater than first threshold T
x, can tentatively judge that mobile phone to be identified is for the hardware performance information under CPU operational data speed category and the coupling of the standard hardware performance information under respective classes; When mobile phone to be identified with respective standard hardware performance information matches the time, the conclusion now be complementary in conjunction with the standard hardware identification information of the hardware identifier information of mobile phone to be identified and Note2 mobile phone, can tentatively show that mobile phone to be identified conforms to the Note2 mobile phone model of its nominal.
In above-mentioned discrimination process, if mobile phone model to be identified is uploaded onto the server, when server mates this mobile phone model to be identified and Note2 mobile phone model and do not mate, server does not issue standard hardware information, only tells the mobile phone terminal program that it fails to match; If hardware identifier information and the P of mobile phone to be identified
1, P
2while mating all failures, discrimination process finishes, and server returns results tells user's mobile phone model to be identified not conform to the Note2 mobile phone model of its nominal.
Certainly, because the build number value Build.VERSION.SDK_INT as the operating system self of Note2 mobile phone in prior art is an integer, can't fake, but the operating system version number be presented on interface is that Build.VERSION.SDK is a character string, as " 4.1.2 ", can revise this string when compiling system, thereby realize the purpose of faking.On the basis of the preliminary conclusion conformed to the Note2 mobile phone model of its nominal at above-mentioned mobile phone to be identified, in order more accurately whether mobile phone to be identified to be conformed to and to be judged with the Note2 mobile phone model of its nominal, after the matching process that completes hardware identifier information, hardware performance information, also can differentiate judgement by the operating system version of mobile phone to be identified is true and false, if the operating system version of mobile phone to be identified is true, mobile phone to be identified and Note2 mobile phone model its nominal conforms to; If the operating system version of mobile phone to be identified is false, target terminal does not conform to the Note2 mobile phone model of its nominal.And true and false discriminating judges for operating system version, to be those skilled in the art's technological means commonly used, repeat no more here.
Description by above each embodiment is known, method and equipment thereof for target terminal nominal model is differentiated provided by the invention, by building, presetting database is determined and the standard hardware information of the same terminal models of target terminal, be standard hardware sign and standard hardware performance information, then by the hardware identifier information of target terminal and hardware performance information, with the terminal standard information with the same model of target terminal, mated respectively, and according to the hardware identifier information of target terminal, hardware performance information judges with the matching result of standard information whether target terminal conforms to its nominal model, and the hardware performance message part for target terminal, the counterfeiter can't be faked to the hardware performance information of target terminal, revise, solved thus to have now and only by hardware identifier information, obtained the low problem of authentication technique accuracy that identification result causes.
It should be noted that, because the embodiment of the equipment for target terminal nominal model is differentiated is corresponding with the embodiment of method for target terminal nominal model is differentiated, therefore, part is not described in detail in detail in apparatus embodiments can, referring to the introduction in embodiment of the method, be repeated no more here.
The algorithm provided at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be in the situation that do not have these details to put into practice.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires the more feature of feature than institute clearly puts down in writing in each claim.Or rather, as following claims are reflected, inventive aspect is to be less than all features of the disclosed single embodiment in front.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment in embodiment.Can be combined into a module or unit or assembly to the module in embodiment or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment are combined.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar purpose replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that can use in practice microprocessor or digital signal processor (DSP) realize according to the embodiment of the present invention for some of method that target terminal nominal model is differentiated and equipment thereof or all some or repertoire of parts.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.The program of the present invention that realizes like this can be stored on computer-readable medium, or can have the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not break away from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or the step in claim.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not mean any order.Can be title by these word explanations.
The invention also discloses A1, a kind of method for target terminal nominal model is differentiated, comprising:
Obtain the nominal model of described target terminal, and the hardware identifier information of described target terminal and/or hardware performance information;
According to the nominal model of described target terminal, by the inquiry presetting database, obtain standard hardware identification information and/or the standard hardware performance information under the counterpart terminal model;
Described standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model is mated, and/or, the described standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is mated;
If the described standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model and/or, in the hardware performance information of described target terminal and the described standard hardware performance information under its counterpart terminal model at least one group do not mate, judge that described target terminal does not conform to its nominal model.
A2, method as described as A1, the described nominal model of obtaining target terminal, and the hardware identifier information of target terminal and/or hardware performance information comprise:
The nominal model of the described target terminal of acquisition of information of inputting by the user, and the hardware identifier information of described target terminal and/or hardware performance information;
And/or,
By target terminal being detected to the nominal model of obtaining described target terminal, and the hardware identifier information of described target terminal and/or hardware performance information.
A3, method as described as A1, described presetting database builds by following steps:
Obtain type information and hardware identifier information and/or the hardware performance information of each terminal from the information data of a plurality of different terminals;
Each hardware identifier information under same terminal models is classified, and/or, each hardware performance information under same terminal models is classified;
For the different hardware identification information under same classification, according to quantity, sorted, and/or, for the different hardware performance information under same classification, according to quantity or numerical values recited, sorted;
Determine the corresponding standard hardware identification information of this terminal models and/or standard hardware performance information according to ranking results, and described standard hardware identification information and/or standard hardware performance information are deposited in database, form described presetting database.
A4, method as described as A3,
Described each hardware identifier information under same terminal models is classified and comprised: each hardware identifier information under same terminal models is classified, obtain the hardware identifier information of an at least following kind: CPU model classification, core cpu are counted classification, cpu chip title classification, cpu instruction collection classification, RAM model classification, RAM chip title classification, camera pixel class and screen resolution classification;
And/or,
Described each hardware performance information under same terminal models is classified and comprised: each hardware performance information under same terminal models is classified, obtain the hardware performance information of an at least following kind: CPU operational data speed category, GPU performance index classification, RAM performance index classification and speaker performance index classification.
A5, method as described as A3, determine that according to ranking results the corresponding standard hardware identification information of this terminal models and/or hardware performance information comprise:
Select the hardware identifier information that under this terminal models, at least one classification, quantity is maximum, as the standard hardware identification information of respective classes under this terminal models;
And/or,
Select under this terminal models quantity at least one classification at most or numerical value meet the hardware performance information of prerequisite, as the standard hardware performance information of respective classes under this terminal models.
A6, method as described as A1, the standard identification information under the described information of the hardware identifier by target terminal and its counterpart terminal model is mated specifically to be comprised:
Standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model is contrasted, if not identical, the standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model does not mate.
A7, method as described as A1, the standard hardware performance information under the described information of the hardware performance by target terminal and its counterpart terminal model is mated specifically to be comprised:
Standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is contrasted, if not identical, the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model does not mate;
And/or,
Standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is contrasted, if this hardware performance information be less than with its counterpart terminal model under the standard hardware performance information, the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model does not mate.
B1, the invention also discloses a kind of equipment for target terminal nominal model is differentiated, comprising:
Detecting unit, for obtaining the nominal model of described target terminal, and the hardware identifier information of described target terminal and/or hardware performance information;
The standard information acquiring unit, for the nominal model according to described target terminal, obtain standard hardware identification information and/or the standard hardware performance information under the counterpart terminal model by the inquiry presetting database;
Matching unit, for the described standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model is mated, and/or, the described standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is mated;
Discriminating unit, if for the hardware identifier information of described target terminal and the described standard hardware identification information under its counterpart terminal model and/or, at least one group of the hardware performance information of described target terminal and the described standard hardware performance information under its counterpart terminal model do not mate, and judges that described target terminal does not conform to its nominal model.
B2, equipment as described as B1,
Described detecting unit, specifically for the nominal model of the described target terminal of acquisition of information inputted by the user, and the hardware identifier information of described target terminal and/or hardware performance information; And/or, by target terminal being detected to the nominal model of obtaining described target terminal, and the hardware identifier information of described target terminal and/or hardware performance information.
B3, equipment as described as B1, described standard information acquiring unit comprises:
End message obtains subelement, obtains type information and hardware identifier information and/or the hardware performance information of each terminal for the information data from a plurality of different terminals;
The classification subelement, classified for each hardware identifier information under same terminal models, and/or, each hardware performance information under same terminal models is classified;
The sequence subelement, sorted according to quantity for the different hardware identification information under same classification, and/or, for the different hardware performance information under same classification, according to quantity or numerical values recited, sorted;
Standard information is determined subelement, for according to ranking results, determining the corresponding standard hardware identification information of this terminal models and/or standard hardware performance information, and described standard hardware identification information and/or standard hardware performance information are deposited in database, form described presetting database.
B5, equipment as described as B3, described classification subelement comprises:
The first sort module, classified specifically for each hardware identifier information under same terminal models, obtain the hardware identifier information of an at least following kind: CPU model classification, core cpu are counted classification, cpu chip title classification, cpu instruction collection classification, RAM model classification, RAM chip title classification, camera pixel class and screen resolution classification;
And/or,
The second sort module, classified specifically for each hardware performance information under same terminal models, obtained the hardware performance information of an at least following kind: CPU operational data speed category, GPU performance index classification, RAM performance index classification and speaker performance index classification.
B6, equipment as described as B3,
Described standard information is determined subelement, specifically for selecting the hardware identifier information that under this terminal models, at least one classification, quantity is maximum, as the standard hardware identification information of respective classes under this terminal models; And/or, select under this terminal models quantity at least one classification at most or numerical value meets the hardware performance information of prerequisite, as the standard hardware performance information of respective classes under this terminal models.
B7, equipment as described as B1, described matching unit comprises:
The first coupling subelement, specifically for the standard hardware identification information under the hardware identifier information by described target terminal and its counterpart terminal model, contrasted, if not identical, the standard hardware identification information under the hardware identifier information of described target terminal and its counterpart terminal model does not mate;
And/or,
The second coupling subelement, specifically for the standard hardware performance information under the hardware performance information by described target terminal and its counterpart terminal model, contrasted, if not identical, the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model does not mate;
And/or,
The 3rd coupling subelement, for the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model is contrasted, if this hardware performance information is less than the standard hardware performance information under its counterpart terminal model, the standard hardware performance information under the hardware performance information of described target terminal and its counterpart terminal model does not mate.