CN109117172A - A kind of method and device of the terminal versions number identification of target terminal - Google Patents

A kind of method and device of the terminal versions number identification of target terminal Download PDF

Info

Publication number
CN109117172A
CN109117172A CN201710487122.1A CN201710487122A CN109117172A CN 109117172 A CN109117172 A CN 109117172A CN 201710487122 A CN201710487122 A CN 201710487122A CN 109117172 A CN109117172 A CN 109117172A
Authority
CN
China
Prior art keywords
terminal
terminal versions
versions
recognition result
versions number
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.)
Granted
Application number
CN201710487122.1A
Other languages
Chinese (zh)
Other versions
CN109117172B (en
Inventor
李金生
郑浩彬
吕汉鑫
杨婷
郝建忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710487122.1A priority Critical patent/CN109117172B/en
Publication of CN109117172A publication Critical patent/CN109117172A/en
Application granted granted Critical
Publication of CN109117172B publication Critical patent/CN109117172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of method and device of the terminal versions number identification of target terminal, the described method includes: obtain terminal user identifier and signaling data, signaling data include the header field field information of user agent message in http request, system version update address, terminal for system version identification request return response message;The terminal versions number identification library constructed according to signaling data and in advance, determine the corresponding terminal versions recognition result of different types of signaling data, terminal versions number identification library respectively includes header field field information, updates address, response message and the one-to-one mapping relations of terminal versions number;According to terminal versions recognition result and corresponding default confidence value, user identifier and preset rules, the terminal versions number of target terminal are identified.Described device executes the above method.The method and device of the terminal versions number identification of target terminal provided in an embodiment of the present invention, being capable of terminal versions number comprehensive and that user is recognized accurately.

Description

A kind of method and device of the terminal versions number identification of target terminal
Technical field
The present embodiments relate to fields of communication technology, and in particular to a kind of side of the terminal versions number identification of target terminal Method and device.
Background technique
Mobile operator is when handling customer complaint or terminal capabilities is analyzed, it usually needs to terminal product used by a user Board, model are identified, so that the characteristic in conjunction with terminal is handled or analyzed.However terminal is in listing and non-perfect, eventually End producer, which can more be newly arrived in terminal life cycle by released version, carries out defect correction, function upgrading, experience promotion etc., no There may be biggish differences for function, performance, experience between homologous ray version.Under many situations, the problem of customer complaint, can It can be solved by the edition upgrading of terminal.
The prior art determines terminal brand, model and the system version of update by acquisition or identification terminal version number. Fig. 1 is the screenshot in the system property of prior art terminal side about terminal versions number, and terminal versions number are as shown in Figure 1 " version number ", it may be assumed that CAZ-AL10C008130 is the terminal versions number of this terminal, indicates Huawei's brand, model are as follows: CAZ-AL10 The system version that currently updates of mobile phone terminal, about currently used terminal versions number, there are several types of obtained or identification Method: method one: inquired when customer complaint: by guide user is opened in Phone process mobile phone " setting-about Simultaneously voice informing version information is checked in machine ", but since the text number of words of version information is more, mistake is easy to produce by voice delivery Accidentally.Method two: it is acquired by the APP of terminal side: can be using what Android was provided by developing Android APP System interface, can be with reading terminals version number.The disadvantage is that target user is needed to install the Android App.Method three: by net Network lateral root has the following disadvantages: User according to information extractions terminal versions information such as User Agent or the IMEI SV of terminal Ratio in Agent word string comprising terminal versions number is relatively low, and User Agent word string is that user can modify, and has shakiness It is qualitative;Two digits are that can indicate terminal versions number, but most of terminal producer does not have at present after regulation IMEI SV in 3GPP The mapping relations of SV field are followed, only there are stringent mapping relations for some models of Huawei and Bubukao, and the mapping Relationship needs maintenance by hand, and maintenance cost is high.
Therefore, above-mentioned technical problem how is solved, and the terminal versions number of user are recognized accurately, becoming need solve The problem of.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention provides a kind of terminal versions number identification of target terminal Method and device.
In a first aspect, the terminal versions number that the embodiment of the present invention provides a kind of target terminal know method for distinguishing, the method Include:
The user identifier and signaling data of terminal are obtained, the signaling data includes user agent message in http request The response message that header field field information, the update address of system version, the terminal are returned for system version identification request;
The terminal versions number identification library constructed according to the signaling data and in advance, determines different types of signaling data pair The terminal versions recognition result answered, terminal versions number identification library respectively include the header field field information, the update Address, the response message and the one-to-one mapping relations of terminal versions number;
According to the terminal versions recognition result and corresponding default confidence value, the user identifier and default rule Then, the terminal versions number of target terminal are identified.
Second aspect, the embodiment of the present invention provide a kind of device of the terminal versions number identification of target terminal, described device Include:
Acquiring unit, for obtaining the user identifier and signaling data of terminal, the signaling data includes in http request The header field field information of user agent message, the update address of system version, the terminal are returned for system version identification request The response message returned;
Determination unit, the terminal versions number for constructing according to the signaling data and in advance identify library, determine inhomogeneity The corresponding terminal versions recognition result of the signaling data of type, terminal versions number identification library respectively include the header field field Information, the update address, the response message and the one-to-one mapping relations of terminal versions number;
Recognition unit, for according to the terminal versions recognition result and corresponding default confidence value, the user Mark and preset rules, identify the terminal versions number of target terminal.
The third aspect, the embodiment of the present invention provide the device of the terminal versions number identification of another target terminal, comprising: place Manage device, memory and bus, wherein
The processor and the memory complete mutual communication by the bus;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to Order is able to carry out following method:
The user identifier and signaling data of terminal are obtained, the signaling data includes user agent message in http request The response message that header field field information, the update address of system version, the terminal are returned for system version identification request;
The terminal versions number identification library constructed according to the signaling data and in advance, determines different types of signaling data pair The terminal versions recognition result answered, terminal versions number identification library respectively include the header field field information, the update Address, the response message and the one-to-one mapping relations of terminal versions number;
According to the terminal versions recognition result and corresponding default confidence value, the user identifier and default rule Then, the terminal versions number of target terminal are identified.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, comprising:
The non-transient computer readable storage medium stores computer instruction, and the computer instruction makes the computer Execute following method:
The user identifier and signaling data of terminal are obtained, the signaling data includes user agent message in http request The response message that header field field information, the update address of system version, the terminal are returned for system version identification request;
The terminal versions number identification library constructed according to the signaling data and in advance, determines different types of signaling data pair The terminal versions recognition result answered, terminal versions number identification library respectively include the header field field information, the update Address, the response message and the one-to-one mapping relations of terminal versions number;
According to the terminal versions recognition result and corresponding default confidence value, the user identifier and default rule Then, the terminal versions number of target terminal are identified.
The method and device of the terminal versions number identification of target terminal provided in an embodiment of the present invention, can be comprehensively and quasi- Really identify the terminal versions number of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the screenshot in the system property of prior art terminal side about terminal versions number;
Fig. 2 is the method flow schematic diagram that the terminal versions number of target terminal of the embodiment of the present invention identify;
Fig. 3 is the apparatus structure schematic diagram that the terminal versions number of target terminal of the embodiment of the present invention identify;
Fig. 4 is device entity structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 2 is the method flow schematic diagram that the terminal versions number of target terminal of the embodiment of the present invention identify, as shown in Fig. 2, A kind of terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, comprising the following steps:
S1: obtaining the user identifier and signaling data of terminal, the signaling data include in http request user agent disappear The header field field information of breath, update address, the terminal of system version request the response returned letter for system version identification Breath.
Specifically, device obtains the user identifier and signaling data of terminal, the signaling data includes using in http request The header field field information of family proxy message, the update address of system version, the terminal are returned for system version identification request Response message.User identifier can be the phone number of user, but be not especially limited.Signaling data can be network side Signaling data includes field relevant to terminal versions number, can specifically there is the header field of user agent message in http request The response message that field information, the update address of system version, terminal are returned for system version identification request.User therein Proxy message (User Agent, hereinafter referred to as UA), UA are text character string format, generally include browser type, kernel, behaviour Make the information such as system, version number, the UA header field word for the Http request that usual system software (such as system browser, multimedia message) reports Segment information is than more complete, with the terminal of millet 5 when accessing network, the UA header field word of the collected Http request of network side Segment information is as follows:
In the UA character string, V7.5.6.0.MAACNDE is system version number (terminal versions number).
The update address of system version therein, it is possible to understand that are as follows: when manufacturer terminal delivery system new version, version can be pushed This update notification is to terminal, when user operates version updating, or first initiates the Http of system update packet and downloads request, to Downloading finishes, and can carry out subsequent update operation.Therefore, the screening system version updating address from the internet records of terminal, The latest edition number of terminal can be identified.It illustrates the update address of system version are as follows:
http://bigota.d.miui.com/V7.5.6.0.MAACNDE/miui-blockota-gemini- V7.5.4.0.MAACNDE-V7.5.6.0.MAACNDE-6ec308360f-6.0.zip。
V7.5.6.0.MAACNDE therein is terminal versions number.
The response message that the terminal therein is returned for system version identification request, response message can be international shifting Dynamic equipment mark code software version (International Mobile Equipment Identity Software Version, hereinafter referred to as IMEI SV), for terminal when initiating the business such as voice, data, network side can be by issuing Identity Request signaling (identify and request including system version) initiates the request obtained to end message, and the information of acquisition is according to request In Identity the type field depending on, can be IMSI, IMEI SV, TMSI etc..When Identity Type is 3, terminal The corresponding IMEI SV information of terminal is responded to network by Identity Response.
S2: the terminal versions number identification library constructed according to the signaling data and in advance determines different types of signaling number According to corresponding terminal versions recognition result, the terminal versions number identification library respectively includes the header field field information, described Update address, the response message and the one-to-one mapping relations of terminal versions number.
Specifically, the terminal versions number identification library that device is constructed according to the signaling data and in advance, determines different type The corresponding terminal versions recognition result of signaling data, the terminal versions number identification library respectively includes the header field field letter Breath, the update address, the response message and the one-to-one mapping relations of terminal versions number.Different types of signaling data It can be understood as header field field information, update address and the corresponding three types of response message, the terminal versions number constructed in advance Identification library may include UA feature database, terminal system update URL (updating address) feature database, IMEI SV (response message) version Identification feature library, UA feature database can correspond the header field field information of UA with terminal versions number, that is, reflect as follows Information:
With the one-to-one mapping relations of terminal versions V7.5.6.0.MAACNDE.
Terminal system, which updates URL feature database, can correspond update address with terminal versions number, that is, reflect such as Lower update address:
http://bigota.d.miui.com/V7.5.6.0.MAACNDE/miui-blockota-gemini- V7.5.4.0.MAACNDE-V7.5.6.0.MAACNDE-6ec308360f-6.0.zip
With the one-to-one mapping relations of terminal versions V7.5.6.0.MAACNDE.
IMEI SV version identification feature library can correspond response message and terminal versions number, need to illustrate : IMEI SV is from two aspects: 1) mapping relations that terminal producer provides, 2) the terminal version based on terminal side acquisition This number cluster result:
1) mapping relations that terminal producer provides:
Terminal producer can pass the corresponding SV of version (corresponding to IMEI SV) value when carrying out version updating publication Increase.For terminal after carrying out edition upgrading, the IMEI SV of system is then updated to the corresponding IMEI SV value of the version.Terminal versions number Safeguard with the corresponding relationship of SV value and safeguarded by terminal producer, at present Huawei, Bubukao's brand part terminal support the dimension of SV value Shield, as shown in table 1:
Table 1
2) cluster result of the terminal versions number based on terminal side acquisition:
It is safeguarded due to IMEI SV dependence terminal producer, there is the shortcomings that passive, lag.For this purpose, operator passes through deployment APP in the terminal obtains the terminal versions number that APP is reported, and the corresponding relationship based on terminal versions number with IMEI SV, increases Amount, the mapping relations of automatic maintenance terminal version number and IMEI SV.
S3: it according to the terminal versions recognition result and corresponding default confidence value, the user identifier and presets Rule identifies the terminal versions number of target terminal.
Specifically, device is marked according to the terminal versions recognition result and corresponding default confidence value, the user Knowledge and preset rules, identify the terminal versions number of target terminal.It is to be understood that the number of terminal versions recognition result is most (embodiment of the present invention is 3) mostly identical as the number of types of signaling data, default confidence value can be decimal, header field field letter Breath, to update address and the corresponding default confidence value of response message be respectively B1, B2, B3, and B1+B2+B3=1.It presets credible The specific value of angle value can be independently arranged according to the actual situation.For convenience of explanation, it is illustrated in the form of following table It is bright as follows:
It the use of the terminal versions result that UA feature database identifies is Ver1;
The terminal versions result of using terminal system update URL feature database identification is Ver2;
It the use of the terminal versions result that the version identification feature library IMEI SV identifies is Ver3;
Its corresponding default confidence value is respectively B1, B2, B3, and wherein B1, B2, B3 can be according to data source reliabilitys, knowledge The factors such as other accuracy rate carry out differentiation value.
It, can to the terminal versions number of terminal U building if three kinds of recognition results Ver1, Ver2, Ver3 are different from Reliability (corresponding default confidence value) table is as shown in table 2:
Table 2
Terminal As a result 1 Confidence level 1 As a result 2 Confidence level 2 As a result 3 Confidence level 3
U Ver1 B1 Ver2 B2 Ver3 B3
Wherein, confidence level table can carry out descending sort by the size of confidence value, with the terminal versions number identification to terminal U As a result suggestion lists are provided, wherein final recognition result of the highest recognition result of confidence value as target terminal U.
If recognition result Ver1, Ver2, Ver3 there is a situation where identical, it is tired that confidence value carries out cluster Add.Assuming that recognition result Ver1 is identical as Ver2, then as shown in table 3 to the terminal versions confidence level table of terminal U building:
Table 3
Terminal As a result 1 Confidence level 1 As a result 2 Confidence level 2
U Ver1(Ver2) B1+B2 Ver3 B3
And select the corresponding recognition result of maximum confidence value as target terminal U in the numerical value of B1+B2 and B3 Final recognition result.
If existing for empty (lose due to identifying caused by data source lacks or it fails to match using the recognition result of feature database Lose), then its corresponding confidence level is set to 0.It can not such as be identified using IMEI SV version identification feature library, then B3 is 0, it is right The terminal versions confidence level table of terminal U building is as shown in table 4:
Table 4
Select the highest recognition result of confidence value as the final recognition result of target terminal U.
Since the signaling of network side is to constantly update, the confidence level table of terminal U can be iterated more according to real-time signaling Newly.Such as: the recognition result for updating UA feature database is Ver1 ', replaces Ver1 with Ver1 ', to update confidence level table, and using more New confidence level table identifies the terminal versions number of target terminal, illustrates and can refer to above-described embodiment, repeats no more.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, can comprehensively and accurately identify The terminal versions number of user out.
On the basis of the above embodiments, described according to the terminal versions recognition result and corresponding default confidence level Value, the user identifier and preset rules, identify the terminal versions number of target terminal, comprising:
If judgement knows that the terminal versions recognition result is not entirely identical, select maximum default confidence value corresponding Terminal versions number of the terminal versions recognition result as target terminal corresponding with the user identifier.
If being selected maximum default specifically, device judgement knows that the terminal versions recognition result is not entirely identical Terminal versions number of the corresponding terminal versions recognition result of confidence value as target terminal corresponding with the user identifier. It can refer to above-described embodiment, repeat no more.
Or,
If judgement knows that the terminal versions recognition result has identical terminal versions recognition result, by the phase Same terminal versions recognition result merges into a recognition result,
Correspondingly, the corresponding default confidence value of the identical terminal versions recognition result is added, and it is being added The corresponding terminal versions number of maximum default confidence value are selected in default confidence value and remaining default confidence value afterwards Terminal versions number of the recognition result as target terminal corresponding with the user identifier.
Specifically, if device judgement knows that the terminal versions recognition result has identical terminal versions number identification knot The identical terminal versions recognition result is then merged into a recognition result by fruit, correspondingly, by the identical terminal The corresponding default confidence value of version number's recognition result is added, and default confidence value after being added and it is remaining preset it is credible Select the corresponding terminal versions recognition result of maximum default confidence value as corresponding with the user identifier in angle value The terminal versions number of target terminal.It can refer to above-described embodiment, repeat no more.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, pass through confidence value, Neng Goujin The terminal versions number of user are recognized accurately in one step.
On the basis of the above embodiments, the method also includes:
If obtaining less than one of the header field field information, the update address and described response message or a variety of, Then set empty for corresponding terminal versions recognition result, correspondingly, empty terminal versions recognition result pair will be set as The default confidence value answered is set as zero.
Specifically, if device is obtained less than in the header field field information, the update address and the response message It is one or more, then set empty for corresponding terminal versions recognition result, correspondingly, empty terminal versions number will be set as The corresponding default confidence value of recognition result is set as zero.It can refer to above-described embodiment, repeat no more.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, are by the way that recognition result is arranged Sky, and zero is set as to corresponding default confidence value, it can more quickly recognize the terminal versions number of user.
On the basis of the above embodiments, the default confidence value is respectively B1, B2, B3, one-to-one terminal version This number recognition result is respectively the header field field information, the update address, corresponding to the response message, and B1, B2, The sum of B3 is equal to 1.
Specifically, presetting confidence value described in device is respectively B1, B2, B3, one-to-one terminal versions number identification It as a result is respectively the header field field information, the update address, corresponding to the response message, and the sum of B1, B2, B3 etc. In 1.It can refer to above-described embodiment, repeat no more.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, by the way that default confidence value is arranged The sum of be equal to 1, can more reasonably identify the terminal versions number of user.
On the basis of the above embodiments, described according to the terminal versions recognition result and corresponding default confidence level Value, the user identifier and preset rules, after the terminal versions number for identifying target terminal, the method also includes:
Successively identify the terminal versions number of each target terminal, and by the terminal versions number of the target terminal after each identification It is configured to the whole network terminal versions information bank, to support customer complaint processing, terminal capabilities analysis.
Specifically, device successively identifies the terminal versions number of each target terminal, and by the target terminal after each identification Terminal versions number be configured to the whole network terminal versions information bank, with support customer complaint processing, terminal capabilities analysis.Building The citing of the whole network terminal versions information bank is as shown in table 5:
Table 5
Connected applications scene is illustrated below:
To support customer complaint processing scene citing: user (terminal) A initiates 10086 telephone complaints, accesses to customer service people Member B, B recall the terminal versions recognition result confidence level table of user A, show the content of each version reparation and optimization and are somebody's turn to do The newest terminal versions number of money terminal models, if belonging to Bug existing for some version the problem of customer complaint, and user A works as Preceding terminal versions number are not the latest edition numbers of this terminal, then contact staff can directly inform that user A directly upgrades Terminal versions number are to latest edition.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, by constructing the whole network terminal versions Number information bank, can conveniently identify the terminal versions number of the whole network user.
On the basis of the above embodiments, the method also includes:
The terminal versions number identification library is updated according to the variation of the signaling data, and by updated terminal Version number's recognition result substitutes the terminal versions recognition result.
Specifically, device is updated the terminal versions number identification library according to the variation of the signaling data, and will Updated terminal versions recognition result substitutes the terminal versions recognition result.It can refer to above-described embodiment, it is no longer superfluous It states.
According to updated terminal versions recognition result and corresponding default confidence value, the user identifier and preset Rule identifies the update terminal versions number of target terminal.
Specifically, device is according to updated terminal versions recognition result and corresponding default confidence value, the use Family mark and preset rules, identify the update terminal versions number of target terminal.It can refer to above-described embodiment, repeat no more
Successively identify the update terminal versions number of each target terminal, and the update of the target terminal after each identification is whole End version number is configured to the whole network terminal versions information bank updated, to support customer complaint processing, terminal capabilities analysis.
Specifically, device successively identifies the update terminal versions number of each target terminal, and by the target after each identification The update terminal versions number of terminal are configured to the whole network terminal versions information bank updated, to support customer complaint processing, terminal Performance evaluation.It can refer to above-described embodiment, repeat no more.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, by the letter for obtaining real-time update Data are enabled, and update terminal versions recognition result, can identify the user terminal version number of update in real time.
On the basis of the above embodiments, the method also includes:
According to the time sequencing of more kainogenesis, the target terminal in the whole network terminal versions information bank of the update is had Sequence arrangement.
Specifically, time sequencing of the device according to more kainogenesis, it will be in the whole network terminal versions information bank of the update Target terminal ordered arrangement.It is illustrated below referring to table 5: if the update time of origin of terminal 1 is later than the update of terminal 2 Terminal 1 is arranged in the top of terminal 2 by time of origin in table 5.
The terminal versions number of target terminal provided in an embodiment of the present invention know method for distinguishing, by according to more kainogenesis when Between sequence, and ordered arrangement target terminal, can facilitate to identifying that the terminal versions number of user are managed.
Fig. 3 is the apparatus structure schematic diagram that the terminal versions number of target terminal of the embodiment of the present invention identify, as shown in figure 3, A kind of device of the terminal versions number identification of target terminal provided in an embodiment of the present invention, including acquiring unit 1, determination unit 2 With recognition unit 3, in which:
Acquiring unit 1 is used to obtain the user identifier and signaling data of terminal, and the signaling data includes in http request The header field field information of user agent message, the update address of system version, the terminal are returned for system version identification request The response message returned;The terminal versions number identification library that determination unit 2 is used to construct according to the signaling data and in advance, determines not The corresponding terminal versions recognition result of the signaling data of same type, terminal versions number identification library respectively include the header field Field information, the update address, the response message and the one-to-one mapping relations of terminal versions number;Recognition unit 3 is used According to the terminal versions recognition result and corresponding default confidence value, the user identifier and preset rules, identification The terminal versions number of target terminal.
Specifically, acquiring unit 1 is used to obtain the user identifier and signaling data of terminal, the signaling data includes http The update address of the header field field information, system version of user agent message, the terminal are identified for system version in request Request the response message returned;The terminal versions number identification library that determination unit 2 is used to construct according to the signaling data and in advance, Determine the corresponding terminal versions recognition result of different types of signaling data, terminal versions number identification library respectively includes institute State header field field information, the update address, the response message and the one-to-one mapping relations of terminal versions number;Identification is single Member 3 is used for according to the terminal versions recognition result and corresponding default confidence value, the user identifier and preset rules, Identify the terminal versions number of target terminal.
Target terminal provided in an embodiment of the present invention terminal versions number identification device, can comprehensively and accurately identify The terminal versions number of user out.
The device of the terminal versions number identification of target terminal provided in an embodiment of the present invention specifically can be used for executing above-mentioned The process flow of each method embodiment, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 4 is device entity structural schematic diagram provided in an embodiment of the present invention, as shown in figure 4, described device includes: processing Device (processor) 401, memory (memory) 402 and bus 403;
Wherein, the processor 401, memory 402 complete mutual communication by bus 403;
The processor 401 is used to call the program instruction in the memory 402, to execute above-mentioned each method embodiment Provided method, for example, obtain the user identifier and signaling data of terminal, the signaling data includes in http request The header field field information of user agent message, the update address of system version, the terminal are returned for system version identification request The response message returned;The terminal versions number identification library constructed according to the signaling data and in advance, determines different types of signaling The corresponding terminal versions recognition result of data, terminal versions number identification library respectively include the header field field information, institute It states and updates address, the response message and the one-to-one mapping relations of terminal versions number;It is identified according to the terminal versions number As a result with corresponding default confidence value, the user identifier and preset rules, the terminal versions number of target terminal are identified.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, obtains user's mark of terminal Know and signaling data, the signaling data include header field field information, the system version of user agent message in http request Update address, the response message that the terminal is returned for system version identification request;According to the signaling data and preparatory structure The terminal versions number identification library built, determines the corresponding terminal versions recognition result of different types of signaling data, the terminal Version number's identification library respectively includes the header field field information, the update address, the response message and terminal versions number one One corresponding mapping relations;According to the terminal versions recognition result and corresponding default confidence value, the user identifier And preset rules, identify the terminal versions number of target terminal.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example It include: such as the user identifier and signaling data for obtaining terminal, the signaling data includes user agent message in http request The response message that header field field information, the update address of system version, the terminal are returned for system version identification request;Root The terminal versions number identification library constructed according to the signaling data and in advance, determines the corresponding terminal version of different types of signaling data This number recognition result, terminal versions number identification library respectively include the header field field information, the update address, the sound Answer information and the one-to-one mapping relations of terminal versions number;It can according to the terminal versions recognition result and corresponding preset Certainty value, the user identifier and preset rules, identify the terminal versions number of target terminal.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as device described above are only schematical, wherein the unit as illustrated by the separation member It may or may not be physically separated, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution The range of each embodiment technical solution of the embodiment of the present invention.

Claims (10)

1. a kind of terminal versions number of target terminal know method for distinguishing characterized by comprising
The user identifier and signaling data of terminal are obtained, the signaling data includes the header field of user agent message in http request The response message that field information, the update address of system version, the terminal are returned for system version identification request;
The terminal versions number identification library constructed according to the signaling data and in advance, determines that different types of signaling data is corresponding Terminal versions recognition result, the terminal versions number identification library respectively include the header field field information, the update address, The response message and the one-to-one mapping relations of terminal versions number;
According to the terminal versions recognition result and corresponding default confidence value, the user identifier and preset rules, know The terminal versions number of other target terminal.
2. the method according to claim 1, wherein described according to the terminal versions recognition result and correspondence Default confidence value, the user identifier and preset rules, identify the terminal versions number of target terminal, comprising:
If judgement knows that the terminal versions recognition result is not entirely identical, maximum default confidence value corresponding end is selected Hold terminal versions number of version number's recognition result as target terminal corresponding with the user identifier;
Or,
If judgement knows that the terminal versions recognition result has identical terminal versions recognition result, will be described identical Terminal versions recognition result merges into a recognition result, correspondingly, by the identical terminal versions recognition result pair The default confidence value answered is added, and is selected in default confidence value after being added and remaining default confidence value maximum Default terminal version of the corresponding terminal versions recognition result of confidence value as target terminal corresponding with the user identifier This number.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If obtaining less than one of the header field field information, the update address and described response message or a variety of, general Corresponding terminal versions recognition result is set as empty, correspondingly, the terminal versions recognition result for being set as sky is corresponding Default confidence value is set as zero.
4. the method according to claim 1, wherein the default confidence value is respectively B1, B2, B3, one by one Corresponding terminal versions recognition result be respectively the header field field information, the update address, the response message institute it is right It answers, and the sum of B1, B2, B3 are equal to 1.
5. method according to any one of claims 1 to 4, which is characterized in that described identified according to the terminal versions number is tied Fruit and corresponding default confidence value, the user identifier and preset rules, after the terminal versions number for identifying target terminal, institute State method further include:
It successively identifies the terminal versions number of each target terminal, and the terminal versions number of the target terminal after each identification is constructed For the whole network terminal versions information bank, to support customer complaint processing, terminal capabilities analysis.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The terminal versions number identification library is updated according to the variation of the signaling data, and by updated terminal versions Number recognition result substitutes the terminal versions recognition result;
According to updated terminal versions recognition result and corresponding default confidence value, the user identifier and default rule Then, the update terminal versions number of target terminal are identified;
Successively identify the update terminal versions number of each target terminal, and by the more new terminal version of the target terminal after each identification This number is configured to the whole network terminal versions information bank updated, to support customer complaint processing, terminal capabilities analysis.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
According to the time sequencing of more kainogenesis, the target terminal in the whole network terminal versions information bank of the update is orderly arranged Column.
8. the device that a kind of terminal versions number of target terminal identify characterized by comprising
Acquiring unit, for obtaining the user identifier and signaling data of terminal, the signaling data includes user in http request The header field field information of proxy message, update address, the terminal of system version request return for system version identification Response message;
Determination unit, the terminal versions number for constructing according to the signaling data and in advance identify library, determine different types of The corresponding terminal versions recognition result of signaling data, terminal versions number identification library respectively include the header field field letter Breath, the update address, the response message and the one-to-one mapping relations of terminal versions number;
Recognition unit, for according to the terminal versions recognition result and corresponding default confidence value, the user identifier And preset rules, identify the terminal versions number of target terminal.
9. the device that a kind of terminal versions number of target terminal identify characterized by comprising processor, memory and bus, Wherein,
The processor and the memory complete mutual communication by the bus;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy Enough methods executed as described in claim 1 to 7 is any.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 1 to 7 is any.
CN201710487122.1A 2017-06-23 2017-06-23 Method and device for identifying terminal version number of target terminal Active CN109117172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710487122.1A CN109117172B (en) 2017-06-23 2017-06-23 Method and device for identifying terminal version number of target terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710487122.1A CN109117172B (en) 2017-06-23 2017-06-23 Method and device for identifying terminal version number of target terminal

