CN115331412A - Resource processing method and device - Google Patents

Resource processing method and device Download PDF

Info

Publication number
CN115331412A
CN115331412A CN202210957748.5A CN202210957748A CN115331412A CN 115331412 A CN115331412 A CN 115331412A CN 202210957748 A CN202210957748 A CN 202210957748A CN 115331412 A CN115331412 A CN 115331412A
Authority
CN
China
Prior art keywords
resource
historical
residual
resources
sub
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
CN202210957748.5A
Other languages
Chinese (zh)
Other versions
CN115331412B (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.)
AlipayCom Co ltd
Original Assignee
Alipay Hangzhou Information 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210957748.5A priority Critical patent/CN115331412B/en
Publication of CN115331412A publication Critical patent/CN115331412A/en
Application granted granted Critical
Publication of CN115331412B publication Critical patent/CN115331412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B31/00Predictive alarm systems characterised by extrapolation or other computation using updated historic data
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • Emergency Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

An embodiment of the present specification provides a resource processing method and an apparatus, where the resource processing method includes: determining historical residual resources in a resource pool of a target project, wherein the historical residual resources are the residual resources of the resource pool in a historical time period; determining a first resource threshold value and a second resource threshold value according to the historical residual resources; acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval; and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold value and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold value. The method and the device can realize real-time monitoring of the residual resources in the resource pool, further reduce the noise of the early warning information sent to the target project, and therefore improve the effectiveness of early warning.

Description

