CN107944937A - A kind of class of subscriber determines method and device - Google Patents

A kind of class of subscriber determines method and device Download PDF

Info

Publication number
CN107944937A
CN107944937A CN201711487689.5A CN201711487689A CN107944937A CN 107944937 A CN107944937 A CN 107944937A CN 201711487689 A CN201711487689 A CN 201711487689A CN 107944937 A CN107944937 A CN 107944937A
Authority
CN
China
Prior art keywords
presently
time
information
month
temporal information
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
CN201711487689.5A
Other languages
Chinese (zh)
Other versions
CN107944937B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201711487689.5A priority Critical patent/CN107944937B/en
Publication of CN107944937A publication Critical patent/CN107944937A/en
Application granted granted Critical
Publication of CN107944937B publication Critical patent/CN107944937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0242Determining effectiveness of advertisements
    • G06Q30/0245Surveys

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application provides a kind of class of subscriber and determines method and device, unique identification information of the user by determining class of subscriber to be determined;Modulo operation is carried out to identification information based on target duration, obtains modulus result;Determine to be presently in the temporal information of time instruction using target duration;Judge whether modulus result matches with temporal information;If modulus result is matched with temporal information, determine that user belongs to the first class of subscriber;If modulus result is mismatched with temporal information, determine that user belongs to second user class otherwise, so that the class of subscriber definitive result for being presently in the time is related to unique identification information of user, when reducing based on the progress Information Statistics of class of subscriber definitive result, because class of subscriber definitive result is related to the class of subscriber number to be determined of user, caused by Information Statistics result it is inaccurate the problem of generation, effectively increase the accuracy of Information Statistics result.

Description

A kind of class of subscriber determines method and device
Technical field
This application involves Computer Applied Technology field, and method and device is determined more particularly to a kind of class of subscriber.
Background technology
With the development of science and technology, Information Statistics are increasingly taken seriously as the important technology for weighing input in science and technology effect. For example, being directed to advertisement putting algorithm in video companies, often have and launch effect (through the wide of advertisement putting algorithm dispensing by first The dispensing effect of announcement) with second dispensing effect (the dispensing effect for the advertisement launched without advertisement putting algorithm) need for being contrasted Ask.
Unite however, the prior art when carrying out Information Statistics, often has the information caused by Information Statistics skewness Count the problem of result is inaccurate.For example, the prior art is mainly to judge ad-request by being uniformly distributed generation random number It is no walk stochastic-flow (stochastic-flow refer to without advertisement putting algorithm expose advertisement), this method can cause in random process Middle flow excursion is on the more user of component requests, so as to cause stochastic-flow to represent the basic of advertisement delivery effect Distribution.
Therefore, the situation of the Information Statistics result inaccuracy caused by Information Statistics skewness how is reduced, is urgently Problem to be solved.
The content of the invention
In view of this, the embodiment of the present application provides a kind of class of subscriber and determines method and device, to be provided for Information Statistics Class of subscriber definitive result, and then easy to carry out Information Statistics based on the class of subscriber definitive result, to improve Information Statistics As a result accuracy.
To achieve these goals, technical solution provided by the embodiments of the present application is as follows:
A kind of class of subscriber determines method, including:
Determine unique identification information of the user of class of subscriber to be determined;
Modulo operation is carried out to the identification information based on target duration, obtains modulus result;
Determine to be presently in the temporal information of time instruction using the target duration;
Judge whether the modulus result matches with the temporal information;
If the modulus result is matched with the temporal information, determine that the user belongs to the first class of subscriber;
If the modulus result is mismatched with the temporal information, determine that the user belongs to second user classification.
Preferably, it is described to determine that being presently in the time refers to using the target duration when the target at a length of 1 year The temporal information shown, including:
Determine described to be presently in the month belonging to the time and described be presently in the date that the time is in the month;
Using determining the number of days for being presently in the time in 1 year in identified month and date, and will determine Number of days be determined as the temporal information for being presently in time instruction.
Preferably, it is described to determine to be presently in the time using the target duration when the object time is one month The temporal information of instruction, including:
Determine it is described be presently in the month belonging to the time and it is described be presently in the date that the time is in the month, And the date is determined as the temporal information for being presently in time instruction.
Preferably, when the object time is a week, when the utilization target duration determines to be presently in Between the temporal information that indicates, including:
Determine described to be presently in the month belonging to the time and described be presently in the date that the time is in the month;
Using the month and date, determine described to be presently in the number of days that the time is in a week;
Identified number of days is determined as the temporal information for being presently in time instruction.
Preferably, it is described based on target duration to the identification information carry out modulo operation, obtain modulus as a result, including:
The identification information is handled, is met the target identification information of default data format requirement;
Modulo operation is carried out to the target identification information based on target duration, obtains modulus result.
Preferably, it is described that the identification information is handled, it is met the target mark of default data format requirement Know information, including:
The identification information is blocked, obtains the partial information in the identification information;
Data Format Transform, the portion for meeting default data format requirement that will be obtained are carried out to the partial information Point information is determined as target identification information.
A kind of class of subscriber determining device, including:
Identification information determination unit, unique identification information of the user for determining class of subscriber to be determined;
Modulus result determination unit, for carrying out modulo operation to the identification information based on target duration, obtains modulus As a result;
Temporal information determination unit, for determining to be presently in the temporal information of time instruction using the target duration;
Comparing unit, for judging whether the modulus result matches with the temporal information;
First class of subscriber determination unit, if being matched for the modulus result with the temporal information, determines the use Family belongs to the first class of subscriber;
Second user classification determination unit, if being mismatched for the modulus result and the temporal information, determines described User belongs to second user classification.
Preferably, when the target at a length of 1 year, the temporal information determination unit, including:
First determination unit, for determining the month being presently in belonging to the time and described being presently in the time and be in Date in the month;
Second determination unit, for using determining in identified month and date described to be presently in the time in 1 year Number of days, and identified number of days is determined as the temporal information for being presently in time instruction.
Preferably, when the object time is one month, the temporal information determination unit, is specifically used for:
Determine it is described be presently in the month belonging to the time and it is described be presently in the date that the time is in the month, And the date is determined as the temporal information for being presently in time instruction.
Preferably, when the object time is a week, the temporal information determination unit, including:
3rd determination unit, for determining the month being presently in belonging to the time and described being presently in the time and be in Date in the month;
4th determination unit, for utilizing the month and date, determines described to be presently in the time and be in a week Interior number of days;
5th determination unit, for identified number of days to be determined as the temporal information for being presently in time instruction.
The embodiment of the present application provides a kind of class of subscriber and determines method and device, by the use for determining class of subscriber to be determined Unique identification information at family;Modulo operation is carried out to identification information based on target duration, obtains modulus result;During using target The long temporal information for determining to be presently in time instruction;Judge whether modulus result matches with temporal information;If modulus result with Temporal information matches, and determines that user belongs to the first class of subscriber;If modulus result is mismatched with temporal information, determine that user belongs to Second user class is otherwise so that is presently in the class of subscriber definitive result of time and unique identification information phase of user Close, reduce when carrying out Information Statistics based on class of subscriber definitive result, it is to be determined because of class of subscriber definitive result and user Class of subscriber number is related, caused by Information Statistics result it is inaccurate the problem of generation, effectively increase Information Statistics knot The accuracy of fruit.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, without creative efforts, Other attached drawings can also be obtained according to these attached drawings.
Fig. 1 determines method flow diagram for a kind of class of subscriber provided by the embodiments of the present application;
Fig. 2 is a kind of temporal information for determining to be presently in time instruction using target duration provided by the embodiments of the present application Method flow diagram;
Fig. 3 is to believe another time for determining to be presently in time instruction using target duration provided by the embodiments of the present application The method flow diagram of breath;
Fig. 4 carries out modulo operation for a kind of target duration that is based on provided by the embodiments of the present application to identification information, is taken The method flow diagram of mould result;
Fig. 5 for it is provided by the embodiments of the present application it is a kind of identification information is handled, be met default data format It is required that target identification information method flow diagram;
Fig. 6 is a kind of structure diagram of class of subscriber determining device provided by the embodiments of the present application.
Embodiment
It is in order to make those skilled in the art better understand the technical solutions in the application, real below in conjunction with the application The attached drawing in example is applied, the technical solution in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.It is common based on the embodiment in the application, this area Technical staff's all other embodiments obtained without making creative work, should all belong to the application protection Scope.
Embodiment:
Fig. 1 provides a kind of class of subscriber for the embodiment of the present application and determines method flow diagram.
As shown in Figure 1, this method includes:
S101, determine class of subscriber to be determined user unique identification information;
Optionally, unique identification information of the user of class of subscriber to be determined is the account of the user of class of subscriber to be determined Number information, alternatively, unique electronic device identification of the electronic equipment used by a user for class of subscriber to be determined.
For example, when the advertisement delivery effect in video jukebox software counts, the account information of user can be The account information for being used to log in video jukebox software that user uses;Electronic device identification can be that user is used to broadcast using video Soften the electronic device identification of the electronic equipment of part.
It is only the preferred embodiment in the embodiment of the present application above, inventor can treat really according to the demand of oneself arbitrarily setting Determine the particular content of unique identification information of the user of class of subscriber, do not limit herein.
S102, based on target duration to identification information carry out modulo operation, obtain modulus result;
In the embodiment of the present application, it is preferred that target duration is provided with, can be to user to be determined based on the target duration Unique identification information of the user of classification carries out modulo operation, obtains modulus result.Optionally, by class of subscriber to be determined Unique identification information of user is as dividend, using target duration as divisor, to obtain modulus result.
In the embodiment of the present application, it is preferred that a length of 1 year, one month during target, alternatively, a week.Preferably, when During target at a length of 1 year, a length of 365 days during target;When target at a length of one month, a length of 30 days during target;When target During an a length of week, a length of 7 days during target.
Correspondingly, carrying out modulo operation to identification information based on target duration, obtaining modulus result includes:During based on target Long target duration value carries out modulo operation to identification information, obtains modulus result.
Optionally, when target at a length of 1 year, a length of 365 days during target, target duration value is 365;When target duration For one month when, a length of 30 days during target, target duration value is 30;When target during an a length of week, a length of 7 during target My god, target duration value is 7.
Correspondingly, in the embodiment of the present application, it is preferred that if during target at a length of 1 year, based on 365 pairs of identification informations into Row modulo operation, obtains modulus result;If during target at a length of one month, modulo operation is carried out based on 30 pairs of identification informations, is obtained To modulus result;If during target during an a length of week, modulo operation is carried out based on 7 pairs of identification informations, obtains modulus result.
It is only the preferred embodiment of target duration provided by the embodiments of the present application above, specific inventor can be according to oneself Demand the set-up mode of target duration is arbitrarily set, such as when a length of one month when target can be set, a length of 29 during target My god, target duration value is 29 etc., then this is not limited.
S103, the temporal information for using target duration determining to be presently in time instruction;
Optionally, being presently in the time refers to present system time.Such as, however, it is determined that to -2018 years 3 March 1 day in 2018 No. 25 progress Information Statistics of the moon, when present system time is in any one day in -2018 years on the 1st March 25 March in 2018 When, determine to be presently in the temporal information of time instruction using target duration.
Optionally, when target at a length of 1 year, the embodiment of the present application provides one kind and determines current institute using target duration Locate the method flow diagram of the temporal information of time instruction, specifically refer to Fig. 2.
As shown in Fig. 2, this method includes:
S201, determine to be presently in month belonging to the time and the time of being presently in is in date in month;
In the embodiment of the present application, it is preferred that being presently in the time includes date for being presently in;When will be presently in Between include be determined as in the month being presently in be presently in the month belonging to the time, the current institute that the time includes will be presently in The date at place is determined as being presently in the date being in the month belonging to it time.For example if the time is presently in as 2018 During on March 5, the definite month being presently in belonging to the time is March, is presently in the time and is in the month belonging to it Date be No. 5.
S202, using determining to be presently in number of days of the time in 1 year in identified month and date, and by really Fixed number of days is determined as being presently in the temporal information of time instruction.
Optionally, using determining to be presently in number of days of the time in 1 year in identified month and date, and by institute Definite number of days is determined as being presently in the temporal information of time instruction, including:Determine to be presently in the time belonging to the time, and Using determining to be presently in the number of days that the time is located in its affiliated time in identified month and date, and by identified number of days It is determined as being presently in the temporal information of time instruction.
For example if when to be presently in the time be on March 5th, 2018, the definite month being presently in belonging to the time is 3 Month, it is No. 5 (that is, No. 5 in 3 months) to be presently in the date that the time is in the month belonging to it;Also, determine to deserve Time belonging to the preceding residing time is 2018;Further, the number of days in being located at 2018 on March 5th, 2018 is determined【That is, Calculated since 1 day January in 2018, determine that (number of days herein refers to 2018 to number of days of on the March 5th, 2018 in 2018 In being in 2018 on March 5, the how many days)】;And identified number of days is determined as being presently in the time of time instruction Information.
In simple terms, when if to be presently in the time be on January 3rd, 2018, determining to be presently in the time belonging to the time is 2018, affiliated month was January, and the date in the month belonging to it is No. 3;Then determine that being presently in the time is located at it The 3rd day (it is 3 days then to determine to be presently in the number of days that the time is located in its affiliated time) in affiliated time (2018);And then The temporal information that identified number of days (3) is determined as being presently in time instruction (at this time, is presently in the time of time instruction 3) information is.
Optionally, when the object time is one month, the embodiment of the present application is provided one kind and is determined currently using target duration The method of the temporal information of residing time instruction, including:Determine to be presently in the month belonging to the time and be presently at the time Date in month, and the date is determined as being presently in the temporal information of time instruction.
In the embodiment of the present application, it is preferred that if during target at a length of one month, if being presently in the time as 2018 March 5, it is determined that it is March to be presently in time in affiliated month, determines that being presently in the time was in the March belonging to it Date is No. 5, and by it is identified be presently in the date (5) that the time is in the month belonging to it and be determined as being presently in when Between the temporal information that indicates (at this time, be presently in the temporal information of time instruction as 5).
Optionally, when the object time is a week, the embodiment of the present application is provided another kind and is determined using target duration The method flow diagram of the temporal information of time instruction is presently in, specifically refers to Fig. 3.
As shown in figure 3, this method includes:
S301, determine to be presently in month belonging to the time and the time of being presently in is in date in month;
S302, using month and date, determine to be presently in the number of days that the time is in a week;
Optionally, determine to be presently in the time belonging to the time, when being presently in month belonging to the time and being presently in Between date in month belonging to it;Using identified time, month and date, determine to be presently in what the time was in Week, and then determine to be presently in the number of days that the time is in identified week.
Such as if it is on March 5th, 2018 to be presently in the time, it is determined that it is 2018 to be presently in the time belonging to the time Year, it be March to be presently in time in affiliated month, and it is No. 5 to be presently in the date that the time is in its affiliated month;According to really It is by March 5 in 2018 that fixed time (2018), month (March) and the date (No. 5), which determines to be presently in the week that the time is in, The week that number on March 11st, 1 is formed;And then determine that on March 5th, 2018 was in by March 11-2018 years on the 5th March in 2018 The 1st day (it is 1 day at this time, to determine to be presently in the number of days that the time be in identified week) in number week formed;Into And by identified number of days (1) be determined as being presently in time instruction temporal information (at this time, be presently in time instruction when Between information for 1).
It is only to believe the time provided by the embodiments of the present application for determining to be presently in time instruction using target duration above The preferred embodiment of the method for breath, determines to be presently in the specific implementation side of the temporal information of time instruction in relation to utilization target duration Formula, inventor can arbitrarily be set according to the demand of oneself, then this is not limited.
S303, the temporal information that identified number of days is determined as being presently in time instruction.
S104, judge whether modulus result matches with temporal information;If modulus result is matched with temporal information, step is performed Rapid S105;If modulus result is mismatched with temporal information, step S106 is performed;
In the embodiment of the present application, it is preferred that when modulus result is identical with temporal information, determine modulus result and time Information matches;When modulus result and temporal information differ, determine that modulus result is mismatched with temporal information.For example if take Mould result is 5, when temporal information is also 5, determines that modulus result is matched with temporal information;If modulus result is 5, temporal information is not For 5, determine that modulus result is mismatched with temporal information.
It is only provided by the embodiments of the present application above to judge that whether matched modulus result is a kind of preferred with temporal information Determination mode, specifically, inventor can arbitrarily be set according to the demand of oneself judge modulus result and temporal information whether Match somebody with somebody mode (such as if the difference of temporal information and modulus result within a preset range when, determine temporal information and modulus result Matching, otherwise, it determines temporal information and modulus result mismatch), then this does not limit.
S105, determine that user belongs to the first class of subscriber;
S106, determine that user belongs to second user classification.
In the embodiment of the present application, it is preferred that the first class of subscriber is random user classification, second user classification for it is non-with Machine class of subscriber.
Alternatively, in the embodiment of the present application, it is nonrandom class of subscriber that can also set the first class of subscriber, second user Classification is random user classification.
In the embodiment of the present application, it is preferred that by taking advertisement putting as an example, when carrying out Information Statistics, for random user For classification, without advertisement putting algorithm, advertisement is launched for the user under the random user classification.
In the embodiment of the present application, it is preferred that equally by taking advertisement putting as an example, when carrying out Information Statistics, be directed to non- For random user classification, by advertisement putting algorithm, advertisement is launched for the user under the nonrandom class of subscriber.
The embodiment of the present application provides a kind of class of subscriber and determines method, by determining the user of class of subscriber to be determined only One identification information;Modulo operation is carried out to identification information based on target duration, obtains modulus result;Determined using target duration It is presently in the temporal information of time instruction;Judge whether modulus result matches with temporal information;If modulus result is believed with the time Breath matching, determines that user belongs to the first class of subscriber;If modulus result is mismatched with temporal information, determine that user belongs to the second use Family class is otherwise so that it is related to unique identification information of user to be presently in the class of subscriber definitive result of time, subtracts It is small when carrying out Information Statistics based on class of subscriber definitive result, because of class of subscriber definitive result and the user class to be determined of user Other number is related, caused by Information Statistics result it is inaccurate the problem of generation, effectively increase the standard of Information Statistics result True property.
For the ease of determining the understanding of method to a kind of class of subscriber provided by the embodiments of the present application, now in this method One kind carries out modulo operation based on target duration to identification information, and the method for obtaining modulus result describes in detail.
Fig. 4 carries out modulo operation for a kind of target duration that is based on provided by the embodiments of the present application to identification information, is taken The method flow diagram of mould result.
As shown in figure 4, this method includes:
S401, handle identification information, is met the target identification information of default data format requirement;
Optionally, in order to avoid modulo operation cannot be carried out because of the data format of identification information caused by step 102 not Can normally perform the occurrence of, here, first handling identification information, to be met default data format requirement Target identification information.
In the embodiment of the present application, it is preferred that data format requirement includes at least:It can carry out the data lattice of modulo operation Formula.
In the embodiment of the present application, it is preferred that the data format of target identification information is integer (that is, data format requirement For integer, identification information is handled, obtains the target identification information that data format is integer).
S402, based on target duration to target identification information carry out modulo operation, obtain modulus result.
Optionally, based on target duration to target identification information carry out modulo operation, obtain modulus as a result, including:By mesh Identification information is marked as dividend, using target duration as divisor, to obtain modulus result.
The embodiment of the present application by provide it is as shown in Figure 4 modulo operation is carried out to identification information based on target duration, obtain To the method for modulus result, it is ensured that modulo operation performs effectively, reduce modulo operation go wrong (such as, it is impossible to carry out Modulo operation) the occurrence of.
Further, in order to become apparent from determining that method is said to a kind of class of subscriber provided by the embodiments of the present application It is bright, now to a kind of mesh for handling identification information, being met default data format requirement in the embodiment of the present application The method of mark identification information describes in detail.
Fig. 5 for it is provided by the embodiments of the present application it is a kind of identification information is handled, be met default data format It is required that target identification information method flow diagram.
As shown in figure 5, this method includes:
S501, block identification information, obtains the partial information in identification information;
Optionally, to avoid a kind of user class provided by the embodiments of the present application caused by the digit of identification information is longer Not Que Ding method perform complexity, perform the time it is long the problem of, identification information can be blocked, to obtain the part of identification information Information.
In the embodiment of the present application, identification information is blocked, obtains the partial information in identification information, including:Interception mark Rear four information in information, and the partial information using rear four information being truncated to as the identification information got.
It should be noted that:The identification information of user is blocked, obtains the partial information in the identification information of user, This partial information is uniquely corresponding with the user.For example the identification information of user 1 is blocked, obtain the identification information of user 1 In partial information, obtained partial information is uniquely corresponding with user 1.
More than be only it is provided by the embodiments of the present application blocks identification information, obtain partial information in the identification information Preferred embodiment, specifically, related block identification information, obtains the concrete mode of the partial information in identification information, inventor can Arbitrarily set according to the demand of oneself, then this is not limited.
S502, carry out Data Format Transform, the part for meeting default data format requirement that will be obtained to partial information Information is determined as target identification information.
Optionally, Data Format Transform is carried out to the partial information in identification information, to obtain by the identification information What partial information was converted into meets the information of default data format requirement, and obtained information is determined as target identification letter Breath.
The embodiment of the present application is handled identification information by the way that offer is as shown in Figure 5, is met default data The method of the target identification information of call format, can effectively reduce a kind of class of subscriber provided by the embodiments of the present application and determine method The execution time, improve execution efficiency.
Further, for the ease of determining the understanding of method to a kind of class of subscriber provided by the embodiments of the present application, now with Advertisement putting illustrates for example:
If a length of on January 25, -2018 years on the 1st January in 2018 is (that is, to 2018 during the Information Statistics of pending Information Statistics January 25 on January -2018 years 1, carries out Information Statistics).
In the embodiment of the present application, it is preferred that the first class of subscriber is random user classification, second user classification for it is non-with Machine class of subscriber;When being presently in the time (system time) and being on January 1st, 2018, to the use of each request advertisement putting For family, modulo operation is carried out to the identification information of the user based on target duration, obtains modulus result;It is true using target duration Surely it is presently in the temporal information of time (on January 1st, 2018) instruction;Judge whether modulus result matches with temporal information;If Modulus result is matched with temporal information, determines that the user belongs to the first class of subscriber, at this time without advertisement putting algorithm, for this User launches advertisement;If modulus result is mismatched with temporal information, determine that the user belongs to second user classification, at this time by wide Accuse and launch algorithm, advertisement is launched for the user.
Based on this, statistics on January 1st, 2018 on the day of through advertisement putting algorithm launch advertisement Information Statistics as a result, with And the Information Statistics result of advertisement of the statistics same day on January 1st, 2018 without the dispensing of advertisement putting algorithm;Wherein, Information Statistics As a result include:Ad click number, ad click rate etc..
For example, ad click number and the advertisement of the advertisement that statistics is launched on the day of on January 1st, 2018 through advertisement putting algorithm Number is not clicked on, the Information Statistics result for the advertisement launched on the day of the 1 day January in 2018 as statistics through advertisement putting algorithm; And the ad click number of advertisement of the statistics same day on January 1st, 2018 without the dispensing of advertisement putting algorithm and advertisement do not click on Number, the Information Statistics result for the advertisement launched on the day of the 1 day January in 2018 as statistics without advertisement putting algorithm.
Alternatively, the ad click rate for the advertisement that statistics is launched on the day of on January 1st, 2018 through advertisement putting algorithm, as The Information Statistics for the advertisement launched on the day of the 1 day January in 2018 of statistics through advertisement putting algorithm are as a result, and count 2018 1 The ad click rate for the advertisement that No. 1 same day of the moon launches without advertisement putting algorithm, the same day 1 day January in 2018 as statistics is not The Information Statistics result for the advertisement launched through advertisement putting algorithm.
Specifically, the mode of Information Statistics is carried out to every day in -2018 years on the 2nd January 25 January in 2018, it is and upper Give an account of continue on January 1st, 2018 carry out Information Statistics mode it is identical, not described in detail herein.
Further, can be counted based on the Information Statistics result to every day in January 25-2018 years on the 1st January in 2018 Information Statistics result in -2018 years on the 1st January in 2018 on January 25, this periods.For example, based on on January 1st, 2018- In January 25 in 2018 every day Information Statistics as a result, statistics in -2018 years on the 1st January in 2018 on January 25, this periods in, Through advertisement putting algorithm launch advertisement Information Statistics as a result, and without advertisement putting algorithm launch advertisement information unite Count result.(for example in statistics in -2018 years on the 1st January in 2018 on January 25, this periods, launched through advertisement putting algorithm The ad click rate of advertisement, and the ad click rate for the advertisement launched without advertisement putting algorithm).
In the embodiment of the present application, it is preferred that determine for the identification information of user carrying out modulo operation to obtain A length of 1 year during the target of modulus result, correspondingly, (that is, being presently in the time as on January 1st, 2018 to be presently in the time In on January 1st, 2018) exemplified by, determine to be presently in the temporal information of time instruction as 1 using target duration (because currently The residing time is the 1st day in 2018).
If when being presently in the time and being on January 2nd, 2018, it is identified be presently in duration instruction temporal information be 2 (because being presently in the time as the 2nd day in 2018);If when being presently in the time and being on January 3rd, 2018, determine The temporal information for being presently in duration instruction for 3 (because being presently in the time as the 3rd day in 2018) ... with such Push away.
It is only the preferred embodiment of target duration determined by the embodiment of the present application above, specifically, mesh can also be set A length of one month of timestamp, correspondingly, (that is, being presently in the time in 2018 1 as on January 1st, 2018 to be presently in the time The moon 1) exemplified by, determine that the temporal information for being presently in time instruction (is because being presently in the time for 1 using target duration The 1st day in 1 month in 2018).
If when being presently in the time and being on January 2nd, 2018, it is identified be presently in duration instruction temporal information be 2 (because being presently in the time as the 2nd day in 1 month 2018);If when being presently in the time and being on January 3rd, 2018, institute The definite temporal information for being presently in duration instruction is 3 (because being presently in the time as the 3rd day in 1 month 2018) ... And so on, until if it is determined that when current time be on January 25th, 2018, the identified time for being presently in duration and indicating Information is 25 (because being presently in the time as the 25th day in 1 month 2018).
However, it is noted that:If desired to No. 3 progress Information Statistics in 2 months 2018, it is in if being presently in the time At 2018 2 months No. 3, the identified temporal information for being presently in time instruction is for 3 (because being presently in the time as 2018 The 3rd day in 2 months years).
Further, in the embodiment of the present application, it is preferred that a length of week when target can also be set, correspondingly, Exemplified by being presently in the time as on January 1st, 2018 (that is, be presently in time be on January 1st, 2018), during using target The long temporal information for determining to be presently in time instruction is 1【Because it for the January 1 of 2018 is its position to be presently in the time In a week in first day (on January 1st, 2018 be in by January 7, weeks formed -2018 years on the 1st January in 2018 In Monday)】.
And so on, it is identified to be presently in duration instruction if be presently in the time and be on January 2nd, 2018 Temporal information is 2【Because the time is presently in by being the January 2 of 2018 second day in its week for being located at (on January 2nd, 2018 was in by Tuesday on January 7, weeks formed -2018 years on the 1st January in 2018)】;If it is presently in When time is on January 3rd, 2018, the identified temporal information for being presently in duration instruction is 3【Because when being presently in Between by be the January 3 of 2018 in its week for being located at (on January 3rd, 2018 was in by January 1 in 2018 within the 3rd day Wednesday in the week that number on January 7th, 1 is formed)】... until if being presently in the time is on January 7th, 2018 When, the identified temporal information for being presently in duration instruction is 7【Because being presently in the January 7 that the time is 2018 is (on January 1st, 2018 is in by forming within 7th January -2018 years on the 1st January in 2018 for the 7th day in its week being located at Week in Sunday)】;
If when being presently in the time and being on January 8th, 2018, it is identified be presently in duration instruction temporal information be 1【Because it is presently in the time by being the January 8 of 2018 in first day (January 8 in 2018 in its week for being located at Number be in by Monday on January 14, weeks formed -2018 years on the 8th January in 2018)】;If it is presently in the time to be in During on January 9th, 2018, the identified temporal information for being presently in duration instruction is 2【Because the time is presently in as 2018 Year January 9 be in the week that it is located at second day (on January 8th, 2018 be in by 8 days -2018 January in 2018 Tuesday in the week that on January 14, in is formed)】If ... until when being presently in the time and being on January 14th, 2018, institute The definite temporal information for being presently in duration instruction is 7【Because it for the January 14 of 2018 is its institute to be presently in the time (on January 8th, 2018 is in by the star formed on the 14th in January -2018 years on the 8th January in 2018 for the 7th day in the week being located at Interim Sunday)】;
If when being presently in the time and being on January 15th, 2018, the identified temporal information for being presently in duration instruction For 1【Because the time is presently in by being the January 15 of 2018 (2018 1 first day in its week for being located at The moon 15 was in by Monday on January 21, weeks formed -2018 years on the 15th January in 2018)】.. subsequently referring to above-mentioned rule Restrain, then this is not described in detail.
The embodiment of the present application is by determining a kind of class of subscriber provided by the embodiments of the present application using advertisement putting as example Method is described in detail so that a kind of class of subscriber provided by the embodiments of the present application determine method it is clearer, easy to ability Field technique personnel understand.
Fig. 6 is a kind of structure diagram of class of subscriber determining device provided by the embodiments of the present application.
As shown in fig. 6, the device includes:
Identification information determination unit 61, unique identification information of the user for determining class of subscriber to be determined;
Modulus result determination unit 62, for carrying out modulo operation to identification information based on target duration, obtains modulus knot Fruit;
Temporal information determination unit 63, for determining to be presently in the temporal information of time instruction using target duration;
Comparing unit 64, for judging whether modulus result matches with temporal information;
First class of subscriber determination unit 65, if being matched for modulus result with temporal information, determines that user belongs to first Class of subscriber;
Second user classification determination unit 66, if being mismatched for modulus result and temporal information, determines that user belongs to the Two class of subscribers.
In the embodiment of the present application, it is preferred that when target at a length of 1 year, temporal information determination unit, including:First Determination unit, for determining to be presently in month belonging to the time and being presently in the date that the time is in month;Second is true Order member, for using determining to be presently in number of days of the time in 1 year in identified month and date, and will determine Number of days be determined as being presently in the temporal information of time instruction.
In the embodiment of the present application, it is preferred that when the object time is one month, temporal information determination unit is specific to use In:Determine to be presently in month belonging to the time and be presently in the date that the time be in month, and will be determined as on the date ought The temporal information of preceding residing time instruction.
In the embodiment of the present application, it is preferred that when the object time is a week, temporal information determination unit, including: 3rd determination unit, for determining to be presently in month belonging to the time and being presently in the date that the time is in month;The Four determination units, for utilizing month and date, determine to be presently in the number of days that the time is in a week;5th determines list Member, for identified number of days to be determined as being presently in the temporal information of time instruction.
In the embodiment of the present application, it is preferred that modulus result determination unit includes:Processing unit, for identification information Handled, be met the target identification information of default data format requirement;Modulo operation unit, during for based on target It is long that modulo operation is carried out to target identification information, obtain modulus result.
In the embodiment of the present application, it is preferred that processing unit, including:Unit is blocked, for blocking identification information, is obtained Partial information in identification information;Subelement is handled, it is for carrying out Data Format Transform to partial information, obtained satisfaction is pre- If the partial information of data format requirement be determined as target identification information.
The embodiment of the present application provides a kind of class of subscriber determining device, by determining the user of class of subscriber to be determined only One identification information;Modulo operation is carried out to identification information based on target duration, obtains modulus result;Determined using target duration It is presently in the temporal information of time instruction;Judge whether modulus result matches with temporal information;If modulus result is believed with the time Breath matching, determines that user belongs to the first class of subscriber;If modulus result is mismatched with temporal information, determine that user belongs to the second use Family class is otherwise so that it is related to unique identification information of user to be presently in the class of subscriber definitive result of time, subtracts It is small when carrying out Information Statistics based on class of subscriber definitive result, because of class of subscriber definitive result and the user class to be determined of user Other number is related, caused by Information Statistics result it is inaccurate the problem of generation, effectively increase the standard of Information Statistics result True property.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part is said referring to method part It is bright.
It the above is only the preferred embodiment of the application, make skilled artisans appreciate that or realizing the application.It is right A variety of modifications of these embodiments will be apparent to one skilled in the art, as defined herein general former Reason can be realized in other embodiments in the case where not departing from spirit herein or scope.Therefore, the application will not Be intended to be limited to the embodiments shown herein, and be to fit to it is consistent with the principles and novel features disclosed herein most Wide scope.

Claims (10)

1. a kind of class of subscriber determines method, it is characterised in that including:
Determine unique identification information of the user of class of subscriber to be determined;
Modulo operation is carried out to the identification information based on target duration, obtains modulus result;
Determine to be presently in the temporal information of time instruction using the target duration;
Judge whether the modulus result matches with the temporal information;
If the modulus result is matched with the temporal information, determine that the user belongs to the first class of subscriber;
If the modulus result is mismatched with the temporal information, determine that the user belongs to second user classification.
2. according to the method described in claim 1, it is characterized in that, when the target at a length of 1 year, described in the utilization Target duration determines to be presently in the temporal information of time instruction, including:
Determine described to be presently in the month belonging to the time and described be presently in the date that the time is in the month;
Using determining the number of days for being presently in the time in 1 year in identified month and date, and by identified day Number is determined as the temporal information for being presently in time instruction.
3. according to the method described in claim 1, it is characterized in that, when the object time be one month when, it is described to utilize institute Target duration is stated to determine to be presently in the temporal information of time instruction, including:
Determine described to be presently in the month belonging to the time and described be presently in the date that the time be in the month, and general The date is determined as the temporal information for being presently in time instruction.
4. according to the method described in claim 1, it is characterized in that, when the object time is a week, the utilization The target duration determines to be presently in the temporal information of time instruction, including:
Determine described to be presently in the month belonging to the time and described be presently in the date that the time is in the month;
Using the month and date, determine described to be presently in the number of days that the time is in a week;
Identified number of days is determined as the temporal information for being presently in time instruction.
5. according to the method described in claim 1-4 any one, it is characterised in that the target duration that is based on is to the mark Information carry out modulo operation, obtain modulus as a result, including:
The identification information is handled, is met the target identification information of default data format requirement;
Modulo operation is carried out to the target identification information based on target duration, obtains modulus result.
6. according to the method described in claim 5, it is characterized in that, described handle the identification information, it is met The target identification information of default data format requirement, including:
The identification information is blocked, obtains the partial information in the identification information;
Data Format Transform is carried out to the partial information, the obtained part for meeting default data format requirement is believed Breath is determined as target identification information.
A kind of 7. class of subscriber determining device, it is characterised in that including:
Identification information determination unit, unique identification information of the user for determining class of subscriber to be determined;
Modulus result determination unit, for carrying out modulo operation to the identification information based on target duration, obtains modulus result;
Temporal information determination unit, for determining to be presently in the temporal information of time instruction using the target duration;
Comparing unit, for judging whether the modulus result matches with the temporal information;
First class of subscriber determination unit, if being matched for the modulus result with the temporal information, determines that the user belongs to In the first class of subscriber;
Second user classification determination unit, if being mismatched for the modulus result and the temporal information, determines the user Belong to second user classification.
8. device according to claim 7, it is characterised in that when the target at a length of 1 year, the temporal information Determination unit, including:
First determination unit, for determining the month being presently in belonging to the time and described being presently in the time and be in described Date in month;
Second determination unit, for using determining the day for being presently in the time in 1 year in identified month and date Number, and identified number of days is determined as the temporal information for being presently in time instruction.
9. device according to claim 7, it is characterised in that when the object time is one month, the time letter Determination unit is ceased, is specifically used for:
Determine described to be presently in the month belonging to the time and described be presently in the date that the time be in the month, and general The date is determined as the temporal information for being presently in time instruction.
10. device according to claim 7, it is characterised in that when the object time is a week, the time Information determination unit, including:
3rd determination unit, for determining the month being presently in belonging to the time and described being presently in the time and be in described Date in month;
4th determination unit, for utilizing the month and date, determines described to be presently in the time and be in a week Number of days;
5th determination unit, for identified number of days to be determined as the temporal information for being presently in time instruction.
CN201711487689.5A 2017-12-29 2017-12-29 User category determination method and device Active CN107944937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711487689.5A CN107944937B (en) 2017-12-29 2017-12-29 User category determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711487689.5A CN107944937B (en) 2017-12-29 2017-12-29 User category determination method and device

