Method and device for predicting passenger flow volume and electronic equipment

By obtaining the comprehensive and basic attribute indicators of the target users, and using the parallel tree model to predict passenger flow based on time, holidays and random errors, the problem of inaccurate prediction in the existing technology is solved and higher prediction accuracy is achieved.

CN118798920AInactive Publication Date: 2024-10-18CHINA MOBILE GRP HENAN CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311185315.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technology cannot accurately predict passenger flow, and the prediction results are inaccurate due to the complex influence of various factors.

Method used

By obtaining the comprehensive indicators and basic attribute indicators of each target user, input them into multiple tree models for parallel operations, and combine time trend variables, holiday trend variables and random errors to predict passenger flow.

Benefits of technology

Compared with the time series method, it can predict passenger flow more accurately and provide a scientific basis for mall management and decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798920A_ABST
    Figure CN118798920A_ABST
Patent Text Reader

Abstract

The invention relates to a passenger flow volume prediction method and device and electronic equipment, and relates to the technical field of data processing, and the method comprises the steps: obtaining a comprehensive index and a basic attribute index of each target user; inputting the comprehensive index and the basic attribute index into a plurality of tree models for parallel operation, and calculating to obtain the passenger flow volume of the target user; the predicted passenger flow volume is calculated by combining the target user passenger flow volume with the time trend variable, the holiday and festival trend variable and the random error amount, the time trend variable, the holiday and festival trend variable and the random error amount are added after the calculation result of the parallel tree model to carry out passenger flow prediction, and compared with a time sequence, the prediction efficiency is improved. And the passenger flow volume can be predicted more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a method, device and electronic equipment for predicting passenger flow. Background Art

[0002] Customer flow is essential data for mall management and decision-making. Predicting the future customer flow of a mall in advance can provide a scientific basis for mall managers to make decisions such as event planning and resource allocation, and effectively evaluate the returns of marketing and promotions.

[0003] At present, the prediction of passenger flow is mainly based on the time series method. In addition to the fixed periodic fluctuations of time series passenger flow due to the influence of the business itself, it is also affected by known or unknown events. Due to the complexity and diversity of real application scenarios, the time series in the real world are often restricted and affected by various factors, resulting in the inability to accurately predict passenger flow. Summary of the invention

[0004] In view of this, the present disclosure provides a method, device, and electronic device for predicting passenger flow, the main purpose of which is to solve the current technical problem of being unable to accurately predict passenger flow.

[0005] According to a first aspect of the present disclosure, a method for predicting passenger flow is provided, the method comprising:

[0006] Obtain comprehensive indicators and basic attribute indicators for each target user;

[0007] Inputting the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user traffic;

[0008] The target user passenger flow is combined with the time trend variable, the holiday trend variable and the random error amount to calculate the predicted passenger flow.

[0009] According to a second aspect of the present disclosure, a passenger flow prediction device is provided, the device comprising:

[0010] The first acquisition module is used to obtain comprehensive indicators and basic attribute indicators of each target user;

[0011] A first calculation module is used to input the comprehensive index and the basic attribute index into multiple tree models for parallel calculation to calculate the target user traffic;

[0012] The second calculation module is used to calculate the target user passenger flow in combination with the time trend variable, the holiday trend variable and the random error amount to obtain the predicted passenger flow.

[0013] According to the third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of the aforementioned first aspect.

[0014] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method of the aforementioned first aspect.

[0015] Compared with the prior art, the passenger flow prediction method, device, and electronic device provided by the present disclosure obtains the comprehensive index and basic attribute index of each target user; inputs the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user passenger flow; and calculates the target user passenger flow in combination with the time trend variable, the holiday trend variable, and the random error amount to obtain the predicted passenger flow. By applying the scheme of the present disclosure, the time trend variable, the holiday trend variable, and the random error amount are added to the calculation result of the parallel tree model to predict the passenger flow, which can more accurately predict the passenger flow compared to the time series. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 A flow chart of a passenger flow prediction method provided by an embodiment of the present disclosure;

[0019] Figure 2 A flow chart of another method for predicting passenger flow provided by an embodiment of the present disclosure;

[0020] Figure 3 A schematic diagram of the structure of a passenger flow prediction device provided by an embodiment of the present disclosure;

[0021] Figure 4 A schematic diagram of the structure of another passenger flow prediction device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that, in the absence of conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.

[0023] The following describes the passenger flow prediction method, device and electronic device according to the embodiments of the present disclosure with reference to the accompanying drawings.

[0024] The present disclosure provides a method, device and electronic device for predicting passenger flow, which can predict passenger flow by adding time trend variables, holiday trend variables and random error amounts to the calculation results of a parallel tree model. Compared with time series, passenger flow can be predicted more accurately.

[0025] like Figure 1 As shown, an embodiment of the present disclosure provides a method for predicting passenger flow, including:

[0026] Step 101: Obtain comprehensive indicators and basic attribute indicators of each target user.

[0027] For the embodiments of the present disclosure, the execution subject may be a passenger flow prediction device or equipment. The present disclosure may use the first acquisition module in the prediction device or equipment or other modules, devices or equipment that can be used to obtain index data to collect and obtain the comprehensive index and basic attribute index of each target user.

[0028] Among them, the target users may be users within a preset range around a shopping mall, and / or other application scenarios where customer flow prediction is required. In the embodiments of the present disclosure, the application scenario of a shopping mall is taken as an example to illustrate the technical solution in the present disclosure, but it does not constitute a specific limitation on the technical solution in the present disclosure.

[0029] The preset surrounding range can be specifically limited according to actual conditions; the comprehensive index can be constructed based on the target user's cumulative mall residence time during the preset historical period, the frequency of entering the mall during the preset historical period, the distance between the permanent residence and the mall, and other indicators. The preset historical period can be set according to actual conditions, such as the past week; the basic attribute indicators can be the target user's gender, age, number of times the shopping app is used in a week, consumption level, mobile phone model, whether or not it is a campus network user, whether or not it has a city hukou, and other indicators.

[0030] Step 102: Input the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user traffic.

[0031] Among them, the tree model is a model with a tree branching structure based on feature space division; the target user traffic volume can be the total number of target users who can enter the shopping mall in a certain period of time in the future.

[0032] For the embodiments of the present disclosure, the probability value of each target user within a preset range around the mall entering the mall can be predicted by obtaining the comprehensive index and basic attribute index of each target user, and the target user traffic within the preset range around the mall can be determined by counting the probability value of each target user entering the mall.

[0033] In specific application scenarios, the comprehensive indicators, gender, age, number of shopping app usage per week, consumption level, mobile phone model, whether a campus network user, whether a city hukou, etc. of each target user can be input into multiple tree models. Multiple tree models can use the sgn function to calculate the probability value of each target user entering the mall, and judge whether the target user will enter the mall in the next week based on the probability value. Among them, the sgn function is a commonly used function in the Matrix Laboratory (MATLAB), which returns the sign of a number. If the number is positive, the sgn function returns 1; if the number is negative, the sgn function returns -1; if the number is 0, the sgn function returns 0.

[0034] For example, if the sgn function calculates that the probability value of the target user entering the mall is greater than 0, the probability value is assigned to 1 and output (that is, the target user will enter the mall in the next week); if the sgn function calculates that the probability value of the target user entering the mall is less than 0, the probability value is assigned to -1 and output (that is, the target user will not enter the mall in the next week).

[0035] Step 103: Calculate the target user traffic flow in combination with the time trend variable, holiday trend variable and random error amount to obtain the predicted traffic flow.

[0036] Among them, many economic and financial time series will have an increasing trend over time, which is called a time trend. The time trend variable can be used to represent the time weight index used to predict the change of passenger flow with time series, and the holiday trend variable can be used to represent the holiday weight index used to predict the change of passenger flow with holidays. Random error (also known as accidental error) refers to the difference between the measurement result and the average result of a large number of repeated measurements of the same measured quantity. The "average result of a large number of repeated measurements of the same measured quantity" refers to the expected value of the measured quantity or the average value of all possible measured values ​​obtained under repeated conditions.

[0037] For the disclosed embodiment, an integrated model of time series and multiple tree models can be constructed, and the passenger flow can be accurately predicted based on holidays and weight indicators. That is, the prediction of the predicted passenger flow Y is decomposed into the target user passenger flow C, the time trend variable T, the holiday trend variable J and the random error amount I, that is, Y t =f(C t ,T t ,J t ,I t ), where t is the week number, and f represents the function mapping relationship, i.e., the predicted passenger flow y of the tth week is calculated by C, T, J, and I; a time series is a series of observations obtained in chronological order at a certain time interval, which can be a day, week, month, quarter, year, etc.

