User terminal behavior trend evaluation method and device, communication equipment, storage medium and computer program product
By acquiring and sampling data in user terminal behavior assessment, and constructing and solving functions to assess behavior trends, the problem of insufficient behavior assessment accuracy in the existing technology is solved, and a more accurate user terminal behavior trend assessment is achieved.
Patent Information
- Application Number
- CN202410583093.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology cannot accurately judge the continuity and evolution trend of behavior in user terminal behavior assessment, resulting in insufficient assessment accuracy.
By obtaining the behavioral data of the user terminal at the target time point, sampling the data based on continuous time periods, constructing the initial independent variable function and behavior evaluation function, solving its weights and coefficients, and obtaining the target independent variable function and behavior evaluation function to evaluate Behavior trends of user terminals.
It improves the accuracy of user terminal behavior trend assessment and reflects time continuity, thus improving the accuracy of assessment.
Smart Images

Figure CN118537033A
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal communication technology, and in particular to a method, apparatus, communication equipment, storage medium and computer program product for evaluating user terminal behavior trends. Background Art
[0002] With the development of terminal communication technology, operators can evaluate the behavior trends of user terminals, optimize the network for each user terminal based on the evaluation results, and push marketing strategies to each user terminal.
[0003] At present, the evaluation of user terminal behavior mainly relies on traditional statistical models and machine learning algorithms. For example, methods based on statistical models usually use probability distribution models to describe the statistical characteristics of user behavior; and methods based on supervised learning can obtain user behavior by constructing a mapping relationship between user behavior and labels. However, the above methods cannot accurately judge the continuity and evolution trend of user terminal behavior, resulting in insufficient accuracy of operators' evaluation of user terminal behavior. Summary of the invention
[0004] Based on this, it is necessary to provide a user terminal behavior trend assessment method, apparatus, communication equipment, computer-readable storage medium and computer program product that can improve the accuracy of user terminal behavior trend assessment in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for evaluating user terminal behavior trends. The method comprises:
[0006] Acquire behavior data corresponding to the user terminal at a target time point; the behavior data includes behavior data within a target time period, the target time period is determined based on the target time point, and the behavior data is obtained by sampling the terminal behavior data contained in the target time period according to a preset sampling interval, and the target time period includes a continuous first time period and a second time period;
[0007] Based on the first behavior data corresponding to the first time period, solving the weights of the basic building blocks contained in the initial independent variable function corresponding to the first behavior data to obtain the target independent variable function corresponding to the user terminal; the initial independent variable function is a function composed of at least one preset basic building block;
[0008] Based on the second behavior data corresponding to the second time period, solving the coefficients of each of the target independent variable functions contained in the initial behavior evaluation function corresponding to the second behavior data to obtain the target behavior evaluation function corresponding to the user terminal; the initial behavior evaluation function is a function composed of a plurality of preset target independent variable functions;
[0009] Based on the to-be-evaluated time corresponding to the user terminal and the target behavior evaluation function, user behavior evaluation data corresponding to the to-be-evaluated time is obtained.
[0010] In one embodiment, the obtaining of behavior data corresponding to the user terminal at the target time point includes:
[0011] Acquire a target time point to be sampled, and determine a first time period and a second time period corresponding to the target time point; the second time period is a time period next to the first time period; the length of the first time period is the same as the length of the second time period;
[0012] At preset time intervals, sampling the terminal behavior data corresponding to the user terminal included in the first time period to obtain first behavior data; sampling the terminal behavior data corresponding to the user terminal included in the second time period to obtain terminal behavior data corresponding to each sampling interval;
[0013] Determine the sum of the terminal behavior data corresponding to each sampling interval as the second behavior data.
[0014] In one embodiment, based on the first behavior data corresponding to the first time period, solving the weights of each basic building block contained in the initial independent variable function corresponding to the first behavior data to obtain the target independent variable function corresponding to the user terminal includes:
[0015] According to the first time period and the preset time interval, a target number of preset initial independent variable functions is determined, and the target number of initial independent variable functions is obtained; the initial independent variable function includes at least one basic building block, and the number of each basic building block in the initial independent variable function is at least one; the basic building block is a preset continuous function;
[0016] For each initial independent variable function, inputting the sub-behavior data corresponding to the initial independent variable function in the first behavior data into each of the basic building blocks of the initial independent variable function, and solving to obtain the weight corresponding to each of the basic building blocks;
[0017] Based on the weights corresponding to the basic building blocks, the target independent variable function corresponding to the initial independent variable function is determined, and the target independent variable function corresponding to each initial independent variable function is determined to be the target independent variable function corresponding to the user terminal.
[0018] In one embodiment, the step of inputting the sub-behavior data corresponding to the initial independent variable function in the first behavior data into each of the basic building blocks of the initial independent variable function, and solving to obtain the weight corresponding to each of the basic building blocks, includes:
[0019] Determine each of the basic building blocks of the initial independent variable function as a system of linear equations;
[0020] Based on the sub-behavior data corresponding to the initial independent variable function in the first behavior data, the linear equation group is solved to obtain a solution value, and the solution value is determined as the weight corresponding to each basic building block in the linear equation group.
[0021] In one embodiment, based on the second behavior data corresponding to the second time period, solving the coefficients of each of the target independent variable functions contained in the initial behavior evaluation function corresponding to the second behavior data to obtain the target behavior evaluation function corresponding to the user terminal includes:
[0022] Inputting the second behavior data into each of the target independent variable functions included in the initial behavior evaluation function to solve, and obtaining coefficients corresponding to each of the target independent variable functions;
[0023] Based on the coefficients corresponding to each of the target independent variable functions, a target behavior evaluation function corresponding to the user terminal is obtained.
[0024] In one embodiment, the step of inputting the second behavior data into each of the target independent variable functions included in the initial behavior evaluation function to solve the function and obtaining coefficients corresponding to each of the target independent variable functions includes:
[0025] Determine a loss function corresponding to the initial behavior evaluation function, and an initial coefficient value of the loss function;
[0026] Based on the second behavior data and the preset coefficient iterative update strategy, the initial coefficient value of the loss function is updated until the loss value corresponding to the loss function meets the preset value, and the updated target coefficient value is determined, which is the coefficient corresponding to each of the target independent variable functions.
[0027] In one embodiment, obtaining the user behavior evaluation data corresponding to the time to be evaluated based on the time to be evaluated corresponding to the user terminal and the target behavior evaluation function includes:
[0028] The time to be evaluated corresponding to the user terminal is input into the target behavior evaluation function to obtain user behavior evaluation data within the next target time period corresponding to the time to be evaluated.
[0029] In one of the embodiments, if the user behavior evaluation data is greater than a preset threshold, the user terminal is processed through a load balancing strategy, and a push message corresponding to the user behavior evaluation data is sent to the user terminal.
[0030] In a second aspect, the present application also provides a user terminal behavior trend evaluation device. The device comprises:
[0031] A data acquisition module, used to acquire behavior data corresponding to the user terminal at a target time point; the behavior data includes behavior data within a target time period, the target time period is determined based on the target time point, and the behavior data is obtained by sampling the terminal behavior data contained in the target time period according to a preset sampling interval, and the target time period includes a continuous first time period and a second time period;
[0032] a first function determination module, configured to solve the weights of the basic building blocks contained in the initial independent variable function corresponding to the first behavior data corresponding to the first time period, so as to obtain a target independent variable function corresponding to the user terminal; the initial independent variable function is a function composed of at least one preset basic building block;
[0033] A second function determination module, configured to solve the coefficients of each of the target independent variable functions contained in the initial behavior evaluation function corresponding to the second behavior data based on the second behavior data corresponding to the second time period, to obtain the target behavior evaluation function corresponding to the user terminal; the initial behavior evaluation function is a function composed of a plurality of preset target independent variable functions;
[0034] The behavior trend evaluation module is used to obtain user behavior evaluation data corresponding to the time to be evaluated based on the time to be evaluated corresponding to the user terminal and the target behavior evaluation function.
[0035] In a third aspect, the present application further provides a communication device, wherein the communication device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0037] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0038] The above-mentioned user terminal behavior trend evaluation method, device, communication device, storage medium and computer program product determine the target time period through the target time point, and sample the behavior data in the target time period based on the preset sampling interval to obtain the behavior data of the user terminal at the target time point. The target time period includes a continuous first time period and a second time period, so the base station can sample the first behavior data of the first time period and the second behavior data of the second time period. Based on this, the base station can obtain the behavior data of the user terminal in the past continuous time period. The base station can construct an initial independent variable function and an initial behavior evaluation function for the user terminal, wherein the initial independent variable function includes at least one basic building block, and the number of each basic building block is at least one. The base station can solve the weights of each basic building block in the initial independent variable function through the first behavior data obtained by sampling, obtain the weight value of each basic building block in each initial independent variable function, and determine the solved initial independent variable function based on the weight value, and determine it as the target independent variable function, so as to fit the time continuous first behavior data. In addition, the base station solves the initial behavior evaluation function through the second behavior data obtained by sampling, obtains the coefficients corresponding to each target independent variable function, and obtains the solved initial behavior evaluation function based on the coefficients, and determines it as the target behavior evaluation function. Since the sampled behavior data is time-continuous behavior data, and the first behavior data and the second behavior data are also adjacent and continuous in time. The base station will also fit the pre-established initial independent variable function through the first behavior data, and fit the initial behavior evaluation function through the second behavior data, and finally obtain the fitted target behavior evaluation function. Therefore, the target behavior evaluation function can reflect the time continuity of the first behavior data itself, as well as the time continuity between the first behavior data and the second behavior data, thereby improving the accuracy of the target behavior evaluation function in evaluating the behavior trend of the user terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A diagram of an application environment of a method for evaluating a user terminal behavior trend in one embodiment;
[0041] Figure 2 is a flow chart of a method for evaluating a user terminal behavior trend in one embodiment;
[0042] Figure 3 A flowchart of steps for obtaining behavior data in one embodiment;
[0043] Figure 4 A schematic diagram of a flow chart of a step of determining an independent variable function in one embodiment;
[0044] Figure 5 A schematic flow chart of the step of determining the independent variable function in another embodiment;
[0045] Figure 6 A schematic flow chart of a coefficient determination step in one embodiment;
[0046] Figure 7 is a flow chart of a method for evaluating a user terminal behavior trend in another embodiment;
[0047] Figure 8 is a structural block diagram of a user terminal behavior trend evaluation device in one embodiment;
[0048] Fig. 9 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The user terminal behavior trend evaluation method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the user terminal 102 communicates with the base station 104 through the network, and sends the behavior data corresponding to the user terminal 102 to the data storage system of the base station. The base station 104 can sample the first behavior data and the second behavior data corresponding to the target time period according to the target time point and the target time period corresponding to the target time point. The base station 104 can call the first behavior data and the second behavior data corresponding to the user terminal 102 at the target time point, fit the preset initial independent variable function and the initial behavior evaluation function, and obtain the target behavior evaluation function suitable for the user terminal, so as to evaluate the behavior data of the user terminal in a certain period of time in the future through the target behavior evaluation function. The data storage system can store the behavior data that the base station 104 needs to process. The data storage system can be integrated on the base station 104, or it can be placed on the cloud or other network servers. Among them, the user terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc.
[0051] In an exemplary embodiment, Figure 2 As shown, a method for evaluating the behavior trend of a user terminal is provided. Figure 1 The base station 104 in the example is used as an example to illustrate, including the following steps S202 to S208. Among them:
[0052] Step S202: Obtaining the behavior data of the user terminal at the target time point.
[0053] Among them, the behavior data includes behavior data within the target time period; the behavior data can be data such as the number of connections between the user terminal and the base station, the traffic usage data of the user terminal, the call duration of the user terminal, etc.; the target time point can be at least one pre-configured target time point, for example, the target time point can be 12 noon every day, etc.; the target time point can be a time point in a past time period; the target time period is determined based on the target time point; after determining the target time point, the start time point and end time point corresponding to the target time period can be determined according to the pre-configured cycle length of the target time period. The cycle length can be the interval between the start time point and the end time point. The target time point can be the start time point. For example, the cycle length can be 1 hour. If the target time point is 12 o'clock, then the start time point corresponding to the target time period is 12 o'clock, and the end time point is 13 o'clock. The target time period is from 12 o'clock to 13 o'clock.
[0054] The behavior data is obtained by sampling the terminal behavior data contained in the target time period multiple times according to the preset sampling interval. The base station can perform multiple samplings according to the preset sampling interval in the interval between the start time point and the end time point. For example, if the preset sampling interval is 10 minutes, the base station can perform 6 samplings within 1 hour with a sampling interval of 10 minutes between the start time point 12 o'clock and the end time point 13 o'clock, and obtain 6 sets of behavior data. In addition, the target time period may include a continuous first time period and a second time period, that is, the target time period includes two time periods, and each time period includes its own start time point and end time point, and the end time point of the first time period can be the start time point of the second time period. For example, if the target time point is 12 o'clock, the cycle lengths of the first time period and the second time period are both 1 hour, then the start time point and the end time point of the first time period are determined to be 12 o'clock and 13 o'clock respectively, and the start time point and the end time point of the second time period are determined to be 13 o'clock and 14 o'clock respectively.
[0055] Specifically, for the behavior data to be evaluated, the base station can determine at least one behavior data corresponding to the same type of user terminal as the behavior data to be acquired. The base station can obtain a preset target time point, and the target time point can be at least one target time point configured in advance. The base station can determine the start time of the target time period according to the target time point, and obtain the first time period and the second time period according to the start time and the preset period length. The base station can sample the behavior data within the first time period according to the preset sampling interval, obtain multiple sampled behavior data, and determine it as the first behavior data; the base station can sample the behavior data within the second time period according to the preset sampling interval, obtain multiple sampled behavior data, and determine it as the second behavior data.
[0056] Step S204, based on the first behavior data corresponding to the first time period, solving the weights of the basic building blocks contained in the initial independent variable function corresponding to the first behavior data to obtain the target independent variable function corresponding to the user terminal.
[0057] Among them, the basic building block is the smallest unit that constitutes the initial independent variable function. The basic building block can be a continuous function, and the basic building block can be different types of continuous functions. The initial independent variable function is a function composed of at least one preset basic building block. Each basic building block in the initial independent variable function contains a corresponding weight.
[0058] Specifically, the base station can establish a preset initial independent variable function for the user terminal, and the initial independent variable function is obtained by combining at least one basic building block, and each basic building block corresponds to its own weight. In the initial independent variable function, the types of each basic building block can be different. After establishing the initial independent variable function, the base station can use the time information corresponding to the first behavior data and the first behavior data as known quantities of the initial independent variable function based on the first behavior data obtained by sampling, and bring the known quantities into the initial independent variable function, solve the coefficients of each basic building block in the initial independent variable function based on the known quantities, obtain the solved weight value, and substitute the weight into the initial independent variable function to obtain the fitted target independent variable function.
[0059] In one example, if it is known that there is one target time point, and the first behavior data corresponding to the first time period is one piece of behavior data obtained through one sampling, the base station can input the time information corresponding to the first behavior data and the first behavior data into at least one basic building block included in the initial independent variable function, and the basic building block uses the time information as an independent variable. The base station can use a preset fitting algorithm to determine the weight corresponding to the first behavior data, thereby obtaining the target independent variable function according to the weight.
[0060] Based on this, in another example, it is known that there are 10 target time points, and the first behavior data corresponding to the first time period is a set of behavior data obtained after 1 sampling. Then the base station can use the 10 first behavior data corresponding to the target time points and the 10 time information corresponding to the first behavior data as 10 groups of known quantities, and input them into the initial independent variable function respectively. The base station can use a preset fitting algorithm to determine the weights corresponding to the 10 groups of first behavior data, so as to obtain the target independent variable function according to the weights. It can be seen that the more target time points there are, the more accurate the fitting result will be.
[0061] Step S206, based on the second behavior data corresponding to the second time period, solving the coefficients of each target independent variable function included in the initial behavior evaluation function corresponding to the second behavior data to obtain the target behavior evaluation function corresponding to the user terminal.
[0062] Among them, the initial behavior evaluation function is a function composed of multiple preset target independent variable functions, that is, each target independent variable function is a component of the initial behavior evaluation function, the initial behavior evaluation function contains at least one target independent variable function, and each target independent variable function in the initial behavior evaluation function corresponds to a coefficient.
[0063] Specifically, the base station can pre-establish an initial behavior evaluation function based on at least one preset initial independent variable function. After establishing the initial behavior evaluation function, the base station can use the sum of the sampled second behavior data as a known quantity of the initial behavior evaluation function, that is, the sum of the second behavior data can be regarded as the data to be predicted in the second time period; the base station can regard the sampled first behavior data as known data in the first time period. It should be understood that the initial behavior evaluation function is used to fit the internal relationship between the first behavior data in the first time period and the data to be predicted in the second time period. Based on this, the base station can solve the coefficients of each target independent variable function in the initial behavior evaluation function by determining the target independent variable function based on the first behavior data and the sum of the sampled second behavior data, obtain the coefficient values of each item corresponding to the initial behavior evaluation function, and obtain the target behavior evaluation function based on the coefficient values.
[0064] In one example, for the target time period corresponding to multiple target time points, the base station can input the sum of the second behavior data into the initial behavior evaluation function. At this time, only the coefficients in the initial behavior evaluation function are unknown quantities, so multiple coefficients in the initial behavior evaluation function can be solved. However, the multiple groups of second behavior data corresponding to the multiple target time points are different from each other. Therefore, the base station can solve the initial behavior evaluation function corresponding to the multiple target time points at the same time to obtain the optimal coefficients that simultaneously meet the multiple target time points, thereby obtaining the target behavior evaluation function based on the optimal coefficients.
[0065] Step S208: obtaining user behavior evaluation data corresponding to the time to be evaluated based on the time to be evaluated corresponding to the user terminal and the target behavior evaluation function.
[0066] Specifically, the base station may receive the time to be evaluated, and input the time to be evaluated into the target behavior evaluation function, and the target behavior evaluation function may output the user behavior evaluation data corresponding to the time to be evaluated.
[0067] In the above-mentioned user terminal behavior trend evaluation method, the target time period is determined by the target time point, and the behavior data in the target time period is sampled based on the preset sampling interval to obtain the behavior data of the user terminal at the target time point. The target time period includes a continuous first time period and a second time period, so the base station can sample the first behavior data of the first time period and the second behavior data of the second time period. Based on this, the base station can obtain the behavior data of the user terminal in the past continuous time period. The base station can construct an initial independent variable function and an initial behavior evaluation function for the user terminal, wherein the initial independent variable function includes at least one basic building block, and the number of each basic building block is at least one. The base station can solve the weights of each basic building block in the initial independent variable function through the first behavior data obtained by sampling, obtain the weight value of each basic building block in each initial independent variable function, and determine the solved initial independent variable function based on the weight value, and determine it as the target independent variable function, thereby fitting the time continuous first behavior data. In addition, the base station solves the initial behavior evaluation function through the second behavior data obtained by sampling, obtains the coefficients corresponding to each target independent variable function, and obtains the solved initial behavior evaluation function based on the coefficients, and determines it as the target behavior evaluation function. Since the sampled behavior data is time-continuous behavior data, and the first behavior data and the second behavior data are also adjacent and continuous in time. The base station will also fit the pre-established initial independent variable function through the first behavior data, and fit the initial behavior evaluation function through the second behavior data, and finally obtain the fitted target behavior evaluation function. Therefore, the target behavior evaluation function can reflect the time continuity of the first behavior data itself, as well as the time continuity between the first behavior data and the second behavior data, thereby improving the accuracy of the target behavior evaluation function in evaluating the behavior trend of the user terminal.
[0068] In an exemplary embodiment, Figure 3 As shown, the specific implementation process of the step "obtaining the behavior data corresponding to the user terminal at the target time point" includes steps S302 to S306. Among them:
[0069] Step S302, obtaining a target time point to be sampled, and determining a first time period and a second time period corresponding to the target time point.
[0070] The second time period is the next time period of the first time period; and the length of the first time period is the same as the length of the second time period.
[0071] Specifically, the base station may obtain multiple target time points to be sampled. For each target time point, the current target time point may be used as the period start time of the first time period, and the end time of the first time period may be used as the start time of the second time period, and the period lengths of the first time period and the second time period are the same.
[0072] In one example, the target time points to be sampled can be set to 24 time points, corresponding to each hour of the 24 hours of a day. In addition, the period lengths of the first time period and the second time period are set to 0.5 hours. Based on this, 24 groups of time periods are obtained, corresponding to 24 hours, and each hour contains two time periods with a period length of 0.5 hours.
[0073] Step S304, sampling the terminal behavior data corresponding to the user terminal included in the first time period according to the preset time interval to obtain the first behavior data; sampling the terminal behavior data corresponding to the user terminal included in the second time period to obtain the terminal behavior data corresponding to each sampling interval.
[0074] Specifically, for each target time point, the base station samples the terminal behavior data corresponding to the user terminal contained in the first time period of the current time point. During sampling, the terminal behavior data needs to be sampled multiple times at a preset time interval to obtain the first behavior data after sampling. Correspondingly, the base station can sample the terminal behavior data corresponding to the user terminal contained in the second time period, and perform multiple sampling according to the preset time interval to obtain the terminal behavior data corresponding to each sampling interval. After completing the sampling of each target time point, the first behavior data corresponding to the user terminal at multiple time points and the terminal behavior data sampled in the second time period are obtained.
[0075] Step S306: Determine the sum of the terminal behavior data corresponding to each sampling interval as the second behavior data.
[0076] Specifically, for each target time point, the base station sums the terminal behavior data corresponding to each sampling interval included in the second time period and uses the sum as the second behavior data.
[0077] In an example, the period lengths of the first time period and the second time period are set to T, the preset sampling interval is L, the target time point is t, and the number of target time points is N. Then, the base station can obtain X1, X2, X3...X by sampling at the preset sampling interval in [t, t+T] (the first time period). (T / L) , and as the first line of data. Accordingly, the base station can obtain Y1, Y2, Y3...Y by sampling according to the preset sampling interval in [t+T, t+2T] (the second time period). (T / L), and Y1,Y2,Y3...Y (T / L) Sum to get Y sum Based on this, the base station can obtain N groups of behavior data, where each group of behavior data is as follows: [X1, X2, X3...X (T / L) , Y sum ].
[0078] In this embodiment, the first time period and the second time period are sampled respectively with the same period length of the first time period and the second time period, and the same preset time interval, to obtain first behavior data corresponding to the first time period and terminal behavior data corresponding to the second time period. The terminal behavior data corresponding to the second time period can be summed to obtain second behavior data. The base station unifies the time interval and the length of the time period, and collects the first behavior data and the second behavior data successively, which can improve the uniformity and continuity of the sampled behavior data.
[0079] In an exemplary embodiment, Figure 4 As shown, the specific implementation process of the step of "solving the weights of each basic building block contained in the initial independent variable function corresponding to the first behavior data corresponding to the first time period to obtain the target independent variable function corresponding to the user terminal" includes steps S402 to S406. Among them:
[0080] Step S402, determining a target number of preset initial independent variable functions according to the first time period and the preset time interval, and obtaining the target number of initial independent variable functions.
[0081] The initial independent variable function includes at least one basic building block, and the number of each basic building block in the initial independent variable function is at least one; the basic building block is a preset continuous function.
[0082] Specifically, the base station can determine the quotient between the first time period and the preset time interval, obtain the number of samplings corresponding to the first time period, and determine the number of samplings as the target number of preset initial independent variable functions. Based on this, the base station can generate a target number of initial independent variable functions from a random combination of preset basic building blocks. Each randomly generated initial independent variable function can include at least one basic building block, and the number of each basic building block is at least one. Based on this, each randomly generated initial independent variable function can be sorted and numbered according to the sampling time to obtain the initial independent variable function corresponding to each sampling time. In an example, the period length of the first time period is set to 1 hour, and the preset sampling interval is 10 minutes, then the target number of initial independent variable functions is determined to be 6, and 6 initial independent variable functions can be randomly generated, and each initial independent variable function corresponds to a sampling time.
[0083] In one example, the basic building block can be a polynomial function taking a polynomial function (1, x, x 2 ,x 3 ,…), Gaussian function (exp(-(x-μ) 2 / 2σ 2 ), μ is the mean, σ is the standard deviation), Sigmoid function (1 / (1+e -kx ), k is the slope) and other continuous functions.
[0084] Step S404: for each initial independent variable function, the sub-behavior data corresponding to the initial independent variable function in the first behavior data is input into each basic building block of the initial independent variable function, and the weight corresponding to each basic building block is obtained by solving.
[0085] The sub-behavior data is the behavior data corresponding to multiple sampling times in the first behavior data. For example, if the sampling times are 1:10, 1:20, and 1:30, the sub-behavior data may be the behavior data obtained by sampling at the three sampling times. The sub-behavior data corresponding to the initial independent variable function is a sub-behavior data among the multiple sub-behavior data, and the sampling time of the sub-behavior data is the same as the sampling time corresponding to the initial independent variable function.
[0086] Specifically, for each initial independent variable function, the first behavior data sampled at each target time point is obtained to obtain multiple groups of first behavior data. The base station inputs the corresponding sub-behavior data in the first behavior data and the sampling time corresponding to the sub-behavior data into each basic building block in the initial independent variable function, and calculates the weight corresponding to each basic building block in the initial independent variable function. The base station can combine the sub-behavior data at multiple target time points to determine the weight corresponding to the initial independent variable function and obtain a more accurate weight value. For other initial independent variable functions, the above method can be used to calculate the weights corresponding to other initial independent variable functions, thereby obtaining weight values corresponding to multiple initial independent variable functions.
[0087] Step S406, based on the weights corresponding to the basic building blocks, determine the target independent variable function corresponding to the initial independent variable function, and determine the target independent variable function corresponding to each initial independent variable function as the target independent variable function corresponding to the user terminal.
[0088] Specifically, the weights corresponding to each basic building block of the base station are substituted into the initial independent variable function to obtain the target independent variable function corresponding to the initial independent variable function. For multiple initial independent variable functions, the base station can determine the target independent variable functions corresponding to the multiple initial independent variable functions, and use the multiple target independent variable functions as the target independent variable functions corresponding to the user terminal.
[0089] In this embodiment, the initial independent variable function of the target data is determined through the first time period and the preset time interval, and the initial independent variable function is solved through the multiple groups of sub-behavior data obtained by sampling to obtain the weight values corresponding to the basic building blocks in each initial independent variable function, so as to determine the target independent variable function based on the weight values. The initial independent variable function can be fitted through the sampled real data to obtain the target independent variable function corresponding to each sampling time, thereby improving the time continuity of the fitting and improving the accuracy of the evaluation of the target independent variable function.
[0090] In an exemplary embodiment, the specific implementation process of the step of "inputting the sub-behavior data corresponding to the initial independent variable function in the first behavior data into each basic building block of the initial independent variable function, and solving to obtain the weight corresponding to each basic building block" includes:
[0091] Determine each basic building block of the initial independent variable function as a linear equation system; solve the linear equation system based on the sub-behavior data corresponding to the initial independent variable function in the first behavior data to obtain a solution value, and determine the solution value as the weight corresponding to each basic building block in the linear equation system.
[0092] Specifically, the base station determines that each basic building block of the initial independent variable function is a linear equation system, and uses the dependent variable and independent variable of the initial independent variable function as known variables, and the dependent variable is the sub-behavior data corresponding to the initial independent variable function, and the independent variable is the sampling time when the sub-behavior data is sampled. The base station solves the linear equation system based on the known variables to obtain a solution value, and uses the solution value as the weight corresponding to each basic building block.
[0093] In this embodiment, by determining the initial independent variable function as a linear equation system, the solving speed can be improved, so that the weight value of each basic building block can be obtained more quickly.
[0094] In an exemplary embodiment, Figure 5 As shown, the specific implementation process of the step of "solving the coefficients of each target independent variable function contained in the initial behavior evaluation function corresponding to the second behavior data based on the second behavior data corresponding to the second time period to obtain the target behavior evaluation function corresponding to the user terminal" includes steps S502 to S504. Among them:
[0095] Step S502: input the second behavior data into each target independent variable function included in the initial behavior evaluation function to solve and obtain the coefficient corresponding to each target independent variable function.
[0096] Specifically, the base station obtains the second behavior data obtained by sampling at each target time point and each target time point, and obtains multiple groups of second behavior data and target time points. The base station inputs the second behavior data of the same group into the initial behavior evaluation function, and the target time points of the same group into the initial behavior evaluation function. At this time, the independent variable in the initial behavior evaluation function is the target time point, and the dependent variable is the second behavior data, both of which are known quantities. Based on this, the base station solves the coefficients corresponding to each target independent variable function in the initial behavior evaluation function to obtain the solved coefficient values.
[0097] Step S504: obtaining a target behavior evaluation function corresponding to the user terminal based on the coefficients corresponding to each target independent variable function.
[0098] Specifically, the base station substitutes the coefficient value corresponding to each target independent variable function into the initial behavior evaluation function to obtain the target behavior evaluation function corresponding to the user terminal.
[0099] In this embodiment, by taking the sampled second behavior data and the target time point corresponding to the second behavior data as known quantities, the coefficients of each target independent variable function in the initial behavior evaluation function are solved to obtain the target behavior evaluation function, which can improve the efficiency of determining the target behavior evaluation function and reduce the time of training the evaluation function.
[0100] In an exemplary embodiment, Figure 6 As shown, the specific implementation process of the step of "inputting the second behavior data into each target independent variable function included in the initial behavior evaluation function for solving, and obtaining the coefficients corresponding to each target independent variable function" includes steps S602 to S604. Among them:
[0101] Step S602, determining the loss function corresponding to the initial behavior evaluation function and the initial coefficient value of the loss function.
[0102] Among them, the loss function is used to represent the difference between the initial behavior evaluation function and the second behavior data obtained by sampling; the loss function can be a mean square error loss function or a mean absolute error loss function.
[0103] Specifically, the base station determines a loss function corresponding to the initial behavior evaluation function from a plurality of preset loss functions, and creates a preset initial coefficient value for the loss function.
[0104] Step S604, based on the second behavior data and the preset coefficient iteration update strategy, the initial coefficient value of the loss function is updated until the loss value corresponding to the loss function meets the preset value, and the updated target coefficient value is determined, which is the coefficient corresponding to each target independent variable function.
[0105] Among them, the preset coefficient iterative update strategy can be a gradient descent method, a momentum method, an adaptive learning rate strategy, etc.
[0106] Specifically, the base station may determine the second behavior data as a training sample, and based on the second behavior data and the target time point corresponding to the second behavior data, train the loss function corresponding to the initial behavior evaluation function, and update the initial coefficient value of the loss function after each training. The base station may calculate the loss value of the loss function after each training, and when the loss value is less than a preset threshold, it is determined that the training of the initial behavior evaluation function is completed, and the initial coefficient value of the loss function is determined to be the target coefficient value, and used as the coefficient value of each target independent variable function in the initial behavior evaluation function.
[0107] In this embodiment, by establishing a loss function of the initial behavior evaluation function and training the loss function based on the second behavior data until the loss value of the loss function meets the preset value, a trained initial behavior evaluation function is obtained, and the target coefficient value of the loss function is used as the coefficient value of each target independent variable function in the initial behavior evaluation function, which can improve the efficiency of determining the coefficient of each target independent variable function and the degree of fit of the target behavior evaluation function.
[0108] In an exemplary embodiment, the specific implementation process of the step of "obtaining user behavior evaluation data corresponding to the time to be evaluated based on the time to be evaluated corresponding to the user terminal and the target behavior evaluation function" includes:
[0109] The time to be evaluated corresponding to the user terminal is input into the target behavior evaluation function to obtain the user behavior evaluation data within the next target time period corresponding to the time to be evaluated.
[0110] Specifically, the base station can obtain the time to be evaluated from the user terminal and input the time to be evaluated into the target behavior evaluation function corresponding to the user terminal. The target evaluation function can output the user behavior evaluation data corresponding to the next target time period of the user terminal after the time to be evaluated.
[0111] In one example, the target behavior evaluation function can evaluate the user behavior evaluation data of the user terminal in the next target time period, and the user behavior evaluation data is the connection duration between the user terminal and the base station. The base station can obtain the period length of the second time period corresponding to the time to be evaluated and the target behavior evaluation function, and obtain the user behavior evaluation data corresponding to the time after the time to be evaluated plus the period length of the second time period; for example, if the time to be evaluated is 18:00 in the afternoon and the period length of the second time period is 1 hour, then the time to be evaluated received by the target behavior evaluation function is 18:00, and the evaluated user behavior evaluation data output by the target behavior evaluation function is the connection duration between the user terminal and the base station at 19:00.
[0112] In this embodiment, by inputting the time to be evaluated of the user terminal into the target behavior evaluation function, the evaluation result of a target time period after the time to be evaluated can be obtained, and the user behavior evaluation data in the future time period can be evaluated in advance, thereby improving the evaluation accuracy and efficiency.
[0113] In an exemplary embodiment, the method for evaluating user terminal behavior trend further includes:
[0114] If the user behavior evaluation data is greater than a preset threshold, the user terminal is processed through a load balancing strategy, and a push message corresponding to the user behavior evaluation data is sent to the user terminal.
[0115] The load balancing strategy is used to dynamically adjust the network resources of the user terminal, thereby improving the network quality of each user terminal.
[0116] Specifically, the base station obtains the user behavior evaluation data, and determines whether the user behavior evaluation data is greater than a preset threshold corresponding to the data type according to the data type of the user behavior evaluation data. If the user behavior evaluation data is greater than the preset threshold, a load balancing strategy is adopted to process the user terminal corresponding to the user behavior evaluation data, and a push message is sent to the user terminal; the push message may be at least one recommended message determined from a plurality of pre-configured recommended messages according to the data type of the user behavior evaluation data; the recommended message may be a marketing strategy such as a product recommendation message, a service improvement message, or a business upgrade message; the base station may send a push message to each user terminal when the base station reaches a connection peak.
[0117] In this embodiment, by estimating the user behavior evaluation data and processing the user terminals exceeding the preset threshold through the load balancing strategy, the user experience of the user terminal can be improved and the network stability of the user terminal can be improved.
[0118] like Figure 7 As shown, the specific implementation process of the above-mentioned user terminal behavior trend evaluation method is described in detail below in conjunction with a specific embodiment, including the following steps:
[0119] Step 1: Collect terminal user behavior data: You can set a fixed time period T (such as one day, one week, one month) and a fixed time interval L (such as one second, one minute, one hour). Through core network elements such as base stations and mobile switching centers, terminal users’ behavior data (such as number of connections, traffic usage, call duration) at a fixed time interval L within [t, t+T] are collected as independent variable functions X1(t), X2(t)…X J(t), where J = T / L is the number of independent variable functions. The sum of the behavior data of the user terminal in the next time period [t+T, t+2T] can be used as the sample of the behavior evaluation function Y(t). The base station can observe the behavior data corresponding to N time points, that is, [X1(t i ), X2(t i )…, X J (t i ), Y(t i )], i=1,…,N.
[0120] Step 2: Preprocessing of user terminal behavior data: The base station can clean and preprocess the collected behavior data. The preprocessing strategy may include removing outliers, filling missing values, and data standardization. This step is used to ensure the quality and consistency of the data and prepare for subsequent evaluation.
[0121] Step 3: Set the basic building block of the independent variable function: The basic building block can be a polynomial function (1, x, x 2 ,x 3 ,…), Gaussian function (exp(-(x-μ) 2 / 2σ 2 ), μ is the mean, σ is the standard deviation), Sigmoid function (1 / (1+e -kx ), k is the slope) and other continuous functions as the basic building blocks of independent variable functions.
[0122] Step 4, structure generation of covariate function: For each independent variable function X j (t), the known target time point t i Substitute the expression obtained by the basic building block combination and convert the expression into the form of a linear equation system. By solving the linear equation system, the weight of each basic building block in the basic building block combination can be obtained. Substitute the solved weight into the basic building block combination to obtain the independent variable function X j Based on this, the base station can use a variety of basic building blocks to combine the nonlinear relationship characteristics of the independent variable function.
[0123] Step 5, determine the coefficients corresponding to the behavior evaluation function: solve the coefficients so that under concurrent sampling, the difference between the behavior evaluation function composed of the independent variable function and the actual behavior data obtained by sampling is minimized. The base station defines the difference between the behavior evaluation function and the actual behavior data obtained by sampling as a loss function (such as mean square error loss function, mean absolute error loss function), creates initial values of the coefficients for the loss function, and uses an iterative method to update the initial values of the coefficients (such as gradient descent method, momentum method, adaptive learning rate method) to gradually reduce the loss function.
[0124] Step 6, obtain the continuous behavior trend of the terminal user: The trained behavior evaluation function is the behavior trend evaluation function of the terminal user in the next period [t+T, t+2T]. Since the basic building block of the independent variable function is a continuous function, the behavior evaluation function is also continuous, and the future continuous behavior of the terminal user can be evaluated and predicted as t increases.
[0125] Step 7, network resource adjustment and service optimization: According to the user terminal's demand for network services, adjust the product operation resource configuration, such as using load balancing and other technologies to allocate resources to each user terminal, reduce the burden on network equipment, and improve resource utilization efficiency. For example, the base station can send a preset marketing strategy to the user terminal, thereby improving the operator's competitiveness and performance.
[0126] In an exemplary embodiment, the specific execution process of the above-mentioned user terminal behavior trend evaluation method is described in detail, including the following steps:
[0127] Step 1: The base station collects the number of terminal connections per hour (L) of a certain base station within a day (T) starting from time t and the number of terminal connections of the next day, and samples the behavior data X1(t), X2(t)…X corresponding to the terminal user behavior independent variable function. 24 (t) and the behavior data Y(t) corresponding to the behavior evaluation function, the target time that can be sampled is t i , i=1 ...200, after obtaining the behavioral data, the data needs to be preprocessed.
[0128] Step 2: The base station uses a polynomial function, a Gaussian function, and a Sigmoid function to form a basic building block of a covariate function, and generates a structure of an independent variable function in combination with the number of terminal connections obtained by sampling to obtain a specific form of the independent variable function.
[0129] Step 3: The base station selects an appropriate loss function and iterates step by step according to the preset training strategy to obtain the coefficient of the independent variable function, so that when the base station concurrently samples the number of terminal connections, the difference between the predicted value of the behavior evaluation function composed of the independent variable function and the behavior data obtained by actual sampling is minimized.
[0130] Step 4: The trained behavior evaluation function is a trend function of the number of terminal connections in the next period [t+T, t+2T]. The base station can evaluate the future continuous behavior of terminal users based on the behavior evaluation function.
[0131] Step 5: If the number of terminal connections obtained by evaluation is greater than the preset threshold, it means that the number of terminal connections will also reach a peak at [t0+T, t0+2T]. The base station can set optimization strategies such as load balancing and popular content caching in advance to improve network performance, and send marketing strategies related to the number of network connections to the user terminal. For example, the base station can push marketing strategies such as free trials of large network bandwidth and upgrade discounts during network peaks.
[0132] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0133] Based on the same inventive concept, the embodiment of the present application also provides a user terminal behavior trend assessment device for implementing the user terminal behavior trend assessment method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more user terminal behavior trend assessment devices provided below can refer to the limitations of the user terminal behavior trend assessment method above, and will not be repeated here.
[0134] In an exemplary embodiment, Figure 8 As shown, a user terminal behavior trend evaluation device is provided, including: a data acquisition module 801, a first function determination module 802, a second function determination module 803 and a behavior trend evaluation module 804, wherein:
[0135] The data acquisition module 801 is used to acquire the behavior data corresponding to the user terminal at the target time point; the behavior data includes the behavior data within the target time period, the target time period is determined based on the target time point, and the behavior data is obtained by sampling the terminal behavior data contained in the target time period according to a preset sampling interval, and the target time period includes a continuous first time period and a second time period;
[0136] A first function determination module 802 is used to solve the weights of each basic building block contained in the initial independent variable function corresponding to the first behavior data corresponding to the first time period to obtain a target independent variable function corresponding to the user terminal; the initial independent variable function is a function composed of at least one preset basic building block;
[0137] The second function determination module 803 is used to solve the coefficients of each target independent variable function contained in the initial behavior evaluation function corresponding to the second behavior data based on the second behavior data corresponding to the second time period, so as to obtain the target behavior evaluation function corresponding to the user terminal; the initial behavior evaluation function is a function composed of a plurality of preset target independent variable functions;
[0138] The behavior trend evaluation module 804 is used to obtain user behavior evaluation data corresponding to the time to be evaluated based on the time to be evaluated corresponding to the user terminal and the target behavior evaluation function.
[0139] Furthermore, the data acquisition module 801 is specifically used to: acquire the target time point to be sampled, and determine the first time period and the second time period corresponding to the target time point; the second time period is the next time period of the first time period; the length of the first time period is the same as the length of the second time period; according to a preset time interval, the terminal behavior data corresponding to the user terminal included in the first time period is sampled to obtain the first behavior data; the terminal behavior data corresponding to the user terminal included in the second time period is sampled to obtain the terminal behavior data corresponding to each sampling interval; and the sum of the terminal behavior data corresponding to each sampling interval is determined to be the second behavior data.
[0140] Furthermore, the first function determination module 802 is specifically used to: determine the target number of preset initial independent variable functions according to the first time period and the preset time interval, and obtain the target number of initial independent variable functions; the initial independent variable function includes at least one basic building block, and the number of each basic building block in the initial independent variable function is at least one; the basic building block is a preset continuous function; for each initial independent variable function, the sub-behavior data corresponding to the initial independent variable function in the first behavior data is input into each basic building block of the initial independent variable function, and the weight corresponding to each basic building block is solved; based on the weight corresponding to each basic building block, the target independent variable function corresponding to the initial independent variable function is determined, and the target independent variable function corresponding to each initial independent variable function is determined to be the target independent variable function corresponding to the user terminal.
[0141] Furthermore, the first function determination module 802 is also used to: determine the basic building blocks of the initial independent variable function as a system of linear equations; solve the system of linear equations based on the sub-behavior data corresponding to the initial independent variable function in the first behavior data to obtain a solution value, and determine the solution value as the weight corresponding to each basic building block in the linear equation system.
[0142] Furthermore, the second function determination module 803 is specifically used to: input the second behavior data into each target independent variable function included in the initial behavior evaluation function for solution to obtain the coefficients corresponding to each target independent variable function; based on the coefficients corresponding to each target independent variable function, obtain the target behavior evaluation function corresponding to the user terminal.
[0143] Furthermore, the second function determination module 803 is specifically used to: determine the loss function corresponding to the initial behavior evaluation function, and the initial coefficient value of the loss function; based on the second behavior data and the preset coefficient iterative update strategy, update the initial coefficient value of the loss function until the loss value corresponding to the loss function meets the preset value, and determine the updated target coefficient value, which is the coefficient corresponding to each target independent variable function.
[0144] Furthermore, the behavior trend evaluation module 804 is specifically used to: input the to-be-evaluated time corresponding to the user terminal into the target behavior evaluation function to obtain the user behavior evaluation data within the next target time period corresponding to the to-be-evaluated time.
[0145] Furthermore, the device also includes a message sending module, which is specifically used to: if the user behavior evaluation data is greater than a preset threshold, process the user terminal through a load balancing strategy, and send a push message corresponding to the user behavior evaluation data to the user terminal.
[0146] Each module in the above-mentioned user terminal behavior trend assessment device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the communication device in the form of hardware, or can be stored in the memory in the communication device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0147] In an exemplary embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9As shown. The communication device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store the behavior data received by the base station from each user terminal. The input / output interface of the communication device is used to exchange information between the processor and an external device. The communication interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user terminal behavior trend evaluation method is implemented.
[0148] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0149] In an exemplary embodiment, a communication device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0150] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0151] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0152] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0153] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0155] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for evaluating user terminal behavior trend, characterized in that: The method comprises: Acquire behavior data corresponding to the user terminal at a target time point; the behavior data includes behavior data within a target time period, the target time period is determined based on the target time point, and the behavior data is obtained by sampling the terminal behavior data contained in the target time period according to a preset sampling interval, and the target time period includes a continuous first time period and a second time period; Based on the first behavior data corresponding to the first time period, solving the weights of the basic building blocks contained in the initial independent variable function corresponding to the first behavior data to obtain the target independent variable function corresponding to the user terminal; the initial independent variable function is a function composed of at least one preset basic building block; Based on the second behavior data corresponding to the second time period, solving the coefficients of each of the target independent variable functions contained in the initial behavior evaluation function corresponding to the second behavior data to obtain the target behavior evaluation function corresponding to the user terminal; the initial behavior evaluation function is a function composed of a plurality of preset target independent variable functions; Based on the to-be-evaluated time corresponding to the user terminal and the target behavior evaluation function, user behavior evaluation data corresponding to the to-be-evaluated time is obtained.
2. The method according to claim 1, characterized in that: The obtaining of the behavior data corresponding to the user terminal at the target time point includes: Acquire a target time point to be sampled, and determine a first time period and a second time period corresponding to the target time point; the second time period is a time period next to the first time period; the length of the first time period is the same as the length of the second time period; At preset time intervals, sampling the terminal behavior data corresponding to the user terminal included in the first time period to obtain first behavior data; sampling the terminal behavior data corresponding to the user terminal included in the second time period to obtain terminal behavior data corresponding to each sampling interval; Determine the sum of the terminal behavior data corresponding to each sampling interval as the second behavior data.
3. The method according to claim 1, characterized in that The step of solving the weights of the basic building blocks contained in the initial independent variable function corresponding to the first behavior data based on the first behavior data corresponding to the first time period to obtain the target independent variable function corresponding to the user terminal includes: According to the first time period and the preset time interval, a target number of preset initial independent variable functions is determined, and the target number of initial independent variable functions is obtained; the initial independent variable function includes at least one basic building block, and the number of each basic building block in the initial independent variable function is at least one; the basic building block is a preset continuous function; For each initial independent variable function, inputting the sub-behavior data corresponding to the initial independent variable function in the first behavior data into each of the basic building blocks of the initial independent variable function, and solving to obtain the weight corresponding to each of the basic building blocks; Based on the weights corresponding to the basic building blocks, the target independent variable function corresponding to the initial independent variable function is determined, and the target independent variable function corresponding to each initial independent variable function is determined to be the target independent variable function corresponding to the user terminal.
4. The method according to claim 3, characterized in that The step of inputting the sub-behavior data corresponding to the initial independent variable function in the first behavior data into each of the basic building blocks of the initial independent variable function, and solving to obtain the weight corresponding to each of the basic building blocks, includes: Determine each of the basic building blocks of the initial independent variable function as a system of linear equations; Based on the sub-behavior data corresponding to the initial independent variable function in the first behavior data, the linear equation group is solved to obtain a solution value, and the solution value is determined as the weight corresponding to each basic building block in the linear equation group.
5. The method according to claim 3, characterized in that: The step of solving the coefficients of each of the target independent variable functions contained in the initial behavior evaluation function corresponding to the second behavior data based on the second behavior data corresponding to the second time period to obtain the target behavior evaluation function corresponding to the user terminal includes: Inputting the second behavior data into each of the target independent variable functions included in the initial behavior evaluation function to solve, and obtaining coefficients corresponding to each of the target independent variable functions; Based on the coefficients corresponding to each of the target independent variable functions, a target behavior evaluation function corresponding to the user terminal is obtained.
6. The method according to claim 5, characterized in that The step of inputting the second behavior data into each of the target independent variable functions included in the initial behavior evaluation function to solve the function and obtain coefficients corresponding to each of the target independent variable functions includes: Determine a loss function corresponding to the initial behavior evaluation function, and an initial coefficient value of the loss function; Based on the second behavior data and the preset coefficient iterative update strategy, the initial coefficient value of the loss function is updated until the loss value corresponding to the loss function meets the preset value, and the updated target coefficient value is determined, which is the coefficient corresponding to each of the target independent variable functions.
7. The method according to claim 1, characterized in that The obtaining, based on the to-be-evaluated time corresponding to the user terminal and the target behavior evaluation function, user behavior evaluation data corresponding to the to-be-evaluated time includes: The time to be evaluated corresponding to the user terminal is input into the target behavior evaluation function to obtain user behavior evaluation data within the next target time period corresponding to the time to be evaluated.
8. The method according to claim 7, characterized in that The method further comprises: If the user behavior evaluation data is greater than a preset threshold, the user terminal is processed through a load balancing strategy, and a push message corresponding to the user behavior evaluation data is sent to the user terminal.
9. A user terminal behavior trend assessment device, characterized in that: The device comprises: A data acquisition module, used to acquire behavior data corresponding to the user terminal at a target time point; the behavior data includes behavior data within a target time period, the target time period is determined based on the target time point, and the behavior data is obtained by sampling the terminal behavior data contained in the target time period according to a preset sampling interval, and the target time period includes a continuous first time period and a second time period; a first function determination module, configured to solve the weights of the basic building blocks contained in the initial independent variable function corresponding to the first behavior data corresponding to the first time period, so as to obtain a target independent variable function corresponding to the user terminal; the initial independent variable function is a function composed of at least one preset basic building block; A second function determination module, configured to solve the coefficients of each of the target independent variable functions contained in the initial behavior evaluation function corresponding to the second behavior data based on the second behavior data corresponding to the second time period, to obtain the target behavior evaluation function corresponding to the user terminal; the initial behavior evaluation function is a function composed of a plurality of preset target independent variable functions; The behavior trend evaluation module is used to obtain user behavior evaluation data corresponding to the time to be evaluated based on the time to be evaluated corresponding to the user terminal and the target behavior evaluation function.
10. A communication device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Method and system for efficiently processing cloud data
CN119629072A
A method and system for efficient processing of cloud data
CN119629072B