Publications (2)

Publication Number Publication Date
CN107944937A true CN107944937A (en) 2018-04-20
CN107944937B CN107944937B (en) 2022-01-28

Family

ID=61937173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711487689.5A Active CN107944937B (en) 2017-12-29 2017-12-29 User category determination method and device

Country Status (1)

Country Link
CN (1) CN107944937B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140032301A1 (en) * 2012-07-26 2014-01-30 Alibaba Group Holding Limited Advertisement billing method and device
CN104156551A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Method and device for dynamically adjusting hitting of target data based on time intervals
CN105824834A (en) * 2015-01-06 2016-08-03 腾讯科技(深圳)有限公司 Search traffic cheating behavior identification method and apparatus
CN106651428A (en) * 2016-10-14 2017-05-10 福建中金在线信息科技有限公司 Lucky draw data processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140032301A1 (en) * 2012-07-26 2014-01-30 Alibaba Group Holding Limited Advertisement billing method and device
CN104156551A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Method and device for dynamically adjusting hitting of target data based on time intervals
CN105824834A (en) * 2015-01-06 2016-08-03 腾讯科技(深圳)有限公司 Search traffic cheating behavior identification method and apparatus
CN106651428A (en) * 2016-10-14 2017-05-10 福建中金在线信息科技有限公司 Lucky draw data processing method and device

Also Published As

Publication number Publication date
CN107944937B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
TWI270265B (en) Data delivery device and alteration method of data delivery time
CN105184945B (en) The method, apparatus and system and server-side of a kind of queuing number-taking
CN104331216B (en) In the method and apparatus of intelligent terminal middle pipe reason applicative notifications
CN110046038A (en) A kind of task processing method and device based on thread pool
CN109343972B (en) Task processing method and terminal equipment
US9129265B2 (en) Call efficiency indicator
TWI545980B (en) Internet traffic management system and method
CN110581928B (en) Telephone calling-out method, system, electronic equipment and storage medium
CN109992414A (en) A kind of task processing method and device based on thread pool
CN108183933A (en) Information push method, apparatus and system, electronic equipment and computer storage media
CN107516158A (en) A kind of method for allocating tasks, device and terminal device
CN109445954B (en) Timing task execution method, terminal device and storage medium
CN108009026A (en) Interface call method, third party's data access platform and computer-readable medium
CN106254954A (en) A kind of method and apparatus sending live notice
CN111582771A (en) Risk assessment method, device, equipment and computer readable storage medium
JP2020052633A5 (en) Programs, information processing terminals, information processing systems, and information processing methods
US9020856B2 (en) License compliance management
CN105592554A (en) Uplink service scheduling method and base station
CN106408409A (en) Business handling system and method
CN107944731A (en) The method for building up and device of typical project cost template
CN107944937A (en) A kind of class of subscriber determines method and device
CN113037510A (en) Charging method, charging device and computer readable storage medium
CN108197199B (en) Data monitoring method and device, electronic equipment and computer readable storage medium
CN112788555B (en) Cross-operator telephone charge transfer settlement method, device and computing equipment
CN104932934B (en) Information processing unit and information processing method

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