Resource processing method and device
Technical Field
The embodiment of the specification relates to the technical field of internet application, in particular to a resource processing method.
Background
Along with the operation process of a project developed by a business party, the account corresponding to the project is continuously paid out as a funding account, so that the balance in the account is gradually reduced, the balance in the account is usually pre-warned by adopting a fixed threshold setting mode, and under the condition that the balance in the account is smaller than the set fixed threshold, pre-warning information is sent to the account to remind the business party of timely recharging the account.
However, the fixed threshold setting mode cannot consider the fluctuation situation of the account and the project operation situation, which causes the noise of the early warning information sent to the account to be large, and further causes the effectiveness of early warning to be low. Therefore, an effective solution to the above problems is needed.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a resource processing method. One or more embodiments of the present specification also relate to a resource processing apparatus, a computing device, a computer-readable storage medium, and a computer program, so as to solve the technical deficiencies of the prior art.
According to a first aspect of embodiments of the present specification, there is provided a resource processing method, including:
determining historical residual resources in a resource pool of a target project, wherein the historical residual resources are residual resources of the resource pool in a historical time period;
determining a first resource threshold value and a second resource threshold value according to the historical residual resources;
acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval;
and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold.
According to a second aspect of embodiments of the present specification, there is provided a resource processing apparatus including:
a first determination module configured to determine a historical remaining resource in a resource pool of a target project, wherein the historical remaining resource is a remaining resource of the resource pool in a historical time period;
a second determination module configured to determine a first resource threshold and a second resource threshold based on the historical remaining resources;
the acquisition module is configured to acquire the current residual resources in the resource pool and the middle residual resources of the resource pool in the last preset time interval according to the preset time interval;
a sending module configured to send out first type resource adjustment information to the target project when it is determined that the current remaining resource is less than or equal to the first resource threshold and a difference between the current remaining resource and the intermediate remaining resource is greater than or equal to the second resource threshold.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is used for storing computer-executable instructions, and the processor is used for executing the computer-executable instructions, and the computer-executable instructions realize the steps of the resource processing method when being executed by the processor.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the resource processing method described above.
According to a fifth aspect of embodiments herein, there is provided a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned resource processing method.
One embodiment of the present specification provides a resource processing method, which determines a historical remaining resource in a resource pool of a target project, where the historical remaining resource is a remaining resource of the resource pool in a historical time period; determining a first resource threshold value and a second resource threshold value according to the historical residual resources; acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval; and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold value and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold value.
According to the method, the historical residual resources of the resource pool in the historical time period are determined, the first resource threshold and the second resource threshold are determined according to the historical residual resources, the fluctuation condition of the resource pool in the historical time period and the running condition of the target project are considered, the first resource threshold and the second resource threshold can be related to the historical condition of the target project, the effectiveness and the accuracy of the first resource threshold and the second resource threshold are increased, then, the comparison is carried out according to the current residual resources, the first resource threshold, the difference value between the current residual resources and the middle residual resources and the second resource threshold, the historical condition of the resource pool is considered by the sent first type resource adjusting information, the early warning of the target project is related to the historical condition of the resource pool of the target project, the early warning is more accurate, the noise of the early warning information sent to the target project is reduced, and the effectiveness of the early warning is improved.
Drawings
Fig. 1 is a schematic view of a scenario of a resource processing method according to an embodiment of the present specification;
FIG. 2 is a flow diagram of a resource processing method provided by an embodiment of the present specification;
FIG. 3 is a diagram illustrating a funding account for a target project in a method for processing resources according to an embodiment of the present disclosure in a collapsed state;
FIG. 4 is a diagram illustrating a funding account of a target project in a resource processing method according to an embodiment of the present disclosure in a banked state;
FIG. 5 is a flowchart illustrating a resource processing method applied to an offer according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a resource processing apparatus according to an embodiment of the present specification;
fig. 7 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be implemented in many ways other than those specifically set forth herein, and those skilled in the art will appreciate that the present description is susceptible to similar generalizations without departing from the scope of the description, and thus is not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context.
In practical applications, when a business party develops items such as sales promotion activities and preferential activities, a funding account is usually set for the item, and the user-oriented preferential amount in the activity item is paid from the funding account, that is, as the activity item progresses, the balance in the funding account gradually decreases, so as to avoid the problem that the activity item is affected due to insufficient balance in the funding account, the balance in the funding account needs to be monitored, so as to implement early warning to the business party when the balance is insufficient.
However, the common warning method is to set a fixed balance threshold value, and when the balance in the funding account reaches the balance threshold value, the warning is performed. The method can only set a single fixed value, and is set by depending on experience, so that the effectiveness of early warning is easily influenced along with the time, the noise of early warning is increased, the attention degree of a business party to the early warning is reduced, and the progress of an activity project is influenced. Therefore, an effective technical solution is needed to solve the above problems.
In the present specification, a resource processing method is provided, and the present specification relates to a resource processing apparatus, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
Referring first to fig. 1, fig. 1 is a schematic view illustrating a scenario of a resource processing method according to an embodiment of the present specification.
Fig. 1 includes a computer terminal installed or loaded with a balance early warning system, where the balance early warning system may determine balance early warning information according to a historical balance of an account of a target item and send the balance early warning information to the account, where the target item refers to a target business party, and an account of the target item is a funding account of the target business party.
In specific implementation, the balance early warning system may receive a current balance (for example, the current balance received by the account at a current preset time interval), an intermediate balance (for example, the intermediate balance of the account at a previous preset time interval), and a historical balance (the balance of the account at a historical time period) of an account of a target item, which are input by the computer terminal, and calculate the first balance threshold and the second balance threshold according to the historical balance; and comparing the current balance with the first balance threshold value, and comparing the difference value between the current balance and the intermediate balance with the second balance threshold value, and outputting balance early warning information when the current balance is less than or equal to the first balance threshold value and the difference value between the current balance and the intermediate balance is greater than or equal to the second balance threshold value. Therefore, the target project is reminded to recharge the account of the target project, and the effectiveness of early warning is improved.
In fig. 1, the balance early warning system may obtain the historical balance of the account within 2 months of the history, and obtain the current balance of the account every 30 minutes, specifically, the current balance is 1:00, the balance early warning system can obtain the current balance, and the balance early warning system is before 30 minutes, that is, the balance obtained by 12. The balance early warning system can calculate a first balance threshold value and a second balance threshold value according to the historical balance of the account within 2 months; when the current balance is less than or equal to the first balance threshold value and the difference value between the current balance and the middle balance is greater than or equal to the second balance threshold value, outputting balance early warning information and sending the balance early warning information to the computer terminal, and outputting the balance early warning information by the computer terminal to remind a target project to recharge an account of the target project. Because the historical balance reflects the historical fluctuation condition of the account of the target project, the first balance threshold and the second balance threshold calculated according to the historical balance can also be associated with the historical condition of the account, the effectiveness of balance early warning information is further improved, and the effectiveness and the accuracy of early warning are improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a resource processing method according to an embodiment of the present specification, which includes the following steps.
Step 202: determining historical residual resources in a resource pool of a target project, wherein the historical residual resources are residual resources of the resource pool in a historical time period.
The target item can be understood as a target business party, such as a merchant who issues a coupon or holds other promotional activities; then the resource pool of the target project can be understood as the funding account of the target business party, and the historical remaining resources in the resource pool of the target project can be understood as the balance in the funding account of the target business party, for example, when a merchant performs a coupon issuing activity, the funding account originally has 100 ten thousand yuan, the coupon issuing activity costs 20 ten thousand yuan, and the balance in the funding account of the merchant is 80 ten thousand yuan.
Furthermore, the historical time period may be understood as any time period before the current time, for example, the current time is 6 months, and then all time periods between 6 months may be understood as the historical time period.
Taking three months before the historical time period of 6 months as an example, the historical residual resource can be understood as the balance of the funding account of the target service party in the historical three months.
Based on this, a funding account for the target business party may be determined, the funding account funding the promotional program conducted by the target business party, and a balance of the funding account at any time period prior to the current time may be determined.
Further, in order to enable the acquired historical residual resources to effectively reflect the historical fluctuation condition of the resource pool and further achieve more effective early warning of the current residual resources in the resource pool, when the historical residual resources in the resource pool of the target project are determined, the historical time period may be divided into at least two sub-historical time periods, and the sub-residual resources of the at least two sub-historical time periods are respectively determined, which is specifically implemented as follows:
determining a historical time period, and dividing the historical time period into at least two sub-historical time periods;
determining the sub-residual resources of the resource pool of the target project in the at least two sub-historical time periods;
and determining the historical residual resources in the resource pool of the target project according to the sub residual resources of the at least two sub historical time periods.
Where a sub-history period refers to a period into which a history period is divided, it is understood that at least two sub-history periods constitute a history period, and each sub-history period may be the same, for example, in the case where the history period is 3 months, the history period may be divided into 3 sub-history periods, each of which is 1 month.
For example, when the history period is 3 months, the history period may be divided into 2 sub-history periods, the 1 st sub-history period is 1 month, and the 2 nd sub-history period is 2 months.
The remaining resources of at least two sub-history time periods may be understood as the balance corresponding to each of the at least two sub-history time periods. For example, in the case where the history period is 3 months of 5 to 7 months, the history period is divided into 3 sub-history periods, where 1 sub-history period is provided for each of 5, 6, and 7 months, the balance for 5 month is 50 ten thousand yuan, the balance for 6 month is 70 ten thousand yuan, and the balance for 7 month is 40 ten thousand yuan.
Based on the above, a historical time period can be determined based on a preset value, the historical time period is divided into at least two sub-historical time periods, the sub-residual resources of the target project developed by the service party in each sub-historical time period are respectively determined, and the residual resources of the resource pool of the target project in the historical time period can be determined according to the determined sub-residual resources in each sub-historical time period.
For example, the historical time period is determined to be 3 months, the 3 months are divided into 3 sub-historical time periods, each sub-historical time period is 1 month, the sub-residual resources of the resource pool of the target project in each of the 3 months are respectively determined to be a, b and c, and the historical residual resource d in the resource pool of the target project is determined according to the sub-residual resources a, b and c.
In summary, the history time period is divided into at least two sub-history time periods, the history residual resource is determined according to the sub-residual resource of each sub-history time period in the at least two sub-history time periods, the fluctuation condition of the resource pool in the history time period can be better reflected, the history fluctuation condition of the resource pool can be considered when the early warning threshold value is subsequently determined, and the early warning effectiveness is further improved.
Further, in order to enable the historical remaining resources to more accurately reflect the remaining resources of the resource pool in the historical time period, so as to determine the early warning threshold according to the fluctuation condition of the resource pool in the historical time period, and further achieve the effectiveness of early warning, when determining the historical remaining resources in the resource pool of the target item according to the sub remaining resources of at least two sub historical time periods, the historical remaining resources may be determined by calculating the median of the sub remaining resources of at least two sub historical time periods, and the specific implementation manner is as follows:
and sequencing the sub residual resources of the at least two sub historical time periods, determining a target sub residual resource at a middle position according to a sequencing result, and determining the target sub residual resource as the historical residual resource in the resource pool of the target project.
The sorting means that the sub remaining resources of at least two sub history time periods are arranged in order, which may be from large to small, or from small to large, and the embodiments of the present specification are not limited herein. Taking the example of sorting the balances of 5 to 7 months, the balance of 5 months is 50 ten thousand yuan for 5 months, 70 ten thousand yuan for 6 months and 40 ten thousand yuan for 7 months, and sorting the balances in descending order to obtain sorting results of 70, 50 and 40.
The target sub remaining resource at the middle position may be understood as a median of the sorted sub remaining resources, and it may be understood that, when there are 2 sub remaining resources at the middle position, an average value of the 2 sub remaining resources is taken as the target sub remaining resource.
Based on the above, the sub-residual resources corresponding to each of the at least two sub-history time periods may be sorted, and the median of the sorted sub-residual resources is used as the history residual resources in the resource pool of the target item.
According to the above example, the sub-surplus resources are respectively a, b and c, wherein a is larger than b and is larger than c, the sub-surplus resources a, b and c are arranged in descending order, the obtained sequencing result is a, b and c, the target sub-surplus resource in the middle position is b, and b is determined as the historical surplus resource in the resource pool of the target project.
Or, in the case that the history time period is divided into 4 sub-history time periods, that is, the history time period is 4 months, the 4 months are divided into 4 sub-history time periods, each sub-history time period is 1 month, sub-remaining resources x, y, m, n corresponding to each sub-history time period in the 4 sub-history time periods are determined, wherein x is greater than y and greater than m and greater than n, the sub-remaining resources are arranged in the descending order, the obtained ordering result is x, y, m, n, the sub-remaining resources at the middle position are y and m, the target sub-remaining resources at the middle position are determined to be the average value (y + m)/2 of y and m, and (y + m)/2 is determined to be the history remaining resources in the resource pool of the target item.
In conclusion, the historical time period is divided into at least two sub-historical time periods, the median of the sub-residual resources corresponding to each sub-historical time period is used as the historical residual resources, the concentration trend of the residual resources of the resource pool of the target project in the historical time period can be reflected, the early warning baseline is hooked with the nearest fluctuation of the resource pool, the setting and the service operation disconnection are avoided, a data basis is provided for the subsequent calculation of the early warning threshold, the early warning threshold is further associated with the historical fluctuation condition of the resource pool, and the early warning effectiveness is further improved.
Further, in order to enable the historical remaining resources to more accurately reflect the remaining resources of the resource pool in the historical time period, so as to determine the early warning threshold according to the fluctuation condition of the resource pool in the historical time period, and further achieve the effectiveness of early warning, when determining the historical remaining resources in the resource pool of the target item according to the sub remaining resources of at least two sub historical time periods, the historical remaining resources may also be determined by calculating the average value of the sub remaining resources of at least two sub historical time periods, and the specific implementation manner is as follows:
and calculating the average value of the sub residual resources of the at least two sub historical time periods to obtain an average value sub residual resource, and determining the average value sub residual resource as the historical residual resource in the resource pool of the target project.
Based on the above, the sub-residual resources corresponding to each sub-historical time period can be determined, the average value of at least two sub-residual resources is calculated to obtain the average value sub-residual resources, and the average value sub-residual resources are used as the historical residual resources in the resource pool of the target project.
According to the above example, the sub surplus resources are respectively a, b and c, the average value of the sub surplus resources is calculated to be (a + b + c)/3, so as to obtain the average value sub surplus resource (a + b + c)/3, and the average value sub surplus resource is the historical surplus resource in the resource pool of the target project.
In summary, the average value of the sub-surplus resources corresponding to each sub-historical time period is used as the historical surplus resources, so that the sub-surplus resources in each sub-historical time period can be fully considered, a data basis is provided for the subsequent calculation of the early warning threshold, the early warning threshold is further associated with the historical fluctuation condition of the resource pool, and the early warning effectiveness is further improved.
Step 204: and determining a first resource threshold value and a second resource threshold value according to the historical residual resources.
Specifically, after determining the historical residual resources in the resource pool of the target project, in order to associate the early warning threshold with the historical fluctuation condition of the residual resources in the resource pool, and further improve the effectiveness of early warning, the first resource threshold and the second resource threshold used for early warning may be determined according to the historical residual resources.
The first resource threshold and the second resource threshold may be understood as early warning thresholds, the first resource threshold may be a threshold representing a current balance of the funding account, the second resource threshold may be a threshold representing a difference between the current balance of the funding account at the current time and a middle balance of the funding account at a previous time, and the current time and the previous time may be separated by a preset time.
Based thereon, a first resource threshold and a second resource threshold can be determined based on historical remaining resources in the resource pool of the target project.
Further, in order to determine the early warning threshold according to the historical condition of the resource pool and dynamically adjust the early warning threshold, when the first resource threshold and the second resource threshold are determined according to the historical remaining resources, the early warning threshold may be determined according to the historical remaining resources and a preset value, and the specific implementation manner is as follows:
determining a first resource threshold value according to the historical residual resources and a first preset value;
and determining a second resource threshold according to the historical residual resources and a second preset value, wherein the first preset value is larger than the second preset value.
The first preset value may be a value preset according to experience, and may be adjusted; the second preset value may be a value that is empirically preset, and may be adjusted. Preferably, the first preset value and the second preset value may be proportional parameters, such as percentages.
It should be noted that, since the first resource threshold is used to represent a threshold of a numerical value of a current remaining resource of the resource pool, and the first resource threshold is used to represent a threshold of a difference between the current remaining resource and an intermediate remaining resource, the first resource threshold should be greater than the second resource threshold, that is, the first preset value is greater than the second preset value.
Based on this, a first resource threshold value may be determined according to the historical remaining resources and a first preset value preset according to experience, and a second resource threshold value may be determined according to the historical remaining resources and a second preset value preset according to experience, where the first preset value is greater than the second preset value, and correspondingly, the first resource threshold value is greater than the second resource threshold value.
Following the above example, the determined historical remaining resource is b, the first preset value is set to 70%, the second preset value is set to 15%, and the first resource threshold is determined to be 70% of b, and the second resource threshold is determined to be 15% of b.
In summary, the first resource threshold and the second resource threshold are respectively determined according to the historical remaining resources and the first preset value and the second preset value preset according to experience, so that the first resource threshold and the second resource threshold can be associated with the historical fluctuation condition of the resource pool, the effectiveness of early warning is improved, the first resource threshold and the second resource threshold can be dynamically adjusted in the follow-up process, and the effectiveness and the accuracy of early warning are further improved.
Step 206: and acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval.
Specifically, after the first resource threshold and the second resource threshold are determined according to the historical remaining resources of the resource pool in the historical time period, in order to implement real-time monitoring of the resource pool of the target project, the current remaining resources in the resource pool and the intermediate remaining resources of the resource pool in the last preset time interval may be obtained according to the preset time interval, so as to ensure that the early warning can be timely sent to the target project under the condition that the current remaining resources in the resource pool are insufficient.
It should be noted that, since the historical time period is a time period before and close to the current time, the historical time period may also change as time goes by, and therefore, before obtaining the current remaining resources in the resource pool according to the preset time interval each time, it is necessary to determine the historical remaining resources of the resource pool in the historical time period, and determine the first resource threshold and the second resource threshold according to the historical remaining resources.
The preset time interval refers to a preset time interval, for example, the preset time interval may be 30 minutes, or may be 1 day. Then the current remaining resources in the resource pool are obtained according to the preset time interval, which may be understood as obtaining the balance in the funding account at preset time intervals, for example, the balance in the funding account may be obtained at 30 minute intervals.
The intermediate remaining resource of the last preset time interval refers to the balance of the funding account prior to the current time and separated from the current time by the preset time interval. For example, in the case where the balance of the funding account is acquired every 30 minutes, the intermediate remaining resource is the balance 30 minutes before the current time.
Based on this, the current remaining resources in the resource pool can be obtained according to the preset time interval, and the intermediate remaining resources corresponding to the time of the last preset time interval of the current time corresponding to the current remaining resources are obtained.
Step 208: and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold.
Specifically, after the current remaining resource and the intermediate remaining resource are obtained, whether the first type resource adjustment information needs to be sent to the target project or not can be determined according to the current remaining resource, the intermediate remaining resource, the first resource threshold value and the second resource threshold value.
Referring to fig. 3, fig. 3 shows a schematic diagram of a resource processing method provided in an embodiment of the present disclosure when a funding account of a target project is in a dip state, in fig. 3, a first balance threshold is calculated according to a median of historical balances, and when an account balance in the funding account reaches the first resource threshold, the first balance threshold is continuously decreased.
The first type of resource adjustment information may prompt the target project to make adjustments to resources in the resource pool.
It should be noted that, when the resource in the resource pool is always in a consumed state, the current remaining resource may be less than or equal to the intermediate remaining resource, and a difference between the current remaining resource and the intermediate remaining resource may be understood as a difference obtained by subtracting a value of the current remaining resource from a value of the intermediate remaining resource.
Based on this, under the condition that the current residual resource is less than or equal to the first resource threshold value and the difference value between the current residual resource and the middle residual resource is greater than or equal to the second resource threshold value, it is indicated that the resource in the resource pool is in a steep decline state which is greatly reduced in a short time, at this time, first type resource adjustment information can be sent to the target project for reminding the target project to recharge the resource pool, the current residual resource in the resource pool can be adjusted, the slow decline and the steep decline of the residual resource in the resource pool can be distinguished, and an early warning does not need to be sent under the condition of slow decline, so that the accuracy degree of the early warning is ensured.
Further, after sending the first type resource adjustment information to the target project, the first resource threshold and the second resource threshold may be adjusted according to a feedback result of the target project for the first type resource adjustment information, and the specific implementation manner is as follows:
receiving a first resource adjustment feedback result sent by the target item according to the first type resource adjustment information;
and adjusting the first preset value and/or the second preset value according to the first resource adjustment feedback result.
The first resource adjustment feedback result refers to feedback of the target item for the first type of resource adjustment information, and may be understood as feedback information sent by the target item, or may also be understood as an adjustment behavior of the target item after receiving the first type of resource adjustment information, for example, factors such as the number of times of charging, the charging time, and the like of the target item after receiving the first type of resource adjustment information may be used as the first resource adjustment feedback result.
Based on this, a first resource adjustment feedback result sent by the target item according to the first type of resource adjustment information can be received, the effectiveness of the current early warning is better when the first resource adjustment feedback result carries a positive feedback result, the effectiveness of the current early warning is poorer when the first resource adjustment feedback result carries a negative feedback result, and at this time, the first resource threshold and the second resource threshold can be adjusted by adjusting the first preset value and/or the second preset value.
In practical application, after the target item receives the first type of resource adjustment information, it does not perform a recharging action on the fund pool, which indicates that the remaining resources in the fund pool do not need to be adjusted, and at this time, the received first resource adjustment feedback result carries a negative feedback result, and according to the result, the first preset value can be properly reduced or the second preset value can be properly increased.
In summary, the first preset value or the second preset value is adjusted according to the first resource adjustment feedback result sent by the target item for the first type of resource adjustment information, so that the dynamic adjustment of the first resource threshold value or the second resource threshold value is realized, and the effectiveness and the real-time performance of the early warning are further improved.
Further, in order to ensure comprehensiveness of the early warning, the remaining resources in the resource pool can be monitored by setting a minimum early warning threshold, and under the condition that the current remaining resources are lower than the minimum early warning threshold, the resource shortage early warning is directly sent to the target project, and the specific implementation manner is as follows:
determining a third resource threshold value according to the historical residual resources and a third preset value;
and sending second type resource adjusting information to the target project under the condition that the current residual resource is smaller than the third resource threshold value.
The third preset value refers to a value preset according to experience, and a proportional parameter, such as a percentage parameter, may be selected; the third resource threshold may be used to represent a threshold of lowest value of the current remaining resources in the resource pool; the second type of resource adjustment information may be understood as early warning information for reminding that the current remaining resources in the resource pool of the target project are insufficient.
Based on the resource adjustment information, a third resource threshold value can be determined according to historical residual resources and a third preset value preset according to experience, and second type resource adjustment information with insufficient current residual resources is sent to the target project under the condition that the current residual resources are less than or equal to the third resource threshold value.
Fig. 4 is a schematic diagram illustrating a funding account of a target item in the resource processing method according to an embodiment of the present disclosure when the funding account is in a bottom-in state, referring to fig. 4, a third resource threshold is calculated according to a median of a historical balance, an account balance in the funding account of the target item continuously decreases to be below the third resource threshold (i.e., the bottom-in threshold), and at this time, the funding account is in the bottom-in state, and the target item needs to be reminded to recharge the funding account. As can be appreciated, the bankrupt threshold is a baseline value to which the account balance of the funding account can drop, and a drop above the baseline value indicates insufficient balance in the funding account.
According to the above example, the historical residual resource is b, the third preset value is 30%, the third resource threshold value is determined to be 30% of b, and under the condition that the current residual resource of the resource pool is less than or equal to 30% of b, second-type resource adjustment information is sent to the target project to remind that the residual resource in the resource pool of the target project is insufficient and needs to be recharged.
In conclusion, the third resource threshold value is determined according to the historical residual resources and the third preset value, and the second type resource adjustment information is sent to the target project under the condition that the current residual resources are smaller than the third resource threshold value, so that the bottom early warning of the resource pool is realized, namely, when the current residual resources in the resource pool are smaller than the set minimum threshold value, the early warning is realized, the comprehensive monitoring of the residual resources in the resource pool is realized, the effectiveness of the early warning is further improved, and the problem of the target project caused by insufficient resources in the resource pool is avoided. And moreover, the first type of resource adjustment information and the second type of resource adjustment information are set, so that the bottom-of-pocket early warning and the sudden-descent early warning are distinguished, the response to the rapid emergency situation is realized, the target service party is not required to be frequently disturbed under the slow descent situation, and the attention degree of the balance early warning is kept.
Further, after sending the second type resource adjustment information to the target project, the third resource threshold may be adjusted according to a feedback result of the target project for the second type resource adjustment information, and the specific implementation manner is as follows:
receiving a second resource adjustment feedback result sent by the target project according to the second type resource adjustment information;
and adjusting the third preset value according to the second resource adjustment feedback result.
The second resource adjustment feedback result refers to feedback of the target item for the second type of resource adjustment information, and may be understood as feedback information sent by the target item, and may also be understood as an adjustment behavior of the target item after receiving the second type of resource adjustment information, for example, factors such as the number of times of charging and the time of charging after the target item receives the first type of resource adjustment information may be used as the second resource adjustment feedback result.
Based on this, a second resource adjustment feedback result sent by the target item according to the second type of resource adjustment information may be received, the effectiveness of the current early warning is better when the second resource adjustment feedback result carries a positive feedback result, the effectiveness of the current early warning is worse when the second resource adjustment feedback result carries a negative feedback result, and at this time, the third resource threshold may be adjusted by adjusting a third preset value.
In practical application, after the target item receives the second type resource adjustment information, the target item does not perform a recharging action on the fund pool, which indicates that the remaining resources in the fund pool do not need to be adjusted, at this time, the received second resource adjustment feedback result carries a negative feedback result, and the third preset value can be properly reduced according to the result.
In conclusion, the third preset value is adjusted according to the second resource adjustment feedback result sent by the target item aiming at the second type resource adjustment information, so that the dynamic adjustment of the third resource threshold value is realized, and the effectiveness and the real-time performance of early warning are further improved.
Further, in order to further consider the historical fluctuation condition of the resource pool, the resource consumed by the target activity in the historical time when the business party carries out the target activity may be further considered, which is used to determine whether the current remaining resource in the resource pool can support the consumed resource, so as to avoid the problem of ignoring the historical condition of the target activity, and the specific implementation manner is as follows:
determining the consumed resources of the target activity in historical time according to the target activity corresponding to the current time corresponding to the current residual resources;
and sending third type resource adjustment information to the target project under the condition that the current residual resource is smaller than the consumed resource.
The target activity refers to a service carried out by a target service party at the current time, such as a promotion activity or a coupon issuing activity; the historical time can be understood as the historical years of developing the target activities, and can also be understood as the historical months of developing the target activities, or the time period of developing the target activities; the consumed resources refer to resources consumed by the funding account of the target business party when the target activities are carried out in historical time. The third type of resource adjustment information may be understood as early warning information, which is used to remind that the current balance of the funding account of the target business party is not enough to support the resource consumption of the target activity in the historical time, and the funding account needs to be recharged.
Based on the above, whether the target activity is carried out at the current time can be determined according to the current time corresponding to the current residual resource, the resource consumed by the target activity at the historical time is determined under the condition that the target activity is determined, and the third type resource adjustment information is sent to the target project under the condition that the current residual resource of the resource pool is smaller than the consumed resource, so as to remind that the current residual resource of the resource pool of the target project is not enough to support the consumed resource of the target activity at the historical time, and the resource in the resource pool needs to be increased, namely the resource pool needs to be recharged.
For example, the current remaining resource is p, the current time corresponding to the current remaining resource is 6/5/2020, the target activity corresponding to the current time is determined to be a promotional activity, the consumed resource of the promotional activity in 6/5/2019 is determined to be q, and when p is smaller than q, an early warning is sent to the target project.
In conclusion, the consumed resources of the target activity in the historical time are determined, the third type of resource adjustment information is sent out under the condition that the current residual resources are smaller than the consumed resources, the historical consumption condition of the target activity is considered on the basis of considering the historical fluctuation condition of the resource pool, the comprehensive monitoring on the residual resources of the resource pool is further realized by backtracking the historical condition of the target activity, and the effectiveness and the accuracy of early warning are further improved. In addition, for different conditions, different types of resource adjustment information are sent to the target project, and the pertinence of early warning is improved.
To sum up, an embodiment of the present specification provides a resource processing method, which determines a historical remaining resource in a resource pool of a target project, where the historical remaining resource is a remaining resource of the resource pool in a historical time period; determining a first resource threshold value and a second resource threshold value according to the historical residual resources; acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval; and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold value and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold value.
According to the method, the residual resources of the resource pool in the historical time period are determined, the fluctuation condition of the resource pool in the historical time period and the running condition of the target project are considered, so that the first resource threshold value and the second resource threshold value determined according to the historical residual resources can be related to the historical condition of the target project, and the effectiveness and the accuracy of the first resource threshold value and the second resource threshold value are improved; and the current residual resource and the intermediate residual resource are obtained according to the preset time interval, and the first type resource adjustment information is sent to the target project according to the comparison between the current residual resource and the first resource threshold value, and the difference value between the current residual resource and the intermediate residual resource and the second resource threshold value, so that the real-time monitoring of the residual resources in the resource pool can be realized, the noise of the early warning information sent to the target project is further reduced, and the early warning effectiveness is improved.
The following describes the resource processing method further by taking the application of the resource processing method provided in this specification to the preferential event as an example, with reference to fig. 5. Fig. 5 shows a flowchart applied to an offer provided in an embodiment of the present specification, which specifically includes the following steps.
Step 502: determining a history time period and dividing the history time period into at least two sub-history time periods.
The business party develops preferential activities for the users of the shopping platform, specifically, the users shop for 300-200 yuan, the business party sets a funding account for the suboptimal activities, and the user-oriented preferential amount is paid from the funding account, specifically, when the total shopping amount of the user A is 350 yuan, the actual payment amount of the user A is 150 yuan, and the 200 yuan preferential amount is paid from the funding account set by the business party.
The time for carrying out the offer is 5 months and 1 day in 2020, 3 months of the historical time period 2 months to 4 months before the 5 months and 1 day are determined, and the 3 months are divided into 3 sub-historical time periods, wherein each sub-historical time period is 1 month, that is, the 3 sub-historical time periods are respectively 2 months, 3 months and 4 months.
Step 504: and determining the sub residual resources of the resource pool of the target item in the at least two sub historical time periods.
The balance of the funding account is determined for each sub-historical time period, and a balance of 200 ten thousand dollars for the funding account at 2 months, a balance of 100 ten thousand dollars at 3 months, and a balance of 80 ten thousand dollars at 4 months is determined for the funding account.
Step 506: and sequencing the sub residual resources of the at least two sub historical time periods, determining a target sub residual resource at a middle position according to a sequencing result, and determining the target sub residual resource as the historical residual resource in the resource pool of the target project.
Calculating the median of the balances of the funding account in 2 months, 3 months and 4 months, specifically, sequencing the balances of the 3 months according to a sequence from large to small to obtain sequencing results of 200, 100 and 80, wherein the target balance in the middle position is 100 ten thousand yuan, and the 100 ten thousand yuan is historical residual resources, namely historical balance.
Step 508: and determining a first resource threshold value according to the historical residual resources and a first preset value.
The first preset value is empirically determined to be 70%, and the first resource threshold is 70% of 100 ten thousand yuan, i.e., 70 ten thousand yuan.
Step 510: and determining a second resource threshold value according to the historical residual resources and a second preset value.
The second preset value is determined to be 15% according to experience, and the second resource threshold value is 15% of 100 ten thousand yuan, namely 15 ten thousand yuan.
Step 512: and determining a third resource threshold value according to the historical residual resources and a third preset value.
The third preset value is determined to be 30% according to experience, and the third resource is 30% of 100 ten thousand yuan, namely 30 ten thousand yuan.
Step 514: and acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval.
The current balance in the funding account is acquired at intervals of 30 minutes as A ten thousand yuan, and the intermediate balance before 30 minutes is B ten thousand yuan.
Step 516: and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold value and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold value.
And in the case that the A is determined to be less than or equal to 70 and the B-A is determined to be greater than or equal to 15, sending an early warning to the service party to remind the service party that the balance in the funding account is in ase:Sub>A dip state at the moment and the fund needs to be supplemented.
Step 518: and sending second type resource adjusting information to the target project under the condition that the current residual resource is smaller than the third resource threshold value.
And when A is less than 30, sending an early warning to the service party to remind the service party that the balance in the funding account is insufficient at the moment and funds need to be supplemented.
Step 520: and receiving a first resource adjustment feedback result sent by the target project according to the first type of resource adjustment information, and receiving a second resource adjustment feedback result sent by the target project according to the second type of resource adjustment information.
After the early warning is given to the service party, the service party does not replenish funds to the funding account, and the balance in the current funding account is fed back enough, which indicates that the accuracy of the set first resource threshold, second resource threshold or third resource threshold is low.
Step 522: and adjusting the first preset value, the second preset value or the third preset value according to a first resource adjustment feedback result and a second resource adjustment feedback result.
The first preset value, the second preset value or the third preset value can be adjusted according to the feedback result of the service party.
Step 524: and determining the consumed resources of the target activity in historical time according to the target activity corresponding to the current time corresponding to the current residual resources.
According to the preferential activity corresponding to 5, 1 and 2020 at the current time, 80 ten thousand yuan of fund amount consumed when the business party carries out the preferential activity in the last year (namely 2019) can be obtained.
Step 526: and sending third type resource adjustment information to the target project under the condition that the current residual resource is smaller than the consumed resource.
And when the current balance A is less than 80, the balance of the current funding account is possibly insufficient to support the progress of the preferential activity, and an early warning is sent to the service party to remind the service party of supplementing funds to the funding account.
In conclusion, by determining the residual resources of the resource pool in the historical time period, the fluctuation condition of the resource pool in the historical time period and the running condition of the target project are considered, so that the first resource threshold, the second resource threshold and the third resource threshold determined according to the historical residual resources can be associated with the historical condition of the target project, and the effectiveness and the accuracy of the first resource threshold, the second resource threshold and the third resource threshold are increased; and the current residual resource and the intermediate residual resource are obtained according to the preset time interval, and the first type resource adjustment information is sent to the target project according to the comparison between the current residual resource and the first resource threshold value, and the difference value between the current residual resource and the intermediate residual resource and the second resource threshold value, so that the real-time monitoring of the residual resource in the resource pool can be realized, the noise of the early warning information sent to the target project is further reduced, and the effectiveness of the early warning is improved. By early warning on various types of insufficient balance conditions, the comprehensiveness of early warning on the resource pool of the target project is improved.
Corresponding to the above method embodiment, this specification further provides a resource processing apparatus embodiment, and fig. 6 shows a schematic structural diagram of a resource processing apparatus provided in an embodiment of this specification. As shown in fig. 6, the apparatus includes:
a first determining module 602, configured to determine a historical remaining resource in a resource pool of a target project, wherein the historical remaining resource is a remaining resource of the resource pool in a historical time period;
a second determining module 604 configured to determine a first resource threshold and a second resource threshold based on the historical remaining resources;
an obtaining module 606 configured to obtain, according to a preset time interval, a current remaining resource in the resource pool and a middle remaining resource of the resource pool in a previous preset time interval;
a sending module 608 configured to send out first type resource adjustment information to the target item when it is determined that the current remaining resource is less than or equal to the first resource threshold and a difference between the current remaining resource and the intermediate remaining resource is greater than or equal to the second resource threshold.
In an optional embodiment, the first determining module 602 is further configured to:
determining a history time period, and dividing the history time period into at least two sub-history time periods;
determining the sub-residual resources of the resource pool of the target project in the at least two sub-historical time periods;
and determining the historical residual resources in the resource pool of the target project according to the sub residual resources of the at least two sub historical time periods.
In an optional embodiment, the first determining module 602 is further configured to:
and sequencing the sub residual resources of the at least two sub historical time periods, determining a target sub residual resource at a middle position according to a sequencing result, and determining the target sub residual resource as the historical residual resource in the resource pool of the target project.
In an optional embodiment, the first determining module 602 is further configured to:
and calculating the average value of the sub residual resources of the at least two sub historical time periods to obtain an average value sub residual resource, and determining the average value sub residual resource as the historical residual resource in the resource pool of the target project.
In an optional embodiment, the second determining module 604 is further configured to:
determining a first resource threshold value according to the historical residual resources and a first preset value;
and determining a second resource threshold according to the historical residual resources and a second preset value, wherein the first preset value is larger than the second preset value.
In an optional embodiment, the apparatus further comprises an adjustment module configured to:
receiving a first resource adjustment feedback result sent by the target item according to the first type resource adjustment information;
and adjusting the first preset value and the second preset value according to the first resource adjustment feedback result.
In an optional embodiment, the second determining module 604 is further configured to:
determining a third resource threshold value according to the historical residual resources and a third preset value;
and sending second type resource adjustment information to the target project under the condition that the current residual resource is smaller than the third resource threshold value.
In an optional embodiment, the adjusting module is further configured to:
receiving a second resource adjustment feedback result sent by the target project according to the second type resource adjustment information;
and adjusting the third preset value according to the second resource adjustment feedback result.
In an optional embodiment, the apparatus further comprises a third determining module configured to:
determining the consumed resources of the target activity in historical time according to the target activity corresponding to the current time corresponding to the current residual resources;
and sending third type resource adjustment information to the target project under the condition that the current residual resource is smaller than the consumed resource.
In summary, an embodiment of the present specification provides a resource processing apparatus, which determines a historical remaining resource in a resource pool of a target project, where the historical remaining resource is a remaining resource of the resource pool in a historical time period; determining a first resource threshold value and a second resource threshold value according to the historical residual resources; acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval; and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold value and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold value.
The device determines the residual resources of the resource pool in the historical time period, and considers the fluctuation condition of the resource pool in the historical time period and the running condition of the target project, so that the first resource threshold value and the second resource threshold value determined according to the historical residual resources can be related to the historical condition of the target project, and the effectiveness and the accuracy of the first resource threshold value and the second resource threshold value are improved; and the current residual resource and the intermediate residual resource are obtained according to the preset time interval, and the first type resource adjustment information is sent to the target project according to the comparison between the current residual resource and the first resource threshold value, and the difference value between the current residual resource and the intermediate residual resource and the second resource threshold value, so that the real-time monitoring of the residual resources in the resource pool can be realized, the noise of the early warning information sent to the target project is further reduced, and the early warning effectiveness is improved.
The above is a schematic scheme of a resource processing apparatus of this embodiment. It should be noted that the technical solution of the resource processing apparatus and the technical solution of the resource processing method belong to the same concept, and details that are not described in detail in the technical solution of the resource processing apparatus can be referred to the description of the technical solution of the resource processing method.
FIG. 7 illustrates a block diagram of a computing device 700 provided in accordance with one embodiment of the present description. The components of the computing device 700 include, but are not limited to, memory 710 and a processor 720. Processor 720 is coupled to memory 710 via bus 730, and database 750 is used to store data.
Computing device 700 also includes access device 740, access device 740 enabling computing device 700 to communicate via one or more networks 760. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 740 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 700, as well as other components not shown in FIG. 7, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 7 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 700 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet computer, personal digital assistant, laptop computer, notebook computer, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 700 may also be a mobile or stationary server.
Wherein the processor 720 is configured to execute computer-executable instructions that, when executed by the processor, implement the steps of the resource processing method described above.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the resource processing method belong to the same concept, and for details that are not described in detail in the technical solution of the computing device, reference may be made to the description of the technical solution of the resource processing method.
An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which when executed by a processor implement the steps of the resource processing method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the resource processing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the resource processing method.
An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the resource processing method.
The above is a schematic scheme of a computer program of the present embodiment. It should be noted that the technical solution of the computer program and the technical solution of the resource processing method belong to the same concept, and details that are not described in detail in the technical solution of the computer program can be referred to the description of the technical solution of the resource processing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in source code form, object code form, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, and to thereby enable others skilled in the art to best understand the specification and utilize the specification. The specification is limited only by the claims and their full scope and equivalents.