Publications (2)

Publication Number Publication Date
CN109117172A true CN109117172A (en) 2019-01-01
CN109117172B CN109117172B (en) 2022-04-01

Family

ID=64732328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710487122.1A Active CN109117172B (en) 2017-06-23 2017-06-23 Method and device for identifying terminal version number of target terminal

Country Status (1)

Country Link
CN (1) CN109117172B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905293A (en) * 2019-03-12 2019-06-18 北京奇虎科技有限公司 A kind of terminal device recognition methods, system and storage medium
CN110135130A (en) * 2019-04-25 2019-08-16 武汉虹信通信技术有限责任公司 A kind of embedded device software tamper-resistant method and system
CN111638905A (en) * 2020-05-12 2020-09-08 中信百信银行股份有限公司 Version number generation method and device, electronic equipment and readable storage medium
CN111796583A (en) * 2020-08-21 2020-10-20 上海星融汽车科技有限公司 Vehicle ECU (electronic control Unit) identification method and system and vehicle diagnosis equipment
CN112350974A (en) * 2019-08-07 2021-02-09 中国移动通信集团广东有限公司 Safety monitoring method and device of Internet of things and electronic equipment
WO2021027500A1 (en) * 2019-08-09 2021-02-18 维沃移动通信有限公司 Network device information receiving method, transmitting method, terminal, and network device
CN113641398A (en) * 2021-08-09 2021-11-12 杭州安恒信息技术股份有限公司 Ubuntu operating system version identification method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592169A (en) * 2014-10-21 2016-05-18 杭州迪普科技有限公司 Terminal identification method and terminal identification device
CN105704177A (en) * 2014-11-26 2016-06-22 阿里巴巴集团控股有限公司 UA identification method and device
CN105808278A (en) * 2014-12-31 2016-07-27 中国移动通信集团辽宁有限公司 Client version upgrading method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592169A (en) * 2014-10-21 2016-05-18 杭州迪普科技有限公司 Terminal identification method and terminal identification device
CN105704177A (en) * 2014-11-26 2016-06-22 阿里巴巴集团控股有限公司 UA identification method and device
CN105808278A (en) * 2014-12-31 2016-07-27 中国移动通信集团辽宁有限公司 Client version upgrading method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905293A (en) * 2019-03-12 2019-06-18 北京奇虎科技有限公司 A kind of terminal device recognition methods, system and storage medium
CN110135130A (en) * 2019-04-25 2019-08-16 武汉虹信通信技术有限责任公司 A kind of embedded device software tamper-resistant method and system
CN110135130B (en) * 2019-04-25 2021-03-12 武汉虹信科技发展有限责任公司 Method and system for preventing embedded equipment software from being modified
CN112350974A (en) * 2019-08-07 2021-02-09 中国移动通信集团广东有限公司 Safety monitoring method and device of Internet of things and electronic equipment
WO2021027500A1 (en) * 2019-08-09 2021-02-18 维沃移动通信有限公司 Network device information receiving method, transmitting method, terminal, and network device
CN111638905A (en) * 2020-05-12 2020-09-08 中信百信银行股份有限公司 Version number generation method and device, electronic equipment and readable storage medium
CN111796583A (en) * 2020-08-21 2020-10-20 上海星融汽车科技有限公司 Vehicle ECU (electronic control Unit) identification method and system and vehicle diagnosis equipment
CN113641398A (en) * 2021-08-09 2021-11-12 杭州安恒信息技术股份有限公司 Ubuntu operating system version identification method, device and equipment

Also Published As

Publication number Publication date
CN109117172B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN109117172A (en) A kind of method and device of the terminal versions number identification of target terminal
CN109344048A (en) A kind of test method, storage medium and server
US20120095950A1 (en) Systems and methods for implementing business rules designed with cloud computing
CN110033206A (en) Bill of materials automatic Check method and device
CN109241014B (en) Data processing method and device and server
CN104580451A (en) Method and system for achieving account number synchronization among multiple platforms, and electronic device
CN109905293A (en) A kind of terminal device recognition methods, system and storage medium
CN108256006A (en) A kind of direct broadcasting room badge picture loading method and system
CN110956269A (en) Data model generation method, device, equipment and computer storage medium
CN106371881A (en) Method and system for updating program versions in servers
CN106790549A (en) A kind of data-updating method and device
CN107480205A (en) A kind of method and apparatus for carrying out data partition
CN106843984A (en) The update method and device of application database
CN110222054A (en) A kind of method, apparatus, terminal device and storage medium improving retrieval rate
CN115469833A (en) Method and device for implementing dynamic rule engine, electronic equipment and storage medium
CN109011565A (en) Analysis method, device and the server of state before a kind of game running
CN107656860A (en) Performance test methods, apparatus and system
CN105426128A (en) Index maintenance method and device
CN110737458A (en) code updating method and related device
CN110968569B (en) Database management method, database management device, and storage medium
US10861021B2 (en) State value indexing into an action database
CN110838338A (en) System, method, storage medium, and electronic device for creating biological analysis item
CN104462484B (en) Data processing method, data processor and system
CN114511314A (en) Payment account management method and device, computer equipment and storage medium
CN114356781A (en) Software function testing method and device

Legal Events

Date Code Title Description
PB01 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