[0038] In summary, the passenger flow prediction method, device, and electronic device provided by the present disclosure, compared with the prior art, obtains the comprehensive index and basic attribute index of each target user; inputs the comprehensive index and basic attribute index into multiple tree models for parallel operation to calculate the target user passenger flow; calculates the target user passenger flow in combination with the time trend variable, holiday trend variable, and random error amount to obtain the predicted passenger flow. By applying the scheme of the present disclosure, the time trend variable, holiday trend variable, and random error amount are added to the calculation result of the parallel tree model to predict the passenger flow, which can more accurately predict the passenger flow compared to the time series.

[0039] Further, as a refinement and expansion of the above embodiment, in order to fully illustrate the specific implementation process of the disclosed method, the present disclosure provides the following Figure 2 The specific method shown includes:

[0040] Step 201: Obtain comprehensive indicators and basic attribute indicators of each target user.

[0041] For the disclosed embodiment, the comprehensive index of the target user can be constructed first. For example, the comprehensive index of the target user relative to the mall can be constructed based on the three indicators: the cumulative mall residence time h of the target user in the previous 14 days, the frequency v of entering the mall in the past 6 months, and the distance d between the permanent residence and the mall. The formula is as follows, where H represents the set of the residence time h of all target users, and S represents the comprehensive index of each target user.

[0042]

[0043] The basic attribute indicators are shown in Table 1 below:

[0044] Table 1: Description of basic attribute indicators

[0045] Serial number name Abbreviation 1 The total length of time spent in the mall in the previous 14 days h 2 Frequency of visiting shopping malls in the past 6 months v 3 Distance from the residence to the shopping mall d 4 gender xb 5 age nl 6 Number of times shopping apps are used in a week gw 7 Consumption level xf 8 Phone model sj 9 Campus network user? xs 10 Whether urban hukou cs

[0046] By obtaining the comprehensive indicators and basic attribute indicators of each target user, the target user customer flow can be calculated, and by combining the time trend variables, holiday trend variables and random error amounts, the predicted customer flow of the mall in a certain period of time in the future can be predicted. In combination with business needs, user portraits of surrounding potential customers can be drawn based on the predicted customer flow. For details, please refer to the relevant descriptions of steps 202 and 203 of the embodiment.

[0047] Step 202: Input the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user traffic.

[0048] For the disclosed embodiment, the first weight values ​​of sample indicators such as the comprehensive index, gender, age, number of shopping app usage per week, consumption level, mobile phone model, whether a campus network user, and whether a city hukou of each target user are obtained are initialized so that the initial weight values ​​of all sample indicators are equal, which is convenient for subsequent iterations, thereby optimizing multiple tree models. The initialization process is as follows: Among them, l represents the number of weights, Indicates the weight sequence number.

[0049] By building a tree model f t (x) is a weak classifier. For t=1, 2, ..., T, each weak classifier is trained in turn, and the error rate e of the single tree model on the sample index is calculated. t Calculate its weight α t Among them, the classification accuracy of the classifier is between 60% and 80%, which can be called a "weak classifier", such as Classification And Regression Tree (CART). On the contrary, if the classification accuracy is above 90%, it is a strong classifier.

[0050] The formula for calculating the error rate is as follows:

[0051]

[0052] in, represents the sum of the sample index weights of the t-1th classifier, Represents the distance between the weighted predicted value and the actual value of the i-th sample indicator.

[0053] The weight value calculation formula of the multiple tree models is as follows:

[0054] α t =1 / 2ln((1-e t ) / e t )

[0055] Among them, the classifier weight α t By the error rate e t In actual calculations, when x is close to 0, the value of ln(1-x) will be very close to 0, and x will also be close to 0. At this time, directly calculating ln(1-x) / x may lead to numerical instability or large errors. To solve this problem, ln(1-x) / x is usually used to approximate ln(1-x) to ensure the stability of numerical calculations.

[0056] In order to optimize multiple tree models, the first weight value of the sample index is updated.

[0057] The calculation formula for updating the sample indicator weight is as follows:

[0058]

[0059] Among them, Z t is a normalization factor, which is expressed as the sum of all sample index weights. The weight of the t-th weak classifier is determined by the sample index weight at time t-1 and the true value of the sample index, the predicted value, and the classifier weight at time t-1.