Claims (12)

1. A method of resource processing, comprising:
determining historical residual resources in a resource pool of a target project, wherein the historical residual resources are the residual resources of the resource pool in a historical time period;
determining a first resource threshold value and a second resource threshold value according to the historical residual resources;
acquiring the current residual resource in the resource pool and the middle residual resource of the resource pool in the last preset time interval according to the preset time interval;
and sending first type resource adjustment information to the target project under the condition that the current residual resource is determined to be less than or equal to the first resource threshold value and the difference value between the current residual resource and the intermediate residual resource is determined to be greater than or equal to the second resource threshold value.
2. The method of claim 1, the determining historical remaining resources in a resource pool of the target item, comprising:
determining a historical time period, and dividing the historical time period into at least two sub-historical time periods;
determining the sub-residual resources of the resource pool of the target project in the at least two sub-historical time periods;
and determining the historical residual resources in the resource pool of the target project according to the sub residual resources of the at least two sub historical time periods.
3. The method of claim 2, the determining historical remaining resources in the resource pool of the target item from the sub-remaining resources of the at least two sub-historical time periods, comprising:
and sequencing the sub residual resources of the at least two sub historical time periods, determining a target sub residual resource at a middle position according to a sequencing result, and determining the target sub residual resource as the historical residual resource in the resource pool of the target project.
4. The method of claim 2, the determining historical remaining resources in the resource pool of the target item from the sub-remaining resources of the at least two sub-historical time periods, comprising:
calculating the average value of the sub residual resources of the at least two sub historical time periods to obtain an average value sub residual resource, and determining the average value sub residual resource as the historical residual resource in the resource pool of the target project.
5. The method of claim 1, the determining a first resource threshold and a second resource threshold from the historical remaining resources comprising:
determining a first resource threshold value according to the historical residual resources and a first preset value;
and determining a second resource threshold according to the historical residual resources and a second preset value, wherein the first preset value is larger than the second preset value.
6. The method of claim 5, after issuing the first type of resource adjustment information to the target item, further comprising:
receiving a first resource adjustment feedback result sent by the target item according to the first type resource adjustment information;
and adjusting the first preset value and/or the second preset value according to the first resource adjustment feedback result.
7. The method of any of claims 1-6, further comprising:
determining a third resource threshold value according to the historical residual resources and a third preset value;
and sending second type resource adjustment information to the target project under the condition that the current residual resource is smaller than the third resource threshold value.
8. The method of claim 7, after issuing the second type of resource adjustment information to the target item, further comprising:
receiving a second resource adjustment feedback result sent by the target project according to the second type resource adjustment information;
and adjusting the third preset value according to the second resource adjustment feedback result.
9. The method of any of claims 1-6, further comprising:
determining the consumed resources of the target activity in historical time according to the target activity corresponding to the current time corresponding to the current residual resources;
and sending third type resource adjustment information to the target project under the condition that the current residual resource is smaller than the consumed resource.
10. A resource processing apparatus comprising:
a first determination module configured to determine a historical remaining resource in a resource pool of a target project, wherein the historical remaining resource is a remaining resource of the resource pool in a historical time period;
a second determination module configured to determine a first resource threshold and a second resource threshold based on the historical remaining resources;
the acquisition module is configured to acquire the current residual resources in the resource pool and the middle residual resources of the resource pool in the last preset time interval according to the preset time interval;
a sending module configured to send out first type resource adjustment information to the target project when it is determined that the current remaining resource is less than or equal to the first resource threshold and a difference between the current remaining resource and the intermediate remaining resource is greater than or equal to the second resource threshold.
11. A computing device, comprising:
a memory and a processor;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions, which when executed by the processor, implement the steps of the method of any one of claims 1 to 9.
12. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the steps of the method of any one of claims 1 to 9.
CN202210957748.5A 2022-08-10 2022-08-10 Resource processing method and device Active CN115331412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210957748.5A CN115331412B (en) 2022-08-10 2022-08-10 Resource processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210957748.5A CN115331412B (en) 2022-08-10 2022-08-10 Resource processing method and device

Publications (2)

Publication Number Publication Date
CN115331412A true CN115331412A (en) 2022-11-11
CN115331412B CN115331412B (en) 2024-04-05

Family

ID=83921984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210957748.5A Active CN115331412B (en) 2022-08-10 2022-08-10 Resource processing method and device

Country Status (1)

Country Link
CN (1) CN115331412B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103383A (en) * 2004-11-10 2008-01-09 亚历山大·萨姆·佐马蒂 Remotely instantly coupon-reloadable prepaid payment card
CN101860837A (en) * 2010-06-12 2010-10-13 中兴通讯股份有限公司 Service charging control method and device
CN106779656A (en) * 2016-11-22 2017-05-31 北京小米移动软件有限公司 Recharge method and device
CN109146148A (en) * 2018-07-27 2019-01-04 阿里巴巴集团控股有限公司 A kind of determination method and device of remaining sum prediction deviation reason
CN109621429A (en) * 2018-12-14 2019-04-16 北京智明星通科技股份有限公司 A kind of trivial games based on social platform supplement based reminding method, device, server with money
CN110390522A (en) * 2018-04-19 2019-10-29 北京三快在线科技有限公司 Virtual resource management method and device
CN111263319A (en) * 2018-11-30 2020-06-09 中国移动通信集团山东有限公司 Method and device for reminding balance of mobile phone charge
CN112465400A (en) * 2020-12-16 2021-03-09 深圳乐信软件技术有限公司 Resource adjusting method, device, server and storage medium
US20210141517A1 (en) * 2019-11-12 2021-05-13 Bank Of America Corporation System for integrated resource processing and dynamic performance of electronic activities
CN112926994A (en) * 2021-03-29 2021-06-08 支付宝(杭州)信息技术有限公司 Resource processing method and device
CN113706133A (en) * 2021-08-30 2021-11-26 北京三快在线科技有限公司 Resource supplementing method, device, server and storage medium
US20220005036A1 (en) * 2019-06-24 2022-01-06 Square, Inc. Predicting capital needs
CN114255040A (en) * 2021-12-10 2022-03-29 腾讯科技(深圳)有限公司 Account recharging prompting method and device, electronic equipment and storage medium
CN114282998A (en) * 2021-12-24 2022-04-05 中国建设银行股份有限公司 Foreign currency account balance processing method and device
CN114693358A (en) * 2022-03-30 2022-07-01 中国建设银行股份有限公司 Data processing method and device, electronic equipment and storage medium
CN114819950A (en) * 2022-04-27 2022-07-29 中国建设银行股份有限公司 Method and device for sending early warning signal, computer equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103383A (en) * 2004-11-10 2008-01-09 亚历山大·萨姆·佐马蒂 Remotely instantly coupon-reloadable prepaid payment card
CN101860837A (en) * 2010-06-12 2010-10-13 中兴通讯股份有限公司 Service charging control method and device
CN106779656A (en) * 2016-11-22 2017-05-31 北京小米移动软件有限公司 Recharge method and device
CN110390522A (en) * 2018-04-19 2019-10-29 北京三快在线科技有限公司 Virtual resource management method and device
CN109146148A (en) * 2018-07-27 2019-01-04 阿里巴巴集团控股有限公司 A kind of determination method and device of remaining sum prediction deviation reason
CN111263319A (en) * 2018-11-30 2020-06-09 中国移动通信集团山东有限公司 Method and device for reminding balance of mobile phone charge
CN109621429A (en) * 2018-12-14 2019-04-16 北京智明星通科技股份有限公司 A kind of trivial games based on social platform supplement based reminding method, device, server with money
US20220005036A1 (en) * 2019-06-24 2022-01-06 Square, Inc. Predicting capital needs
US20210141517A1 (en) * 2019-11-12 2021-05-13 Bank Of America Corporation System for integrated resource processing and dynamic performance of electronic activities
CN112465400A (en) * 2020-12-16 2021-03-09 深圳乐信软件技术有限公司 Resource adjusting method, device, server and storage medium
CN112926994A (en) * 2021-03-29 2021-06-08 支付宝(杭州)信息技术有限公司 Resource processing method and device
CN113706133A (en) * 2021-08-30 2021-11-26 北京三快在线科技有限公司 Resource supplementing method, device, server and storage medium
CN114255040A (en) * 2021-12-10 2022-03-29 腾讯科技(深圳)有限公司 Account recharging prompting method and device, electronic equipment and storage medium
CN114282998A (en) * 2021-12-24 2022-04-05 中国建设银行股份有限公司 Foreign currency account balance processing method and device
CN114693358A (en) * 2022-03-30 2022-07-01 中国建设银行股份有限公司 Data processing method and device, electronic equipment and storage medium
CN114819950A (en) * 2022-04-27 2022-07-29 中国建设银行股份有限公司 Method and device for sending early warning signal, computer equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
单菲菲;石栋良;陆挺;: "智慧热网平台预付费充值方式分析", 现代信息科技, no. 16, 25 August 2020 (2020-08-25) *
妮子;: "余额宝让碎银变整钞", 分忧, no. 03 *
薛蕾;: "基于第三方的电子支付服务平台系统设计", 电脑迷, no. 04 *
薛蕾;: "基于第三方的电子支付服务平台系统设计", 电脑迷, no. 04, 15 April 2016 (2016-04-15) *
陈霖;宋燕辉;: "数据挖掘技术在电信集团客户管理系统中的应用", 电信快报, no. 03, 10 March 2008 (2008-03-10) *

