A method, device and equipment for processing outgoing billing tasks
Patent Information
- Application Number
- CN202110308762.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-23
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-03-23
AI Technical Summary
In the existing technology, the processing of accounting tasks through manual auditing has problems of low efficiency and poor accuracy, resulting in low efficiency and poor accuracy in processing accounting tasks.
By obtaining the running status data of the target accounting task, the model is determined based on the preset processing mode, the target processing mode is determined, including waiting mode, normal mode and restart mode, and the accounting task is processed according to the processing mode.
It improves the processing efficiency and accuracy of accounting tasks and avoids the problems of low efficiency and poor accuracy of manual audit methods.
Smart Images

Figure CN115114106B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device and equipment for processing an outgoing payment task. Background Art
[0002] With the continuous development of Internet technology, mobile operators provide users with more and more types of services. At the same time, the number of mobile communication users has also grown in scale, which has led to a high complexity in the processing of outgoing services. How to ensure the accuracy of outgoing service processing has become the focus of operators.
[0003] At present, in the process of processing billing tasks, manual audit points can be deployed at key links to manually check the processing logs of billing tasks. If problems are found in the billing tasks, the problems can be manually located and solved to ensure the smooth progress of the billing tasks.
[0004] However, due to the large amount of data in the billing task, the manual auditing method has the problem of low efficiency. In addition, when locating and solving problems manually, there are also problems such as untimely problem discovery and poor problem location accuracy. Therefore, when processing billing tasks through manual auditing, the efficiency of billing task processing is low and the accuracy is poor. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a method, device and equipment for processing billing tasks, so as to solve the problem of low billing task processing efficiency and poor accuracy caused by processing billing tasks by manual audit in the prior art.
[0006] To solve the above technical problems, the embodiments of the present invention are implemented as follows:
[0007] In a first aspect, an embodiment of the present invention provides a method for processing an outgoing payment task, the method comprising: acquiring operation status data corresponding to a target outgoing payment task, the operation status data comprising operation status data of a device executing the target outgoing payment task and operation status data of a database; determining a target processing mode of the target outgoing payment task based on a preset processing mode determination model and the operation status data, the target processing mode comprising a waiting mode, a normal mode, and a restart mode; and processing the target outgoing payment task based on the target processing mode.
[0008] In a second aspect, an embodiment of the present invention provides a device for processing a payment task, the device comprising: a data acquisition module, configured to acquire operation status data corresponding to a target payment task, the operation status data comprising operation status data of a device executing the target payment task and operation status data of a database; a mode determination module, configured to determine a target processing mode of the target payment task based on a preset processing mode determination model and the operation status data, the target processing mode comprising a waiting mode, a normal mode, and a restart mode; and a task processing module, configured to process the target payment task based on the target processing mode.
[0009] In a third aspect, an embodiment of the present invention provides a device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for processing an outgoing payment task provided in the above embodiment are implemented.
[0010] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the payment task processing method provided in the above embodiment are implemented.
[0011] It can be seen from the technical solution provided by the above embodiment of the present invention that the embodiment of the present invention obtains the running status data corresponding to the target account-out task, the running status data includes the running status data of the device executing the target account-out task and the running status data of the database, determines the target processing mode of the target account-out task based on the preset processing mode determination model and the running status data, and processes the target account-out task based on the target processing mode. In this way, the target processing mode of the target account-out task can be determined in time through the preset processing mode determination model and the running status data, and the target account-out task can be processed through the target processing mode, thereby avoiding the problem of low task processing efficiency existing in the manual audit method, and the target processing mode can be determined by the preset processing mode determination model and the running status data, which can also improve the accuracy of the mode determination of the target account-out task, that is, the processing efficiency and processing accuracy of the target account-out task can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0013] Figure 1A flowchart of a method for processing an outgoing payment task according to the present invention;
[0014] Figure 2 A flowchart of another method for processing an outgoing payment task according to the present invention;
[0015] Figure 3 This is a structural schematic diagram of a payment task processing device of the present invention;
[0016] Figure 4 The present invention is a schematic diagram of the structure of a payment task processing device. DETAILED DESCRIPTION
[0017] Embodiments of the present invention provide a method, device and equipment for processing an outgoing payment task.
[0018] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0019] Embodiment 1
[0020] like Figure 1 As shown, an embodiment of the present invention provides a method for processing an outgoing task. The execution subject of the method may be a server, and the server may be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps. The method may specifically include the following steps:
[0021] In S102, the running status data corresponding to the target payment task is obtained.
[0022] The target payment task may be any one or more unfinished payment tasks, and the operation status data may include device operation status data and database operation status data for executing the target payment task. The device operation status data may include status data such as CPU utilization, number of device processes, and device space usage status. The database operation status data may be usage status data of a database required to process the target payment task, etc.
[0023] In practice, with the continuous development of Internet technology, mobile operators provide users with more and more types of services. At the same time, the number of mobile communication users has also grown in scale, which leads to a high complexity in the processing of outgoing billing services. How to ensure the accuracy of outgoing billing service processing has become the focus of operators.
[0024] At present, in the process of processing billing tasks, manual audit points can be deployed at key links to manually check the processing logs of billing tasks. If problems are found in the billing tasks, the problems can be manually located and solved to ensure the smooth progress of the billing tasks.
[0025] However, due to the large amount of data in the billing task, the manual audit method has the problem of low efficiency, and the manual location and solution of problems also have the problem of delayed problem discovery and poor problem location accuracy. Therefore, the billing task processing efficiency and accuracy are low when the billing task is processed by manual audit. To this end, the embodiment of the present invention provides another implementation scheme, which may specifically include the following contents:
[0026] The payment process may include multiple payment tasks, and there may be task dependencies between payment tasks. A device may process one or more payment tasks, and a database may provide data access services for one or more payment tasks.
[0027] For example, it is assumed that the payment process includes payment task 1, payment task 2 and payment task 3, wherein payment task 3 has a task dependency relationship with payment task 1, that is, payment task 3 can be started only after payment task 1 is processed, the task execution device of payment task 1 and payment task 3 can be device 1, the task execution device of payment task 2 can be device 2, database 1 can provide data access services for payment task 1 and payment task 3, and database 2 can provide data access services for payment task 2 and payment task 3.
[0028] Assuming that the payment task 1 is the target payment task, the operation logs of the device 1 and the database 1 can be obtained, and the corresponding operation status data can be obtained according to the operation logs as the operation status data of the target payment task.
[0029] Alternatively, assuming that payment task 3 is the target payment task, the operation logs of device 1, database 1, and database 2 may be obtained, and corresponding operation status data (including device operation status data and database operation status data) may be obtained according to the operation logs as the operation status data of the target payment task.
[0030] In addition, when the target payment task is in a pending state, first running status data of a payment task having a task dependency relationship with the target payment task may also be obtained. When the first running status data includes running status data greater than a preset status threshold, the first running status data may be used as the running status data of the target payment task.
[0031] For example, assuming that the outgoing task 3 is the target outgoing task, and the outgoing task 3 is in a pending state, and the outgoing task 3 has a task dependency relationship with the outgoing task 1, when the outgoing task 3 is in the pending state, the first running status data of the outgoing task 1, that is, the running status data of the device 1 and the database 1, can be obtained. When the running status data of the device 1 and the database 1 contain a value greater than a preset status threshold, the first running status data can be used as the running status data of the outgoing task 3.
[0032] In addition, the error logs and alarm information of the device and / or database executing the target payment task can also be obtained, and the error logs and alarm information are captured with preset keywords, and the captured data corresponding to the preset keywords are used as the running status data of the target payment task.
[0033] The method for acquiring the running status data of the target payment task is an optional and feasible determination method. In actual application scenarios, there may be a variety of different acquisition methods, which may vary according to different actual application scenarios. The embodiment of the present invention does not specifically limit this.
[0034] In S104, a target processing mode of the target payment task is determined based on the preset processing mode determination model and the operation status data.
[0035] The target processing mode may include a waiting mode, a normal mode and a restart mode, and the preset processing mode determination model may be a model for determining the processing mode of the billing task based on the running status data.
[0036] In implementation, the preset processing mode is used to determine the model, which is based on the historical operating status data and historical processing modes of historical payment tasks, and the model obtained by training the preset machine learning algorithm is taken as an example.
[0037] For example, the historical operation status data and historical processing modes of all completed historical payment tasks within a preset model training period (such as 3 months, half a year, etc.) can be obtained, and the neural network algorithm is trained based on the obtained data to obtain a trained processing mode determination model. The operation status data of the target payment task is input into the trained processing mode determination model to obtain the target processing mode of the target payment task.
[0038] The historical running status data of the historical payment tasks can be used to perform dynamic model analysis on the running status data of the target payment tasks, thereby improving the accuracy of determining the target processing mode of the target payment tasks.
[0039] In addition, there may be multiple processing mode determination models, which may vary according to different actual application scenarios. The embodiment of the present invention does not specifically limit the processing mode determination model.
[0040] In S106, the target payment task is processed based on the target processing mode.
[0041] In implementation, when the billing process starts, it can be judged whether the target billing task has an abnormality. For example, during the processing of the target billing task, it can be judged whether the target billing task has an abnormality through the relationship between the month-on-month change range of the running time of the target billing task and the running time of the billing task in the previous cycle and the preset change range threshold 1, the relationship between the year-on-year change range of the running time of the target billing task and the billing task in the same cycle of the previous year and the preset change range threshold 2, the relationship between the CPU usage and the preset threshold 1, whether the device space usage status is an overloaded state, whether the process processing status is a "fake live and real dead" state (that is, the process is not updated within the preset time period, etc.), etc.
[0042] If the target payment task is abnormal, it can be determined whether manual intervention is required. If manual intervention is not required, the above S102 to S106 can be executed to process the target payment task through the target processing mode.
[0043] The embodiment of the present invention provides a method for processing an outgoing account task, which obtains running status data corresponding to a target outgoing account task, the running status data includes running status data of a device executing the target outgoing account task and running status data of a database, determines a target processing mode of the target outgoing account task based on a preset processing mode determination model and running status data, and processes the target outgoing account task based on the target processing mode. In this way, the target processing mode of the target outgoing account task can be determined in a timely manner through the preset processing mode determination model and running status data, and the target outgoing account task can be processed through the target processing mode, thereby avoiding the problem of low task processing efficiency existing in the manual audit method, and determining the target processing mode through the preset processing mode determination model and running status data can also improve the accuracy of the mode determination of the target outgoing account task, that is, the processing efficiency and processing accuracy of the target outgoing account task can be improved.
[0044] Embodiment 2
[0045] like Figure 2 As shown, an embodiment of the present invention provides a method for processing an outgoing task. The execution subject of the method may be a server, and the server may be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps. The method may specifically include the following steps:
[0046] In S202, the running status data corresponding to the target payment task is obtained.
[0047] The specific processing process of the above S202 can refer to the relevant content of S102 in the above embodiment 1, which will not be repeated here.
[0048] In S204, first indicator data corresponding to a preset operating status indicator in the operating status data is obtained.
[0049] Among them, the operation status indicators may include database operation status indicators, device operation status indicators and task processing status indicators, etc.
[0050] In implementation, for example, database operation status indicators may include database usage status, database log status, etc., device operation status indicators may include CPU utilization, number of device processes, device storage space usage status, process processing status, device log status, etc., and task processing status indicators may include task start time, task processing duration, task delay duration, etc., among which the database log status indicators may be update status indicators, output status and other indicators of the database log.
[0051] The first indicator data corresponding to the above-mentioned running status indicator in the running status data of the target payment task can be obtained.
[0052] In S206, the current processing status of the target payment task is obtained.
[0053] The current processing status may be a pending status, a processing status, a dormant waiting status, a completed status, etc.
[0054] In S208 , a target processing mode of the target outgoing task is determined based on the first indicator data, a preset processing mode determination model, and a current processing state of the target outgoing task.
[0055] In implementation, in actual applications, the processing methods of the above S208 can be various. The following provides an optional implementation method, and the specific processing can refer to the following steps 1 to 3:
[0056] Step 1: Obtain a target number of first indicator data that is greater than a preset alarm threshold.
[0057] Step 2: Determine the health of the target payment task based on the preset weight, preset risk value and target quantity of the operating status indicator.
[0058] In implementation, the first indicator data corresponding to each operating status indicator may be obtained, and a target number of first indicator data greater than a preset alarm threshold corresponding to the operating status indicator may be obtained among the first indicator data of each operating status indicator.
[0059] The frequency of occurrence of the first indicator data greater than the preset alarm threshold within the preset detection period can be obtained, and the health level corresponding to each operating status indicator can be determined through the preset weight, preset risk value and occurrence frequency of each operating status indicator, that is, the quotient of the target number and the preset detection period.
[0060] For example, the result of (preset weight*preset risk value) / occurrence frequency of each operating status indicator can be determined as the health degree corresponding to each operating status indicator. Then, the sum of the health degrees of the operating status indicators is determined as the health degree of the target account-out task.
[0061] For example, within a preset detection period (such as 10 minutes), the running status data of the target account issuance task includes CPU utilization 1, CPU utilization 2, CPU utilization 3, device process number 1, and device process number 2. Assuming that the preset alarm threshold corresponding to the CPU utilization is threshold 1, and the preset alarm threshold corresponding to the device process number is threshold 2, assuming that CPU utilization 1 and CPU utilization 2 are greater than threshold 1, and device process number 1 is greater than threshold 2, then the target number corresponding to the CPU utilization is 2, and the occurrence frequency of the CPU utilization running status indicator is 2 / 10=0.5, that is, the occurrence frequency is once every 5 minutes, and the target number corresponding to the device process number is 1, and the occurrence frequency of the device process number running status indicator is 1 / 10=0.1, that is, the occurrence frequency is once every 10 minutes.
[0062] Taking the operating status indicators of CPU utilization, number of device processes, database usage status, device storage space usage status, process processing status, and device log status as examples, based on the above method, the occurrence frequency of each operating status indicator, as well as the preset weight and preset risk value are determined, and the obtained data can be shown in Table 1 below.
[0063] Table 1
[0064] Operation status indicators Preset Weights Default risk value Frequency Health CPU Utilization 0.1 1 1times / 5min 0.02 Number of device processes 0.1 1 1times / 1min 0.1 Database usage status 0.2 2 1times / 1min 0.4 Device storage space usage status 0.1 1 1times / 10min 0.01 Processing status 0.3 3 1times / 1min 0.9 Device Log Status 0.2 2 1times / 1min 0.4
[0065] The sum of the health of the above operating status indicators can be used as the health of the target payment task, that is, the health of the target payment task can be 0.02+0.1+0.4+0.01+0.9+0.4=1.83.
[0066] Step 3: Determine a target processing mode of the target outgoing task based on the health of the target outgoing task and the current processing status of the target outgoing task.
[0067] In implementation, for example, when the health of the target outgoing task is not greater than a preset health threshold and the current processing state of the target outgoing task is a pending state or a processing state, the target processing mode of the target outgoing task is determined to be a normal mode.
[0068] When the health of the target payment task is not greater than a preset health threshold and the current processing state of the target payment task is a dormant waiting state, it is determined that the target processing mode of the target payment task is a restart mode.
[0069] When the health of the target payment task is greater than a preset health threshold, the target processing mode of the target payment task is determined to be a waiting mode.
[0070] Alternatively, when the health of the target payment task is greater than a preset health threshold, the health of the target payment task, the current processing status of the target payment task, and the first indicator data greater than a preset alarm threshold may be sent to a preset management party.
[0071] Since there are multiple situations that cause the health of the target account outgoing task to be greater than the preset health threshold, whether the processing mode of the target account outgoing task needs to be changed can be determined by the preset management party. Therefore, the health of the target account outgoing task, the current processing status of the target account outgoing task, and the first indicator data greater than the preset alarm threshold can be sent to the preset management party, and the preset management party determines the target processing mode of the target account outgoing task based on the first indicator data greater than the preset alarm threshold and the current processing status of the target account outgoing task.
[0072] When the health of the target payment task is not greater than a preset health threshold, the health of the target payment task and the current processing status of the target payment task are sent to a preset management party.
[0073] Receive a mode determination instruction sent by a preset management party, and determine a target processing mode of the target payment task based on the mode determination instruction.
[0074] For example, when the health of the target payment task is greater than the preset health threshold, a message can be sent to the preset management party: "Dear system administrator XXX, the monthly account-monthly points calculation step is abnormal. The reason is: the log status is abnormal (or the database resource is busy, the process status is abnormal, etc.), the health exceeds the threshold, and the current monthly account-monthly points calculation step is in the processing state. Do you want to start the waiting mode or restart mode? Reply with letter A to start the waiting mode, and reply with letter B to start the restart mode. If you do not reply, the system will alarm again after 1 minute."
[0075] When the health of the target payment task is not greater than the preset health threshold, you can send a message to the preset management party: "Dear system administrator XXX, the health of the monthly account-monthly points calculation step is normal. The current monthly account-monthly points calculation step is in a dormant waiting state. Do you want to start the restart mode? Reply with the letter B to start the restart mode."
[0076] Among them, "Monthly Account - Monthly Points Calculation" is the target account-out task, and "Abnormal Log Status (or Database Resources are Busy, Abnormal Process Status, etc.)" is the operating status indicator corresponding to the first indicator data that is greater than the preset alarm threshold.
[0077] The target processing mode of the target payment task may be determined according to the mode determination instruction sent by the preset management party. For example, if the received mode determination instruction is "A", the target processing mode may be determined to be the waiting mode.
[0078] In addition, the mode determination instruction may also include a first processing mode of the target payment task determined by the preset management party, and target verification information obtained by processing the first processing mode based on a preset verification algorithm.
[0079] For example, the preset management device can generate target verification information A+ corresponding to the first processing mode based on a preset verification algorithm (such as a preset hash algorithm) and a first processing mode (such as instruction "A"), and the preset management device can send the instruction "A" and the target verification information "A+" to the local area.
[0080] The local system may determine the first verification information based on a preset verification algorithm and the first processing mode, and when the first verification information matches the target verification information, determine the first processing mode as the target processing mode of the target payment task.
[0081] For example, the local can generate the first verification information "A-" based on the preset verification algorithm and the received first processing mode. If the first verification information "A-" matches the target verification information "A+", it can be determined that the mode determination instruction has not been tampered with during the transmission process, and the first processing mode (i.e., the waiting mode corresponding to the instruction "A") can be determined as the target processing mode of the target account withdrawal task.
[0082] Command injection is an attack method that achieves destructive purposes by executing host operating system commands in an application. If an application passes unsafe user input to the system command parser (shell), a command attack may occur.
[0083] Generally speaking, operating system commands passed by applications are given the same permissions as the applications. Therefore, if there is no reasonable defense mechanism, it will cause great harm to the operating system. Command injection attack vulnerabilities are one of the common vulnerabilities in PHP applications. Command injection is different from code injection. The purpose of code injection is to inject external code into the application itself and execute it with the application; the target of command injection is the server host.
[0084] Therefore, when the network element side is enabled to receive SMS instructions (that is, the first processing mode in the mode determination instruction of the preset management party), the first processing mode can be processed based on the preset verification algorithm (such as the first processing mode can be encrypted) to obtain the target verification information corresponding to the first processing mode, and then the network element side sends the first processing mode and the target verification information to the local area.
[0085] The local part queries the database instruction encryption algorithm to obtain the corresponding preset verification algorithm, determines the first verification information based on the preset verification algorithm and the first processing mode, and when the first verification information matches the target verification information, determines the first processing mode as the target processing mode of the target payment task, and processes the target payment task according to the target processing mode.
[0086] In S210 , the target payment task is processed based on the target processing mode.
[0087] In implementation, the target processing mode may also include a waterfall mode, that is, a mode in which multiple tasks are processed simultaneously in multiple locations.
[0088] In S212, when the target payment task is in a task completion state, the preset alarm threshold is updated based on the first indicator data of the target payment task.
[0089] In implementation, when the target payment task is in a task completion state, first indicator data of the target payment task can be obtained. For example, the first indicator data can be the start time, end time, delay time, CPU utilization, number of device processes, database usage status, device storage space usage status, process processing status, device log status, etc. of the target payment task. Based on the first indicator data, the warning alarm threshold can be updated.
[0090] For example, if the target payment task has a large change, it will have a great impact on the task processing time. Then, if the target processing mode of the next target payment task is determined based on the unupdated preset alarm threshold, there will be a problem of poor mode determination accuracy. Therefore, the preset alarm threshold can be updated based on the start time and end time of the target payment task, and the next round of target payment tasks can be processed based on the updated preset alarm threshold.
[0091] For example, taking the first indicator data as task processing time (i.e., task processing time determined by start time and end time), the advance warning threshold corresponding to the task processing time may be 10 minutes. Assuming that the target payment task has a large change (such as adding a to-be-processed object), when the target payment task is in the completed state, the start time and end time of the target payment task may be obtained, and the task completion time of the target payment task may be determined, such as 20 minutes, and 20 minutes may be used as the updated advance warning threshold.
[0092] When the next round of payment process (such as next month) begins, 20 minutes may be used as a warning alarm threshold corresponding to the task processing time, and based on the preset alarm threshold, the target payment task of this round may be processed.
[0093] In addition, when the target payment task is in the task completion state, a visualization view of the operation status of each link of the target payment task can also be provided. For example, after each payment task in the payment process is in the task completion state, the first indicator data of each payment task can be obtained, and based on the preset report generation model and the first indicator data, a multi-dimensional report corresponding to the payment process is generated and output. Among them, the multi-dimensional report can include task processing time, delay time, completion time, payment time ranking, etc.
[0094] Analyze the target billing task from the time dimension and process dimension, dynamically display the changes of the target billing task during the processing, and provide an efficient and convenient tool for monitoring the billing process and analyzing and locating problems.
[0095] In addition, the target billing task in the billing process of a certain city can be comprehensively evaluated through the operation status indicator data such as CPU utilization, number of device processes, database usage status, device storage space usage status, process processing status, and device log status (for example, the cities can be ranked based on the health of the target billing task in the billing process of each city), so as to determine whether the target billing task in the billing process of the city needs to be optimized and improved according to the evaluation results. By determining the health of the target billing task determined by multiple operation status indicators and the target processing mode of the target billing task, intelligent regulation of the target billing task can be achieved to prevent too many billing tasks from being executed at the same time, which will concentrate system resources and achieve an optimal daily and monthly billing process.
[0096] The embodiment of the present invention provides a method for processing an outgoing account task, which obtains running status data corresponding to a target outgoing account task, the running status data includes running status data of a device executing the target outgoing account task and running status data of a database, determines a target processing mode of the target outgoing account task based on a preset processing mode determination model and running status data, and processes the target outgoing account task based on the target processing mode. In this way, the target processing mode of the target outgoing account task can be determined in a timely manner through the preset processing mode determination model and running status data, and the target outgoing account task can be processed through the target processing mode, thereby avoiding the problem of low task processing efficiency existing in the manual audit method, and determining the target processing mode through the preset processing mode determination model and running status data can also improve the accuracy of the mode determination of the target outgoing account task, that is, the processing efficiency and processing accuracy of the target outgoing account task can be improved.
[0097] Embodiment 3
[0098] The above is a method for processing a payment task provided by an embodiment of the present invention. Based on the same idea, an embodiment of the present invention also provides a device for processing a payment task. Figure 3 shown.
[0099] The payment task processing device includes: a data acquisition module 301, a mode determination module 302 and a task processing module 303, wherein:
[0100] A data acquisition module 301 is used to acquire operation status data corresponding to a target payment task, wherein the operation status data includes operation status data of a device executing the target payment task and operation status data of a database;
[0101] A mode determination module 302, configured to determine a target processing mode of the target payment task based on a preset processing mode determination model and the operation status data, wherein the target processing mode includes a waiting mode, a normal mode, and a restart mode;
[0102] The task processing module 303 is used to process the target payment task based on the target processing mode.
[0103] In this embodiment of the present invention, the mode determination module 302 is used to:
[0104] Acquire first indicator data corresponding to preset operating status indicators in the operating status data, wherein the operating status indicators include database operating status indicators, device operating status indicators, and task processing status indicators;
[0105] Obtain the current processing status of the target payment task;
[0106] A target processing mode of the target outgoing task is determined based on the first indicator data, the preset processing mode determination model, and a current processing state of the target outgoing task.
[0107] In this embodiment of the present invention, the mode determination module 302 is used to:
[0108] Obtaining a target number of the first indicator data that is greater than a preset alarm threshold;
[0109] Determining the health of the target payment task based on the preset weight of the operating status indicator, the preset risk value and the target quantity;
[0110] A target processing mode of the target outgoing task is determined based on the health of the target outgoing task and the current processing state of the target outgoing task.
[0111] In this embodiment of the present invention, the mode determination module 302 is used to:
[0112] When the health of the target outgoing task is not greater than a preset health threshold and the current processing state of the target outgoing task is a pending state or a processing state, determining that the target processing mode of the target outgoing task is the normal mode;
[0113] When the health of the target payment task is not greater than a preset health threshold and the current processing state of the target payment task is a dormant waiting state, determining that the target processing mode of the target payment task is the restart mode;
[0114] When the health of the target payment task is greater than a preset health threshold, the target processing mode of the target payment task is determined to be the waiting mode.
[0115] In this embodiment of the present invention, the mode determination module 302 is used to:
[0116] When the health of the target payment task is greater than a preset health threshold, the health of the target payment task, the current processing status of the target payment task, and the first indicator data greater than a preset alarm threshold are sent to a preset management party;
[0117] If the health of the target payment task is not greater than a preset health threshold, sending the health of the target payment task and the current processing status of the target payment task to the preset management party;
[0118] A mode determination instruction sent by the preset management party is received, and a target processing mode of the target payment task is determined based on the mode determination instruction.
[0119] In the embodiment of the present invention, the mode determination instruction includes the first processing mode of the target payment task determined by the management party, and the target verification information obtained by processing the first processing mode based on a preset verification algorithm. The mode determination module 302 is used to:
[0120] Determining first verification information based on the preset verification algorithm and the first processing mode;
[0121] When the first verification information matches the target verification information, the first processing mode is determined as the target processing mode of the target payment task.
[0122] In an embodiment of the present invention, the device further includes:
[0123] The updating module is used to update the preset alarm threshold based on the first indicator data of the target payment task when the target payment task is in a task completion state.
[0124] The embodiment of the present invention provides a billing task processing device, which obtains the running status data corresponding to the target billing task, the running status data includes the running status data of the device executing the target billing task and the running status data of the database, determines the target processing mode of the target billing task based on the preset processing mode determination model and the running status data, and processes the target billing task based on the target processing mode. In this way, the target processing mode of the target billing task can be determined in time by the preset processing mode determination model and the running status data, and the target billing task can be processed by the target processing mode, thereby avoiding the problem of low task processing efficiency existing in the manual audit method, and the target processing mode can be determined by the preset processing mode determination model and the running status data, and the mode determination accuracy of the target billing task can also be improved, that is, the processing efficiency and processing accuracy of the target billing task can be improved.
[0125] Embodiment 4
[0126] Figure 4 A schematic diagram of the hardware structure of a device for implementing each embodiment of the present invention is provided.
[0127] The device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411. Those skilled in the art will appreciate that Figure 4The device structure shown in the figure does not constitute a limitation on the device, and the device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0128] The processor 410 is configured to: obtain operation status data corresponding to a target payment task, the operation status data including operation status data of a device executing the target payment task and operation status data of a database; determine a target processing mode of the target payment task based on a preset processing mode determination model and the operation status data, the target processing mode including a waiting mode, a normal mode, and a restart mode; and process the target payment task based on the target processing mode.
[0129] In addition, the processor 410 is further configured to: obtain first indicator data corresponding to a preset operating status indicator in the operating status data, where the operating status indicator includes a database operating status indicator, a device operating status indicator, and a task processing status indicator; obtain a current processing status of the target account issuance task; and determine a target processing mode of the target account issuance task based on the first indicator data, the preset processing mode determination model, and the current processing status of the target account issuance task.
[0130] In addition, the processor 410 is further configured to: obtain a target number of the first indicator data that is greater than a preset alarm threshold; determine the health of the target payment task based on a preset weight of the operating status indicator, a preset risk value, and the target number; and determine a target processing mode of the target payment task based on the health of the target payment task and a current processing state of the target payment task.
[0131] In addition, the processor 410 is further configured to: determine that a target processing mode of the target payment task is the normal mode when the health of the target payment task is not greater than a preset health threshold and the current processing state of the target payment task is a pending state or a processing state; determine that a target processing mode of the target payment task is the restart mode when the health of the target payment task is not greater than a preset health threshold and the current processing state of the target payment task is a dormant waiting state; and determine that a target processing mode of the target payment task is the waiting mode when the health of the target payment task is greater than a preset health threshold.
[0132] In addition, the processor 410 is further configured to: when the health of the target payment task is greater than a preset health threshold, send the health of the target payment task, the current processing state of the target payment task, and the first indicator data greater than a preset alarm threshold to a preset management party; when the health of the target payment task is not greater than the preset health threshold, send the health of the target payment task and the current processing state of the target payment task to the preset management party; receive a mode determination instruction sent by the preset management party, and determine a target processing mode of the target payment task based on the mode determination instruction.
[0133] In addition, the processor 410 is further configured to: determine first verification information based on the preset verification algorithm and the first processing mode; and determine the first processing mode as the target processing mode of the target payment task when the first verification information matches the target verification information.
[0134] In addition, the processor 410 is further configured to: when the target payment task is in a task completion state, update the preset alarm threshold based on the first indicator data of the target payment task.
[0135] An embodiment of the present invention provides a device, which obtains running status data corresponding to a target account-out task, the running status data includes running status data of a device executing the target account-out task and running status data of a database, determines a target processing mode of the target account-out task based on a preset processing mode determination model and running status data, and processes the target account-out task based on the target processing mode. In this way, the target processing mode of the target account-out task can be determined in a timely manner through the preset processing mode determination model and running status data, and the target account-out task can be processed through the target processing mode, thereby avoiding the problem of low task processing efficiency existing in the manual audit method, and determining the target processing mode through the preset processing mode determination model and running status data can also improve the accuracy of the mode determination of the target account-out task, that is, the processing efficiency and processing accuracy of the target account-out task can be improved.
[0136] It is understood that in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 410 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 401 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
[0137] The device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0138] The audio output unit 403 can convert the audio data received by the RF unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. In addition, the audio output unit 403 can also provide audio output related to a specific function performed by the device 400 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, etc.
[0139] The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 can be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode.
[0140] The device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and / or the backlight when the device 400 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 405 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0141] The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0142] The user input unit 407 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 4071 or near the touch panel 4071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 410, receives the command sent by the processor 410 and executes it. In addition, the touch panel 4071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0143] Furthermore, the touch panel 4071 may be overlaid on the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it is transmitted to the processor 410 to determine the type of the touch event. Then, the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Figure 4 In the embodiment, the touch panel 4071 and the display panel 4061 are used as two independent components to realize the input and output functions of the device. However, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated to realize the input and output functions of the device, which is not limited here.
[0144] The interface unit 408 is an interface for connecting an external device to the apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the apparatus 400 or may be used to transmit data between the apparatus 400 and an external device.
[0145] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 409 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0146] The processor 410 is the control center of the device. It uses various interfaces and lines to connect various parts of the entire device. It executes various functions of the device and processes data by running or executing software programs and / or modules stored in the memory 409, and calling data stored in the memory 409, so as to monitor the device as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.
[0147] The device 400 may also include a power supply 411 (such as a battery) for supplying power to each component. Preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0148] Preferably, an embodiment of the present invention further provides a device, including a processor 410, a memory 409, and a computer program stored in the memory 409 and executable on the processor 410. When the computer program is executed by the processor 410, each process of the above-mentioned payment task processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0149] Embodiment 5
[0150] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned method for processing an outgoing task is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0151] An embodiment of the present invention provides a computer-readable storage medium, which obtains operation status data corresponding to a target account-out task, the operation status data includes operation status data of a device that executes the target account-out task and operation status data of a database, determines a target processing mode of the target account-out task based on a preset processing mode determination model and operation status data, and processes the target account-out task based on the target processing mode. In this way, the target processing mode of the target account-out task can be determined in a timely manner through the preset processing mode determination model and operation status data, and the target account-out task can be processed through the target processing mode, thereby avoiding the problem of low task processing efficiency existing in the manual audit method, and determining the target processing mode through the preset processing mode determination model and operation status data can also improve the accuracy of the mode determination of the target account-out task, that is, the processing efficiency and processing accuracy of the target account-out task can be improved.
[0152] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0153] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0156] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0157] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0158] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0159] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0160] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0161] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A method for processing an outgoing payment task, It is characterized in that The method comprises: Acquire operation status data corresponding to the target payment task, wherein the operation status data includes operation status data of a device executing the target payment task and operation status data of a database; Acquire the first indicator data corresponding to the preset operating status indicator in the operating status data, wherein the operating status indicator includes a database operating status indicator, a device operating status indicator and a task processing status indicator; the database operating status indicator includes a database use status indicator and a database log status indicator, the database log status indicator includes an update status indicator and an output status indicator of the database log, and the task processing status indicator includes a task start time, a task processing duration and a task delay duration; Obtaining the current processing status of the target payment task, wherein the current processing status includes a pending status, a processing status, a dormant waiting status, and a completed status; Determine a target processing mode of the target payment task based on the first indicator data, a preset processing mode determination model, and a current processing state of the target payment task, wherein the target processing mode includes a waiting mode, a normal mode, and a restart mode; Based on the target processing mode, processing the target payment task; The determining the target processing mode of the target outgoing task based on the first indicator data, a preset processing mode determination model, and the current processing state of the target outgoing task includes: obtaining a target number of the first indicator data that is greater than a preset alarm threshold; determining the health of the target outgoing task based on a preset weight of the operating state indicator, a preset risk value, and the target number; and determining the target processing mode of the target outgoing task based on the health of the target outgoing task and the current processing state of the target outgoing task.
2. The method according to claim 1, It is characterized in that The determining, based on the health of the target outgoing task and the current processing state of the target outgoing task, a target processing mode of the target outgoing task includes: When the health of the target outgoing task is not greater than a preset health threshold and the current processing state of the target outgoing task is a pending state or a processing state, determining that the target processing mode of the target outgoing task is the normal mode; When the health of the target payment task is not greater than a preset health threshold and the current processing state of the target payment task is a dormant waiting state, determining that the target processing mode of the target payment task is the restart mode; When the health of the target payment task is greater than a preset health threshold, the target processing mode of the target payment task is determined to be the waiting mode.
3. The method according to claim 1, It is characterized in that The determining, based on the health of the target outgoing task and the current processing state of the target outgoing task, a target processing mode of the target outgoing task includes: When the health of the target payment task is greater than a preset health threshold, the health of the target payment task, the current processing status of the target payment task, and the first indicator data greater than a preset alarm threshold are sent to a preset management party; If the health of the target payment task is not greater than a preset health threshold, sending the health of the target payment task and the current processing status of the target payment task to the preset management party; A mode determination instruction sent by the preset management party is received, and a target processing mode of the target payment task is determined based on the mode determination instruction.
4. The method according to claim 3, It is characterized in that The mode determination instruction includes a first processing mode of the target payment task determined by the preset management party, and target verification information obtained by processing the first processing mode based on a preset verification algorithm. The determining the target processing mode of the target payment task based on the mode determination instruction includes: Determining first verification information based on the preset verification algorithm and the first processing mode; When the first verification information matches the target verification information, the first processing mode is determined as the target processing mode of the target payment task.
5. The method according to claim 1, It is characterized in that The method further comprises: When the target payment task is in a task completion state, the preset alarm threshold is updated based on the first indicator data of the target payment task.
6. A payment task processing device, It is characterized in that The device comprises: A data acquisition module, used to acquire operation status data corresponding to a target payment task, wherein the operation status data includes operation status data of a device executing the target payment task and operation status data of a database; a mode determination module, configured to obtain first indicator data corresponding to a preset operation status indicator in the operation status data, wherein the operation status indicator includes a database operation status indicator, a device operation status indicator, and a task processing status indicator; the database operation status indicator includes a database use status indicator and a database log status indicator, wherein the database log status indicator includes an update status indicator and an output status indicator of a database log, and the task processing status indicator includes a task start time, a task processing duration, and a task delay duration; obtain a current processing status of the target payment task, wherein the current processing status includes a pending status, a processing status, a dormant waiting status, and a completed status; determine a target processing mode of the target payment task based on the first indicator data, a preset processing mode determination model, and the current processing status of the target payment task, wherein the target processing mode includes a waiting mode, a normal mode, and a restart mode; A task processing module, used for processing the target payment task based on the target processing mode; In the process of determining the target processing mode of the target outgoing task based on the first indicator data, the preset processing mode determination model and the current processing state of the target outgoing task, the mode determination module is specifically configured to: obtain a target number of the first indicator data that is greater than a preset alarm threshold; determine the health of the target outgoing task based on a preset weight of the operating state indicator, a preset risk value and the target number; and determine the target processing mode of the target outgoing task based on the health of the target outgoing task and the current processing state of the target outgoing task.
7. A device, It is characterized in that The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for processing an outgoing payment task as claimed in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the payment task processing method according to any one of claims 1 to 5 are implemented.