[0060] After the loop is completed, multiple tree models of parallel operation are obtained, that is, parallel tree models, that is, strong classifiers:

[0061]

[0062] Among them, sgn(F(x)) is a common sign function, which is used in this paper to represent the sign of F(x). F(x) is That is, the sum of the classification results of each weak classifier is the final result, which is specifically defined as follows: when F(x)>0, the final prediction result is 1, that is, the target user will enter the mall in the next week; when F(x)<=0, the final prediction result is -1, that is, the target user will not enter the mall in the next week, and by counting the probability value of each target user entering the mall, the target user traffic within the preset range around the mall is determined.

[0063] Correspondingly, the implementation steps may specifically include: initializing the first weight values ​​of the comprehensive index and the basic attribute index respectively to obtain the initial weight values; performing error rate operations on multiple tree models through the initial weight values ​​to calculate the error rate of each tree model, and performing second weight value operations on multiple tree models through the error rate to calculate the second weight value of each tree model; performing third weight value operations on the comprehensive index and the basic attribute index through the second weight value to calculate the third weight value of the comprehensive index and the basic attribute index, and updating the initial weight value to the third weight value; performing probability value operations on the target user through the third weight value to calculate the probability value of each target user; determining the target user traffic according to the probability value of each target user.

[0064] Step 203: Calculate the product of the target user passenger flow, the time trend variable, and the holiday trend variable, and use the sum of the product result and the random error amount as the predicted passenger flow.

[0065] For the embodiment of the present disclosure, the time trend variable T can be calculated by using the difference method according to the preset historical time period, such as the historical passenger flow in the previous three weeks. t .

[0066]

[0067] Where n is the number of accumulated time periods and S is the historical passenger flow.

[0068] The holiday trend variable J can be calculated based on the data of previous holidays (such as Spring Festival, National Day, May Day, weekends) t .

[0069]

[0070] Among them, K=0 during non-holidays and K=1 during holidays, g is the historical passenger flow of the holiday, and n is the cumulative number of time periods.

[0071] The calculation result of the parallel tree model sgn(F(x)), that is, the target user traffic, can be used to build an integrated model in combination with the time trend variable, the holiday trend variable and the random error amount, so as to calculate the predicted traffic of the mall in a certain period of time in the future. The integrated model is constructed by ensemble learning (Ensemble Learning) or ensemble method (EnsembleMethod). As the name suggests, ensemble learning brings together multiple trained models or algorithms.

[0072] The formula for building the integrated model is as follows:

[0073] Y t =f(C t ,T t ,Jt ,I t )=C t *T t *J t +I t

[0074] Among them, Y t It represents the predicted passenger flow in a certain period of time in the future, T t represents the time trend variable, J t represents the holiday trend variable, I t Represents the amount of random error.

[0075] Step 204: Obtain a value evaluation reference index for each target user, use a value evaluation model, evaluate the value of the target user according to the value evaluation reference index, and obtain a value evaluation result for the target user.

[0076] Among them, according to the operator data and business rules, the value evaluation reference indicators of target users shown in Table 2 are used to evaluate the value of target users in different areas around the mall. The value evaluation model may include but is not limited to the RFM (Recency Frequency Monetary) model, that is, the time interval (days) (Recency), consumption frequency (Frequency) and consumption amount (Monetary) of the target user's most recent consumption are used to describe the value status of the customer. It is an important tool and means to measure customer value and customer's ability to create benefits. These three indicators can be sorted from low to high in value, and these three indicators are used as XYZ coordinate axes, so that the space can be divided into 8 parts, representing the value division of target users in 8 categories, such as high-value users, key retention users, key development users, key retention users, general value users, general retention users, general development users, and general retention users. Through refined operations on different target users, target users can be continuously converted into important value users.

[0077] Table 2: Reference indicators for value evaluation of target users

[0078]

[0079] The value evaluation formula of the value evaluation model can be constructed to evaluate the value of the target users:

[0080]

[0081] Among them: a i x i represents the weighted score of the reference index elements of the value evaluation of each target user, x1, x2, ..., x iIt represents the scores of different value evaluation reference indicators after dimensionless processing. Common dimensionless processing methods include extreme value, standardization (most commonly used), mean and standard deviation methods; a1, a2, ..., a i Represents the corresponding weight, a1+a2+…+a i =1, i represents different index elements. B(b j ) represents the regional score. If there are n grids in a region, the user value score of the region is the average of the grid scores. The target user value of different regions can be analyzed from different dimensions by adjusting the weight value.

[0082] Among them, the indicators r, f, and m are defined by the RFM indicator, and the definition process is as follows:

[0083] As a general method for user-based refined operations, the RFM model can classify users into multiple categories (generally 8 categories), and adopt different operation strategies for different categories of user groups, thereby achieving user-based refined operations. The definitions of R, F, and M indicators for shopping malls are given in Table 2.

[0084] By observing the distribution of the three indicators separately, the threshold of consumption time interval, consumption frequency and consumption duration can be set according to the quantile segmentation and contribution rate distribution. Among them, quantile refers to the probability distribution range of a random variable divided into several equal numerical points, and quantile segmentation can be used to divide and segment the RFM indicator according to its quantile. Divide each indicator into several different levels or segments according to its quantile, and divide the target users into different contribution rate distributions of different segments; the contribution rate refers to the degree of contribution of each RFM indicator to the overall performance, and the contribution rate distribution is used to observe the contribution of different RFM indicators to the overall performance and prioritize them.

[0085] Users can be grouped according to the thresholds of consumption time interval, consumption frequency, and consumption duration, that is, the user grouping is completed. For example, target users whose consumption time interval is greater than the consumption time interval threshold, whose consumption frequency is greater than the consumption frequency threshold, and whose consumption duration is greater than the consumption duration threshold can be classified as "key retention users"; target users whose consumption time interval is greater than the consumption time interval threshold, whose consumption frequency is less than the consumption frequency threshold, and whose consumption duration is greater than the consumption duration threshold can be classified as "key retention users". Finally, visual charts such as geographic heat maps can be generated based on the performance of target users in each region for intuitive analysis.

[0086] Accordingly, the implementation example steps may specifically include: using a value evaluation model to evaluate the value of the target user according to a value evaluation reference indicator to obtain a value evaluation result of the target user, including: determining a consumption time interval threshold for each target user's consumption time interval according to the quantile and contribution rate; determining a consumption frequency threshold for each target user's consumption frequency according to the quantile and contribution rate; determining a consumption time threshold for each target user's consumption time according to the quantile and contribution rate; and using the value evaluation model to determine the value evaluation result of the target user based on the comparison results of the consumption time interval and the consumption time interval threshold, the comparison results of the consumption frequency and the consumption frequency threshold, and the comparison results of the consumption time and the consumption time threshold.

[0087] Step 205, obtain competition evaluation indicators, perform category indicator calculation on the competition evaluation indicators, value evaluation results and predicted passenger flow, determine the comprehensive competition value according to the category indicator calculation results, sort the multiple comprehensive competition values ​​in order from low to high, and analyze the comprehensive competition values ​​that are less than the preset score.

[0088] For the disclosed embodiment, based on business experience, the disclosed embodiment believes that the competitiveness of the shopping mall is related to seven factors, such as the distance from the shopping mall to the city center, the predicted passenger flow scale of the shopping mall, the surrounding population density, the user value index, the traffic index, and the surrounding shopping mall density. The disclosed embodiment can calculate the comprehensive competitiveness of the shopping mall using relevant indicators such as the predicted passenger flow scale, the user value index, and the surrounding shopping mall density. The indicators and calculation methods required are shown in Table 3. Among them, the predicted passenger flow can be used as the predicted passenger flow scale, and the value evaluation result of the target user can be used as the user value index; the comprehensive competitiveness value is a value used to characterize the comprehensive competitiveness of the shopping mall; the longitude and latitude of the city center can be the longitude and latitude of the recognized subway station in the city center, and the samples of the surrounding population density can select the target users around the shopping mall (for example, 7KM). The predicted passenger flow scale and the user value index can be calculated using the calculation process of step 203 and step 204. According to the distance n from the shopping mall to the city center and the radius N of the entire city, the competition evaluation index of the target users within the range of N / n of the center point of the business district can be collected as sample data.

[0089] The seven indicators can be divided into three categories, namely demand, satisfaction and value. Demand can include two indicators: predicted passenger flow scale and surrounding population density.

[0090] The calculation method of demand degree can be:

[0091]

[0092] Among them, Q represents the demand, kz represents the predicted passenger flow scale, rm represents the surrounding population density, and Y t Represents the predicted passenger flow.

[0093] Satisfaction can include four indicators, namely, distance from the city center, traffic index, shopping mall area, and surrounding shopping mall density. The calculation method of satisfaction can be as follows:

[0094]

[0095] Among them, M represents satisfaction, jz represents traffic index, m represents shopping mall area, sm represents density of surrounding shopping malls, d represents distance from city center, st represents distance from the nearest subway station to the shopping mall; dt represents number of subways within preset range around the shopping mall.

[0096] Value is the user value index, G = bz = B (b j ).

[0097] Among them, G represents value and bz represents user value index.

[0098] Table 3: Competition evaluation index table

[0099]

[0100]

[0101] The comprehensive competitiveness value C is a comprehensive indicator that is the product of demand Q, satisfaction M, and value G.

[0102] That is, C = Q*M*G

[0103] The comprehensive competitiveness values ​​can be sorted from low to high, and shopping malls with values ​​less than a preset score (such as the 25% percentile) can be regarded as low-competitive shopping malls, for which consumption point predictions and improvement direction analysis can be conducted. The preset score can be set according to actual conditions.

[0104] For shopping malls with low competitiveness, their corresponding user value index is output for analysis, and users who will enter the shopping mall in the effective area in the next week predicted by the parallel tree model are used as the target analysis group of the shopping mall for portrait analysis.

[0105] For example, the main consumption directions of the business district are as follows: catering (medium, high and low), clothing (category, men and women, level), trendy toys, beauty, travel, supermarkets, etc. If the comprehensive competitiveness of the mall is less than the 25% percentile, the user value index of the mall is analyzed. If the user value index of the mall is greater than the preset value index threshold (such as the 75% percentile of the value index of all malls), the proportion of high-end catering, clothing, trendy toys, hotels, etc. can be increased; if the user value index of the mall is less than the preset value index threshold (such as the 25% percentile of the value index of all malls), the proportion of low-end catering, clothing, trendy toys, hotels, etc. can be increased, among which the preset value index threshold can be set according to actual conditions.

[0106] In addition, the investment promotion can be adjusted according to the performance of the target users in the operator data. For example, if the proportion of people using beauty and overseas shopping apps with high traffic is greater than the preset traffic threshold (such as 50%), the proportion of beauty shops will be increased; if the proportion of people using home improvement and cooking apps with high traffic is greater than the preset traffic threshold, the proportion of home furnishing and decoration and supermarkets will be increased; if the traffic used by animation and game apps is higher than the preset traffic threshold, the proportion of trendy toy shops can be increased, etc. Among them, the preset traffic threshold can be set according to actual conditions.

[0107] For shopping malls that have not been built, the value coefficient gm can be calculated using three indicators: surrounding population density rm, traffic index jz, and surrounding shopping mall density sm. The calculation formula is as follows:

[0108]

[0109] If the value coefficient is less than the preset value coefficient threshold, then consider whether to build a shopping mall. If the value coefficient meets the requirements, the target users who reside within the preset range (such as 7KM) of the center of the shopping mall are taken as the target customers of the shopping mall, and the value of the target users is evaluated according to step 204 of the embodiment, and the user portrait is analyzed to determine the investment direction of the unbuilt shopping mall.

[0110] In summary, the passenger flow prediction method, device, and electronic device provided by the present disclosure, compared with the prior art, obtains the comprehensive index and basic attribute index of each target user; inputs the comprehensive index and basic attribute index into multiple tree models for parallel operation to calculate the target user passenger flow; calculates the target user passenger flow in combination with the time trend variable, holiday trend variable, and random error amount to obtain the predicted passenger flow. By applying the scheme of the present disclosure, the time trend variable, holiday trend variable, and random error amount are added to the calculation result of the parallel tree model to predict the passenger flow, which can more accurately predict the passenger flow compared to the time series.

[0111] Based on the above Figure 1 and Figure 2 The present disclosure provides a passenger flow prediction device, such as Figure 3 As shown, the device includes: a first acquisition module 31, a first calculation module 32, and a second calculation module 33;

[0112] The first acquisition module 31 is used to acquire the comprehensive index and basic attribute index of each target user;

[0113] A first calculation module 32 is used to input the comprehensive index and the basic attribute index into multiple tree models for parallel calculation to calculate the target user traffic;

