Disclosure of Invention
The invention aims to provide an electronic invoice data aggregation and management platform based on cloud service, which can effectively solve the performance bottleneck problem possibly encountered by an electronic invoice system during high concurrency access and realize the functions of data aggregation, accurate retrieval and system access optimization.
The technical scheme adopted by the invention is as follows:
the cloud service-based electronic invoice data aggregation and management platform comprises an electronic invoice retrieval module, a prediction access module and an access optimization module;
The electronic invoice retrieval module is used for acquiring current retrieval information of the electronic invoice data accessed by the user currently, constructing a first period of time and acquiring first retrieval data of the electronic invoice data accessed by the user in the first period of time;
The prediction retrieval module is used for acquiring retrieval emphasis information of the user accessing the electronic invoice data according to the first retrieval data and the current retrieval information, acquiring historical retrieval information of the user accessing the electronic invoice data in the current period, acquiring retrieval preference information according to the historical retrieval information, and acquiring prediction retrieval information according to the retrieval emphasis information and the retrieval preference information;
The prediction access module is used for acquiring system historical access use data of the electronic invoice data in the current period and acquiring system prediction access use data corresponding to the prediction retrieval information;
The access optimization module is used for acquiring system planning access use data of the prediction search information according to the system historical access use data and the system prediction access use data, judging whether the system planning access use data meets a first preset condition, acquiring system regulation access use data according to the system planning access use data if the system planning access use data does not meet the first preset condition, and acquiring corresponding optimization mode optimization system access of the platform according to the system regulation access use data.
In a preferred scheme, the electronic invoice search module comprises a current search unit, a time period ending unit, a first time period unit, a time period starting unit, a first time period unit and a first search unit;
the current retrieval unit is used for acquiring current retrieval information of the electronic invoice data accessed by the user currently;
the time period ending unit is used for acquiring the time of the current retrieval information and marking the time period ending time;
The first time length unit is used for acquiring a first time length;
a period starting unit for acquiring a period starting time according to the first time length and the period ending time;
The first time period unit is used for acquiring a first time period according to the time period ending time and the time period starting time;
the first retrieval unit is used for acquiring a plurality of pieces of retrieval information of the electronic invoice data accessed by the user in the first period of time and summarizing the retrieval information into first retrieval data.
In a preferred scheme, the prediction retrieval module comprises a retrieval feature unit, a first matrix unit, a current matrix unit, a emphasis threshold unit and a retrieval emphasis judging unit;
the retrieval feature unit is used for acquiring a plurality of corresponding retrieval feature information according to the first retrieval data;
The first matrix unit is used for acquiring a first retrieval feature matrix according to the plurality of retrieval feature information;
The current matrix unit is used for acquiring a plurality of corresponding retrieval feature types according to the current retrieval information and constructing a current retrieval feature matrix;
The emphasis matrix unit is used for acquiring a retrieval emphasis matrix according to the first retrieval feature matrix and the current retrieval feature matrix;
The emphasis threshold unit is used for acquiring a retrieval emphasis threshold;
The search emphasis judging unit is used for judging whether each element in the search emphasis matrix exceeds a corresponding search emphasis threshold value;
If each element of the search emphasis matrix exceeds the corresponding preset emphasis threshold, marking the search feature types corresponding to the elements exceeding the corresponding preset emphasis threshold as search emphasis information.
In a preferred scheme, the prediction searching module further comprises a history searching unit, a characteristic type unit, a searching frequency unit, a searching threshold unit and a preference judging unit;
the history retrieval unit is used for acquiring history retrieval information of the electronic invoice data accessed by the user in the current period;
The characteristic type unit is used for acquiring a plurality of corresponding retrieval characteristic types according to the history retrieval information;
The search frequency unit is used for acquiring the search frequency of each search feature type;
The retrieval threshold unit is used for acquiring retrieval threshold times;
a preference judging unit for judging whether the search times of each search feature category exceeds the search threshold times;
If the search times of each search feature type exceeds the search threshold times, marking the search feature type exceeding the search threshold times as search preference information;
If the search times of each search feature type do not exceed the search threshold times, a plurality of search feature types are ranked according to the search times in a sequence from high to low to obtain a search feature type ranking table, the number of search preference feature types is obtained, and the search feature types which accord with the number of search preference feature types are sequentially selected from the search feature type ranking table in the sequence from high to low and marked as search preference information.
In a preferred scheme, the prediction retrieval module further comprises a emphasis category unit, a preference category unit and a prediction retrieval unit;
The emphasis type unit is used for acquiring corresponding retrieval feature types according to the retrieval emphasis information and marking the retrieval feature types as retrieval feature emphasis types;
a preference category unit, configured to obtain a corresponding search feature category according to the search preference information, and mark the search feature category as a search feature preference category;
and the prediction searching unit is used for summarizing the search feature emphasis types and the search feature preference types, reserving repeated search feature types and marking the repeated search feature types as prediction searching information.
In a preferred scheme, the prediction access module comprises a history use unit, a first use unit and a prediction use unit;
The historical use unit is used for acquiring a plurality of system resource utilization rates of the electronic invoice data accessed in the current period and summarizing the plurality of system resource utilization rates into system historical access use data;
a first usage unit, configured to obtain, from the system history access usage data, a plurality of historical system resource usage rates corresponding to each search feature type in the predicted search information, and mark the historical system resource usage rate corresponding to each search feature type as a first system resource usage rate;
and the prediction using unit is used for acquiring system prediction access using data corresponding to the prediction retrieval information according to a plurality of first system resource using rates corresponding to each retrieval feature type.
In a preferred scheme, the access optimization module further comprises an assessment ending unit, an assessment starting unit, an assessment period unit, an assessment system unit, a predicted access use unit and a system planning access use unit;
the evaluation ending unit is used for acquiring the acquisition time of the system prediction access use data and marking the acquisition time as the evaluation ending time;
The evaluation starting unit is used for acquiring the evaluation duration and acquiring the evaluation starting time according to the evaluation duration and the ending time of the evaluation period;
an evaluation period unit for acquiring an evaluation period according to the evaluation end time and the evaluation start time;
The evaluation system unit is used for acquiring historical system resource utilization rate corresponding to each retrieval characteristic type in the system prediction access use data in the system history access use data in the evaluation period, and marking the historical system resource utilization rate as the evaluation system resource utilization rate;
The predicted access use unit is used for acquiring corresponding system predicted access use rate according to the system predicted access use data;
And the system plan access use unit is used for acquiring the system plan access use rate according to the plurality of estimated system resource use rates and the system forecast access use rate and marking the system plan access use rate as system plan access use data.
In a preferred scheme, the access optimization module further comprises a use threshold unit, a use judgment unit and a regulation and control use unit;
a usage threshold unit for acquiring a system plan access usage threshold rate;
A use judgment unit for judging whether the system plan access use rate exceeds a system plan access use threshold;
If the system plan access utilization rate exceeds the system plan access utilization threshold, judging that the system plan access utilization rate is overload and marking the system plan access utilization rate as the system excess access utilization rate;
The regulation and control use unit is used for acquiring system regulation and control access use data according to the system excess access use rate.
In a preferred scheme, the access optimization module further comprises an optimization table unit, an interval comparison unit and an optimization mode unit;
The optimizing table unit is used for acquiring a platform optimizing table, wherein the platform optimizing table comprises a plurality of system regulation access use interval values and platform optimizing modes corresponding to each system regulation access use interval value;
the interval comparison unit is used for acquiring a corresponding target system regulation access use interval value according to the system regulation access use rate;
and the optimization mode unit is used for acquiring a corresponding platform optimization mode from the platform optimization table according to the target system regulation access use interval value.
And an electronic invoice data aggregation and management terminal based on cloud service, comprising:
One or more processors;
A storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the cloud service-based electronic invoice data aggregation and management platform.
The invention has the technical effects that:
According to the invention, the system access performance of the electronic invoice platform is optimized by acquiring the system regulation access data to adjust the access strategy, the platform can adopt a corresponding optimization mode to ensure the efficient operation under different load conditions, the system response delay or collapse caused by excessive access can be avoided by predicting the system access requirement of a user and regulating the access data, the system resource can be adjusted in real time according to the current situation, the stable operation of the platform is ensured, the user requirement can be predicted in advance and the system access path is optimized, the search experience and the use experience of the user are obviously improved, and especially under a high access quantity scene, the smooth access speed and the high response capability can be maintained.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present invention is not limited to the specific embodiments disclosed below.
Further, reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic can be included in at least one implementation of the invention. The appearances of the phrase "in one preferred embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
Further, the present invention will be described in detail with reference to the drawings, which are only examples for convenience of illustration, and should not limit the scope of the present invention.
Referring to fig. 1, an electronic invoice data aggregation and management platform based on cloud service is provided, which comprises an electronic invoice retrieval module, a prediction access module and an access optimization module;
The electronic invoice retrieval module is used for acquiring current retrieval information of the electronic invoice data accessed by the user currently, constructing a first period of time and acquiring first retrieval data of the electronic invoice data accessed by the user in the first period of time;
The prediction retrieval module is used for acquiring retrieval emphasis information of the user accessing the electronic invoice data according to the first retrieval data and the current retrieval information, acquiring historical retrieval information of the user accessing the electronic invoice data in the current period, acquiring retrieval preference information according to the historical retrieval information, and acquiring prediction retrieval information according to the retrieval emphasis information and the retrieval preference information;
The prediction access module is used for acquiring system historical access use data of the electronic invoice data in the current period and acquiring system prediction access use data corresponding to the prediction retrieval information;
The access optimization module is used for acquiring system planning access use data of the prediction search information according to the system historical access use data and the system prediction access use data, judging whether the system planning access use data meets a first preset condition, acquiring system regulation access use data according to the system planning access use data if the system planning access use data does not meet the first preset condition, and acquiring corresponding optimization mode optimization system access of the platform according to the system regulation access use data.
The electronic invoice retrieval module firstly acquires retrieval information related to electronic invoice data currently accessed by a user, and constructs a specific time period (first time period) according to the retrieval information, in the first time period, all retrieval behaviors of the user for accessing the electronic invoice data are collected, corresponding first retrieval data are generated, the prediction retrieval module obtains side points of the user for accessing the electronic invoice data in different time periods according to the first retrieval data of the user and the current retrieval information, namely retrieval side information, and simultaneously, retrieval preference information is extracted by calling the retrieval data of a user history time period, namely content which is prone to be retrieved by the user in a similar situation or time period, the current retrieval side information of the user is combined with the history preference information, prediction retrieval information is generated, namely data which can be accessed or retrieved by the user in the next time period is predicted, the prediction access module analyzes the use condition of an electronic invoice system in the history similar time period according to the system history access data, judges the running performance of a platform under different loads according to the prediction retrieval information, predicts the use condition of the corresponding system prediction access data in the current time period, the user for accessing the electronic invoice data in the current time period is predicted, and the system is adjusted in advance, and resources are distributed according to the prediction access condition of the prediction access information, if the system access condition is not adjusted, the system access condition is adjusted, and the system access resource is automatically is distributed in advance, compared with the system access condition is adjusted, and the system access condition is automatically is better than the system access condition is adjusted, if the system access condition is adjusted, the system access condition is accessed is adjusted, the platform can optimize the system access performance of the electronic invoice platform by adopting a corresponding optimization mode, ensures the efficient operation under different load conditions, can automatically adjust when the load is too high by predicting the system access requirement of a user and regulating and controlling access data, avoids system response delay or breakdown caused by excessive access, can adjust system resources in real time according to the current situation, ensures the stable operation of the platform, can predict the user requirement in advance and optimize the system access path, and obviously improves the retrieval experience and the use experience of the user, and can keep smooth access speed and high response capability especially under a high access amount scene.
In a specific embodiment, the electronic invoice search module includes a current search unit, a period end unit, a first period unit, a period start unit, a first period unit, and a first search unit;
the current retrieval unit is used for acquiring current retrieval information of the electronic invoice data accessed by the user currently;
the time period ending unit is used for acquiring the time of the current retrieval information and marking the time period ending time;
The first time length unit is used for acquiring a first time length;
a period starting unit for acquiring a period starting time according to the first time length and the period ending time;
The first time period unit is used for acquiring a first time period according to the time period ending time and the time period starting time;
the first retrieval unit is used for acquiring a plurality of pieces of retrieval information of the electronic invoice data accessed by the user in the first period of time and summarizing the retrieval information into first retrieval data.
The current search unit is responsible for acquiring current search information of the current access electronic invoice data of the user, namely, a specific data search request which is carried out by the user in real time, tracking the attention degree of the user to certain data by recording each search action of the user, recording the time of ending the search action by a time period ending unit when the one search operation of the user is ended, marking the time as the time period ending time, wherein the time stamp is used for determining the duration of the search operation of the user, the first time period unit is used for defining a fixed time period length, called first time period, the time period can be dynamically set (such as 5 minutes or 1 hour) according to service requirements, the time range for analyzing the user action is divided, the corresponding time period starting time is calculated by the time period starting unit according to the time period ending time and the first time period, namely, the starting time of the first time period is equal to the time period ending time of the first time period, the first time period unit is responsible for acquiring a specific time period, called the first time period, recording all search actions of the user are recorded, the search actions of the user are acquired in the first time period, the first time period is not used for acquiring the specific information, the search information is not fully known by the user, the search platform is fully known by the search information, the search information is acquired by the first time period, the user interest is not being fully acquired by the user, and the search information is fully known by the user, and the user is fully known by the search information.
In a specific embodiment, the prediction retrieval module comprises a retrieval feature unit, a first matrix unit, a current matrix unit, a emphasis threshold unit and a retrieval emphasis judging unit;
the system comprises a search feature unit, a search feature processing unit and a search processing unit, wherein the search feature unit is used for acquiring a plurality of corresponding search feature information according to first search data, the search feature information comprises a plurality of search feature types, and the search feature types comprise invoice issuing date, invoice tax rate and invoice head-up;
The first matrix unit is used for acquiring a first retrieval feature matrix according to the plurality of retrieval feature information, wherein the first retrieval feature matrix is a row of matrix, and each element in the first retrieval feature matrix is a retrieval vector value of each retrieval feature type;
the current matrix unit is used for acquiring a plurality of corresponding search feature types according to the current search information and constructing a current search feature matrix, wherein the current search feature matrix is a row of matrix with the first search feature matrix, and each element in the current search feature matrix is a search vector value of each search feature type;
The emphasis matrix unit is used for acquiring a retrieval emphasis matrix according to the first retrieval feature matrix and the current retrieval feature matrix;
The emphasis threshold unit is used for acquiring a retrieval emphasis threshold;
The search emphasis judging unit is used for judging whether each element in the search emphasis matrix exceeds a corresponding search emphasis threshold value;
If each element of the search emphasis matrix exceeds the corresponding preset emphasis threshold, marking the search feature types corresponding to the elements exceeding the corresponding preset emphasis threshold as search emphasis information.
The above-mentioned search feature unit is responsible for extracting a plurality of search feature information related to search behavior from the first search data, where the information may include specific attributes of an invoice, such as invoice date, invoice tax rate, customer name, invoice header, etc., each search feature type reflects specific attributes of invoice data focused by a user in the time period, the first matrix unit generates a search vector value for each search feature type extracted from the search feature information, that is, search strength of the user on a certain feature, the search vector values of the plurality of search feature types form a first search feature matrix, where the matrix is a row of matrices representing focuses of the user on different invoice features in the specific time period, and the current matrix unit extracts corresponding search feature information according to the current search behavior of the user, and constructing a current search feature matrix consistent with the first search feature matrix format, wherein the emphasis matrix unit calculates the first search feature matrix and the current search feature matrix, the calculation formula of the search emphasis matrix is C=Y×D, wherein C is represented as a search emphasis matrix, Y is represented as the first search feature matrix, D is represented as the current search feature matrix, a search emphasis matrix is generated to reflect the change of the current search behavior of the user compared with the change in the historical behavior, each matrix element represents the search emphasis change degree of the user on the feature, the emphasis threshold unit is responsible for setting the search emphasis threshold of each search feature, the search emphasis judging unit judges whether the behavior of the user on certain search features exceeds the preset emphasis threshold by comparing each element in the search emphasis matrix with the search emphasis threshold, if the emphasis matrix element value corresponding to a certain retrieval feature exceeds the emphasis threshold value of the feature, marking the retrieval feature as retrieval emphasis information, representing that the feature is focused by a user in the current retrieval, and dynamically identifying the invoice feature which is focused by the user at present by analyzing the difference between the current retrieval behavior and the historical retrieval behavior of the user, for example, the user may focus on the invoice data in a certain invoice tax rate or a specific date range in the current retrieval, and automatically marking the emphasis information, thereby providing basis for the optimization of the subsequent retrieval.
In a specific embodiment, the prediction search module further includes a history search unit, a feature type unit, a search number unit, a search threshold unit, and a preference judgment unit;
the history retrieval unit is used for acquiring history retrieval information of the electronic invoice data accessed by the user in the current period;
The characteristic type unit is used for acquiring a plurality of corresponding retrieval characteristic types according to the history retrieval information;
The search frequency unit is used for acquiring the search frequency of each search feature type;
The retrieval threshold unit is used for acquiring retrieval threshold times;
a preference judging unit for judging whether the search times of each search feature category exceeds the search threshold times;
If the search times of each search feature type exceeds the search threshold times, marking the search feature type exceeding the search threshold times as search preference information;
If the search times of each search feature type do not exceed the search threshold times, a plurality of search feature types are ranked according to the search times in a sequence from high to low to obtain a search feature type ranking table, the number of search preference feature types is obtained, and the search feature types which accord with the number of search preference feature types are sequentially selected from the search feature type ranking table in the sequence from high to low and marked as search preference information.
The history searching unit is responsible for acquiring the history searching information of the user in the current period, the electronic invoice data access records of the user in different time can be obtained by analyzing the searching actions of the user in the past in the current period, the characteristic type unit extracts a plurality of corresponding searching characteristic types, such as the issuing date of an invoice, the invoice amount, the invoice type and the like, according to the history searching information, each searching characteristic type represents a certain invoice attribute focused by the user, the searching frequency unit is responsible for counting the occurrence frequency of each searching characteristic type in the history searching information, namely the frequency of the user accessing certain characteristics, the degree of focusing of the user on different characteristics can be quantified by calculating the searching frequency of the user on each characteristic type in the current period, the searching threshold unit is responsible for setting a searching threshold frequency, namely when the searching frequency of a certain characteristic type exceeds the threshold, the user is considered to have obvious preference for the feature, the threshold value can be dynamically adjusted according to service requirements, accuracy of preference identification is ensured, a preference judging unit judges which feature types have the search times exceeding the threshold value by comparing the search times of each search feature type with the search threshold times, the feature types exceeding the threshold value are marked as search preference information, the user is considered to have obvious preference for the feature, if the search times of all feature types do not exceed the threshold value, the feature types are ranked according to the search times of each feature type to generate a search feature type ranking table, then the feature type with the highest search times is sequentially selected from the ranking table according to the set search preference feature type number and marked as search preference information, the method and the system can accurately identify the remarkable preference of the user in the electronic invoice data retrieval, for example, if the user frequently retrieves the specific invoice issuing date or invoice amount, the preference information can be identified in advance, support is provided for subsequent personalized recommendation and service optimization, the remarkable preference can be judged through setting a retrieval frequency threshold, and under the condition that no feature types exceed the threshold, the feature types with higher user attention degree can be automatically selected according to a sorting algorithm, and the dual judgment mechanism can flexibly adapt to the retrieval behaviors of different users, and can accurately capture the preference of the users whether the users frequently retrieve certain types of features or the users who retrieve a plurality of features in a scattered manner.
In a specific embodiment, the prediction retrieval module further includes a emphasis category unit, a preference category unit, and a prediction retrieval unit;
The emphasis type unit is used for acquiring corresponding retrieval feature types according to the retrieval emphasis information and marking the retrieval feature types as retrieval feature emphasis types;
a preference category unit, configured to obtain a corresponding search feature category according to the search preference information, and mark the search feature category as a search feature preference category;
and the prediction searching unit is used for summarizing the search feature emphasis types and the search feature preference types, reserving repeated search feature types and marking the repeated search feature types as prediction searching information.
The emphasis type unit is responsible for extracting the retrieval feature types of the current focus of the user from the retrieval emphasis information, the feature types may be specific invoice attributes (such as date and tax rate of invoices) of the current focus of the user, which are analyzed through the emphasis matrix, the extracted feature types are marked as retrieval feature emphasis types, which represent the features of the focus of the user in the current retrieval behavior, the preference type unit obtains the retrieval feature types of the focus of the user in the historical retrieval behavior according to retrieval preference information, which represent significant focus points of the user in a longer time period, marks the feature types as retrieval feature preference types, the prediction retrieval unit gathers the retrieval feature emphasis types and the retrieval feature preference types, and keeps repeated retrieval feature types appearing in both types, the repeated feature types represent the features of the current focus of the user, and are also preference features in the historical retrieval, so that the characteristics have higher prediction value, finally, the repeated retrieval feature types are marked as prediction retrieval information, which represent the specific features of the user possibly continuously focuses in the future, the preference feature types can be more accurately predicted in the future, the invoice types can appear in the current focus of the user in the past, and the service preference information can be continuously provided in the future according to the history information, and the preference information can continuously appear in the future according to the history of the user.
In a specific embodiment, the predictive access module includes a history use unit, a first use unit, and a predictive use unit;
The historical use unit is used for acquiring a plurality of system resource utilization rates of the electronic invoice data accessed in the current period and summarizing the plurality of system resource utilization rates into system historical access use data;
a first usage unit, configured to obtain, from the system history access usage data, a plurality of historical system resource usage rates corresponding to each search feature type in the predicted search information, and mark the historical system resource usage rate corresponding to each search feature type as a first system resource usage rate;
and the prediction using unit is used for acquiring system prediction access using data corresponding to the prediction retrieval information according to a plurality of first system resource using rates corresponding to each retrieval feature type.
The above-mentioned history usage unit is responsible for collecting the usage information of system resources related to the electronic invoice data, including the usage of multiple resources such as CPU, memory, network bandwidth, etc., in the current period, the collected multiple system resource usage data will be summarized to form a complete system history access usage data, the first usage unit extracts the history system resource usage related to each retrieval feature type in the predicted retrieval information from the summarized system history access usage data, for example, the inquiry of some specific invoice feature types may depend more on network bandwidth, or stores the resources, screens out multiple history resource usage corresponding to these retrieval feature types and marks it as the first system resource usage, the prediction usage unit predicts the future system resource usage according to multiple first system resource usage corresponding to each retrieval feature type, generates the system prediction access usage data, and the calculation formula of the system prediction access usage data is thatWhere F is a system predicted access usage rate, i.e., system predicted access usage data, k is a number of a search feature type in the predicted search information, k=1, 2, 3..m, i is a number of a plurality of first system resource usage rates of the search feature type in the predicted search information, where i=1, 2, 3..n,An ith first system resource usage rate expressed as a search feature class in the predicted search information,The method is characterized in that the method is used for predicting the system resource utilization rate of the kth retrieval feature type in the retrieval information, reasonably presuming the load and the demand of different resources in the future by combining the current retrieval demand based on the trend of historical data, so that references are provided for optimization and resource allocation, the historical system resource utilization condition corresponding to each retrieval feature type can be extracted, and the accurate prediction can be carried out by combining the prediction retrieval information.
In a specific embodiment, the access optimization module further comprises an assessment ending unit, an assessment starting unit, an assessment period unit, an assessment system unit, a predicted access usage unit and a system plan access usage unit;
the evaluation ending unit is used for acquiring the acquisition time of the system prediction access use data and marking the acquisition time as the evaluation ending time;
The evaluation starting unit is used for acquiring the evaluation duration and acquiring the evaluation starting time according to the evaluation duration and the ending time of the evaluation period;
an evaluation period unit for acquiring an evaluation period according to the evaluation end time and the evaluation start time;
The evaluation system unit is used for acquiring historical system resource utilization rate corresponding to each retrieval characteristic type in the system prediction access use data in the system history access use data in the evaluation period, and marking the historical system resource utilization rate as the evaluation system resource utilization rate;
The predicted access use unit is used for acquiring corresponding system predicted access use rate according to the system predicted access use data;
And the system plan access use unit is used for acquiring the system plan access use rate according to the plurality of estimated system resource use rates and the system forecast access use rate and marking the system plan access use rate as system plan access use data.
The above-mentioned, the assessment ending unit is responsible for obtaining the acquisition time of the system forecast access usage data, and marks it as the assessment ending time, this time point marks the end of the assessment process, the assessment starting unit is used for determining the time range of the assessment process, it calculates the assessment starting time by obtaining the assessment duration (i.e. the time length required for assessment) and combining with the assessment ending time, the assessment period unit is responsible for obtaining the assessment period according to the assessment starting time and the assessment ending time, the assessment system unit extracts the historical system resource usage rate related to each retrieval feature category in the system forecast access usage data from the system historical access usage data, generates the assessment system resource usage rate, in order to understand the actual usage situation of the system resource in the past assessment period, the forecast access usage unit utilizes the system forecast access usage data, calculates the system forecast access usage rate, the calculation formula of the system forecast access usage data isWhere G denotes a system plan access usage rate, F denotes a system predicted access usage rate, k denotes a number of a search feature type in the predicted search information, k=1, 2, 3..m, i denotes a number of a plurality of first system resource usage rates of the search feature type in the predicted search information, where i=1, 2, 3..n,The i-th first system resource usage rate expressed as the kind of retrieval feature in the predictive retrieval information, g expressed as a number of a plurality of estimated system resource usage rates, g=1, 2, 3..r,The system plan access utilization unit synthesizes a plurality of evaluation system resource utilization rates and system prediction access utilization rates, generates the system plan access utilization rate, and the data can guide a platform to allocate and use decisions in the future, ensure the efficient use of resources, generate accurate evaluation system resource utilization rate, provide data support for resource planning, effectively avoid the waste or shortage of resources and ensure the stable operation of the platform in peak periods.
In a specific embodiment, the access optimization module further comprises a use threshold unit, a use judgment unit and a regulation use unit;
a usage threshold unit for acquiring a system plan access usage threshold rate;
the use judging unit is used for judging whether the system plan access use rate exceeds the system plan access threshold value rate;
If the system plan access utilization rate exceeds the system plan access threshold value rate, judging that the system plan access utilization rate is overload and marking the system plan access utilization rate as the system excess access utilization rate;
The regulation and control use unit is used for acquiring system regulation and control access use data according to the system excess access use rate.
The threshold unit obtains the system plan access use threshold rate, the threshold rate refers to the maximum access use rate that the system can bear under the normal plan operation condition, the threshold is used for judging the current load condition of the system, the system is ensured to operate within a controllable range, the use judging unit is responsible for monitoring the system plan access use rate in real time and comparing with the preset system plan access use threshold rate, if the system plan access use rate exceeds the system plan access use threshold rate, the unit judges the system to be in an overload state and marks the state as the system overage access use rate, the regulation and control use unit intervenes once judging that the overage access use rate exists, the system regulation and control access use data is obtained based on the system overage access use rate, and the calculation formula of the system regulation and control access use data is thatIn the formula, T is expressed as system regulation access utilization rate, namely system regulation access utilization data, G is expressed as system plan access utilization rate, Z is expressed as system plan access utilization threshold rate, a is expressed as system access utilization compensation coefficient, and the data is used for making regulation measures to balance the load of a platform and ensure that the platform can still stably run under the condition of high load.
In a specific embodiment, the access optimization module further comprises an optimization table unit, an interval comparison unit and an optimization mode unit;
The optimizing table unit is used for acquiring a platform optimizing table, wherein the platform optimizing table comprises a plurality of system regulation access use interval values and platform optimizing modes corresponding to each system regulation access use interval value;
the interval comparison unit is used for acquiring a corresponding target system regulation access use interval value according to the system regulation access use rate;
and the optimization mode unit is used for acquiring a corresponding platform optimization mode from the platform optimization table according to the target system regulation access use interval value.
The optimization table unit is responsible for generating and maintaining a platform optimization table, the table comprises a plurality of system regulation access use interval values and a platform optimization mode corresponding to each interval value, the data provide reference basis for subsequent access optimization, the regulation and control can be carried out according to the corresponding optimization mode under different access use rate conditions, the interval comparison unit determines the corresponding target system regulation access use interval value according to the current system regulation access use rate, the current use rate is compared with the interval value in the platform optimization table to judge which optimization interval the current load condition of the platform belongs to, once the target system regulation access use interval value is determined, the optimization mode unit obtains the corresponding platform optimization mode from the platform optimization table, the optimization mode possibly comprises measures such as flow limitation, load balancing, resource allocation adjustment and the like, so that the platform can be ensured to operate efficiently under various load conditions, and the capability of dynamic adjustment enables the platform to maintain high efficiency performance under various load conditions.
And an electronic invoice data aggregation and management terminal based on cloud service, comprising:
One or more processors;
A storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the cloud service-based electronic invoice data aggregation and management platform.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention. Structures, devices and methods of operation not specifically described and illustrated herein, unless otherwise indicated and limited, are implemented according to conventional means in the art.