Also Published As

Publication number Publication date
CN115331412B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN112070301B (en) User electricity consumption adjustment method, system and equipment
US11776065B2 (en) Utilizing machine learning models to automatically perform actions that maintain a plan for an event
CN111190705A (en) Task processing method and device
CN107146158A (en) A kind of electronic data processing method and device
CN115511144A (en) Commodity sales data prediction method, commodity sales data prediction device, commodity sales data prediction equipment, commodity sales data prediction medium and commodity sales data prediction product
CN114782169A (en) Customer attrition rate early warning method and device
CN110276695A (en) Method, apparatus, calculating equipment and the computer readable storage medium that project is deducted fees
CN111127189A (en) Fluidity prediction system, method and device
CN113780944A (en) Information processing method, information processing apparatus, electronic device, and medium
CN115331412A (en) Resource processing method and device
CN110717745B (en) Service processing method and server
CN108738117B (en) Method for optimizing power consumption of application program and terminal
CN111258750A (en) Data volume processing method and system, and quota allocation method and system
CN108090785B (en) Method and device for determining user behavior decline tendency and electronic equipment
CN111401845B (en) Service processing method and device
CN110246043A (en) Project fee payment method, device, electronic equipment and storage medium
CN110060020B (en) Project cost prediction method and device
CN116361542A (en) Product recommendation method, device, computer equipment and storage medium
CN115482051A (en) Commodity management method, device and equipment based on ERP system and readable storage medium
CN111144990B (en) Recommendation method and system
CN110046975B (en) Accounting method and device, computing equipment and computer storage medium
CN110688584A (en) User matching method, electronic equipment and computer program product
AU2015384668A1 (en) Customer management system for determining aggregate customer value
CN110136004A (en) Project payment processing method, device and system
CN111369292A (en) Product price adjusting method and related product

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230113

Address after: 201208 Floor 15, No. 447, Nanquan North Road, Pudong New Area, Shanghai

Applicant after: Alipay.com Co.,Ltd.

Address before: 801-11, Section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province, 310013

Applicant before: Alipay (Hangzhou) Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant