CN116503138A - Telephone fee recharging order scheduling method and system based on asynchronous programming - Google Patents

Telephone fee recharging order scheduling method and system based on asynchronous programming Download PDF

Info

Publication number
CN116503138A
CN116503138A CN202310487968.0A CN202310487968A CN116503138A CN 116503138 A CN116503138 A CN 116503138A CN 202310487968 A CN202310487968 A CN 202310487968A CN 116503138 A CN116503138 A CN 116503138A
Authority
CN
China
Prior art keywords
order
abnormal
evaluation value
telephone charge
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310487968.0A
Other languages
Chinese (zh)
Other versions
CN116503138B (en
Inventor
向方逊
向方悟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Miaoyi Technology Co ltd
Original Assignee
Hangzhou Miaoyi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Miaoyi Technology Co ltd filed Critical Hangzhou Miaoyi Technology Co ltd
Priority to CN202310487968.0A priority Critical patent/CN116503138B/en
Publication of CN116503138A publication Critical patent/CN116503138A/en
Application granted granted Critical
Publication of CN116503138B publication Critical patent/CN116503138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • G06Q30/0637Approvals

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Meter Arrangements (AREA)

Abstract

The invention provides a telephone charge recharging order scheduling method and system based on asynchronous programming, which belongs to the technical field of order scheduling and specifically comprises the following steps: processing the telephone fee recharging order by adopting a synchronous processing mode, and taking the processing time of the telephone fee recharging order of a single telephone fee as synchronous processing time; when the asynchronous processing mode is adopted based on the quantity to be processed, the synchronous processing time and the historical abnormal order data, the asynchronous processing mode is adopted to process the telephone charge recharging order, the maximum processing quantity of the telephone charge recharging order in the set time is determined based on the state evaluation value of the background server, the maximum processing quantity is used as a constraint condition, an objective function is constructed by a delay function of the telephone charge recharging order and a state evaluation function of the background server, the minimum objective function is used, and the processing quantity of the telephone charge recharging order in the set time in the asynchronous processing mode is determined, so that the stability of the telephone charge recharging order processing and the accuracy of abnormal tracking are realized.

Description

Telephone fee recharging order scheduling method and system based on asynchronous programming
Technical Field
The invention belongs to the technical field of order scheduling, and particularly relates to a telephone fee recharging order scheduling method and system based on asynchronous programming.
Background
In order to realize batch processing of telephone charge orders, the prior art scheme always realizes batch processing of telephone charge orders in an asynchronous programming mode, and has the advantages of high processing efficiency and high response speed, but at the same time, the following technical problems are also existed:
when the telephone charge order is processed, if asynchronous programming is adopted, once the abnormal telephone charge order appears, the capture of the abnormal flow cannot be realized in the first time, so that the abnormal processing efficiency can be affected to a certain extent.
When the processing of the telephone fee recharging order is performed, dynamic optimization of the processing of the telephone fee recharging order by combining the running state of the server is not considered, if the running memory occupancy of the server is too high or the running state is poor, if the processing flows of different telephone fee recharging orders cannot be optimally scheduled according to the number of the telephone fee recharging orders, accidents such as dead halt of the server can be possibly caused, and even the breakdown of the whole telephone fee recharging system can be caused when serious.
Aiming at the technical problems, the invention provides a telephone charge recharging order scheduling method and system based on asynchronous programming.
Disclosure of Invention
In order to achieve the purpose of the invention, the invention adopts the following technical scheme:
in a first aspect, in order to achieve the object of the present invention, the present invention adopts the following technical scheme:
a telephone fee recharging order scheduling method based on asynchronous programming is characterized by comprising the following steps:
s11, processing the telephone fee recharging order by adopting a synchronous processing mode, and taking the processing time of the telephone fee recharging order of a single telephone fee as synchronous processing time;
s12, acquiring the quantity to be processed of the telephone charge order in real time, and entering a step S13 when the asynchronous processing mode is required to be adopted based on the quantity to be processed, the synchronous processing time and the historical abnormal order data;
s13, processing the telephone charge order by adopting an asynchronous processing mode, acquiring the running state data of a background server for processing the telephone charge order and the quantity to be processed of the telephone charge order in real time according to a set frequency, determining a state evaluation value of the background server, and entering a step S14 when the processing mode of the telephone charge order is determined to be optimized based on the state evaluation value;
s14, determining the maximum processing quantity of the telephone charge order in the set time based on the state evaluation value, constructing an objective function by using the delay function of the telephone charge order and the state evaluation function of the background server and taking the minimum objective function as a target, and determining the processing quantity of the telephone charge order in the set time by the asynchronous processing mode.
The further technical scheme is that the synchronous processing time is determined according to the time required by the telephone charge recharging order from the acceptance to the processing completion.
The further technical scheme is that the historical abnormal order data comprises an abnormal rate, an abnormal quantity, an abnormal rate and an abnormal quantity of the historical orders in the latest preset time.
The further technical scheme is that before the determination of the comprehensive evaluation value, the determination of the comprehensive evaluation value is further needed based on the abnormal evaluation value and the recent abnormal evaluation value, and when the asynchronous processing mode can be adopted based on the determination of the comprehensive evaluation value, the determination of the comprehensive evaluation value is further needed.
The further technical scheme is that the set frequency is determined according to the average time of single processing of the telephone fee recharging order in an asynchronous processing mode, wherein the shorter the average time of single processing of the telephone fee recharging order in the asynchronous processing mode is, the smaller the set frequency is.
In a second aspect, in another aspect, embodiments of the present application provide a computer system, including: a communicatively coupled memory and processor, and a computer program stored on the memory and capable of running on the processor, characterized by: and executing the telephone fee recharging order scheduling method based on asynchronous programming when the processor runs the computer program.
In a third aspect, the present invention provides a computer storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform a telephone charge recharge order scheduling method based on asynchronous programming as described above.
The invention has the beneficial effects that:
by determining whether an asynchronous processing mode is needed or not based on the quantity to be processed, the synchronous processing time and the historical abnormal order data, the delay time of the telephone charge order is considered singly, the situation of the historical abnormal order of the telephone charge order is considered, the timely processing of the abnormal order and the unified consideration of the delay time are realized, and the comprehensiveness and the accuracy of evaluation are ensured.
The running state data of the background server for processing the telephone charge order and the quantity to be processed of the telephone charge order are collected and processed in real time according to the set frequency, the state evaluation value of the background server is determined, and whether the processing mode needs to be optimized or not is determined based on the running state value, so that the optimization determination of the processing mode from two aspects of the real-time running state and the predicted running state of the server is realized, and the problem of blocking or dead halt of the server caused by long-time processing of the telephone charge order is avoided.
By taking the maximum processing quantity as a constraint condition, constructing an objective function by taking a delay function of a telephone charge recharging order and a state evaluation function of a background server, and determining the processing quantity of the telephone charge recharging order in a set time by taking the minimum objective function as a target, the method realizes the determination of the processing quantity of the telephone charge recharging order from two aspects of the running state of the server and the delay condition of the telephone charge recharging order, not only ensures the running reliability of the server, but also avoids the occurrence of larger delay condition.
Additional features and advantages will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings;
FIG. 1 is a flow chart of a telephone fee recharge order scheduling method based on asynchronous programming;
fig. 2 is a flowchart of specific steps of construction of a state evaluation value of a background server;
FIG. 3 is a flowchart showing specific steps in the construction of real-time requirements of a screening monitoring device;
FIG. 4 is a flowchart showing the specific steps for determining the processing amount of a telephone charge recharge order in a set time for the asynchronous processing mode;
FIG. 5 is a block diagram of a computer system.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present disclosure.
In order to solve the above problems, as shown in fig. 1, according to an aspect of the present invention, there is provided a method for scheduling a telephone charge recharge order based on asynchronous programming, which is characterized by comprising:
s11, processing the telephone fee recharging order by adopting a synchronous processing mode, and taking the processing time of the telephone fee recharging order of a single telephone fee as synchronous processing time;
the synchronization processing time is determined according to the time required for the telephone charge order to be received and processed.
S12, acquiring the quantity to be processed of the telephone charge order in real time, and entering a step S13 when the asynchronous processing mode is required to be adopted based on the quantity to be processed, the synchronous processing time and the historical abnormal order data;
in this embodiment, the processing time of the telephone charge order can be greatly reduced by adopting the asynchronous processing mode, but at the same time, when an abnormal order exists, the capturing efficiency of the related flow of the abnormal order is slower by adopting the abnormal processing mode, so that comprehensive consideration is required.
It is understood that the historical abnormal order data includes an abnormal rate, an abnormal number, an abnormal rate and an abnormal number of the historical orders within a latest preset time.
Specific examples of specific steps for determining whether an asynchronous processing mode is needed are:
s21, determining the delay time of synchronous processing of the telephone charge recharging order based on the quantity to be processed and the synchronous processing time, and entering step S22 when the synchronous processing mode is determined to be adopted based on the delay time of the synchronous processing;
specifically, when the delay time is long, it is determined that an exception handling mode is required.
S22, determining the abnormal rate and the abnormal quantity of the historical orders in the latest preset time based on the historical abnormal order data, determining a recent abnormal evaluation value based on the abnormal rate and the abnormal quantity of the historical orders in the latest preset time, and determining whether an asynchronous processing mode can be adopted or not based on the recent abnormal evaluation value, if yes, entering a step S23, if no, outputting a large quantity of abnormal orders, and checking a recharging system;
s23, determining the abnormality rate and the abnormality number of the historical orders based on the historical abnormal order data, determining an abnormality evaluation value based on the abnormality rate and the abnormality number of the historical orders, and determining whether an asynchronous processing mode can be adopted or not based on the abnormality evaluation value, if so, entering a step S24, and if not, outputting a large number of abnormal orders, and checking a recharging system;
s24, determining a comprehensive abnormal evaluation value based on the abnormal evaluation value and the recent abnormal evaluation value, determining a delay time threshold based on the comprehensive abnormal evaluation value, and determining that an asynchronous processing mode is needed when the delay time is larger than the delay time threshold.
The larger the comprehensive abnormality evaluation value is, the larger the delay time threshold is, that is, when the comprehensive abnormality evaluation value is larger, the possibility of occurrence of abnormality again is larger, so that the asynchronous processing mode can be adopted only when the delay time is larger.
It is to be understood that, before the determination of the integrated evaluation value, the determination of the integrated evaluation value is also required to be performed based on the abnormal evaluation value and the recent abnormal evaluation value, and when the asynchronous processing mode is determined to be applicable based on the integrated abnormal evaluation value.
In this embodiment, whether an asynchronous processing mode is needed is determined based on the number to be processed, the synchronous processing time and the historical abnormal order data, so that not only the single delay time of the telephone charge order is considered, but also the situation of the historical abnormal order of the telephone charge order is considered, the timely processing and the unified consideration of the delay time of the abnormal order are realized, and the comprehensiveness and the accuracy of evaluation are ensured.
S13, processing the telephone charge order by adopting an asynchronous processing mode, acquiring the running state data of a background server for processing the telephone charge order and the quantity to be processed of the telephone charge order in real time according to a set frequency, determining a state evaluation value of the background server, and entering a step S14 when the processing mode of the telephone charge order is determined to be optimized based on the state evaluation value;
in this embodiment, when the number of to-be-processed orders for telephone fee recharging is large, the proficiency of the orders processed in the preset time can be determined by the number of the orders processed in the unit time, so that the determination of the current running state and the running state after the preset time can be realized, and when the running state is abnormal, for example, the situation of insufficient memory of the server exists, the processing mode of the telephone fee recharging orders needs to be optimized.
It should be noted that, the setting frequency is determined according to the average time of the single processing of the telephone fee recharging order in the asynchronous processing mode, where the shorter the average time of the single processing of the telephone fee recharging order in the asynchronous processing mode is, the smaller the setting frequency is.
Specifically, as shown in fig. 2, the specific steps of the construction of the state evaluation value of the background server are as follows:
s31, determining the memory occupancy rate, the CPU occupancy rate and the running temperature of the background server based on the running state data of the background server;
s32, determining whether the processing mode of the telephone charge recharging order needs to be optimized or not based on any one of the memory occupancy rate, the CPU occupancy rate and the running temperature of the background server, if so, entering a step S34, and if not, entering a step S33;
when any one of the memory occupancy rate, the CPU occupancy rate and the running temperature of the background server is larger than a preset magnitude, the processing mode of the telephone charge recharging order is determined to be optimized.
S33, determining the processing quantity of the background server in the future designated time based on the to-be-processed quantity of the telephone charge order and the processing quantity of the telephone charge order processed in an asynchronous processing mode, determining the predicted memory occupancy, the predicted CPU occupancy and the predicted operation temperature of the background server after the designated time by combining the memory occupancy, the CPU occupancy and the operation temperature of the background server, and determining whether the processing mode of the telephone charge order needs to be optimized based on any one of the predicted memory occupancy, the predicted CPU occupancy and the predicted operation temperature of the background server, if yes, entering the step S34, otherwise, not needing to optimize the processing mode of the telephone charge order;
s34, carrying out evaluation of a real-time state evaluation value of the background server based on the memory occupancy, the CPU occupancy and the running temperature of the background server, carrying out evaluation of a predicted state evaluation value of the background server based on the predicted memory occupancy, the predicted CPU occupancy and the predicted running temperature of the background server, and carrying out determination of a state evaluation value based on the real-time state evaluation value and the predicted state evaluation value.
It can be understood that the real-time state evaluation value is evaluated by adopting a model of an ISSA-LSSVM algorithm, and the specific construction steps are as follows:
step1: analyzing and processing the parameters, determining 3 input parameters, and carrying out data processing and feature extraction;
step2: performing coding classification on the processed data;
step3: and setting the current iteration number of SSA as T, optimizing the LSSVM by using the SSA, and optimizing the characteristic variables and parameters required by modeling.
Step4: dividing the whole data set into a training set and a testing set, and determining an algorithm prediction result;
step5: and determining a real-time state evaluation value based on the prediction model.
SSA is a sparrow algorithm which is obtained by observing sparrow foraging, and during the foraging process, the sparrow population is divided into a finder and a follower, and the finder and the follower can be mutually converted. The discoverer provides food orientation and position for the population, and the follower follows the discoverer to acquire food. Peripheral sparrows are more susceptible to attack by foreign species, so in order to ensure their safety, the peripheral sparrows need to be constantly positioned close to the safety area.
In the whole sparrow population, a finder searches things and affects the behavior of a jointer, so that the finder plays a vital role in the searching process, but the SSA algorithm has insufficient control of step length and has great randomness, after the optimal feasible solution is searched, other sparrow individuals can quickly get close to the optimal solution, the algorithm can not effectively control global exploration and local searching in a searching interval, the finder has small step length in the initial iteration stage and easily falls into a local extremum in the searching process, and therefore, self-adaptive weights are introduced to control the searching step length, wherein the calculation formula of the self-adaptive weights is as follows:
wherein Gaussian (0, 1) is a random number which obeys a Gaussian function and has a value range of 0 to 1, M is the maximum iteration number, and t is the current iteration number.
Further illustrating, when any one of the memory occupancy rate, the CPU occupancy rate, and the operating temperature of the background server is greater than a set early warning value, it is determined that the processing manner of the telephone charge recharging order needs to be optimized.
In this embodiment, the running state data of the background server for processing the telephone fee recharging order and the number to be processed of the telephone fee recharging order are collected and processed in real time according to the set frequency, the state evaluation value of the background server is determined, and whether the processing mode needs to be optimized or not is determined based on the running state value, so that the optimization determination of the processing mode from two aspects of the real-time running state and the predicted running state of the server is realized, and the occurrence of the problem of blocking or dead halt of the server caused by long-time processing of the telephone fee recharging order is avoided.
S14, determining the maximum processing quantity of the telephone charge order in the set time based on the state evaluation value, constructing an objective function by using the delay function of the telephone charge order and the state evaluation function of the background server and taking the minimum objective function as a target, and determining the processing quantity of the telephone charge order in the set time by the asynchronous processing mode.
It will be appreciated that the maximum number of treatments of the telephone charge order within a set time is related to the state evaluation value, wherein the greater the state evaluation value the less the telephone charge order.
As shown in fig. 4, the specific steps for determining the processing number of the telephone fee recharging order in the set time of the asynchronous processing mode are as follows:
s41, determining a delay function of the processing quantity of the telephone charge order and the average delay time of the telephone charge order in a set time by the asynchronous processing mode based on the quantity to be processed of the telephone charge order;
the larger the number of processes, the shorter the average delay time.
S42, determining a state evaluation function between the processing quantity of the telephone charge recharging orders of the asynchronous processing mode in set time and the predicted state evaluation value of the background server based on the real-time running state value of the background server;
the larger the number of processes, the larger the predicted state evaluation value of the background server, and the more likely the background server is to be down.
S43, constructing an objective function based on the state evaluation function and the delay function, and determining the processing quantity of the telephone charge recharging orders of the asynchronous processing mode in a set time by taking the lowest objective function as a target.
Specifically, in the actual operation process, a swarm intelligent algorithm including but not limited to PSO and the like can be adopted for optimization.
On the other hand, when the objective function is constructed, the limiting quantity of the predicted state evaluation value must also be considered, if and only if the limiting quantity of the predicted state evaluation value is smaller than that of the predicted state evaluation value, the determination of the processing quantity of the telephone charge recharging order in the set time by the asynchronous processing mode can be performed with the lowest objective of the objective function.
In this embodiment, the maximum processing number is used as a constraint condition, and an objective function is constructed by using a delay function of the telephone charge order and a state evaluation function of a background server, and the minimum objective function is used to determine the processing number of the telephone charge order in a set time by the asynchronous processing mode, so that the determination of the processing number of the telephone charge order from two aspects of the running state of the server and the delay condition of the telephone charge order is realized, the running reliability of the server is ensured, and the occurrence of a larger delay condition is avoided.
In another aspect, as shown in fig. 5, in an embodiment of the present application, there is provided a computer system, including: a communicatively coupled memory and processor, and a computer program stored on the memory and capable of running on the processor, characterized by: and executing the telephone fee recharging order scheduling method based on asynchronous programming when the processor runs the computer program.
In another aspect, the present invention provides a computer storage medium having a computer program stored thereon, which when executed in a computer causes the computer to perform a telephone charge recharge order scheduling method based on asynchronous programming as described above.
The telephone fee recharging order scheduling method based on asynchronous programming specifically comprises the following steps:
s101, processing the telephone fee recharging order by adopting a synchronous processing mode, and taking the processing time of the telephone fee recharging order of a single telephone fee as synchronous processing time;
s102, acquiring the quantity to be processed of the telephone charge order in real time, and entering step S103 when the asynchronous processing mode is required to be adopted based on the quantity to be processed, synchronous processing time and historical abnormal order data;
s103, processing the telephone charge order by adopting an asynchronous processing mode, acquiring the running state data of a background server for processing the telephone charge order and the quantity to be processed of the telephone charge order in real time according to a set frequency, determining a state evaluation value of the background server, and entering step S104 when the processing mode of the telephone charge order is determined to be optimized based on the state evaluation value;
s104, determining the maximum processing quantity of the telephone charge order in the set time based on the state evaluation value, constructing an objective function by using the delay function of the telephone charge order and the state evaluation function of the background server and taking the minimum objective function as a target, and determining the processing quantity of the telephone charge order in the set time by the asynchronous processing mode.
It should be noted that, determining that an asynchronous processing mode needs to be adopted based on the number to be processed, the synchronous processing time and the historical abnormal order data specifically includes:
s201, determining the delay time of synchronous processing of the telephone charge recharging order based on the quantity to be processed and the synchronous processing time, and entering step S202 when the synchronous processing mode is determined to be adopted based on the delay time of the synchronous processing;
s202, determining the abnormality rate and the abnormality number of the historical orders in the latest preset time based on the historical abnormal order data, determining a recent abnormal evaluation value based on the abnormality rate and the abnormality number of the historical orders in the latest preset time, and outputting a large number of abnormal orders when the recent abnormal evaluation value determines that an asynchronous processing mode cannot be adopted, wherein the number of abnormal orders is required to be checked for a recharging system.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The foregoing is merely one or more embodiments of the present description and is not intended to limit the present description. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present description, is intended to be included within the scope of the claims of the present description.

Claims (10)

1. A telephone fee recharging order scheduling method based on asynchronous programming is characterized by comprising the following steps:
processing the telephone fee recharging order by adopting a synchronous processing mode, and taking the processing time of the telephone fee recharging order of a single telephone fee as synchronous processing time;
acquiring the quantity to be processed of the telephone charge order in real time, and entering the next step when the asynchronous processing mode is required to be adopted based on the quantity to be processed, synchronous processing time and historical abnormal order data;
processing the telephone charge order by adopting an asynchronous processing mode, collecting the running state data of a background server for processing the telephone charge order and the quantity to be processed of the telephone charge order in real time according to a set frequency, determining a state evaluation value of the background server, and entering a next step when the processing mode of the telephone charge order is determined to be optimized based on the state evaluation value;
and determining the maximum processing quantity of the telephone charge order in the set time based on the state evaluation value, constructing an objective function by using the delay function of the telephone charge order and the state evaluation function of the background server and using the minimum objective function as a target, and determining the processing quantity of the telephone charge order in the set time by using the asynchronous processing mode.
2. The telephone charge refill order scheduling method of claim 1 wherein the synchronization processing time is determined based on the time required for the telephone charge refill order to be received from completion of processing.
3. The telephone charge refill order scheduling method as claimed in claim 1, wherein the history abnormal order data includes an abnormal rate, an abnormal number, an abnormal rate and an abnormal number in a latest preset time of the history order.
4. A telephone fee recharge order scheduling method as defined in claim 3, wherein the specific steps of determining whether an asynchronous processing mode is required are:
determining the delay time of synchronous processing of the telephone charge recharging order based on the quantity to be processed and the synchronous processing time, and entering the next step when the asynchronous processing mode is required to be adopted based on the delay time of synchronous processing;
determining the abnormal rate and the abnormal quantity of the historical orders in the latest preset time based on the historical abnormal order data, determining a recent abnormal evaluation value based on the abnormal rate and the abnormal quantity of the historical orders in the latest preset time, and determining whether an asynchronous processing mode can be adopted or not based on the recent abnormal evaluation value, if so, entering the next step, and if not, outputting more abnormal orders, wherein the check of a recharging system is required;
determining the abnormal rate and the abnormal quantity of the historical orders based on the historical abnormal order data, determining an abnormal evaluation value based on the abnormal rate and the abnormal quantity of the historical orders, and determining whether an asynchronous processing mode can be adopted or not based on the abnormal evaluation value, if so, entering the next step, and if not, outputting more abnormal orders, and checking a recharging system;
and determining a comprehensive abnormal evaluation value based on the abnormal evaluation value and the recent abnormal evaluation value, determining a delay time threshold based on the comprehensive abnormal evaluation value, and determining that an asynchronous processing mode is required when the delay time is greater than the delay time threshold.
5. The telephone charge order scheduling method according to claim 4, wherein before the determination of the integrated evaluation value, the determination of the integrated evaluation value is further required based on the abnormality evaluation value and the recent abnormality evaluation value, and when it is determined that an asynchronous processing mode is available based on the integrated abnormality evaluation value, the determination of the integrated evaluation value is further performed.
6. The telephone charge refill order scheduling method of claim 1, wherein the set frequency is determined according to an average time of a single process of the telephone charge refill order in an asynchronous process, wherein the shorter the average time of the single process of the telephone charge refill order in an asynchronous process, the lower the set frequency.
7. The telephone charge recharging order scheduling method as claimed in claim 1, wherein the specific steps of the construction of the state evaluation value of the background server are as follows:
s31, determining the memory occupancy rate, the CPU occupancy rate and the running temperature of the background server based on the running state data of the background server;
s32, determining whether the processing mode of the telephone charge recharging order needs to be optimized or not based on any one of the memory occupancy rate, the CPU occupancy rate and the running temperature of the background server, if so, entering a step S34, and if not, entering a step S33;
s33, determining the processing quantity of the background server in the future designated time based on the to-be-processed quantity of the telephone charge order and the processing quantity of the telephone charge order processed in an asynchronous processing mode, determining the predicted memory occupancy, the predicted CPU occupancy and the predicted operation temperature of the background server after the designated time by combining the memory occupancy, the CPU occupancy and the operation temperature of the background server, and determining whether the processing mode of the telephone charge order needs to be optimized based on any one of the predicted memory occupancy, the predicted CPU occupancy and the predicted operation temperature of the background server, if yes, entering the step S34, otherwise, not needing to optimize the processing mode of the telephone charge order;
s34, carrying out evaluation of a real-time state evaluation value of the background server based on the memory occupancy, the CPU occupancy and the running temperature of the background server, carrying out evaluation of a predicted state evaluation value of the background server based on the predicted memory occupancy, the predicted CPU occupancy and the predicted running temperature of the background server, and carrying out determination of a state evaluation value based on the real-time state evaluation value and the predicted state evaluation value.
8. The telephone charge order scheduling method according to claim 7, wherein when any one of the memory occupancy, the CPU occupancy, and the operating temperature of the background server is greater than a set early warning value, it is determined that the processing manner of the telephone charge order needs to be optimized.
9. A computer system, comprising: a communicatively coupled memory and processor, and a computer program stored on the memory and capable of running on the processor, characterized by: the processor, when executing the computer program, performs a telephone fee recharge order scheduling method based on asynchronous programming as claimed in any one of claims 1-8.
10. A computer storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform a telephone charge recharge order scheduling method based on asynchronous programming as claimed in any one of claims 1 to 8.
CN202310487968.0A 2023-05-04 2023-05-04 Telephone fee recharging order scheduling method and system based on asynchronous programming Active CN116503138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310487968.0A CN116503138B (en) 2023-05-04 2023-05-04 Telephone fee recharging order scheduling method and system based on asynchronous programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310487968.0A CN116503138B (en) 2023-05-04 2023-05-04 Telephone fee recharging order scheduling method and system based on asynchronous programming

Publications (2)

Publication Number Publication Date
CN116503138A true CN116503138A (en) 2023-07-28
CN116503138B CN116503138B (en) 2023-10-31

Family

ID=87329947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310487968.0A Active CN116503138B (en) 2023-05-04 2023-05-04 Telephone fee recharging order scheduling method and system based on asynchronous programming

Country Status (1)

Country Link
CN (1) CN116503138B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110213829A1 (en) * 2010-03-01 2011-09-01 International Business Machines Corporation Programmatically determining an execution mode for a request dispatch utilizing historic metrics
CN105159782A (en) * 2015-08-28 2015-12-16 北京百度网讯科技有限公司 Cloud host based method and apparatus for allocating resources to orders
CN108512869A (en) * 2017-02-24 2018-09-07 贵州白山云科技有限公司 A kind of method and system handling concurrent data using asynchronization mode
US20200387945A1 (en) * 2019-06-06 2020-12-10 Shopify Inc. Methods and systems for electronic commerce order management
CN113297357A (en) * 2021-07-27 2021-08-24 北京健康之家科技有限公司 Asynchronous processing method and device for business process data
US20210271681A1 (en) * 2017-10-05 2021-09-02 Baton Systems, Inc. Analysis of data streams consumed by high-throughput data ingestion and partitioned across permissioned database storage
CN114090207A (en) * 2021-11-19 2022-02-25 阳光财产保险股份有限公司 Asynchronous task execution method
CN114528084A (en) * 2022-02-18 2022-05-24 拉扎斯网络科技(上海)有限公司 Task scheduling method and device, storage medium and computer equipment
CN114626718A (en) * 2022-03-15 2022-06-14 东北农业大学 Agricultural machinery scheduling method based on order resource sharing and agricultural machinery resource sharing
CN114862500A (en) * 2022-04-14 2022-08-05 中国联合网络通信集团有限公司 Order processing method and device, electronic equipment and storage medium
WO2022228176A1 (en) * 2021-04-25 2022-11-03 阿里巴巴(中国)有限公司 Order processing method, and device and storage medium
CN115344370A (en) * 2022-08-18 2022-11-15 平安科技(深圳)有限公司 Task scheduling method, device, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110213829A1 (en) * 2010-03-01 2011-09-01 International Business Machines Corporation Programmatically determining an execution mode for a request dispatch utilizing historic metrics
CN105159782A (en) * 2015-08-28 2015-12-16 北京百度网讯科技有限公司 Cloud host based method and apparatus for allocating resources to orders
CN108512869A (en) * 2017-02-24 2018-09-07 贵州白山云科技有限公司 A kind of method and system handling concurrent data using asynchronization mode
US20210271681A1 (en) * 2017-10-05 2021-09-02 Baton Systems, Inc. Analysis of data streams consumed by high-throughput data ingestion and partitioned across permissioned database storage
US20200387945A1 (en) * 2019-06-06 2020-12-10 Shopify Inc. Methods and systems for electronic commerce order management
WO2022228176A1 (en) * 2021-04-25 2022-11-03 阿里巴巴(中国)有限公司 Order processing method, and device and storage medium
CN113297357A (en) * 2021-07-27 2021-08-24 北京健康之家科技有限公司 Asynchronous processing method and device for business process data
CN114090207A (en) * 2021-11-19 2022-02-25 阳光财产保险股份有限公司 Asynchronous task execution method
CN114528084A (en) * 2022-02-18 2022-05-24 拉扎斯网络科技(上海)有限公司 Task scheduling method and device, storage medium and computer equipment
CN114626718A (en) * 2022-03-15 2022-06-14 东北农业大学 Agricultural machinery scheduling method based on order resource sharing and agricultural machinery resource sharing
CN114862500A (en) * 2022-04-14 2022-08-05 中国联合网络通信集团有限公司 Order processing method and device, electronic equipment and storage medium
CN115344370A (en) * 2022-08-18 2022-11-15 平安科技(深圳)有限公司 Task scheduling method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗彤;: "客票系统在线订票接口方案", 铁路通信信号工程技术, no. 09, pages 55 - 58 *

Also Published As

Publication number Publication date
CN116503138B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
US10877863B2 (en) Automatic prediction system for server failure and method of automatically predicting server failure
US11328206B2 (en) Systems and methods for optimizing operations of computing devices using deep neural networks
Louen et al. A new framework for remaining useful life estimation using support vector machine classifier
EP3039587A1 (en) Identifying anomalous behavior of a monitored entity
US20220327018A1 (en) Behavior-driven die management on solid-state drives
CN111242323A (en) Proactive automated system and method for repairing sub-optimal operation of a machine
CN117096504B (en) Temperature control method and device, equipment and storage medium
Shoukourian et al. Using machine learning for data center cooling infrastructure efficiency prediction
CN111754024A (en) Power industry time sequence prediction method and device based on regression analysis
CN115269108A (en) Data processing method, device and equipment
CN112398700B (en) Service degradation method and device, storage medium and computer equipment
CN116503138B (en) Telephone fee recharging order scheduling method and system based on asynchronous programming
CN113673822B (en) Elastic scheduling method and system
JP2009217555A (en) Device for determining abnormality of network
CN112612587A (en) Spark platform dynamic resource allocation method for flow analysis
CN116307632B (en) Hydropower station economic load distribution method and device, electronic equipment and storage medium
CN117193500A (en) LSTM-based server dynamic management method, system, terminal and storage medium
CN110874601A (en) Method for identifying running state of equipment, and state identification model training method and device
CN112685390B (en) Database instance management method and device and computing equipment
CN112700043B (en) Load prediction method, load prediction device, computer readable storage medium and electronic equipment
CN113591266A (en) Method and system for analyzing fault probability of electric energy meter
JP6347825B2 (en) Episodic mining apparatus and method
Papataxiarhis et al. Event correlation and forecasting over high-dimensional streaming sensor data
CN117458544B (en) Optimization cooperative regulation and control method based on multi-type energy storage resource dynamic aggregation
Papataxiarhis et al. Event correlation and forecasting over multivariate streaming sensor data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant