A traffic prediction method, device and equipment
By acquiring features from business data and using predictive models, business volume can be automatically predicted, solving the problems of high resource consumption and scheduling delays caused by reliance on manual experience, and achieving efficient business volume prediction and equipment scheduling.
Patent Information
- Application Number
- CN202311028283.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-26
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2039-04-26
AI Technical Summary
Existing technologies rely on human experience for business volume forecasting, which leads to high resource consumption and service equipment scheduling delays.
By acquiring business data, determining its business cycle type, and utilizing feature extraction and pre-built business forecasting models, the business volume development trend can be automatically predicted, reducing human resource consumption.
It enables automated business volume forecasting, reduces human resource consumption, and allows for advance scheduling of service equipment, avoiding equipment downtime and resource waste.
Smart Images

Figure CN117010571B_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application filed on April 26, 2019, with application number 201910344605.5 and title "A method, apparatus and device for predicting business volume". Technical Field
[0002] This specification relates to the field of computer technology, and in particular to a method, apparatus and device for predicting business volume. Background Technology
[0003] Typically, the number of users using different services can vary, and the number of users accessing the same service at different times or during different time periods may also vary. Moreover, in order to ensure that each service can handle different numbers of user accesses, multiple service devices (such as servers) can be set up for each service. Each of these multiple service devices can provide users with the relevant services for the corresponding service. However, in reality, not every service is running at full capacity at all times. During certain time periods, the number of users accessing a certain service may be lower, while during other time periods, the number of users accessing that service may be higher.
[0004] Typically, technicians rely on their daily experience to predict the growth trend of business volume for one or more services within a predetermined timeframe or period. However, this experience-based approach requires manual intervention, resulting in significant human resource consumption. Therefore, a more resource-efficient business volume forecasting solution is needed. Summary of the Invention
[0005] The purpose of the embodiments in this specification is to provide a traffic forecasting scheme that consumes fewer resources.
[0006] To achieve the above technical solution, the embodiments in this specification are implemented as follows:
[0007] This specification provides an embodiment of a traffic volume prediction method, the method comprising:
[0008] Obtain business data for the target business to be predicted;
[0009] Determine the business cycle type corresponding to the business data;
[0010] Based on the business cycle type corresponding to the business data, feature extraction is performed on the business data to obtain the first feature under the business cycle type corresponding to the business data;
[0011] The first feature is input into the pre-built business prediction model corresponding to the business cycle type to calculate the business volume prediction result of the target business.
[0012] Optionally, the method further includes:
[0013] Obtain historical data for the target business;
[0014] Determine the business cycle type corresponding to the historical data;
[0015] Based on the business cycle type corresponding to the historical data, feature extraction is performed on the historical data to obtain the target features under the business cycle type corresponding to the historical data;
[0016] Based on the target features, a business prediction model is constructed for the business cycle type corresponding to the historical data.
[0017] Optionally, the method further includes:
[0018] Based on the traffic volume forecast results of the target service, the service equipment providing the relevant services of the target service is scheduled.
[0019] Optionally, after obtaining the business data of the target business to be predicted, the method further includes:
[0020] The business data is subjected to data cleaning processing, which includes missing data filling and predetermined data removal from the business data.
[0021] Optionally, the business cycle type includes a daily business cycle, a weekly business cycle, and a monthly business cycle.
[0022] Optionally, determining the business cycle type corresponding to the business data includes:
[0023] Obtain the difference value corresponding to the business data for each business cycle type;
[0024] The business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold is determined as the business cycle type corresponding to the business data.
[0025] Optionally, the step of extracting features from the business data according to the business cycle type corresponding to the business data to obtain a first feature under the business cycle type corresponding to the business data includes:
[0026] Based on the business cycle type corresponding to the business data, features are extracted from the business data from one or more of the following dimensions: time dimension, historical simultaneous data dimension, historical nearby data dimension, time series characteristic dimension, and constant feature dimension, to obtain the first feature under the business cycle type corresponding to the business data.
[0027] Optionally, the step of constructing a business prediction model for the business cycle type corresponding to the historical data based on the target features includes:
[0028] Based on the target features, a business prediction model for the business cycle type corresponding to the historical data is constructed using a linear regression algorithm.
[0029] This specification provides an embodiment of a traffic volume prediction device, the device comprising:
[0030] The business data acquisition module is used to acquire business data of the target business to be predicted.
[0031] The first cycle type determination module is used to determine the business cycle type corresponding to the business data;
[0032] The first feature extraction module is used to extract features from the business data according to the business cycle type corresponding to the business data, and obtain the first feature under the business cycle type corresponding to the business data.
[0033] The prediction module is used to input the first feature into a pre-built business prediction model corresponding to the business cycle type to calculate and obtain the business volume prediction result of the target business.
[0034] Optionally, the device further includes:
[0035] The historical data acquisition module is used to acquire historical data for the target business.
[0036] The second cycle type determination module is used to determine the business cycle type corresponding to the historical data;
[0037] The second feature extraction module is used to extract features from the historical data according to the business cycle type corresponding to the historical data, so as to obtain the target features under the business cycle type corresponding to the historical data.
[0038] The model building module is used to build a business prediction model for the business cycle type corresponding to the historical data based on the target features.
[0039] Optionally, the device further includes:
[0040] The scheduling module is used to schedule service equipment that provides related services for the target service based on the traffic volume prediction results of the target service.
[0041] Optionally, the first cycle type determination module includes:
[0042] The differential unit is used to obtain the differential value corresponding to the business data for each business cycle type;
[0043] The cycle type determination unit is used to determine the business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold as the business cycle type corresponding to the business data.
[0044] This specification provides an embodiment of a traffic volume prediction device, the traffic volume prediction device comprising:
[0045] Processor; and
[0046] A memory configured to store computer-executable instructions, which, when executed, cause the processor to:
[0047] Obtain business data for the target business to be predicted;
[0048] Determine the business cycle type corresponding to the business data;
[0049] Based on the business cycle type corresponding to the business data, feature extraction is performed on the business data to obtain the first feature under the business cycle type corresponding to the business data;
[0050] The first feature is input into the pre-built business prediction model corresponding to the business cycle type to calculate the business volume prediction result of the target business.
[0051] As can be seen from the technical solutions provided in the embodiments of this specification above, the embodiments of this specification obtain the business data of the target business to be predicted, determine the business cycle type corresponding to the business data, extract features from the business data according to the business cycle type corresponding to the business data, obtain the first feature under the business cycle type corresponding to the business data, and input the first feature into the pre-constructed business prediction model corresponding to the above-mentioned business cycle type for calculation to obtain the business volume prediction result of the target business. In this way, based on the characteristics of the business data and combined with the factors that may affect the target business, feature engineering is constructed, and the business prediction models corresponding to different business cycle types are used to predict the business volume of the target business, thereby obtaining the development trend of the business volume of the target business at a certain time or time period in the future, which can free up human resources. In addition, by predicting the future business volume development trend, the possible future business volume can be known in advance, so that the corresponding service equipment can be scheduled in advance, reducing the time delay of service equipment scheduling. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is an embodiment of a business volume prediction method described in this specification;
[0054] Figure 2 This is a schematic diagram of the structure of a business volume prediction system described in this specification;
[0055] Figure 3 This is another embodiment of the business volume forecasting method described in this specification;
[0056] Figure 4 This specification describes one embodiment of a traffic volume prediction device;
[0057] Figure 5 This is an embodiment of a traffic volume prediction device described in this specification. Detailed Implementation
[0058] This specification provides a method, apparatus, and device for predicting business volume.
[0059] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.
[0060] Example 1
[0061] like Figure 1 As shown in the embodiments of this specification, a method for predicting traffic volume is provided. The execution subject of this method can be a terminal device or a server. The terminal device can be a mobile terminal device such as a mobile phone or tablet computer, or a device such as a personal computer. The server can be a single server or a server cluster composed of multiple servers. The server can be used for traffic volume prediction and adjusting the number of service devices for one or more services. This method can be used to predict the traffic volume of one or more services and to adjust the number of corresponding service devices based on the predicted traffic volume. Specifically, the method may include the following steps:
[0062] In step S102, business data of the target business to be predicted is obtained.
[0063] The target business can be any business, such as payment, shopping, or insurance. It can include one or more different businesses. Business data can include data generated by the target business within a predetermined time period. This predetermined time period can be a moment or time interval related to the current moment. For example, the predetermined time period can be the period from a start time a certain duration away from the current moment to the current moment, where the certain duration could be 5 minutes or 3 minutes, etc. Furthermore, business data can be data corresponding to a specific time granularity. This time granularity can include various types, such as second-level, minute-level, or hour-level granularity. In this embodiment, the business data can use a minute-level granularity, meaning one data point per minute. The corresponding data could be the average value of data generated by a certain business within one minute. In practical applications, business data with other time granularities can also be used. This specification does not limit the specific time granularity of business data used in this embodiment.
[0064] In implementation, to provide users with various services, multiple different services are typically set up, with corresponding entry points (such as hyperlinks or URLs) for each service. Users can access the corresponding service page through these entry points and perform relevant service processing based on the content provided on the page. The number of users using different services can vary, and the number of users accessing the same service at different times or during different time periods may also differ. Furthermore, to ensure that each service can handle varying numbers of user accesses, multiple service devices (such as servers) can be set up for each service. Each of these service devices can provide users with the relevant services for that service. However, in reality, not every service operates at full capacity at all times. The number of users accessing a particular service may be lower during certain time periods and higher during other periods. For example, during the period from 0:00 to 6:00 each day... The number of users accessing payment services is relatively small, but the number of users accessing payment services is relatively large during time periods such as 11:00-14:00 and 17:00-21:00 every day. In order to save resources, it is necessary to schedule the service devices for one or more services in a timely manner. That is, it is desirable to allocate the corresponding number of service devices in advance based on the traffic or number of users accessing the service. When the traffic or number of users accessing the service is large, it is desirable to allocate more service devices so that the service devices can process the business data quickly and smoothly, and also to make the user experience of the product smoother. When the traffic or number of users accessing the service is small, it is desirable to reduce the number of service devices to save operating costs.
[0065] Typically, technicians will use their daily usage experience to predict the business volume trend of one or more services at a predetermined time or within a predetermined time period. Then, based on the business volume trend predicted by their experience, they will pre-set a service equipment scheduling plan for that one or more services. For example... Figure 2 As shown, when a preset time or time period is reached, or when the current number of user accesses or the data processing pressure of a service device reaches a predetermined threshold, the corresponding service device can be scheduled based on a set scheduling scheme. However, the above-mentioned process of scheduling service devices based on experience requires manual intervention, thus consuming a lot of human resources. Moreover, the number of user accesses or the data processing pressure needs to be monitored in real time. Therefore, using real-time monitoring for machine scheduling will introduce time delays, causing a surge in processing pressure on the service device in a short period of time, leading to service device downtime. To address this, embodiments of this specification provide a technical solution for scheduling service devices, which may specifically include the following:
[0066] For each service, whenever a user requests a service related to that service, the corresponding service device can record the user's actions and related data. When it is necessary to predict the traffic volume of one or more services, the service data of that one or more services (i.e., the target services to be predicted) can be obtained. Before obtaining the service data, the granularity of the data to be obtained can be preset. For example, minute-level granularity service data can be obtained, meaning one service data point per minute. This service data could be the average access value of the target service to be predicted within one minute.
[0067] In step S104, the business cycle type corresponding to the above business data is determined.
[0068] The business cycle type can be a type corresponding to a business cycle, such as a type corresponding to a one-day business cycle or a type corresponding to a month business cycle.
[0069] In implementation, after obtaining the business data of the target business to be predicted through the above-mentioned step S102, since the obtained business data is at the minute-level granularity, it is not possible to determine which business cycle type the business data belongs to based on the granularity of the business data. Therefore, a corresponding threshold can be set according to the business patterns contained in historical business data or a portion of historical business data. Then, the difference value corresponding to the business data when it belongs to each business cycle type can be calculated. After obtaining the difference value corresponding to each business cycle type, the obtained difference value can be compared with the above-mentioned set threshold. The business cycle type with the relatively smaller difference value can be taken as the business cycle type corresponding to the above business data. For example, there are three types of business cycle types: type 1, type 2, and type 3. If the difference values corresponding to the business data of type 2 and type 3 are both greater than the above-mentioned set threshold, then the business cycle type corresponding to the business data can be determined to be type 1. Alternatively, the difference values corresponding to the business data of type 1, type 2, and type 3 can be compared, and the business cycle type with the smallest difference value can be taken as the business cycle type corresponding to the business data.
[0070] It should be noted that the above business data can be business data from one business or business data from multiple businesses. Correspondingly, the business cycle type corresponding to the business data can include one type or multiple types.
[0071] In step S106, based on the business cycle type corresponding to the above business data, feature extraction is performed on the business data to obtain the first feature under the business cycle type corresponding to the business data.
[0072] The first feature can be a single feature or multiple types of features.
[0073] In implementation, after obtaining the business cycle type corresponding to the aforementioned business data through step S104, different feature engineering methods can be adjusted and adapted based on the corresponding business cycle type. Here, the dimensions for feature extraction can be pre-defined according to actual conditions, such as the time dimension and the time-series characteristic dimension. The time-series characteristic can be the result of seasonally decomposing the trend of historical business data. Then, feature extraction can be performed on the business data based on the pre-defined dimensions to obtain the first feature under the corresponding business cycle type. For example, if the pre-defined dimensions for feature extraction include the time dimension and the time-series characteristic dimension, feature extraction can be performed on the business data based on the time dimension to obtain the first feature under the corresponding business cycle type. Simultaneously, feature extraction can also be performed on the business data based on the time-series characteristic dimension to obtain the first feature under the corresponding business cycle type.
[0074] In step S108, the first feature is input into the pre-built business prediction model corresponding to the above-mentioned business cycle type for calculation to obtain the business volume prediction result of the target business.
[0075] The traffic volume prediction result can be the prediction of the traffic volume of a target business. Traffic volume can be the number of user requests for one or more business services within a predetermined time period, representing the processing pressure and current capacity of the corresponding service equipment. The traffic prediction model can be a model used to predict the traffic volume of one or more business services. This model can be built based on a specified business cycle type; different business cycle types can lead to different traffic prediction models. The traffic prediction model can include multiple types; for example, it can be divided into different traffic prediction models corresponding to different business cycle types. The language model can be built using a pre-defined algorithm, such as based on Elastic Net.
[0076] In implementation, for one or more business activities, a business prediction model corresponding to the aforementioned business cycle type can be constructed based on the ElasticNet network, using the above-mentioned methods. Specifically, historical business data of the target business can be obtained through various means, such as collecting historical business data of different businesses through purchases or rewards. Then, the business cycle type corresponding to the historical business data can be determined. Based on the business cycle type corresponding to the historical business data, feature extraction can be performed on the historical business data to obtain the target features under the corresponding business cycle type. Then, based on the target features, a business prediction model can be constructed using the ElasticNet network and trained to obtain the trained business prediction model.
[0077] After obtaining the business prediction model based on Elastic Net through the above method, the first feature obtained in step S106 can be input into the trained business prediction model for calculation to obtain the business volume prediction result of the target business.
[0078] This specification provides a method for predicting business volume. It involves acquiring business data of the target business to be predicted, determining the corresponding business cycle type, extracting features from the business data based on the business cycle type, obtaining a first feature under that business cycle type, and inputting the first feature into a pre-constructed business prediction model corresponding to that business cycle type for calculation. This yields a predicted business volume result for the target business. By constructing feature engineering based on the characteristics of the business data and factors that may affect the target business, and utilizing business prediction models corresponding to different business cycle types, the method predicts the business volume of the target business. This allows for obtaining the development trend of the target business's business volume at a future time or within a certain time period, thereby freeing up human resources. Furthermore, by predicting future business volume trends, the potential future business volume can be known in advance, enabling timely scheduling of corresponding service equipment and reducing scheduling delays.
[0079] Example 2
[0080] like Figure 3 As shown in the embodiments of this specification, a method for predicting traffic volume is provided. The execution subject of this method can be a terminal device or a server. The terminal device can be a mobile terminal device such as a mobile phone or tablet computer, or a device such as a personal computer. The server can be a single server or a server cluster composed of multiple servers. The server can be used for traffic volume prediction and adjusting the number of service devices for one or more services. This method can be used to predict the traffic volume of one or more services and to adjust the number of corresponding service devices based on the predicted traffic volume. Specifically, the method may include the following steps:
[0081] In step S302, historical data of the target service is obtained.
[0082] Historical data can include data generated by the target business at any time or during any period of time. For example, historical data can include data from February 1st to March 1st of the previous year, or data from the month preceding the current moment.
[0083] In implementation, for a target business (which may be one or more businesses), historical data related to each business within the target business can be obtained through various methods. This data can then be used as sample data for building and training subsequent models. For example, historical data for different businesses can be collected through methods such as purchases or rewards. Specifically, business providers can develop corresponding applications based on business needs, such as shopping or payment applications. These applications can be provided to designated users, who will generate relevant business data during their use. Service devices can collect this data and treat it as historical data. When it is necessary to build a relevant model, the types of businesses included in the target business or which businesses are included in the target business can be determined. Then, the historical data for the corresponding businesses can be obtained from the aforementioned recorded historical data, thus obtaining the historical data for the target business.
[0084] It should be noted that before acquiring historical data, the granularity of the historical data to be acquired can be preset. For example, historical data with a minute-level granularity can be acquired, meaning one historical data point per minute. This historical data could be the average value of the target service access to be predicted within one minute. In practical applications, the data granularity is not limited to minute-level; it can also be other granularities, such as second-level or hour-level granularity. This specification does not limit this. In this specification, the granularity of historical data is described in detail using minute-level granularity as an example. For other granularities, please refer to the relevant content on minute-level granularity, which will not be elaborated here.
[0085] In step S304, the historical data is cleaned, including filling in missing data and removing predetermined data contained in the historical data.
[0086] Missing data filling can be a process of supplementing missing or defective data in business data. For example, if a business data contains only the value of a parameter but the name of the parameter is missing, the missing parameter can be determined based on the business corresponding to the business data. Then, the name of the determined parameter can be filled in so that the name and value of the parameter correspond.
[0087] In implementation, to ensure the integrity and low redundancy of historical data, data cleaning processing can be performed on the historical data of the target business. Specifically, the content of historical data for each business within the target business can be inspected. If redundant information or information irrelevant to the corresponding business is found in the historical data of one or more businesses, this information can be removed. Furthermore, data from predetermined specific time periods can be removed; for example, data from the time period corresponding to stress testing (or load testing) can be removed. Additionally, if missing or defective data is found in the historical data of one or more businesses during the inspection process, missing or defective data can be filled in based on the corresponding business to ensure the integrity of the historical data.
[0088] In step S306, the business cycle type corresponding to the above historical data is determined.
[0089] The business cycle type can include types based on days, weeks, and months. In practical applications, the business cycle type is not limited to the above-mentioned types and can also include other types, such as types based on 10 days, 3 days, 1 hour, 12 hours, one quarter (including three months), multiple quarters (such as two or three quarters), and one year. This specification only describes the above-mentioned types based on days, weeks, and months in detail. For other types, please refer to the above three types for processing, and they will not be described in detail here.
[0090] In implementation, a business activity typically has a defined business cycle. These cycles can be varied; in this embodiment, they may include daily, weekly, or monthly cycles. In practical applications, the business cycle of a particular activity can be obtained in multiple ways. For example, it can be obtained from relevant business information or from technical or managerial personnel. First, the historical data can be analyzed to determine which activities' historical data are included. Then, the business cycles of the corresponding activities can be obtained using the methods described above. Based on the obtained business cycles of each activity, the corresponding business cycle type can be determined.
[0091] The processing of step S306 above can be varied. In addition to the above method, it can also be implemented in a variety of ways. The following provides another optional processing method, which can specifically include the processing of step one and step two.
[0092] Step 1: Obtain the difference value corresponding to the historical data for each business cycle type.
[0093] In practice, it may be difficult to obtain the business cycle of the corresponding business through the above method. Therefore, possible cycle types can be pre-defined, such as those based on days, weeks, and months. Then, it can be assumed that the historical data belongs to any of the above three types, and the difference can be calculated for each type of historical data to obtain the difference value corresponding to each type of historical data.
[0094] For example, assuming the historical data belongs to the type with a daily business cycle, the difference value of the historical data with a daily business cycle can be calculated. Then, assuming the historical data belongs to the type with a weekly business cycle, the difference value of the historical data with a weekly business cycle can be calculated. Finally, assuming the historical data belongs to the type with a monthly business cycle, the difference value of the historical data with a monthly business cycle can be calculated. In this way, the difference value corresponding to the historical data for each type of business cycle can be obtained.
[0095] Step 2: Determine the business cycle type corresponding to the historical data whose difference value is less than the predetermined difference threshold as the business cycle type corresponding to the historical data.
[0096] The differential threshold can be set according to the actual situation or the business rules of various services. This specification does not limit this in the embodiments.
[0097] In implementation, the difference value corresponding to the historical data of each business cycle type can be compared with a predetermined difference threshold. If the difference values of the historical data with a week-based business cycle and the historical data with a month-based business cycle are both greater than the predetermined difference threshold, while the difference value of the historical data with a day-based business cycle is less than the predetermined difference threshold, then the business cycle type corresponding to the difference value of the historical data with a day-based business cycle can be determined as the business cycle type corresponding to that historical data. Alternatively, if the difference values of the historical data with a day-based business cycle and the historical data with a month-based business cycle are both greater than the predetermined difference threshold, while the difference value of the historical data with a week-based business cycle is less than the predetermined difference threshold, then the business cycle type corresponding to the difference value of the historical data with a week-based business cycle can be determined as the business cycle type corresponding to that historical data. In other words, the business cycle type corresponding to historical data with a difference value less than the predetermined difference threshold can be determined as the business cycle type corresponding to that historical data.
[0098] It should be noted that in practical applications, historical data with a difference value less than the predetermined difference threshold may correspond to multiple business cycle types. In this case, one business cycle type can be randomly selected from the historical data with a difference value less than the predetermined difference threshold as the business cycle type corresponding to the historical data. Alternatively, the business cycle type corresponding to the historical data with the smallest difference value among the historical data with a difference value less than the predetermined difference threshold can be determined as the business cycle type corresponding to the historical data. Furthermore, if the difference values corresponding to historical data for all business cycle types are greater than the predetermined difference threshold, the business cycle type corresponding to the historical data with the smallest difference value can be determined as the business cycle type corresponding to the historical data. Alternatively, a business cycle type can be randomly selected as the business cycle type corresponding to the historical data.
[0099] In step S308, based on the business cycle type corresponding to the historical data, feature extraction is performed on the historical data to obtain the target features under the business cycle type corresponding to the historical data.
[0100] The processing of step S308 above can be referred to the relevant content in step S106 of the above embodiment, and will not be repeated here.
[0101] The processing method of step S308 above can be varied. Here is another optional processing method, which may include the following: Based on the business cycle type corresponding to the above historical data, extract features from the historical data from one or more of the following dimensions: time dimension, historical data at the same moment, historical data at a nearby moment, time series characteristics dimension, and constant feature dimension, to obtain the target features under the business cycle type corresponding to the historical data.
[0102] In implementation, after obtaining the business cycle type corresponding to the historical data through the above step S306, different feature engineering can be adjusted and adapted to the business prediction model to be built according to the different business cycle types obtained. In the embodiments of this specification, feature engineering can be extracted from five dimensions: time dimension, historical simultaneous data dimension, historical near-moment data dimension, time series characteristic dimension, and constant feature dimension. For example, for the historical simultaneous data dimension features of different business cycle types, for historical data with a week as the business cycle, the mean values corresponding to historical data from 7 days ago, 14 days ago, and 21 days ago can be added, and these mean values can be used as a set of features. For historical data with a month as the business cycle, the mean values corresponding to historical data from 1 month ago, 2 months ago, and 3 months ago can be added, and these mean values can be used as a set of features. Similarly, the historical simultaneous data dimension features of historical data with a day as the business cycle can also be obtained. The historical nearest-time data dimension features are the features of historical adjacent times. For example, the historical nearest times to 10:00 include 9:59 and 9:55, etc. These can be combined with the statistical results of the simultaneous data from the previous business cycle, depending on the business cycle type, to serve as the historical nearest-time data dimension features. Time-series characteristics can be the result of seasonally decomposing the trend of historical data. Constant features can be the time value of the most recent known data before the current time. For example, if the current time is 11:00, the constant feature could be the value of today's 10:59, etc. For the specific processing steps of extracting features from the historical data based on the business cycle type corresponding to the above historical data from one or more of the following dimensions: time dimension, historical simultaneous data dimension, historical nearest-time data dimension, time-series characteristic dimension, and constant feature dimension, to obtain the target features under the corresponding business cycle type of the historical data, please refer to the relevant content above, as well as the relevant content in Example 1 above, and will not be repeated here.
[0103] In step S310, a business prediction model is constructed based on the target features for the business cycle type corresponding to the aforementioned historical data.
[0104] In implementation, various algorithms can be used to construct business forecasting models. Different business cycle types require different forecasting models. Therefore, corresponding business forecasting models can be constructed based on the business cycle types corresponding to the historical data. For example, if the historical data corresponds to business cycle types based on days and weeks, a business forecasting model based on days can be constructed, as can a business forecasting model based on weeks, and so on.
[0105] The processing method of step S310 above can be varied. Here is another optional processing method, which can include the following: based on the target features, a business prediction model for the business cycle type corresponding to the historical data is constructed using a linear regression algorithm.
[0106] Among them, the linear regression algorithm can be the algorithm corresponding to the Elastic Net, which is a linear regression algorithm (or linear regression model) trained using L1 and L2 norms as prior regularization terms.
[0107] After obtaining business forecasting models for different business cycle types through the above processing, the business volume of the target business can be predicted in real time. For details, please refer to the processing steps S312 to S324 below.
[0108] In step S312, the business data of the target business to be predicted is obtained.
[0109] In step S314, the above-mentioned business data is subjected to data cleaning processing, which includes missing data filling processing and predetermined data removal processing contained in the business data.
[0110] In implementation, to ensure the integrity and low redundancy of business data, the acquired target business data can undergo data cleaning. Specifically, the content of business data for each business segment within the target business can be inspected. If redundant or irrelevant information is found in the business data of one or more business segments, this information can be removed. Furthermore, data from predetermined specific time periods can be removed; for example, data from the time period corresponding to stress testing can be removed. Additionally, if missing or defective data is found in the business data of one or more business segments during the inspection process, missing or defective data can be filled in based on the relevant business segment to ensure the integrity of the business data.
[0111] In step S316, the difference value corresponding to the business data for each business cycle type is obtained.
[0112] The business cycle types include those based on days, those based on weeks, and those based on months.
[0113] In step S318, the business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold is determined as the business cycle type corresponding to the business data.
[0114] It should be noted that in practical applications, business data with a difference value less than the predetermined difference threshold may correspond to multiple business cycle types. In this case, one business cycle type can be randomly selected from the business cycle types corresponding to the business data with a difference value less than the predetermined difference threshold as the business cycle type corresponding to that business data. Alternatively, the business cycle type corresponding to the business data with the smallest difference value among the business cycle types corresponding to the business data with a difference value less than the predetermined difference threshold can be determined as the business cycle type corresponding to that business data. Furthermore, if the difference values corresponding to the business data of all business cycle types are greater than the predetermined difference threshold, the business cycle type corresponding to the business data with the smallest difference value can be determined as the business cycle type corresponding to that business data, or a business cycle type can be randomly selected as the business cycle type corresponding to that business data.
[0115] In step S320, based on the business cycle type corresponding to the above business data, features are extracted from the business data from one or more of the following dimensions: time dimension, historical simultaneous data dimension, historical adjacent time data dimension, time series characteristic dimension, and constant feature dimension, to obtain the first feature under the business cycle type corresponding to the business data.
[0116] The processing of step S320 above can be found in the relevant content of step S308 above, and will not be repeated here.
[0117] In step S322, the first feature is input into the pre-built business prediction model corresponding to the above-mentioned business cycle type for calculation to obtain the business volume prediction result of the target business.
[0118] In step S324, service equipment providing relevant services for the target service is scheduled based on the traffic volume prediction results of the target service.
[0119] In implementation, such as Figure 2 As shown, based on the traffic volume forecast results for the target service, it can be determined whether there will be a sudden increase in traffic volume at a certain time or period in the future. If it is determined that there will be a sudden increase in traffic volume at a certain time or period in the future, the corresponding services need to be scheduled in advance to increase the number of service devices. If it is determined that there will be a sudden decrease in traffic volume at a certain time or period in the future, the number of service devices can be reduced accordingly to save costs and improve efficiency.
[0120] This specification provides a method for predicting business volume. It involves acquiring business data of the target business to be predicted, determining the corresponding business cycle type, extracting features from the business data based on the business cycle type, obtaining a first feature under that business cycle type, and inputting the first feature into a pre-constructed business prediction model corresponding to that business cycle type for calculation. This yields a predicted business volume result for the target business. By constructing feature engineering based on the characteristics of the business data and factors that may affect the target business, and utilizing business prediction models corresponding to different business cycle types, the method predicts the business volume of the target business. This allows for obtaining the development trend of the target business's business volume at a future time or within a certain time period, thereby freeing up human resources. Furthermore, by predicting future business volume trends, the potential future business volume can be known in advance, enabling timely scheduling of corresponding service equipment and reducing scheduling delays.
[0121] Example 3
[0122] The above describes the traffic volume prediction method provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a traffic volume prediction device, such as... Figure 4 As shown.
[0123] The business volume prediction device includes: a business data acquisition module 401, a first cycle type determination module 402, a first feature extraction module 403, and a prediction module 404, wherein:
[0124] The business data acquisition module 401 is used to acquire business data of the target business to be predicted.
[0125] The first cycle type determination module 402 is used to determine the business cycle type corresponding to the business data;
[0126] The first feature extraction module 403 is used to extract features from the business data according to the business cycle type corresponding to the business data, and obtain the first feature under the business cycle type corresponding to the business data.
[0127] The prediction module 404 is used to input the first feature into the pre-built business prediction model corresponding to the business cycle type to calculate and obtain the business volume prediction result of the target business.
[0128] In the embodiments described in this specification, the device further includes:
[0129] The historical data acquisition module is used to acquire historical data for the target business.
[0130] The second cycle type determination module is used to determine the business cycle type corresponding to the historical data;
[0131] The second feature extraction module is used to extract features from the historical data according to the business cycle type corresponding to the historical data, so as to obtain the target features under the business cycle type corresponding to the historical data.
[0132] The model building module is used to build a business prediction model for the business cycle type corresponding to the historical data based on the target features.
[0133] In the embodiments described in this specification, the device further includes:
[0134] The scheduling module is used to schedule service equipment that provides related services for the target service based on the traffic volume prediction results of the target service.
[0135] In the embodiments described in this specification, the device further includes:
[0136] The data cleaning module is used to perform data cleaning processing on the business data. The data cleaning processing includes missing data filling and predetermined data removal from the business data.
[0137] In the embodiments of this specification, the business cycle types include those based on days, those based on weeks, and those based on months.
[0138] In this embodiment of the specification, the first period type determination module 402 includes:
[0139] The differential unit is used to obtain the differential value corresponding to the business data for each business cycle type;
[0140] The cycle type determination unit is used to determine the business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold as the business cycle type corresponding to the business data.
[0141] In this embodiment of the specification, the first feature extraction module 403 is used to extract features from the business data according to the business cycle type corresponding to the business data, from one or more of the following dimensions: time dimension, historical simultaneous data dimension, historical adjacent time data dimension, time series characteristic dimension and constant feature dimension, to obtain the first feature under the business cycle type corresponding to the business data.
[0142] In this embodiment of the specification, the model building module is used to build a business prediction model for the business cycle type corresponding to the historical data based on the target features using a linear regression algorithm.
[0143] This specification provides a business volume prediction device. It acquires business data of a target business to be predicted, determines the business cycle type corresponding to the business data, extracts features from the business data based on the business cycle type, obtains a first feature under that business cycle type, and inputs the first feature into a pre-constructed business prediction model corresponding to the aforementioned business cycle type for calculation, thereby obtaining the business volume prediction result for the target business. In this way, by constructing feature engineering based on the characteristics of the business data and considering factors that may affect the target business, and using the constructed business prediction models corresponding to different business cycle types, the business volume of the target business can be predicted. This allows for the acquisition of the business volume development trend of the target business at a future time or within a certain time period, thereby freeing up human resources. Furthermore, by predicting the future business volume development trend, the potential future business volume can be known in advance, allowing for the timely scheduling of corresponding service equipment and reducing the time delay in service equipment scheduling.
[0144] Example 4
[0145] The above are the traffic volume prediction devices provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a traffic volume prediction device, such as... Figure 5 As shown.
[0146] The traffic volume prediction device can be the terminal device or server provided in the above embodiments.
[0147] Traffic volume prediction devices can vary significantly due to differences in configuration or performance. They may include one or more processors 501 and memory 502, with memory 502 storing one or more application programs or data. Memory 502 can be temporary or persistent storage. The application programs stored in memory 502 may include one or more modules (not shown), each module including a series of computer-executable instructions for the traffic volume prediction device. Furthermore, processor 501 may be configured to communicate with memory 502, executing the series of computer-executable instructions in memory 502 on the traffic volume prediction device. The traffic volume prediction device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input / output interfaces 505, and one or more keyboards 506.
[0148] Specifically, in this embodiment, the traffic volume prediction device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the traffic volume prediction device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following:
[0149] Obtain business data for the target business to be predicted;
[0150] Determine the business cycle type corresponding to the business data;
[0151] Based on the business cycle type corresponding to the business data, feature extraction is performed on the business data to obtain the first feature under the business cycle type corresponding to the business data;
[0152] The first feature is input into the pre-built business prediction model corresponding to the business cycle type to calculate the business volume prediction result of the target business.
[0153] The embodiments in this specification also include:
[0154] Obtain historical data for the target business;
[0155] Determine the business cycle type corresponding to the historical data;
[0156] Based on the business cycle type corresponding to the historical data, feature extraction is performed on the historical data to obtain the target features under the business cycle type corresponding to the historical data;
[0157] Based on the target features, a business prediction model is constructed for the business cycle type corresponding to the historical data.
[0158] The embodiments in this specification also include:
[0159] Based on the traffic volume forecast results of the target service, the service equipment providing the relevant services of the target service is scheduled.
[0160] In the embodiments of this specification, after obtaining the business data of the target business to be predicted, the method further includes:
[0161] The business data is subjected to data cleaning processing, which includes missing data filling and predetermined data removal from the business data.
[0162] In the embodiments of this specification, the business cycle types include those based on days, those based on weeks, and those based on months.
[0163] In the embodiments of this specification, determining the business cycle type corresponding to the business data includes:
[0164] Obtain the difference value corresponding to the business data for each business cycle type;
[0165] The business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold is determined as the business cycle type corresponding to the business data.
[0166] In this embodiment of the specification, the step of extracting features from the business data according to the business cycle type corresponding to the business data to obtain a first feature under the business cycle type corresponding to the business data includes:
[0167] Based on the business cycle type corresponding to the business data, features are extracted from the business data from one or more of the following dimensions: time dimension, historical simultaneous data dimension, historical nearby data dimension, time series characteristic dimension, and constant feature dimension, to obtain the first feature under the business cycle type corresponding to the business data.
[0168] In this embodiment of the specification, the step of constructing a business prediction model for the business cycle type corresponding to the historical data based on the target features includes:
[0169] Based on the target features, a business prediction model for the business cycle type corresponding to the historical data is constructed using a linear regression algorithm.
[0170] This specification provides a traffic volume prediction device. It acquires traffic data of a target traffic service, determines the corresponding traffic cycle type, extracts features from the traffic data based on the traffic cycle type, obtains a first feature under that traffic cycle type, and inputs the first feature into a pre-constructed traffic prediction model corresponding to that traffic cycle type for calculation. This yields a traffic volume prediction result for the target traffic service. By constructing feature engineering based on the characteristics of the traffic data and factors that may affect the target traffic service, and using different traffic prediction models corresponding to different traffic cycle types, the traffic volume of the target traffic service can be predicted. This allows for the acquisition of the traffic volume trend of the target traffic service at a future time or within a certain time period, thereby freeing up human resources. Furthermore, by predicting future traffic volume trends, the potential future traffic volume can be known in advance, enabling timely scheduling of corresponding service equipment and reducing scheduling delays.
[0171] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0172] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using a hardware physical module. For example, a Programmable Logic Device (PLD) (e.g., a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program a digital system themselves to "integrate" it onto a PLD, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0173] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0174] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0175] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0176] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0177] Embodiments in this specification are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable process predictor device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable process predictor device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0178] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable business process to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0179] These computer program instructions can also be loaded onto a computer or other programmable workload forecasting device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0180] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0181] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0182] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0183] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0184] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0185] One or more embodiments of this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a particular task or implement a particular abstract data type. One or more embodiments of this specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0186] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0187] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.
Claims
1. A method for predicting business volume, the method comprising: When it is necessary to predict the business volume of a target business in order to schedule the corresponding service equipment, the business data of the target business to be predicted is obtained. The target business is a payment business, a shopping business, or an insurance business. The business data includes the data generated by the target business within a predetermined time period. Obtain the difference value corresponding to the business data for each business cycle type; The business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold is determined as the business cycle type corresponding to the business data. Based on the business cycle type corresponding to the business data, feature extraction is performed on the business data to obtain the first feature under the business cycle type corresponding to the business data; The first feature is input into the pre-built business prediction model corresponding to the business cycle type to calculate the business volume prediction result of the target business.
2. The method according to claim 1, further comprising: Obtain historical data for the target business; Determine the business cycle type corresponding to the historical data; Based on the business cycle type corresponding to the historical data, feature extraction is performed on the historical data to obtain the target features under the business cycle type corresponding to the historical data; Based on the target features, a business prediction model is constructed for the business cycle type corresponding to the historical data.
3. The method according to claim 1, further comprising: Based on the traffic volume forecast results of the target service, the service equipment providing the relevant services of the target service is scheduled.
4. The method according to claim 1, after obtaining the business data of the target business to be predicted, the method further includes: The business data is subjected to data cleaning processing, which includes missing data filling and predetermined data removal from the business data.
5. The method according to claim 1, wherein the business cycle type includes a daily business cycle type, a weekly business cycle type, and a monthly business cycle type.
6. The method according to claim 1, wherein extracting features from the business data based on the business cycle type corresponding to the business data to obtain a first feature under the business cycle type corresponding to the business data includes: Based on the business cycle type corresponding to the business data, features are extracted from the business data from one or more of the following dimensions: time dimension, historical simultaneous data dimension, historical nearby data dimension, time series characteristic dimension, and constant feature dimension, to obtain the first feature under the business cycle type corresponding to the business data.
7. The method according to claim 2, wherein constructing a business prediction model for the business cycle type corresponding to the historical data based on the target feature includes: Based on the target features, a business prediction model for the business cycle type corresponding to the historical data is constructed using a linear regression algorithm.
8. A business volume forecasting device, the device comprising: The business data acquisition module is used to acquire business data of the target business to be predicted when it is necessary to predict the business volume of the target business in order to schedule the corresponding service equipment. The target business is a payment business, shopping business or insurance business. The business data includes data generated by the target business within a predetermined time period. The first cycle type determination module is used to obtain the difference value corresponding to the business data for each business cycle type; The business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold is determined as the business cycle type corresponding to the business data. The first feature extraction module is used to extract features from the business data according to the business cycle type corresponding to the business data, and obtain the first feature under the business cycle type corresponding to the business data. The prediction module is used to input the first feature into a pre-built business prediction model corresponding to the business cycle type to calculate and obtain the business volume prediction result of the target business.
9. The apparatus according to claim 8, further comprising: The historical data acquisition module is used to acquire historical data for the target business. The second cycle type determination module is used to determine the business cycle type corresponding to the historical data; The second feature extraction module is used to extract features from the historical data according to the business cycle type corresponding to the historical data, so as to obtain the target features under the business cycle type corresponding to the historical data. The model building module is used to build a business prediction model for the business cycle type corresponding to the historical data based on the target features.
10. A traffic volume prediction device, the traffic volume prediction device comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to: When it is necessary to predict the business volume of a target business in order to schedule the corresponding service equipment, the business data of the target business to be predicted is obtained. The target business is a payment business, a shopping business, or an insurance business. The business data includes the data generated by the target business within a predetermined time period. Obtain the difference value corresponding to the business data for each business cycle type; The business cycle type corresponding to the business data whose difference value is less than a predetermined difference threshold is determined as the business cycle type corresponding to the business data. Based on the business cycle type corresponding to the business data, feature extraction is performed on the business data to obtain the first feature under the business cycle type corresponding to the business data; The first feature is input into the pre-built business prediction model corresponding to the business cycle type to calculate the business volume prediction result of the target business.
Citation Information
Patent Citations
Data processing method and device
CN106469332A
Business occurrence amount prediction method, apparatus and device
CN108460490A
