CN104702804A - Method and device for marking number - Google Patents
Method and device for marking number Download PDFInfo
- Publication number
- CN104702804A CN104702804A CN201510053841.3A CN201510053841A CN104702804A CN 104702804 A CN104702804 A CN 104702804A CN 201510053841 A CN201510053841 A CN 201510053841A CN 104702804 A CN104702804 A CN 104702804A
- Authority
- CN
- China
- Prior art keywords
- mark
- type
- entrance
- score
- weighted value
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a device for marking a number, and aims at improving the number type marking accuracy. The method comprises the steps of respectively acquiring the marking times of each number corresponding to each marking type; respectively calculating the score of the number corresponding to each marking type according to the marking times of the number corresponding to each marking type and the type weight value corresponding to each marking type; marking the number as the mark type corresponding to the top score. With the adoption of the method, the danger degree and truth of the type corresponding to the number can be quantized by a weighing manner, and then the number can be marked into the marking type corresponding to the top score, so that the direct result can be obtained, and the number type marking accuracy can be improved.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of number mark method and device.
Background technology
In prior art, there is the behavior of various malice incoming call, as behaviors such as telemarketing, telephone fraud, malice harassing and wrecking, have impact on the life of user.In this case, incoming call interception and malice call reminding technology are applied and give birth to, and serve great containment effect for behaviors such as telemarketing, telephone fraud, malice harassing and wrecking.
In the prior art, user can check numbers in terminal and mark, as being harassing call, doubtful swindle, ad promotions etc. by number mark.Server can collect the type that user checks numbers in terminal.Server is according to the number of times of user to the mark of this number each type corresponding, determine the type that number is corresponding, have if any a telephone number and be marked as harassing call 50 times, have and be marked as doubtful swindle 30 times, have and be marked as ad promotions 20 times, then determine that this number is harassing call.This mode cannot the extent of injury quantification treatment of various types of malicious call, and therefore, cannot judge size and the authenticity of all types of extent of injury, the order of accuarcy of the type of the mark of therefore checking numbers is lower.
Summary of the invention
For overcoming problems of the prior art, the invention provides a kind of number mark method and device, in order to improve the order of accuarcy of the type of number.
The invention provides a kind of number mark method, comprising:
Each number corresponding, obtains the mark number of times of number each type corresponding respectively;
Each number corresponding, type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding;
Be the type that top score is corresponding by number mark.
In one embodiment, the described mark number of times obtaining number each type corresponding respectively, comprising:
Each type corresponding, obtain the mark number of times that number each mark entrance corresponding carries out marking respectively, wherein, mark entrance is the mode of operation that user carries out number mark.
In one embodiment, described type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding, comprising:
Each type corresponding, the entrance weighted value that the mark number of times carrying out marking according to number each mark entrance corresponding respectively, each mark entrance are corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type.
In one embodiment, described method also comprises:
The number of steps of carrying out number mark operation according to user in mark entrance is determined to mark entrance weighted value corresponding to entrance;
Described entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.
In one embodiment, the entrance weighted value that described mark number of times, each mark entrance carrying out marking according to number each mark entrance corresponding is respectively corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type, comprising:
The mark number of times being carried out by each mark entrance corresponding for number marking marks after entrance weighted value corresponding to entrance is multiplied with each sues for peace, and obtains and value;
Type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
In one embodiment, the entrance weighted value that described mark number of times, each mark entrance carrying out marking according to number each mark entrance corresponding is respectively corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type, comprising:
Entrance weighted value corresponding for each mark entrance is carried out the index of the mark number of times marked as number each mark entrance corresponding, sue for peace after doing power operation, obtain and value;
Type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
In one embodiment, described method also comprises:
By described number and the type corresponding to described number of pressing top score mark, be pushed to designated equipment.
The invention provides a kind of number mark device, comprising:
Acquisition module, for each number corresponding, obtains the mark number of times of number each type corresponding respectively;
Computing module, for each number corresponding, type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding;
Number mark is the type that top score is corresponding by mark module.
In one embodiment, described acquisition module, for each type corresponding, obtain the mark number of times that number each mark entrance corresponding carries out marking respectively, wherein, mark entrance is the mode of operation that user carries out number mark.
In one embodiment, described computing module, for each type corresponding, the entrance weighted value that the mark number of times carrying out marking according to number each mark entrance corresponding respectively, each mark entrance are corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type.
In one embodiment, described device also comprises:
Determination module, determines to mark entrance weighted value corresponding to entrance for the number of steps of carrying out number mark operation according to user in mark entrance;
Described entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.
In one embodiment, described computing module comprises:
First calculating sub module, mark after entrance weighted value corresponding to entrance is multiplied with each for the mark number of times that carried out marking by each mark entrance corresponding for number and sues for peace, acquisition and being worth;
Second calculating sub module, for type weight value corresponding with type to gained and value being multiplied, using the score of gained product as number correspondence markings type.
In one embodiment, described calculating sub module, comprising:
3rd calculating sub module, for entrance weighted value corresponding for each mark entrance to be carried out the index of the mark number of times marked as number each mark entrance corresponding, sues for peace after doing power operation, obtains and value;
4th calculating sub module, for type weight value corresponding with type to gained and value being multiplied, using the score of gained product as number correspondence markings type.
In one embodiment, described device also comprises:
Pushing module, for by described number and the type corresponding to described number of pressing top score mark, is pushed to designated equipment.
Beneficial effect of the present invention is: beneficial effect of the present invention is: each number corresponding, obtain the mark number of times of number each type corresponding respectively, according to the mark number of times of type corresponding to number obtained and type weight value corresponding to each type, calculate the score of the corresponding each type of number, be the type that top score is corresponding by number mark, so, the extent of injury of type corresponding for number and authenticity can be quantized by weighting scheme, number mark is the type that top score is corresponding the most at last, obtain more objective result, improve the accuracy of type mark of checking numbers.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of number mark method in one embodiment of the invention.
Fig. 2 is the schematic diagram that in one embodiment of the invention, mouth is charged in the acceptance of the bid of number mark method.
Fig. 3 is the schematic diagram that in one embodiment of the invention, mouth is charged in the acceptance of the bid of number mark method.
Fig. 4 is the schematic diagram that in one embodiment of the invention, mouth is charged in the acceptance of the bid of number mark method.
Fig. 5 is the flow chart of number mark method in another embodiment of the present invention.
Fig. 6 is the scene schematic diagram of number mark method in one embodiment of the invention.
Fig. 7 is the structure chart of number mark device in one embodiment of the invention.
Fig. 8 is the structure chart of number mark device in another embodiment of the present invention.
Fig. 9 is the structure chart of number mark device in another embodiment of the present invention.
Figure 10 is the structure chart of number mark device in another embodiment of the present invention.
Figure 11 is the structure chart of number mark device in another embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of number mark method in one embodiment of the invention, as shown in Figure 1, in the present invention, number mark method can be used for server, such as malice call reminding application background server in or call block application background server in, the method comprises the steps:
In step S101, each number corresponding, obtains the mark number of times of number each type corresponding respectively.
For example, user receives malice incoming call, check numbers and mark, and the number of this malice being sent a telegram here and type corresponding to number are uploaded onto the server, because same number may be marked as different types, mark number of times corresponding to server each type to each number is added up, and statistics is stored.Or user receives malice incoming call, check numbers and mark, and the number of this malice being sent a telegram here and type corresponding to number are uploaded to third party, the mark number of times corresponding by third party's each type to each number is added up, and server can obtain the statistics of mark number of times corresponding to each type of each number from third party.
In one embodiment, the above-mentioned mark number of times obtaining number each type corresponding respectively can comprise: each type corresponding, obtain the mark number of times that number each mark entrance corresponding carries out marking respectively, wherein, mark entrance is the mode of operation that user carries out number mark.
For example, user is checked numbers by different mark entrances in the terminal and marks, and as in Figure 2-4, mark entrance comprises: mark by playing frame after strange end of conversation, as shown in Figure 2; The application being undertaken marking by strangeness numbers marks, as shown in Figure 3; Marked by dialer call record list, as shown in Figure 4.The operating procedure meeting that user completes mark in each mark entrance is different.The a certain type that corresponding number is labeled, each mark entrance corresponding, adds up the mark number of times that number is labeled respectively.
So, for different marking operation modes, the number of times that type is labeled can be added up.
In step s 102, each number corresponding, type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding.
For example, corresponding to a certain number, type weight value corresponding with each type for the mark number of times of each type corresponding for number is weighted summation, using gained and the score of value as number correspondence markings type.It should be noted that, jack per line can be marked as dissimilar, because different type may be different to the extent of injury of user, so, different weighted values is given, because the extent of injury of doubtful swindle is comparatively large, so the type weight value of giving doubtful swindle is 2 to different type, other type weighted values are 1, specifically as shown in table 1:
Type | Type weight value |
Doubtful swindle | x2 |
Harassing call | x1 |
Ad promotions | x1 |
House property medium | x1 |
Courier Service | x1 |
Take out food delivery | x1 |
Insurance sales | x1 |
Recruitment hunter | x1 |
Ring a sound | x1 |
Table 1
In one embodiment, above-mentioned type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding, can comprise:
Each type corresponding, the entrance weighted value that the mark number of times carrying out marking according to number each mark entrance corresponding respectively, each mark entrance are corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type.
Such as, the entrance weighted value that above-mentioned mark number of times, each mark entrance carrying out marking according to number each mark entrance corresponding is respectively corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type, can A1-A2 be comprised the steps:
In steps A 1, the mark number of times being carried out by each mark entrance corresponding for number marking marks after entrance weighted value corresponding to entrance is multiplied with each sues for peace, and obtains and value.
In steps A 2, type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
For example, certain number is marked as doubtful swindle 15 times, and wherein, the number of times being undertaken marking by mark entrance one is 9 times, and the number of times being undertaken marking by mark entrance two is 6 times; This number is marked as ad promotions 28 times, and wherein, the number of times being undertaken marking by mark entrance one is 16 times, and the number of times being undertaken marking by mark entrance two is 12 times; This number is marked as harassing call 13 times, and wherein, the number of times being undertaken marking by mark entrance one is 8 times, and the number of times being undertaken marking by mark entrance two is 5 times.The entrance weighted value of mark entrance one preset is 1, and when the entrance weighted value of mark entrance two is 2, the type weight value of default doubtful swindle, ad promotions and harassing call is all 1, can not consider the impact of type weight value.By method in above-mentioned steps A1 and steps A 2, calculate, the score M=9 × 1+6 × 2=21 of the doubtful swindle of type; Calculate, the score N=16 × 1+12 × 2=40 of type ad promotions; Calculate, the score S=8 × 1+5 × 2=18 of type harassing call.
So, can by giving weighted value to mark entrance, improving checks numbers carries out the accuracy of type mark.
Again such as, the weighted value presetting doubtful swindle is 2, and the weighted value of ad promotions is 1, and the weighted value of harassing call is 1, calculates score M1=2 × (9 × 1+6 × 2)=42 of the doubtful swindle of type; Calculate score N1=1 × (16 × 1+12 × 2)=40 of type ad promotions; Calculate score S1=1 × (8 × 1+5 × 2)=18 of type harassing call.
So, because all types of malice incoming call extent of injury is different, introducing different type weight values can quantize the extent of injury, improves the accuracy to mark further.
In one embodiment, the entrance weighted value that above-mentioned mark number of times, each mark entrance carrying out marking according to number each mark entrance corresponding is respectively corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type, can B1-B2 be comprised the steps:
In step bl is determined., entrance weighted value corresponding for each mark entrance corresponding for number is carried out the index of the mark number of times marked as number each mark entrance corresponding, sue for peace after doing power operation, obtain and value.
In step B2, type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
For example, certain number is marked as doubtful swindle 15 times, and wherein, the number of times being undertaken marking by mark entrance one is 9 times, and the number of times being undertaken marking by mark entrance two is 6 times; This number is marked as ad promotions 28 times, and wherein, the number of times being undertaken marking by mark entrance one is 16 times, and the number of times being undertaken marking by mark entrance two is 12 times; This number is marked as harassing call 13 times, and wherein, the number of times being undertaken marking by mark entrance one is 8 times, and the number of times being undertaken marking by mark entrance two is 5 times.The entrance weighted value of the mark entrance one preset is 1, when the entrance weighted value of mark entrance two is 2, the doubtful swindle preset, the type weight value of ad promotions and harassing call are all 1, the impact of type weight value can not be considered, by method in above-mentioned steps B1 and step B2, calculate, the score M=9 of the doubtful swindle of type
1+ 6
2=45; Calculate, the score N=16 of type ad promotions
1+ 12
2=160; Calculate, the score S=8 of type harassing call
1+ 5
2=33.If the weighted value of doubtful swindle is 2, the weighted value of ad promotions is 1, and the weighted value of harassing call is 1, now, calculates, score M1=2 × (9 of the doubtful swindle of type
1+ 6
2)=90; Calculate, score N1=1 × (16 of type ad promotions
1+ 12
2)=160, calculate, score S=1 × (8 of type harassing call
1+ 5
2)=33.
So, provide another by the method for the malicious call extent of injury and type authenticity quantification treatment, improve the computational accuracy of the malicious call extent of injury.
In one embodiment, said method also can comprise: the number of steps of carrying out number mark operation according to user in mark entrance is determined to mark entrance weighted value corresponding to entrance.Above-mentioned entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.For example, user operation number of steps is 1, then entrance weighted value is K, and user operation number of steps is 2, then entrance weighted value is 2K, the linear relationship of user operation number of steps and entrance weighted value to be proportionality coefficient be K.
In addition, the number of steps that entrance weighted value and user in mark entrance carry out number mark operation can be also positively related relation, and such as, when number of steps is 1, entrance weighted value is 1; When number of steps is 2-4, entrance weighted value is 2; When number of steps is 5-6, entrance weighted value is 3; When number of steps is greater than 6, entrance weighted value is 3; Specifically as shown in table 2:
The number of steps of mark entrance | Entrance weighted value |
1 | x1 |
2-4 | x2 |
5-6 | x3 |
Be greater than 6 | x4 |
Table 2
For example, for each mark entrance, the minimum operation step that user is marked by this mark entrance is simulated, determines to mark user in entrance and carry out the number of steps of number mark operation, determine to mark entrance weighted value corresponding to entrance according to the number of steps determined.
Such as, play window entrance after corresponding end of conversation, after user hangs up the telephone, terminal automatic spring comprises the window of type button, only needs user directly to click certain type played in window list, just can complete uploading of the type of number and number.Therefore, in this mark entrance, operating procedure number is 1.And for example, strangeness numbers mark entrance in corresponding application, user is after hanging up the telephone, to marking entrance, user at least needs to click type, clicks ACK button at the acknowledgement window ejected, and can select whether to be described tag content, click submission completes uploads.Therefore, the operating procedure number of this mark entrance is 3 or 4, is the number of steps that mark entrance is corresponding with minimum operation step 3.And for example, corresponding mobile phone dialer call record list mark entrance, user marks the strangeness numbers in message registration, such as, to the strangeness numbers ringing a sound in missed call, user need click number, correspondence markings type (as harassing call) clicked by the window comprising type button according to ejecting, click ACK button at acknowledgement window, and tag content is described (as being described as " ring a sound "), describe and click submission and complete and upload.Therefore, the operating procedure number of this mark entrance is 5.User operation number of steps is more, then the authenticity of this type is higher, and therefore, determine different entrance weighted values according to operating procedure number, operating procedure number is more, is endowed higher entrance weighted value.
So, introduce mark entrance, because carry out the quantity of the step marked and the accuracy positive correlation of mark by mark entrance, determine to mark the entrance weighted value of entrance according to the quantity of being carried out the step marked by mark entrance, further increase the accuracy of the type being labeled number.
In step s 103, be the type that top score is corresponding by number mark.
For example, certain number is marked as doubtful swindle 15 times, and wherein, the number of times being undertaken marking by mark entrance one is 9 times, and the number of times being undertaken marking by mark entrance two is 6 times; This number is marked as ad promotions 28 times, and wherein, the number of times being undertaken marking by mark entrance one is 16 times, and the number of times being undertaken marking by mark entrance two is 12 times; This number is marked as harassing call 13 times, and wherein, the number of times being undertaken marking by mark entrance one is 8 times, and the number of times being undertaken marking by mark entrance two is 5 times.The entrance weighted value of the mark entrance one preset is 1, when the entrance weighted value of mark entrance two is 2, if the doubtful swindle preset, the type weight value of ad promotions and harassing call are all 1, then can not consider the impact of type weight value, by method in above-mentioned steps A1 and steps A 2, calculate, the score M=9 × 1+6 × 2=21 of the doubtful swindle of type; Calculate, the score N=16 × 1+12 × 2=40 of type ad promotions; Calculate, the score S=8 × 1+5 × 2=18 of type harassing call.
If the weighted value of doubtful swindle is 2, the weighted value of ad promotions is 1, now, calculates, score M1=2 × (9 × 1+6 × 2)=42 of the doubtful swindle of type; Calculate, score N1=1 × (16 × 1+12 × 2)=40 of type ad promotions, calculate, score S1=1 × (8 × 1+5 × 2)=18 of type harassing call.
When not considering type weight value, be marked as the final score M=21 of doubtful swindle, be marked as the final score N=40 of ad promotions, be marked as the final score S=18 of harassing call, because N>M>S, so final type is ad promotions, number of times is 28.
When type weight is different, need the impact considering type weight value, such as, if the weighted value of doubtful swindle is 2, the weighted value of ad promotions is 1, be marked as the score M1=42 of doubtful swindle, be marked as the score N1=40 of ad promotions, be marked as the score S1=18 of harassing call, because M1>N1>S1, so number mark is doubtful swindle the most at last, number of times is 15.Such as, the form of " this number is labeled as doubtful swindle by 15 people " can finally be changed into.
So, using type corresponding for the score maximum that combines type weight value and entrance weighted value as final type, both consider the extent of injury, considered again the authenticity of mark, further improve the accuracy of mark of checking numbers.
In one embodiment, said method also can comprise: be pushed to designated equipment by above-mentioned number with by the type that the above-mentioned number of top score mark is corresponding.
For example, determine the type that lable number is final, type corresponding for number and the number of times be labeled are pushed to designated equipment, number and type corresponding to this number and mark number of times store by designated equipment, above-mentioned designated equipment can be third party, also can be user terminal.
So, when this number removes electricity to terminal, at type and the mark number of times of this number of terminal demonstration, user is pointed out.
Beneficial effect of the present invention is: according to the mark number of times of type corresponding to number obtained, with the type weight value of number correspondence markings type, calculates the score of the corresponding each type of number; The above-mentioned mode doing weighting algorithm according to dissimilar weighted value, can with the extent of injury distinguishing dissimilar weighted value, quantification treatment has been done for Harm Type, number mark is the type that top score is corresponding the most at last, obtain more objective result, improve the accuracy that lable number type is calculated.
Embodiment one
Fig. 5 is the flow chart of number mark method in the embodiment of the present invention one, as shown in Figure 6, the present embodiment is applied in following scene: server and third party database are interconnected by network, server obtains the type of third party database each number corresponding, by the mark number of times of mark entrance statistics; Give different entrance weighted values to mark entrance, give different type weight values to type.As shown in Figure 5, the method comprises the steps:
In step S501, each type of each number corresponding, obtains the mark number of times that number each mark entrance corresponding carries out marking respectively.
Wherein, marking entrance is the mode of operation that user carries out number mark.
For example, the present embodiment comprises mark entrance 1 and mark entrance 2, plays window entrance and mobile phone dialer phone lists mark entrance after being respectively end of conversation.Such as, correspondence markings entrance 1, after user hangs up the telephone, terminal automatic spring comprises the window of type button, only needs user directly to click certain type played in window list, just can complete uploading of the type of number and number.Strangeness numbers mark entrance in the application of correspondence markings entrance 2 correspondence, user, after hanging up the telephone, can open the application for lable number, for user provides diversified mark mode.Each type that table 3 is certain number got each mark entrance corresponding carries out the mark number of times marked:
Type | Doubtful swindle | Ad promotions | Harassing call |
Mark entrance 1 marks number of times | 9 | 16 | 8 |
Mark entrance 2 marks number of times | 6 | 12 | 5 |
Table 3
In step S502, the number of steps of carrying out number mark operation according to user in mark entrance is determined to mark entrance weighted value corresponding to entrance.
Above-mentioned entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.
For example, after corresponding end of conversation, play window entrance, namely mark entrance 1, after user hangs up the telephone, terminal automatic spring comprises the window of type button, only needs user directly to click certain type played in window list, just can complete uploading of the type of number and number.In this mark entrance 1, operating procedure number is 1.Strangeness numbers mark entrance in corresponding application, namely mark entrance 2, user is after hanging up the telephone, to marking entrance, user at least needs to click type, clicks ACK button at the acknowledgement window ejected, and can select whether to be described tag content, click submission completes uploads.Therefore, the operating procedure number of this mark entrance is 3 or 4, is the number of steps that mark entrance is corresponding with minimum operation step 3.User operation number of steps is more, then the authenticity of this type is higher, and therefore, determine different entrance weighted values according to operating procedure number, operating procedure number is more, is endowed higher entrance weighted value.Finally can represent with the form of table 4:
Type | Doubtful swindle | Ad promotions | Harassing call |
Mark entrance 1 marks number of times | 9 | 16 | 8 |
Mark entrance 1 entrance weighted value | x1 | x1 | x1 |
Mark entrance 2 marks number of times | 6 | 12 | 5 |
Mark entrance 2 entrance weighted value | x2 | x2 | x2 |
Table 4
In step S503, each type of each number corresponding, the mark number of times being carried out by each mark entrance corresponding for number marking marks after entrance weighted value corresponding to entrance is multiplied with each sues for peace, and obtains and value.
For example, as shown in table 4, certain number is marked as doubtful swindle 15 times, and wherein, the number of times being undertaken marking by mark entrance 1 is 9 times, and the number of times being undertaken marking by mark entrance 2 is 6 times; This number is marked as ad promotions 28 times, and wherein, the number of times being undertaken marking by mark entrance 1 is 16 times, and the number of times being undertaken marking by mark entrance 2 is 12 times; This number is marked as harassing call 13 times, and wherein, the number of times being undertaken marking by mark entrance 1 is 8 times, and the number of times being undertaken marking by mark entrance 2 is 5 times.The entrance weighted value of the mark entrance 1 preset is 1, when the entrance weighted value of mark entrance 2 is 2, calculates, and the score of the doubtful swindle of type and value are M=9 × 1+6 × 2=21; Calculate, the score of type ad promotions and value are N=16 × 1+12 × 2=40; Calculate, the score of type harassing call and value are S=8 × 1+5 × 2=18.
In step S504, type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
For example, the weighted value presetting doubtful swindle is 2, and the weighted value of ad promotions is 1, and the weighted value of harassing call is 1, calculates score M1=2 × (9 × 1+6 × 2)=42 of the doubtful swindle of number correspondence markings type; Calculate score N1=1 × (16 × 1+12 × 2)=40 that number correspondence markings type advertisements is promoted; Calculate score S1=1 × (8 × 1+5 × 2)=18 of number correspondence markings type harassing call.
In step S505, be the type that top score is corresponding by number mark.
For example, score M1=2 × (9 × 1+6 × 2)=42 of the doubtful swindle of number correspondence markings type; Score N1=1 × (16 × 1+12 × 2)=40 of type ad promotions; Score S1=1 × (8 × 1+5 × 2)=18 of type harassing call.M1>N1>S1, the final type of number is doubtful swindle, and number of times is 15.Such as, the form of " this number is labeled as doubtful swindle by 15 people " can be finally shown as.
In step S506, by above-mentioned number and the type corresponding to above-mentioned number of pressing top score mark, be pushed to designated equipment.
For example, this result is shown as the prompting printed words of " this number is labeled as doubtful swindle by 15 people " by server, be pushed to designated equipment, as in the memory device of client counterpart terminal or in third-party memory device, when the terminal of installing above-mentioned client receives this number incoming call, at the printed words of terminal demonstration " this number is labeled as doubtful swindle by 15 people ".In addition, server determines that final type is doubtful swindle, number of times is after 15 times, also can be stored in the memory module of server self, when client counterpart terminal receives this number incoming call, then the prompting printed words of " this number is labeled as doubtful swindle by 15 people " are pushed to client.
In addition, above-mentioned steps S503 can also be implemented as: index entrance weighted value corresponding for each mark entrance corresponding for number being carried out the mark number of times marked as each mark entrance, sues for peace, obtain and value after doing power operation.
For example, certain number is marked as doubtful swindle 15 times, and wherein, the number of times being undertaken marking by mark entrance 1 is 9 times, and the number of times being undertaken marking by mark entrance 2 is 6 times; This number is marked as ad promotions 28 times, and wherein, the number of times being undertaken marking by mark entrance 1 is 16 times, and the number of times being undertaken marking by mark entrance 2 is 12 times; This number is marked as harassing call 13 times, and wherein, the number of times being undertaken marking by mark entrance 1 is 8 times, and the number of times being undertaken marking by mark entrance 2 is 5 times.The entrance weighted value of the mark entrance 1 preset is 1, when the entrance weighted value of mark entrance 2 is 2, by above-mentioned account form, calculates, the score M=9 of the doubtful swindle of number correspondence markings type
1+ 6
2=45; The score N=16 that number correspondence markings type advertisements is promoted
1+ 12
2=160; The score S=8 of number correspondence markings type harassing call
1+ 5
2=33.
Now, in step S504: type weight value corresponding with type to gained and value is multiplied, using the score of gained product as type.
For example, if the doubtful swindle preset, the type weight value of ad promotions and harassing call are all 1, the impact of type weight value can not be considered, if the weighted value of doubtful swindle is 2, the weighted value of ad promotions is 1, now, calculate, score M1=2 × (9 of the doubtful swindle of type
1+ 6
2)=90; Calculate, score N1=1 × (16 of type ad promotions
1+ 12
2)=160, calculate, score S=1 × (8 of type harassing call
1+ 5
2)=33.So, in step S505, be ad promotions by number mark.
The beneficial effect of the application is: according to the label information of the lable number received, simulation operation step, obtain minimum operation number of steps, judge the subjectivity of terminal operation, subjectivity power according to terminal operation is marked as different entrances, introduce different entrance weighted values, improve the authenticity of lable number correspondence markings type, and, weighting algorithm is done according to different type weight values, the extent of injury of dissimilar weighted value can be distinguished, improve the objectivity judging final type.Carry out quantification treatment to the extent of injury and authenticity, and comprehensively the two does weighting algorithm, the result of acquisition is more objective, further increases the accuracy being labeled number mark type.
Fig. 7 is the structure chart of number mark device in one embodiment of the invention, as shown in Figure 7, in the present invention, information feedback method can be used for server, such as malice call reminding application background server in or call block application background server in, this device comprises:
Acquisition module 71, for each number corresponding, obtains the mark number of times of number each type corresponding respectively;
Computing module 72, for each number corresponding, type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding;
Number mark is the type that top score is corresponding by mark module 73.
In one embodiment, acquisition module, for each type corresponding, obtain the mark number of times that number each mark entrance corresponding carries out marking respectively, wherein, mark entrance is the mode of operation that user carries out number mark.
In one embodiment, computing module, for each type corresponding, the entrance weighted value that the mark number of times carrying out marking according to number each mark entrance corresponding respectively, each mark entrance are corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type.
In one embodiment, as shown in Figure 8, device also can comprise:
Determination module 81, determines to mark entrance weighted value corresponding to entrance for the number of steps of carrying out number mark operation according to user in mark entrance;
Above-mentioned entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.
In one embodiment, as shown in Figure 9, computing module 72 can comprise:
First calculating sub module 91, mark after entrance weighted value corresponding to entrance is multiplied with each for the mark number of times that carried out marking by each mark entrance corresponding for number and sues for peace, acquisition and being worth;
Second calculating sub module 92, for type weight value corresponding with type to gained and value being multiplied, using the score of gained product as number correspondence markings type.
In one embodiment, as shown in Figure 10, computing module 72 can comprise:
3rd calculating sub module 101, for entrance weighted value corresponding for each mark entrance to be carried out the index of the mark number of times marked as number each mark entrance corresponding, sues for peace after doing power operation, obtains and value;
4th calculating sub module 102, for type weight value corresponding with type to gained and value being multiplied, using the score of gained product as number correspondence markings type.
In one embodiment, as shown in figure 11, device also can comprise:
Pushing module 111, for by number and the type corresponding to number of pressing top score mark, is pushed to designated equipment.
Beneficial effect of the present invention is: according to the mark number of times of type corresponding to number obtained, with the type weight value of number correspondence markings type, calculates the score of the corresponding each type of number; The above-mentioned mode doing weighting algorithm according to dissimilar weighted value, can with the extent of injury distinguishing dissimilar weighted value, quantification treatment has been done for Harm Type, number mark is the type that top score is corresponding the most at last, obtain more objective result, improve the accuracy that lable number type is calculated.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (14)
1. a number mark method, is characterized in that, comprising:
Each number corresponding, obtains the mark number of times of number each type corresponding respectively;
Each number corresponding, type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding;
Be the type that top score is corresponding by number mark.
2. the method for claim 1, is characterized in that, the described mark number of times obtaining number each type corresponding respectively, comprising:
Each type corresponding, obtain the mark number of times that number each mark entrance corresponding carries out marking respectively, wherein, mark entrance is the mode of operation that user carries out number mark.
3. method as claimed in claim 2, is characterized in that, described type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding, comprising:
Each type corresponding, the entrance weighted value that the mark number of times carrying out marking according to number each mark entrance corresponding respectively, each mark entrance are corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
The number of steps of carrying out number mark operation according to user in mark entrance is determined to mark entrance weighted value corresponding to entrance;
Described entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.
5. method as claimed in claim 3, it is characterized in that, the entrance weighted value that described mark number of times, each mark entrance carrying out marking according to number each mark entrance corresponding is respectively corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type, comprising:
The mark number of times being carried out by each mark entrance corresponding for number marking marks after entrance weighted value corresponding to entrance is multiplied with each sues for peace, and obtains and value;
Type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
6. method as claimed in claim 3, it is characterized in that, the entrance weighted value that described mark number of times, each mark entrance carrying out marking according to number each mark entrance corresponding is respectively corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type, comprising:
Entrance weighted value corresponding for each mark entrance is carried out the index of the mark number of times marked as number each mark entrance corresponding, sue for peace after doing power operation, obtain and value;
Type weight value corresponding with type to gained and value is multiplied, using the score of gained product as number correspondence markings type.
7. the method for claim 1, is characterized in that, described method also comprises:
By described number and the type corresponding to described number of pressing top score mark, be pushed to designated equipment.
8. a number mark device, is characterized in that, comprising:
Acquisition module, for each number corresponding, obtains the mark number of times of number each type corresponding respectively;
Computing module, for each number corresponding, type weight value corresponding with each type according to the mark number of times of number each type corresponding respectively, calculates the score of number each type corresponding;
Number mark is the type that top score is corresponding by mark module.
9. device as claimed in claim 8, is characterized in that, described acquisition module, and for each type corresponding, obtain the mark number of times that number each mark entrance corresponding carries out marking respectively, wherein, mark entrance is the mode of operation that user carries out number mark.
10. device as claimed in claim 9, it is characterized in that, described computing module, for each type corresponding, the entrance weighted value that the mark number of times carrying out marking according to number each mark entrance corresponding respectively, each mark entrance are corresponding and type weight value corresponding to type, calculate the score of number correspondence markings type.
11. devices as claimed in claim 10, it is characterized in that, described device also comprises:
Determination module, determines to mark entrance weighted value corresponding to entrance for the number of steps of carrying out number mark operation according to user in mark entrance;
Described entrance weighted value carries out the number of steps positive correlation of number mark operation with user in mark entrance.
12. devices as claimed in claim 10, it is characterized in that, described computing module comprises:
First calculating sub module, mark after entrance weighted value corresponding to entrance is multiplied with each for the mark number of times that carried out marking by each mark entrance corresponding for number and sues for peace, acquisition and being worth;
Second calculating sub module, for type weight value corresponding with type to gained and value being multiplied, using the score of gained product as number correspondence markings type.
13. devices as claimed in claim 10, it is characterized in that, described calculating sub module, comprising:
3rd calculating sub module, for entrance weighted value corresponding for each mark entrance to be carried out the index of the mark number of times marked as number each mark entrance corresponding, sues for peace after doing power operation, obtains and value;
4th calculating sub module, for type weight value corresponding with type to gained and value being multiplied, using the score of gained product as number correspondence markings type.
14. devices as claimed in claim 8, it is characterized in that, described device also comprises:
Pushing module, for by described number and the type corresponding to described number of pressing top score mark, is pushed to designated equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510053841.3A CN104702804B (en) | 2015-01-28 | 2015-02-02 | A kind of number mark method and device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510044074X | 2015-01-28 | ||
CN201510044074 | 2015-01-28 | ||
CN201510053841.3A CN104702804B (en) | 2015-01-28 | 2015-02-02 | A kind of number mark method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104702804A true CN104702804A (en) | 2015-06-10 |
CN104702804B CN104702804B (en) | 2018-03-09 |
Family
ID=53349551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510053841.3A Active CN104702804B (en) | 2015-01-28 | 2015-02-02 | A kind of number mark method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104702804B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105282744A (en) * | 2015-09-02 | 2016-01-27 | 百度在线网络技术(北京)有限公司 | Method and device used for crowdsourcing number marking |
CN105450825A (en) * | 2015-11-24 | 2016-03-30 | 小米科技有限责任公司 | Communication number classification mark method and device |
CN105893347A (en) * | 2016-03-30 | 2016-08-24 | 北京搜狗科技发展有限公司 | Communication marker label generation method and device and electronic equipment |
CN106791230A (en) * | 2015-11-25 | 2017-05-31 | 小米科技有限责任公司 | Telephone number recognition methods and device |
CN107896287A (en) * | 2017-09-30 | 2018-04-10 | 上海壹账通金融科技有限公司 | Phone number risk monitoring method and mobile terminal |
CN108881591A (en) * | 2018-05-31 | 2018-11-23 | 咪咕动漫有限公司 | Multi-platform information recommendation method and device and storage medium |
CN111726448A (en) * | 2019-03-04 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Number marking method and device, computer storage medium and electronic equipment |
CN112883037A (en) * | 2021-04-28 | 2021-06-01 | 北京泰迪熊移动科技有限公司 | Bloom filter algorithm-based display method and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102663106A (en) * | 2012-04-13 | 2012-09-12 | 北京搜狗科技发展有限公司 | Method and system for creating number information database |
CN102665014A (en) * | 2012-04-13 | 2012-09-12 | 北京搜狗科技发展有限公司 | Number information prompting method and system |
CN102752406A (en) * | 2012-07-30 | 2012-10-24 | 北京中科金财电子商务有限公司 | Risk number abnormality recognition system and method |
CN102811202A (en) * | 2011-06-01 | 2012-12-05 | 网秦无限(北京)科技有限公司 | Method and system for preventing harassment calls through cloud computing |
WO2013044797A1 (en) * | 2011-09-26 | 2013-04-04 | 广州市动景计算机科技有限公司 | Method and system for handling communication event |
CN103167500A (en) * | 2013-02-01 | 2013-06-19 | 杭州东信北邮信息技术有限公司 | Method and system achieving united processing of mobile phone |
-
2015
- 2015-02-02 CN CN201510053841.3A patent/CN104702804B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811202A (en) * | 2011-06-01 | 2012-12-05 | 网秦无限(北京)科技有限公司 | Method and system for preventing harassment calls through cloud computing |
WO2013044797A1 (en) * | 2011-09-26 | 2013-04-04 | 广州市动景计算机科技有限公司 | Method and system for handling communication event |
CN102663106A (en) * | 2012-04-13 | 2012-09-12 | 北京搜狗科技发展有限公司 | Method and system for creating number information database |
CN102665014A (en) * | 2012-04-13 | 2012-09-12 | 北京搜狗科技发展有限公司 | Number information prompting method and system |
CN102752406A (en) * | 2012-07-30 | 2012-10-24 | 北京中科金财电子商务有限公司 | Risk number abnormality recognition system and method |
CN103167500A (en) * | 2013-02-01 | 2013-06-19 | 杭州东信北邮信息技术有限公司 | Method and system achieving united processing of mobile phone |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105282744A (en) * | 2015-09-02 | 2016-01-27 | 百度在线网络技术(北京)有限公司 | Method and device used for crowdsourcing number marking |
CN105282744B (en) * | 2015-09-02 | 2019-03-08 | 百度在线网络技术(北京)有限公司 | Method and apparatus for crowdsourcing number mark |
CN105450825A (en) * | 2015-11-24 | 2016-03-30 | 小米科技有限责任公司 | Communication number classification mark method and device |
CN106791230A (en) * | 2015-11-25 | 2017-05-31 | 小米科技有限责任公司 | Telephone number recognition methods and device |
CN106791230B (en) * | 2015-11-25 | 2021-08-03 | 小米科技有限责任公司 | Telephone number identification method and device |
CN105893347A (en) * | 2016-03-30 | 2016-08-24 | 北京搜狗科技发展有限公司 | Communication marker label generation method and device and electronic equipment |
CN107896287A (en) * | 2017-09-30 | 2018-04-10 | 上海壹账通金融科技有限公司 | Phone number risk monitoring method and mobile terminal |
CN107896287B (en) * | 2017-09-30 | 2021-06-18 | 深圳壹账通智能科技有限公司 | Mobile phone number risk monitoring method, mobile terminal and computer readable storage medium |
CN108881591A (en) * | 2018-05-31 | 2018-11-23 | 咪咕动漫有限公司 | Multi-platform information recommendation method and device and storage medium |
CN108881591B (en) * | 2018-05-31 | 2020-10-30 | 咪咕动漫有限公司 | Multi-platform information recommendation method and device and storage medium |
CN111726448A (en) * | 2019-03-04 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Number marking method and device, computer storage medium and electronic equipment |
CN111726448B (en) * | 2019-03-04 | 2021-12-24 | 腾讯科技(深圳)有限公司 | Number marking method and device, computer storage medium and electronic equipment |
CN112883037A (en) * | 2021-04-28 | 2021-06-01 | 北京泰迪熊移动科技有限公司 | Bloom filter algorithm-based display method and device and storage medium |
CN112883037B (en) * | 2021-04-28 | 2021-09-14 | 北京泰迪熊移动科技有限公司 | Bloom filter algorithm-based display method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104702804B (en) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104702804A (en) | Method and device for marking number | |
CN104683537B (en) | A kind of number mark method and device | |
CN109299387B (en) | Message pushing method and device based on intelligent recommendation and terminal equipment | |
CN104270521B (en) | The method and mobile terminal handled incoming number | |
CN102368853B (en) | Communication event processing method and system thereof | |
CN109446171B (en) | Data processing method and device | |
CN103220391A (en) | Cloud address book-based device, server and calling method | |
CN103167500A (en) | Method and system achieving united processing of mobile phone | |
US20120323623A1 (en) | System and method for assigning an incident ticket to an assignee | |
CN105095919A (en) | Image recognition method and image recognition device | |
CN110210883A (en) | The recognition methods of team control account, device, server and storage medium | |
CN105704337A (en) | Number-marking method and system | |
CN109067643A (en) | Answering method, device, computer equipment and storage medium based on keyword | |
CN111931189B (en) | API interface reuse risk detection method, device and API service system | |
US7844485B2 (en) | Method and apparatus for playing audible advertisements on a communication device | |
US20120323640A1 (en) | System and method for evaluating assignee performance of an incident ticket | |
CN104243661A (en) | Method, server and mobile terminal for determining types of incoming call numbers | |
CN110348471B (en) | Abnormal object identification method, device, medium and electronic equipment | |
CN110109805A (en) | A kind of message informing method and device | |
CN106791230B (en) | Telephone number identification method and device | |
KR101003292B1 (en) | System to offer knowledge share and advertisement using mobile terminal and method thereof | |
CN106550356A (en) | A kind of method and its device for determining caller ID type | |
US20230362300A1 (en) | Spoofed telephone call identifier | |
US20240022665A1 (en) | Managing outbound calling | |
CN108804501A (en) | A kind of method and device of detection effective information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |