Method and device for determining basic attributes of user, equipment and medium
By analyzing the historical call data of users on different networks, we can obtain the statistical characteristics of the peer user group, solve the problem of difficulty in determining the attributes of users on different networks, and achieve accurate prediction of attributes such as gender and age.
Patent Information
- Application Number
- CN202410052813.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-12
- Publication Date
- 2024-10-18
AI Technical Summary
It is difficult to determine the basic attributes of users on different networks with the existing technology, especially because users on different networks use numbers of other operators, and their related attributes are stored in the databases of other operators, making it difficult for the operator to obtain them.
Obtain the historical call data of the target operator's users on different networks, obtain specified types of statistical characteristics of the user group composed of the peer users who participated in the historical calls based on these data, and associate these characteristics with the basic attribute types to be determined. to determine the basic attributes of users on different networks.
It achieves accurate prediction of the basic attributes of users on different networks, avoids the problem of inaccurate prediction results caused by using a single method of correlation closeness, and provides a feasible method to obtain basic attributes such as gender and age of users on different networks.
Smart Images

Figure CN118803698A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence, and in particular to a method, device, equipment and medium for determining basic attributes of a user. Background Art
[0002] With the development of big data, cloud computing and other businesses, competition in the telecommunications industry is becoming increasingly fierce in terms of market and strategy. In addition to the operation and management of operators' own network users, major operators are also gradually increasing their demand for analysis of users on other networks.
[0003] Among them, local network users and cross-network users are relative concepts based on the perspective of operators. For a certain operator, users who use the operator's number (that is, numbers belonging to the operator's number segment) are local network users, and users who use other operators' numbers (that is, numbers belonging to other operators' number segments) are cross-network users. For example, for operator A, users who use operator A's numbers are local network users of operator A, and relatively speaking, users who use other operators' numbers are cross-network users of operator A.
[0004] For any operator, if it wants to recommend services to users on other networks, it generally needs to at least determine the basic attributes of users on other networks (such as gender, age, place of residence, place of work, etc.). However, since users on other networks use numbers of other operators, the basic attributes associated with the numbers are often stored in the databases of other operators, which are difficult for the operator to obtain. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device and storage medium for determining basic attributes of a user, so as to solve the problem of how to determine the basic attributes of a user in a different network in the prior art.
[0006] The present application embodiment adopts the following technical solutions:
[0007] A method for determining basic attributes of a user, comprising:
[0008] Obtain historical call data of users on different networks of the target operator;
[0009] Based on the data of the historical calls, obtaining a specified type of statistical feature of a user group constituted by opposite-end users participating in the historical calls; the specified type of statistical feature is associated with a type of basic attribute to be determined;
[0010] The basic attributes of the heterogeneous network user are determined according to the statistical features of the specified type.
[0011] A device for determining basic attributes of a user, comprising:
[0012] A data acquisition module is used to acquire the historical call data of the target operator's users on other networks;
[0013] A data processing module, based on the data of the historical calls, obtains a specified type of statistical features of a user group composed of opposite-end users participating in the historical calls; the specified type of statistical features is associated with a type of basic attribute to be determined;
[0014] The attribute determination module determines the basic attribute of the heterogeneous network user according to the statistical feature of the specified type.
[0015] A computing device, comprising: a memory and a processor, wherein:
[0016] The memory is used to store computer programs;
[0017] The processor is coupled to the memory and is used to execute the computer program stored in the memory to perform the above method.
[0018] A computer-readable storage medium storing a computer program, wherein the computer program can implement the above method when executed by a computer.
[0019] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0020] Since it is possible to obtain, based on the historical call data of users from different networks, a specified type of statistical features of a user group consisting of opposite-end users who participated in historical calls, and further determine the basic attributes of users from different networks based on the statistical features, the problem of how to determine the basic attributes of users from different networks in the prior art can be solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0022] Figure 1 A schematic diagram of a specific implementation flow of a method for determining basic attributes of a user provided in an embodiment of the present application;
[0023] Figure 2 A flowchart of an implementation of a method for determining basic attributes of a user provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a basic attribute prediction model training and prediction process in a method for determining basic attributes of a user provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of a flow chart of determining a gender attribute in a method for determining a basic attribute of a user provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of a process for determining an age attribute in a method for determining a basic attribute of a user provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of a specific structure of a device for determining basic attributes of a user provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of the specific structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0030] Those skilled in the art may appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0031] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0032] Example 1
[0033] Embodiment 1 of the present application provides a method for determining basic attributes of a user, so as to solve the problem in the prior art that it is difficult to determine the basic attributes of a user on a different network.
[0034] The executor of the method may be any computing device that can implement the method, such as a server, a mobile phone, a personal computer, a smart wearable device, a smart robot, and the like.
[0035] The different steps of the method may be implemented by the same execution subject or by different execution subjects. The embodiment of the present application does not limit the execution subject used to implement the method.
[0036] In addition, the execution order of different steps is not limited in the embodiment of the present application. When using the method provided in the embodiment of the present application, the execution order of different steps can be adjusted according to actual needs.
[0037] For ease of description, the following takes a device for determining basic attributes of a user as an example of the execution subject of the method to introduce the method provided in the embodiment of the present application in detail. It should be noted that the device can be a network element device belonging to a certain operator, or it can be an independent network element device independent of the operator.
[0038] like Figure 1 As shown, a method for determining basic attributes of a user provided in an embodiment of the present application includes:
[0039] Step 11: Obtain the historical call data of the target operator's other network users.
[0040] The historical call data includes user information of the target operator's inter-network user corresponding to the call counterpart, and call information between the inter-network user and the target operator's local user when the call counterpart is the target operator's local user.
[0041] The user information may include the call number, the operator to which the call number belongs, and other information. For example, the historical call data of the target operator's user a on a different network, the corresponding call end user includes user b (the corresponding call number n b ), user c (corresponding call number n c ), user d (corresponding call number n d ) etc.; through the relationship between the operator number segment and the call number, the operator to which the call number belongs is further determined.
[0042] Generally, each operator often obtains the call data of users in its own network through the database of the operator. Therefore, the user information of the other end of the call obtained is usually the user information of the target operator's own network; and the historical call data of the target operator's users in other networks is usually obtained by extracting the call data with the users in the other network from the call data of the users in the same network of the target operator. For example, for user a in the other network, the users in the same network who have historical calls with user a in the other network are extracted from the database of the target operator.
[0043] Therefore, the user information of the historical call data in this embodiment usually includes the user information of the target operator's own network, that is, the call number of the user of the own network who has a call with the user of the other network.
[0044] Similarly, the call information may include information such as the calling and called relationship between the local user and the foreign user, the call duration, and the call time period obtained from the local network database of the operator. 1 Call user b on the same network at time t 2 The call is completed and the call duration is T.
[0045] Step 12: Based on the data of the historical calls, obtain a specified type of statistical feature of a user group consisting of opposite-end users who participated in the historical calls; the specified type of statistical feature is associated with the type of basic attribute to be determined.
[0046] The opposite end user who participated in the historical call usually includes the local user who talked with the user of the other network. The local user who talked with the current user of the other network can be determined based on the user information in the historical call data.
[0047] The user group can be the user of the target operator in the peer users included in the historical call data, and the user group that participated in the historical calls of the user of the network. For example, the historical call data includes users b and c of the network, and the peer users that participated in the historical calls of user b of the network include b 1 、b 2 , the peer users who participated in the historical calls of user c on this network include c 1 、c 2 and c 3 , then the user group consists of users b, c, b 1 、b 2 、c 1 、c 2 and c 3 .
[0048] The designated type is determined according to the actual distribution of the basic attributes of the local network users of the target operator and the statistical characteristics of the user group composed of the opposite-end users who participated in the historical calls of the local network users.
[0049] The actual distribution of the basic attributes of the users of this network can be obtained through the database of the target operator. The database of the target operator stores the basic attributes of the users of this network, such as the gender, age, and number location of the users of this network. Based on the basic attributes of the users of this network in the database, the actual distribution of the basic attributes can be determined, such as the number of male users, the proportion of male users, and the number of female users in the age range [25,30) whose number location is Beijing.
[0050] The peer users who participated in the historical calls of the local users can be obtained through the database of the target operator. The database of the target operator stores the historical call data of the local users, including the calling and called relationship between the local users and the peer users, the call start time, the call end time, the call duration, etc.
[0051] Statistical features can be the proportion of one or more behaviors that can distinguish basic attributes in the user group, or the number of one or more behaviors that can distinguish basic attributes in the communication behavior data, such as the proportion of males in calls, the proportion of females in calls, the proportion of people in the user group using a certain mobile phone, the proportion of people in the user group accessing a certain type of app (application), the number of calls with users of a specific profession in the call data, the number of calls with males in the call data, the number of calls with users of a certain age group in the call data, the number of visits to a specific type of app in the communication behavior data, etc.
[0052] The statistical features of the specified type are determined by the statistical data of the features possessed by the user group and having behavioral preference differences from the basic attributes to be determined.
[0053] The statistical data of the features having behavioral preference differences from the basic attributes to be determined include:
[0054] The call record statistics of the occupation of the opposite user of the basic attribute to be determined can be distinguished; the occupation can be take-out, beauty or courier, etc. When determining the basic attribute of "gender", the number of call records of women with beauty and courier occupations is usually higher than the number of call records of men with beauty and courier occupations; and the number of call records of men with take-out occupations is higher than the number of call records of women with take-out occupations.
[0055] The call bill statistics of the active communication period of the opposite user that can distinguish the basic attribute to be determined; the active communication period can be divided into working period and rest period. When determining the basic attribute of "age", users with a higher number of call bills during working period than during rest period are often office workers, and their ages are likely to be between 18 and retirement age; when the number of call bills during working period and rest period is not much different (within a certain threshold range), the corresponding users often have more free time, such as retired people, whose age is greater than or equal to retirement age.
[0056] The call record statistics data can distinguish the initiative of the opposite user's call of the basic attribute to be determined; the initiative of the call can be determined by the caller-called relationship. When determining the basic attribute of "gender", in the call data of the opposite user, the proportion of the number of calls with male callers is significantly higher than the proportion of the number of calls with female callers, then based on statistical probability, it is considered that the different network user who is talking to the opposite user is a male.
[0057] Statistical data of terminal information used by the peer user that can distinguish the basic attribute to be determined; the terminal information may be the brand of the terminal, the type of apps installed on the terminal, and the access data of the apps installed on the terminal, etc. When determining the basic attribute of "gender", users who access more financial, game, and sports and fitness apps are often male, and users who access more shopping and beauty apps are often female.
[0058] Based on the data of the historical calls, obtaining a specified type of statistical features of a user group composed of opposite-end users participating in the historical calls, including:
[0059] According to the local user number in the historical call data, the historical call data of the local number is obtained from the target operator database. The historical call data includes the number of the call counterpart, the gender and age of the call counterpart (when the call counterpart is the local number), the caller and callee relationship with the counterpart, the tag information of the counterpart number (occupational tags such as takeout and express delivery), and the call time and other data. Based on the above historical call data, the gender ratio of the counterpart number in the working hours and rest hours, the gender ratio of the counterpart number as the caller / called party, and the call ratio of the counterpart number with a specific occupation can be determined.
[0060] The target operator’s database also stores the traffic packages and package usage data of the users of this network. The package usage data includes traffic bills. By analyzing the traffic bills, we can determine the time when the bill was generated, the model of the terminal that sent the message corresponding to the bill, the destination server of the message, and other information. Based on the destination server of the message, we can determine the corresponding app. In this way, we can determine the access data of users of this network to different types of apps.
[0061] The basic attributes to be determined may be attributes that can be distinguished by the user's behavioral preferences, such as one or more basic attributes of the user's gender, age, place of residence, and place of work.
[0062] The statistical feature of a specified type is associated with the type of the basic attribute to be determined, which means that different types of statistical features are usually selected for determining different basic attributes.
[0063] For example, when the basic attribute to be determined is "gender", the corresponding statistical feature of the specified type may be a feature related to gender, for example, one or more of the following features:
[0064] The gender ratio of this website's users in the user group, the ratio of the number of calls with users of specific professions (takeout, beauty or express delivery, etc.) to the total number of calls, the number of calls with users of specific professions, the gender ratio of users participating in calls during working hours (or rest time), and the ratio of the number of visits to specific types of apps (finance, games, beauty, sports and fitness) to the number of visits to all types of apps, etc.
[0065] For another example, when the basic attribute to be determined is "age", the corresponding statistical feature of the specified type may be a feature related to age, for example, one or more of the following features:
[0066] The proportion of the number of this website users in the age group [30,35) in the total number of this website users in the user group;
[0067] The proportion of the number of this website users in the age group [45,50) in the total number of this website users in the user group;
[0068] The ratio of the number of visits to various apps that can reflect the user's age (such as children and parenting apps, marriage and dating apps, or communication and social apps) by the website's users in the user group to the number of visits to all apps by the website's users.
[0069] Step 13: Determine the basic attributes of the heterogeneous network user according to the statistical characteristics of the specified type.
[0070] In one implementation, if the specified type of statistical features includes statistical features related to the number of users (such as the number of calls with users of a specific profession mentioned above); then, based on the data of the historical calls, the specified type of statistical features of the user group composed of the users who participated in the historical calls are obtained, including: based on the data of the historical calls, and the proportion of users from other networks and users from the same network, the specified type of statistical features of the user group are obtained.
[0071] For example, statistical features include features related to quantity - the number of calls with beauty numbers (usually used when determining gender attributes). During model training, for numbers on this network, the number of calls with beauty numbers can be calculated through call records, but when determining the basic attributes of users on different networks, for numbers on different networks, the number of beauty calls of the numbers on different networks can only be calculated through the call records of a beauty number library (a beauty number library can be pre-sorted, and users who call numbers in the library are users with beauty needs). Because most of the numbers in the pre-sorted beauty number library are numbers on this network (due to the relevant characteristics of different network numbers, it is difficult for the operator's network to obtain them), when determining the basic attributes of different network numbers, the statistical value of the number of calls with beauty numbers formed by users on this network at the other end of the call is too small. In this implementation, based on the proportion of users on different networks and users on this network, the number-related features of statistical features are obtained. Continuing with the previous example, in the historical call data, users on other networks account for 80%. The value of the feature "Number of calls with beauty numbers" is divided by 80% based on the actual statistical value to serve as the final statistical value of the feature "Number of calls with beauty numbers".
[0072] In one implementation, determining the basic attributes of the heterogeneous network user based on the specified type of statistical features includes: inputting the specified type of statistical features into a pre-trained basic attribute prediction model to trigger the basic attribute prediction model to output a prediction result for the basic attributes of the heterogeneous network user.
[0073] Among them, the basic attribute prediction model includes classification model and regression model.
[0074] When the basic attribute prediction model is a classification model, determining the basic attribute of the heterogeneous network user according to the statistical features of the specified type includes:
[0075] The first statistical feature is input into a pre-trained classification model to trigger the classification model to output a prediction result for the discrete attribute in the basic attributes of the heterogeneous network user. The first statistical feature may be a statistical feature of a specified type associated with the discrete attribute.
[0076] When the basic attribute prediction model is a regression model, determining the basic attribute of the heterogeneous network user according to the statistical features of the specified type includes:
[0077] The second statistical feature is input into a pre-trained regression model to trigger the regression model to output a prediction result for the continuous attribute in the basic attributes of the heterogeneous network user. The second statistical feature may be a statistical feature of a specified type associated with the continuous attribute.
[0078] At present, the identification methods of the identity attributes of users on different networks usually include: determining the degree of association between users on the local network and target users on different networks based on the call data between users on the local network and target users on different networks; using the characteristics of users on the local network with the highest degree of association as the characteristics of target users on different networks; and predicting the identity attributes of target users on different networks based on the characteristics. The characteristics include user ARPU (Average Revenue Per User, which refers to the average communication service revenue contributed by each user of a telecom operator in a period (usually one month or one year), MOU (Minutes Of Usage, the average monthly call duration per household), traffic, and base station resident data.
[0079] According to the above method, determining the correlation between the target heterogeneous network user and the local network user is a key technology. However, the calculation of correlation is based on artificially set rules, and the calculated correlation result is subjective or one-sided. In addition, the above method only uses the calculation result of the correlation to take the characteristics of the local network user as the characteristics of the target heterogeneous network user to predict the identity attributes of the heterogeneous network user. It can be imagined that the final prediction result of the identity attributes of the heterogeneous network user is not accurate.
[0080] Based on the description of the above embodiments of the present application, when determining the basic attributes of the target operator's inter-network users, different types of statistical features are selected for the types of basic attributes to be determined, which can achieve accurate prediction of the basic attributes to be determined, thereby avoiding the use of the single means of correlation closeness as the basis for predicting the attributes of inter-network users in the above implementation method, resulting in inaccurate prediction results.
[0081] like Figure 2 As shown, the process of one implementation of a method for determining basic attributes of a user provided in an embodiment of the present application includes:
[0082] Step 21: Obtain the historical call data of the target operator's local network users.
[0083] Step 22: Obtain historical call data of the target operator's other network users.
[0084] Step 23: Perform data analysis on the user call behavior, app type preference and terminal preference in the call details of the local user. The user call behavior, app type preference and terminal preference are all statistical characteristics of the local user group composed of the counterpart users of the historical calls.
[0085] Step 24: Analyze the characteristic data that can reflect the age, gender and work location of the users of this network using the user data of this network. Select the statistical characteristics associated with the type of the basic attribute to be determined (age, gender, work location, etc.). For example, when the basic attribute to be determined is "gender", the statistical characteristics selected can be characteristics related to gender.
[0086] Step 25: Input the feature data determined in the previous step into the machine learning algorithm model (XGBOST or logistic regression algorithm) for prediction, predict the basic attributes of the users of this network, and compare the predicted results of the basic attributes of the users of this network with the actual values. If the accuracy does not reach the preset threshold, adjust the feature data to ensure that the prediction accuracy reaches the threshold, and then determine the dimensions of the trained basic attribute prediction model and the corresponding feature data.
[0087] Step 26: Based on the historical call data of the inter-network user obtained in step 22 and the proportion of the inter-network users among the peer users contained in the historical call data, the basic attribute prediction model trained in step 25 is used to predict the identity attributes of the inter-network user, such as age, gender or work location.
[0088] In one implementation, the training of the basic attribute prediction model includes:
[0089] Obtain the historical call data of the target operator's local users;
[0090] Based on the data of the historical calls, obtaining a specified type of statistical feature of a user group constituted by opposite-end users participating in the historical calls; the specified type of statistical feature is associated with a type of basic attribute to be determined;
[0091] Inputting the specified type of statistical features into the basic attribute prediction model to be trained, so as to trigger the basic attribute prediction model to output a prediction result of the basic attribute of the user of the local network;
[0092] If the prediction result meets expectations, the training is terminated and the trained user identity prediction model and the feature dimensions of the statistical features are determined.
[0093] like Figure 3 As shown, the training and prediction process of the basic attribute prediction model can be:
[0094] Step 31: Extract the characteristic data of the local network number from the call data of the entire network, including the calling party, call time, call location, age, gender, occupation, app clicks, and terminal usage data of the other party number, and analyze the extracted characteristic data.
[0095] Step 32: Analyze the calls in the feature data. Including: Step 321, distinguish the calling and called users as express delivery, takeout, beauty industry and other occupational information; Step 322, distinguish the call time as working hours: Monday to Friday 9:00-12:00 and 14:00-18:00, rest time Monday to Friday 0:00-8:00, 19:00-24:00 and Saturday and Sunday all day; Step 323, distinguish the age range of the opposite number into intervals of every 10 years.
[0096] Step 33: Analyze app click data, including step 331, distinguishing different types of app click and traffic usage data of the call number.
[0097] Step 34: Analyze the terminal usage data, including step 341, distinguishing the terminal type data of the call number, such as the brand used by the terminal.
[0098] Step 35: Perform feature processing on the distinguished data of the above steps 32 to 34. Feature processing can be the extraction of important features to extract a certain feature dimension, where the dimension refers to the number of features. For example, if 30 features are selected, the feature dimension is 30.
[0099] Step 36: Use a machine learning algorithm to predict the age, gender and workplace of the local network number. The machine learning algorithm may be a classification algorithm XGBOOST or a logistic regression algorithm.
[0100] Step 37: Compare the predicted result with the actual value. If the comparison accuracy does not reach the threshold, adjust the feature dimension until the comparison accuracy reaches the threshold, and retain the algorithm model and the adjusted feature dimension. The feature dimension of the foreign network number is further adjusted based on the feature dimension of the local network number.
[0101] Step 38: Combine the proportion of out-of-network numbers and local numbers in the call data with the feature dimensions determined in step 37 to determine the feature dimension data corresponding to predicting out-of-network numbers. Use the trained algorithm model of this network to predict basic attributes of out-of-network numbers such as age, gender, and work location.
[0102] like Figure 4 As shown, when the basic attribute of the foreign network number to be predicted is gender, the determination method of the embodiment of the present application includes:
[0103] Step 41: Analyze the differences in calling behaviors and peer number app usage behaviors of numbers with different genders. Specifically, it includes: using data analysis methods to determine the call duration, calling number gender ratio, occupation ratio, working / resting time gender and age ratio, app usage type ratio, etc. These statistical feature data can predict the gender characteristics of users corresponding to the calling numbers.
[0104] Step 42: Based on the analysis in step 41, determine the output characteristic data of the network number sample.
[0105] Step 43: Determine the specified type of statistical features of the user group consisting of the counterpart users of the historical calls of the user to be predicted, including statistical features related to the call data.
[0106] The statistical features related to the call data include: step 431, determining the proportion of different genders of the calling and called party numbers; step 432, determining the proportion of the calling and called party numbers for takeout, express delivery, and beauty services; step 433, determining the proportion of gender and age of the called party numbers during work and rest periods.
[0107] Step 44: Determine the statistical features of a specified type of the user group consisting of the counterpart users of the historical calls of the user to be predicted, including the statistical features of the app click data.
[0108] The statistical features related to the click data of the peer number app include: Step 441, determining the click and traffic data of finance, game, beauty, sports and fitness apps.
[0109] The feature data used to predict the user's gender determined in this embodiment at least includes the features shown in Table 1 below:
[0110]
[0111] Table 1 Examples of features corresponding to gender prediction
[0112] Step 45: Summarize the characteristic data and preliminarily determine the characteristic dimensions of the characteristic data. Through the analysis of the above steps, we determine the gender ratio of the calling and called parties of our network numbers, the ratio of the opposite party numbers of takeaway, express delivery and beauty professions in the overall calls, the gender ratio of the opposite party numbers during working hours and rest hours, and the usage of the opposite party numbers of finance, games, beauty, and sports and fitness apps. These four categories of behaviors have obvious gender preference differences, and thus design characteristic data that reflects the gender of the number.
[0113] Step 46: Input the statistical features of the determined dimensions into the XGBOOST model to perform XGBOOST algorithm prediction. The XGBOOST algorithm can be used in scenarios such as classification, regression, and sorting. This embodiment uses the classification function of the XGBOOST algorithm to predict the gender attributes of users on different networks.
[0114] Step 47: Compare the result predicted by the algorithm with the actual value. If the accuracy does not reach the threshold, repeatedly adjust the feature dimension of the feature data until the accuracy of the predicted value and the actual value reaches the threshold, and retain the algorithm model and the corresponding feature dimension.
[0115] Step 48: When the XGBOOST algorithm model trained in steps 41 to 47 is used to predict the gender of users on different networks, the feature dimensions determined in step 47 are adjusted based on the ratio of different network numbers to local numbers in the opposite number of the different network users' call data, so as to output feature dimension data corresponding to the gender attribute of the predicted different network number user, and the algorithm model pre-trained on this network is used to predict the gender of the different network user.
[0116] like Figure 5 As shown, when the basic attribute to be predicted is age, the determination method of the embodiment of the present application includes:
[0117] Step 51: Analyze the differences in the usage of the opposite number app and the opposite number terminal for different age numbers. Specifically, it includes: using data analysis methods to determine the proportion of call age, occupation, gender and age during work / rest time, proportion of app usage type, proportion of opposite terminal usage type, etc. These statistical feature data can predict the user age characteristics corresponding to the call number.
[0118] Step 52: Based on the analysis in step 51, determine the output characteristic data of the network number sample.
[0119] Step 53: Determine the specified type of statistical features of the user group consisting of the counterpart users of the historical calls of the user to be predicted, including statistical features related to the call data.
[0120] The statistical features related to the call data include: step 531, determining the ratio of different age groups of the calling and called party numbers; step 532, determining the ratio of the calling and called party numbers for takeout, express delivery, and beauty; step 533, determining the ratio of different genders of the called party numbers during work and rest periods.
[0121] Step 54: Determine the specified type of statistical features of the user group consisting of the peer users of the historical calls of the user to be predicted, including statistical features related to the peer number app click data.
[0122] The statistical features related to the click data of the peer number app include: step 541, determining the click data of the children and parenting, office business, marriage and dating apps, etc.; step 542, determining the click and traffic data of the finance, game, beauty, sports and fitness apps.
[0123] Step 55: Determine the specified type of statistical features of the user group consisting of the peer users of the historical calls of the user to be predicted, including statistical features related to the usage data of the peer terminals.
[0124] The statistical features related to the peer terminal usage data include: Step 551, determining the usage ratio of the peer terminal brand.
[0125] The feature data used to predict the user's age determined in this embodiment at least includes the features shown in Table 2 below:
[0126]
[0127] Table 2 Examples of features corresponding to age prediction
[0128] Step 56: Summarize the feature data and preliminarily determine the feature dimensions of the feature data. Through the analysis of the above steps, it is determined that users of different ages have obvious preference differences in different age ranges of the calling and called numbers, occupation proportions, gender proportions of working / resting time periods, opposite number app preferences, and opposite number terminal proportions. Therefore, the age of the call users is divided into intervals of 10 years old, and the feature data in different age intervals are calculated respectively.
[0129] Step 57: Input the feature data of the determined dimension into the logistic regression algorithm to perform age prediction.
[0130] Step 58: Use the logistic regression algorithm to predict the age and compare it with the actual value. If the accuracy does not reach the threshold, repeatedly calibrate and adjust the feature dimensions of the feature data until the accuracy of the predicted value and the actual value reaches the threshold, and retain the algorithm model and the corresponding feature dimensions.
[0131] Step 59: When the logistic regression algorithm model trained in steps 51 to 58 is used to predict the age of the alien network user, the feature dimension determined in step 58 is adjusted in combination with the ratio of alien network numbers to local network numbers in the opposite end numbers of the alien network user's call data, so as to output the feature dimension data corresponding to the predicted age attribute of the alien network user, and the age of the alien network user is predicted using the logistic regression algorithm model pre-trained on this network.
[0132] It should be noted that the above Figure 4 The prediction and Figure 5 The predictions of the age of users on different networks are all examples of basic attributes to be determined. Figure 4 , Figure 5 The method shown, adaptive modification of feature data, and appropriate selection of prediction algorithm models can all obtain the basic attributes of the user to be predicted. For example, for attributes with discrete values of basic attributes, such as gender, a classification algorithm model (such as XGBOOAT) can be selected; for attributes with continuous values of basic attributes, such as age, a logistic regression algorithm model can be selected. Based on this, for the workplace attribute, Figure 5 Determined by the method shown.
[0133] In addition, for determining the attributes of the workplace of users of different networks, the embodiment of the present application also provides an implementation method: by analyzing the calling behavior of the numbers of this network during the working hours (9:00-12:00 and 14:00-18:00, Monday to Friday), it is determined that the location of the opposite-end call with the highest proportion of the number of calls made by the user during the working hours is likely to be the workplace of the user (the implicit logic here is that it is believed that the main call objects of the user during working hours are colleagues). Through this rule, the call data of the numbers of different networks are eliminated from fraud or sales numbers with occupational identification and call duration of less than 10 seconds, and the street with the highest ranking of the number of calls made by the opposite-end number during the working hours is retained. This street is the workplace of the user with the numbers of different networks.
[0134] The basic attributes of the different network users determined in this embodiment can further form the identity tags of different network users, and the tag results can be selected and used as needed according to business needs. For example, when promoting a certain traffic package, based on the usage scenario of the traffic (such as being usable for a specific game app), it can be promoted to different network users of a specific gender and a specific age group based on the basic attributes of the users determined in this embodiment.
[0135] Example 2
[0136] In order to solve the problem of how to determine the basic attributes of users in different networks in the prior art, based on the same inventive concept as the above-mentioned embodiments of the present application, Embodiment 2 of the present application provides a device for determining the basic attributes of a user.
[0137] The specific structural diagram of the device is shown in Figure 6 As shown, it includes the following functional units:
[0138] The data acquisition module 61 is used to acquire the historical call data of the target operator's users on different networks.
[0139] The historical call data includes user information of the target operator's inter-network user corresponding to the call counterpart, and call information between the inter-network user and the target operator's local user when the call counterpart is the target operator's local user.
[0140] User information may include call numbers, operators to which the call numbers belong, etc. User information of historical call data in this embodiment usually includes user information of the target operator's own network, that is, the call number of the user of the own network who is talking to the user of the other network.
[0141] The call information may include information such as the calling and called relationship between the local network user and the foreign network user, call duration, call time period, etc., obtained from the local network database of the operator.
[0142] The data processing module 62 obtains, based on the data of the historical calls, statistical features of a specified type for a user group consisting of opposite-end users participating in the historical calls; the statistical features of the specified type are associated with the type of basic attributes to be determined.
[0143] The peer users participating in the historical calls usually include the peer users who are talking with users on different networks.
[0144] The formed user group may be a user group consisting of local network users of the target operator among the opposite-end users included in the historical call data, and users who participated in the historical calls of the local network users.
[0145] The designated type is determined according to the actual distribution of the basic attributes of the local network users of the target operator and the statistical characteristics of the user group composed of the opposite-end users who participated in the historical calls of the local network users.
[0146] Statistical features can be the proportion of one or more behaviors that can distinguish basic attributes in the user group, or the number of one or more behaviors that can distinguish basic attributes in the communication behavior data, such as the proportion of males in calls, the proportion of females in calls, the proportion of people in the user group who use a certain mobile phone, the proportion of people in the user group who access a certain type of app (application), etc.
[0147] The statistical features of the specified type are determined by the statistical data of the features possessed by the user group and having behavioral preference differences from the basic attributes to be determined.
[0148] The basic attributes to be determined include the user's gender, age, place of residence, and place of work.
[0149] The attribute determination module 63 determines the basic attribute of the heterogeneous network user according to the statistical feature of the specified type.
[0150] The attribute determination module 63 is used to input the statistical features into a pre-trained basic attribute prediction model to trigger the basic attribute prediction model to output a prediction result of the basic attribute of the heterogeneous network user.
[0151] Example 3
[0152] Based on the same inventive concept as the aforementioned embodiments of the present application, Embodiment 3 of the present application provides a computing device to solve the problem in the prior art that it is difficult to determine the basic attributes of users on a different network.
[0153] like Figure 7As shown, the computing device includes: a memory 71 and a processor 72. The memory 71 can be configured to store various other data to support operations on the electronic device. Examples of these data include instructions for any application or method for operating on the electronic device. The memory 71 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.
[0154] The processor 72 is coupled to the memory 71 and is used to execute the computer program stored in the memory 71 to execute the method for determining basic attributes of a user described in Example 1 of the present application.
[0155] When the processor 72 executes the computer program in the memory 71, in addition to the above functions, it can also realize other functions, and the details can be found in the description of the previous embodiments.
[0156] Further, such as Figure 7 As shown, the computing device also includes: a display 74, a communication component 73, a power component 75, an audio component 76 and other components. Figure 7 Only some components are shown schematically, and it does not mean that the computing device only includes Figure 7 Components shown.
[0157] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, the methods provided in the above embodiments can be implemented.
[0158] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0159] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0160] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for determining basic attributes of a user, It is characterized in that include: Obtain historical call data of users on different networks of the target operator; Based on the data of the historical calls, obtaining a specified type of statistical feature of a user group constituted by opposite-end users participating in the historical calls; the specified type of statistical feature is associated with a type of basic attribute to be determined; The basic attributes of the heterogeneous network user are determined according to the statistical features of the specified type.
2. The method according to claim 1, It is characterized in that The statistical features of the specified type include statistical features related to the number of users; then, Based on the data of the historical calls, obtaining a specified type of statistical features of a user group composed of users participating in the historical calls, including: Based on the historical call data and the ratio of the number of users in different networks to users in the same network, a statistical feature of a specified type of the user group is obtained.
3. The method according to claim 1, It is characterized in that The designated type is determined based on the actual distribution of the basic attributes of the local network users of the target operator and the statistical characteristics of the user group composed of users who participated in the historical calls of the local network users.
4. The method according to claim 1, It is characterized in that The specified type of statistical features is determined by statistical data of features possessed by the user group and having behavioral preference differences from the basic attributes to be determined.
5. The method according to claim 4, It is characterized in that The statistical data of the feature having a behavioral preference difference from the basic attribute to be determined includes at least one of the following: Call record statistics data capable of distinguishing the occupation of the opposite end user of the basic attribute to be determined; The call bill statistics data of the active communication period of the opposite end user that can distinguish the basic attribute to be determined; Call record statistics data capable of distinguishing the initiative of the opposite end user's call of the basic attribute to be determined; Statistical data of terminal information used by the opposite end user that can distinguish the basic attribute to be determined.
6. The method according to claim 1, It is characterized in that Determining the basic attributes of the heterogeneous network user according to the statistical features of the specified type includes: The specified type of statistical features are input into a pre-trained basic attribute prediction model to trigger the basic attribute prediction model to output a prediction result of the basic attribute of the heterogeneous network user.
7. The method according to claim 6, It is characterized in that The basic attribute prediction model includes a classification model and a regression model; The classification model outputs a prediction result of a discrete attribute in the basic attribute of the heterogeneous network user based on the input first statistical feature; The regression model outputs a prediction result of the continuous attribute in the basic attributes of the heterogeneous network user based on the input second statistical feature.
8. A device for determining basic attributes of a user, It is characterized in that include: A data acquisition module is used to acquire the historical call data of the target operator's users on other networks; A data processing module, based on the data of the historical calls, obtains a specified type of statistical features of a user group composed of opposite-end users participating in the historical calls; the specified type of statistical features is associated with a type of basic attribute to be determined; The attribute determination module determines the basic attribute of the heterogeneous network user according to the statistical feature of the specified type.
9. A computing device, It is characterized in that include: Memory and processor, wherein: The memory is used to store computer programs; The processor is coupled to the memory and is used to execute the computer program stored in the memory to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program can implement the method according to any one of claims 1 to 7 when executed by a computer.