[0114] The second calculation module 33 is used to calculate the target user passenger flow in combination with the time trend variable, the holiday trend variable and the random error amount to obtain the predicted passenger flow.

[0115] In a specific application scenario, the first calculation module 32 can be used to initialize the first weight values ​​of the comprehensive index and the basic attribute index respectively to obtain the initial weight values; perform error rate calculation on the multiple tree models through the initial weight values ​​to calculate the error rate of each tree model, and perform second weight value calculation on the multiple tree models through the error rate to calculate the second weight value of each tree model; perform third weight value calculation on the comprehensive index and the basic attribute index through the second weight value to calculate the third weight value of the comprehensive index and the basic attribute index, and update the initial weight value to the third weight value; perform probability value calculation on the target user through the third weight value to calculate the probability value of each target user; determine the target user traffic according to the probability value of each target user.

[0116] In a specific application scenario, the second calculation module 33 can be used to calculate the product of the target user traffic, the time trend variable and the holiday trend variable, and use the sum of the product result and the random error amount as the predicted traffic.

[0117] In specific application scenarios, such as Figure 4 As shown, the device further includes: a second acquisition module 34, an evaluation module 35;

[0118] The second acquisition module 34 is used to obtain a value evaluation reference index for each target user;

[0119] The evaluation module 35 is used to evaluate the value of the target user according to the value evaluation reference index by using the value evaluation model to obtain the value evaluation result of the target user.

[0120] In a specific application scenario, the value evaluation reference indicators include consumption time interval, consumption frequency and consumption duration. The evaluation module 35 can be used to determine the consumption time interval threshold for each target user's consumption time interval according to the quantile and contribution rate; determine the consumption frequency threshold for each target user's consumption frequency according to the quantile and contribution rate; determine the consumption duration threshold for each target user's consumption duration according to the quantile and contribution rate; and use the value evaluation model to determine the value evaluation result of the target user based on the comparison result of the consumption time interval and the consumption time interval threshold, the comparison result of the consumption frequency and the consumption frequency threshold, and the comparison result of the consumption duration and the consumption duration threshold.

[0121] In specific application scenarios, such as Figure 4 As shown, the device further includes: a third acquisition module 36, a determination module 37, and an analysis module 38;

[0122] A third acquisition module 36 is used to acquire competition evaluation indicators;

[0123] A determination module 37, configured to perform a category index calculation on the competition evaluation index, the value evaluation result and the predicted passenger flow, and determine a comprehensive competition value according to the category index calculation result;

[0124] The analysis module 38 is used to sort the multiple comprehensive competition values ​​in order from low to high, and analyze the comprehensive competition values ​​that are less than a preset fraction.

[0125] In a specific application scenario, the competition evaluation indicators include: target population density, target distance, traffic index, target area, and target density; the category indicator calculation results include: demand value, satisfaction value and value value; the determination module 37 can be used to perform a first operation on the predicted passenger flow and the target population density, and use the first operation result as the demand value; perform a second operation on the target distance, the traffic index, the target area and the target density, and use the second operation result as the satisfaction value; and use the value evaluation result as the value value.

[0126] It should be noted that for other corresponding descriptions of the functional units involved in the passenger flow prediction device provided by the present disclosure, reference can be made to Figure 1 and Figure 2 The corresponding description in will not be repeated here.

[0127] Based on the above Figure 1 and Figure 2 The method shown in the present disclosure, accordingly, also provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned Figure 1 and Figure 2 The method shown.

[0128] Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of the present disclosure.

[0129] Based on the above Figure 1 and Figure 2 The method shown, and Figure 3 and Figure 4 In order to achieve the above-mentioned purpose, the embodiment of the present disclosure also provides an electronic device that can be configured on the vehicle (such as an electric vehicle) side, and the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 and Figure 2 The method shown.

[0130] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0131] Those skilled in the art will appreciate that the above-mentioned physical device structure provided by the present disclosure does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0132] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present disclosure can be implemented by means of software plus a necessary general hardware platform, or by hardware. According to the passenger flow prediction method, device and electronic device provided by the present disclosure, compared with the prior art, the present disclosure obtains the comprehensive index and basic attribute index of each target user; inputs the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user passenger flow; calculates the target user passenger flow in combination with the time trend variable, holiday trend variable and random error amount to obtain the predicted passenger flow. By applying the scheme of the present disclosure, the time trend variable, holiday trend variable and random error amount are added after the calculation result of the parallel tree model to perform passenger flow prediction, which can more accurately predict the passenger flow compared to the time series.

[0134] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0135] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A method for predicting passenger flow, characterized in that: The method comprises: Obtain comprehensive indicators and basic attribute indicators for each target user; Inputting the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user traffic; The target user passenger flow is combined with the time trend variable, the holiday trend variable and the random error amount to calculate the predicted passenger flow.

2. The method according to claim 1, characterized in that: The step of inputting the comprehensive index and the basic attribute index into multiple tree models for parallel operation to calculate the target user traffic volume includes: Initializing the first weight values ​​of the comprehensive index and the basic attribute index respectively to obtain initial weight values; Performing error rate calculation on the plurality of tree models by using the initial weight value to obtain the error rate of each tree model, and performing second weight value calculation on the plurality of tree models by using the error rate to obtain the second weight value of each tree model; Performing a third weight value operation on the comprehensive index and the basic attribute index by using the second weight value to calculate the third weight values ​​of the comprehensive index and the basic attribute index, and updating the initial weight value to the third weight value; Performing probability value calculation on the target users by using the third weight value to calculate the probability value of each target user; The target user traffic volume is determined according to the probability value of each target user.

3. The method according to claim 1, characterized in that The target user passenger flow is calculated by combining the time trend variable, the holiday trend variable and the random error amount to obtain the predicted passenger flow, including: The product of the target user passenger flow, the time trend variable and the holiday trend variable is calculated, and the sum of the product result and the random error amount is used as the predicted passenger flow.

4. The method according to claim 1, characterized in that: The method further comprises: Obtaining a value evaluation reference indicator for each of the target users; The value evaluation model is used to evaluate the value of the target user according to the value evaluation reference indicator to obtain the value evaluation result of the target user.

5. The method according to claim 4, characterized in that The value evaluation reference indicators include consumption time interval, consumption frequency and consumption duration; The utilizing value evaluation model to evaluate the value of the target user according to the value evaluation reference index to obtain the value evaluation result of the target user includes: Determine a consumption time interval threshold for each target user according to the consumption time interval quantile and contribution rate; Determine a consumption frequency threshold for each target user according to the consumption frequency quantile and contribution rate; Determine a consumption time threshold for each target user according to the consumption time of each target user according to the quantile and contribution rate; The value evaluation model is used to determine the value evaluation result of the target user based on the comparison result of the consumption time interval and the consumption time interval threshold, the comparison result of the consumption frequency and the consumption frequency threshold, and the comparison result of the consumption duration and the consumption duration threshold.

6. The method according to claim 5, characterized in that The method further comprises: Obtain competitive evaluation indicators; Perform category index calculation on the competition evaluation index, the value evaluation result and the predicted passenger flow, and determine the comprehensive competition value according to the category index calculation result; The plurality of comprehensive competition values ​​are sorted in order from low to high, and the comprehensive competition values ​​that are less than a preset fraction are analyzed.

7. The method according to claim 6, characterized in that The competition evaluation indexes include: target population density, target distance, traffic index, target area, and target density; the category index calculation results include: demand value, satisfaction value, and value value; The step of performing category indicator calculation on the competition evaluation indicator and determining the comprehensive competition value according to the category indicator calculation result includes: Performing a first operation on the predicted passenger flow and the target population density, and using the first operation result as the demand value; performing a second operation on the target distance, the traffic index, the target area, and the target density, and using the second operation result as the satisfaction value; The value evaluation result is used as the value value.

8. A passenger flow prediction device, characterized in that: include: The first acquisition module is used to obtain comprehensive indicators and basic attribute indicators of each target user; A first calculation module is used to input the comprehensive index and the basic attribute index into multiple tree models for parallel calculation to calculate the target user traffic; The second calculation module is used to calculate the target user passenger flow in combination with the time trend variable, the holiday trend variable and the random error amount to obtain the predicted passenger flow.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Merchant passenger flow volume method and apparatus

    CN107133825A

  • Commercial tenant health degree classification method, device and equipment and storage medium

    CN112561550A

  • Festival and holiday passenger flow volume prediction method

    CN116205329A

  • Customer classification method and device

    CN116738294A

  • Server device for providing store location information based on big data

    KR102433635B1