CN115331412B - Resource processing method and device - Google Patents

Resource processing method and device Download PDF

Info

Publication number
CN115331412B
CN115331412B CN202210957748.5A CN202210957748A CN115331412B CN 115331412 B CN115331412 B CN 115331412B CN 202210957748 A CN202210957748 A CN 202210957748A CN 115331412 B CN115331412 B CN 115331412B
Authority
CN
China
Prior art keywords
resource
historical
resources
residual
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.)
Active
Application number
CN202210957748.5A
Other languages
Chinese (zh)
Other versions
CN115331412A (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
AlipayCom 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 AlipayCom Co ltd filed Critical AlipayCom 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

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

Abstract

The embodiment of the specification provides a resource processing method and a device, wherein the resource processing method comprises the following steps: determining historical residual resources in a resource pool of a target item, wherein the historical residual resources are residual resources of the resource pool in a historical time period; determining a first resource threshold and a second resource threshold according to the historical residual resources; acquiring current residual resources in the resource pool and intermediate residual resources of the resource pool in the last preset time interval according to the preset time interval; and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item. The method can realize real-time monitoring of the residual resources in the resource pool, further reduce noise of early warning information sent to the target item, and further improve 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 project operation process developed by the service 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 in a mode of setting a fixed threshold value, and when the balance in the account is smaller than the set fixed threshold value, pre-warning information is sent to the account to remind the service party to recharge the account in time.
However, the fixed threshold value setting method cannot take account of fluctuation conditions and project operation conditions of the account, so that noise of early warning information sent to the account is large, and effectiveness of early warning is low. Therefore, an effective solution is needed to solve the above problems.
Disclosure of Invention
In view of this, the present embodiments 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 that solve the technical drawbacks existing in the prior art.
According to a first aspect of embodiments of the present disclosure, there is provided a resource processing method, including:
determining historical residual resources in a resource pool of a target item, wherein the historical residual resources are residual resources of the resource pool in a historical time period;
Determining a first resource threshold and a second resource threshold according to the historical residual resources;
acquiring current residual resources in the resource pool and intermediate residual resources of the resource pool in the last preset time interval according to the preset time interval;
and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
According to a second aspect of embodiments of the present specification, there is provided a resource processing apparatus comprising:
a first determining module configured to determine a historical remaining resource in a resource pool of a target item, wherein the historical remaining resource is a remaining resource of the resource pool over a historical period of time;
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 according to a preset time interval and the middle residual resources of the resource pool in the last preset time interval;
And the sending module is configured to send out first type resource adjustment information to the target item 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 intermediate residual resource is greater than or equal to the second resource threshold value.
According to a third aspect of embodiments of the present specification, there is provided a computing device comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions that, when executed by the processor, perform the steps of the resource processing method described above.
According to a fourth aspect of embodiments of the present specification, there is provided a computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the resource processing method described above.
According to a fifth aspect of embodiments of the present specification, there is provided a computer program, wherein the computer program, when executed in a computer, causes the computer to perform the steps of the above-described resource processing method.
One embodiment of the present disclosure provides a resource processing method, determining a historical remaining resource in a resource pool of a target item, where the historical remaining resource is a remaining resource of the resource pool in a historical time period; determining a first resource threshold and a second resource threshold according to the historical residual resources; acquiring current residual resources in the resource pool and intermediate residual resources of the resource pool in the last preset time interval according to the preset time interval; and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
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, and then the current residual resources and the first resource threshold, the difference value of the current residual resources and the middle residual resources and the second resource threshold are compared, the sent first type resource adjustment information considers the historical condition of the resource pool, 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 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 resource processing method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of resource processing provided in one embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a funding account of a target item in a resource processing method according to one embodiment of the present disclosure in a collapsed state;
FIG. 4 is a schematic diagram of a funding account of a target item in a resource processing method according to an embodiment of the present disclosure in a spam state;
FIG. 5 is a flowchart of a resource processing method applied to a preferential activity according to one embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a resource processing device according to an embodiment of the present disclosure;
FIG. 7 is a block diagram of a computing device provided in one embodiment of the present description.
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 embodied in many other forms than described herein and similarly generalized by those skilled in the art to whom this disclosure pertains without departing from the spirit of the disclosure and, therefore, this disclosure is not limited by the specific implementations disclosed below.
The terminology used in the one or more embodiments of the specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the specification. As used in this specification, one or more embodiments 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 or all possible combinations of one or more of the associated listed items.
It should be understood that, although the terms first, second, etc. may be used in one or more embodiments of this specification 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 may also be referred to as a second, and similarly, a second may 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 … …" or "at … …" or "responsive to a determination", depending on the context.
In practical application, when a business party develops projects such as a sales promotion and a preferential activity, a fund account is usually set up for the project, and the preferential amount facing the user in the activity project is paid out from the fund account, that is, as the activity project progresses, the balance in the fund account gradually decreases, so that in order to avoid the problem of influencing the activity project due to insufficient balance in the fund account, the balance in the fund account needs to be monitored, and early warning is carried out to the business party when the balance is insufficient.
However, a common method of early warning is to set a fixed balance threshold, and when the balance in the funding account reaches the balance threshold, early warning is performed. The method can only set a single fixed value, and depends on experience setting, the effectiveness of early warning is easily affected as time goes by, the noise of early warning is increased, and the importance of a business party on early warning is reduced, so that the performance of an activity project is affected. Therefore, an effective 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 in the following embodiments one by one.
Referring first to fig. 1, fig. 1 is a schematic diagram illustrating a scenario of a resource processing method according to an embodiment of the present disclosure.
Fig. 1 includes a computer terminal installed or loaded with a balance early warning system that can determine balance early warning information based on 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 the account of the target item is a funding account of the target business party.
In the implementation, the balance early warning system can receive the current balance (such as the current balance received by the account at the current preset time interval), the middle balance (such as the middle balance of the account at the last preset time interval) and the historical balance (the balance of the account at the historical time interval) of the account of the target item input by the computer terminal, and calculate a first balance threshold and a second balance threshold according to the historical balance; comparing the current balance with a first balance threshold value and the difference value between the current balance and the middle balance with a second balance threshold value, and outputting balance early warning information when the current balance is smaller than or equal to the first balance threshold value and the difference value between the current balance and the middle balance is larger than or equal to the second balance threshold value. So as to remind the target item to recharge the account, and improve the effectiveness of early warning.
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 once every 30 minutes, specifically, at the current moment, 1: and 00, the balance early warning system can acquire the current balance, and the balance acquired by the balance early warning system before 30 minutes, namely 12:30, is the intermediate balance. 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 in 2 months; when the current balance is smaller than or equal to a first balance threshold and the difference between the current balance and the middle balance is larger than or equal to a second balance threshold, outputting balance early warning information and sending the balance early warning information to a computer terminal, and outputting the balance early warning information by the computer terminal to remind a target item to recharge an account of the target item. Because the historical balance reflects the historical fluctuation condition of the account of the target item, the first balance threshold and the second balance threshold calculated according to the historical balance can be related to the historical condition of the account, and the effectiveness of balance early warning information is further improved, so that the effectiveness and the accuracy of early warning are improved.
Referring to fig. 2, fig. 2 shows a flowchart of a resource processing method according to an embodiment of the present disclosure, which specifically includes the following steps.
Step 202: and determining historical residual resources in a resource pool of the target project, wherein the historical residual resources are residual resources of the resource pool in a historical time period.
Wherein, the target item can be understood as a target business party, such as a merchant who performs coupon issuing or holds other promotion activities, etc.; then the resource pool of the target item may be understood as the funding account of the target business party, and the historical remaining resources in the resource pool of the target item may be understood as the balance in the funding account of the target business party, for example, when the merchant performs the coupon issuing activity, the funding account originally has 100 ten thousand yuan, the coupon issuing activity spends 20 ten thousand yuan, and at this time, the balance in the funding account of the merchant is 80 ten thousand yuan.
Further, the history period may be understood as any period of time before the current time, for example, the current time is 6 months, and then all periods between 6 months may be understood as history periods.
Taking three months before the historical time period of 6 months as an example, the historical remaining resources can be understood as the balance of the funding account of the target business party in the three months of history.
Based on this, a funding account for the target business party may be determined, which funds the promotional program developed by the target business party, and the balance of the funding account at any time period prior to the current time is determined.
Further, in order to enable the obtained 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 determining the historical residual resources in the resource pool of the target item, the historical time period can 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, and the specific implementation manner is as follows:
determining a history time period and dividing the history time period into at least two sub-history time periods;
determining sub-remaining resources of the resource pool of the target item in the at least two sub-history 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 the sub-history period refers to a period into which the history period is divided, it is understood that at least two sub-history periods constitute the history period, each of which 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.
In addition, each sub-history period may be different, and for example, in the case where the history period is 3 months, the history period may be divided into 2 sub-history periods, the 1 st sub-history period being 1 month, and the 2 nd sub-history period being 2 months.
Then, the sub remaining resources of the at least two sub history periods may be understood as a balance corresponding to each of the at least two sub history periods. For example, in the case where the history period is 3 months of 5 months to 7 months, the history period is divided into 3 sub-history periods, wherein 5 months, 6 months and 7 months are 1 sub-history period, respectively, the balance of 5 months is 50 ten thousand yuan, the balance of 6 months is 70 ten thousand yuan, and the balance of 7 months is 40 ten thousand yuan.
Based on the above, the historical time period can be determined based on the preset value, the historical time period is divided into at least two sub-historical time periods, sub-residual resources of the target item developed by the business party in each sub-historical time period are respectively determined, and according to the determined sub-residual resources of each sub-historical time period, residual resources of the resource pool of the target item in the historical time period can be determined.
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 item in each month 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 item is determined according to the sub-residual resources a, b and c.
In summary, by dividing the historical time period into at least two sub-historical time periods, determining the historical residual resources according to the sub-residual resources of each sub-historical time period in the at least two sub-historical time periods, the fluctuation condition of the resource pool in the historical time period can be better reflected, the historical fluctuation condition of the resource pool can be considered when the early warning threshold is determined later, and the effectiveness of early warning is further improved.
Further, in order to enable the historical residual resources to more accurately reflect the residual 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 the historical residual resources in the resource pool of the target item are determined according to the sub-residual resources of at least two sub-historical time periods, the historical residual resources can be determined by calculating the median of the sub-residual 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 target sub-residual resources at the middle position according to the sequencing result, and determining the target sub-residual resources as historical residual resources in a resource pool of the target item.
The ranking refers to ranking the sub-remaining resources of at least two sub-history time periods in order, and may be in order from large to small, or in order from small to large, which is not limited in this embodiment of the present disclosure. Taking the balance of 5 to 7 months as an example, the balance of 5 months is 50 ten thousand yuan, the balance of 6 months is 70 ten thousand yuan, the balance of 7 months is 40 ten thousand yuan, and the obtained sequencing results are 70, 50 and 40.
The target sub-residual resources in the middle position can be understood as the median of the sub-residual resources after sorting, and when there are 2 sub-residual resources in the middle position, the average value of the 2 sub-residual resources is taken as the target sub-residual resources.
Based on this, the sub-remaining resources corresponding to each of the at least two sub-history time periods may be ranked, and the median of the ranked sub-remaining resources may be used as the history remaining resources in the resource pool of the target item.
Along the above example, the sub-residual resources are a, b and c respectively, wherein a is greater than b and greater than c, the sub-residual resources a, b and c are arranged in the order from big to small, the obtained sequencing result is a, b and c, the target sub-residual resource at the middle position is b, and b is determined as the historical residual resource in the resource pool of the target item.
Or, in the case of dividing the history period into 4 sub-history periods, that is, the history period is 4 months, 4 months are divided into 4 sub-history periods, each sub-history period is 1 month, the sub-remaining resources x, y, m, n corresponding to each of the 4 sub-history periods are determined, where x is greater than y and greater than m is greater than n, the obtained sorting result is x, y, m, n, the sub-remaining resources at the intermediate position are y and m, the average value (y+m)/2 of the target sub-remaining resources at the intermediate position is y and m is determined, and (y+m)/2 is determined as the history remaining resources in the resource pool of the target item.
In summary, by dividing the historical time period into at least two sub-historical time periods and taking the median of the sub-residual resources corresponding to each sub-historical time period as the historical residual resources, the centralized trend of the residual resources of the resource pool of the target project in the historical time period can be reflected, the fluctuation hook closest to the early warning baseline and the resource pool is prevented from being unhooked with service operation, a data basis is provided for the subsequent calculation of the early warning threshold, further, the early warning threshold is related to the historical fluctuation condition of the resource pool, and the effectiveness of early warning is further improved.
Further, in order to enable the historical residual resources to more accurately reflect the residual 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 the historical residual resources in the resource pool of the target item are determined according to the sub-residual resources of at least two sub-historical time periods, the historical residual resources can be determined by calculating the average value of the sub-residual resources of at least two sub-historical time periods, and the specific implementation mode is as follows:
and calculating the average value of the sub-residual resources of the at least two sub-historical time periods to obtain average sub-residual resources, and determining the average sub-residual resources as the historical residual resources in the resource pool of the target item.
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, the average sub-residual resources are obtained, and the average sub-residual resources are used as the historical residual resources in the resource pool of the target item.
Along the above example, the sub-residual resources are a, b and c, and the average value is calculated as (a+b+c)/3, so as to obtain the average sub-residual resource (a+b+c)/3, where the average sub-residual resource is the historical residual resource in the resource pool of the target item.
In summary, by taking the average value of the sub-residual resources corresponding to each sub-historical time period as the historical residual resources, the sub-residual 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, and further the early warning threshold is associated with the historical fluctuation condition of the resource pool, so that the effectiveness of early warning is further improved.
Step 204: and determining a first resource threshold and a second resource threshold according to the historical residual resources.
Specifically, after determining the historical residual resources in the resource pool of the target item, in order to correlate the early warning threshold with the historical fluctuation condition of the residual resources in the resource pool, so as to improve the effectiveness of early warning, a first resource threshold and a second resource threshold for early warning can be determined according to the historical residual resources.
The first resource threshold and the second resource threshold can be both understood as early warning thresholds, the first resource threshold can be used for representing a threshold value of a current balance of the fund account, the second resource threshold can be used for representing a threshold value of a difference value between the current balance of the fund account at the current moment and an intermediate balance of the last moment, and the current moment and the last moment can be separated by a preset time.
Based on this, the first resource threshold and the second resource threshold may be determined from historical remaining resources in the resource pool of the target item.
Further, in order to determine the early warning threshold according to the historical condition of the resource pool, and also dynamically adjust the early warning threshold, when determining the first resource threshold and the second resource threshold according to the historical residual resources, the early warning threshold may be determined according to the historical residual resources and a preset value, and the specific implementation manner is as follows:
determining a first resource threshold 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 can be a value preset according to experience and can be adjusted; the second preset value may be an empirically preset value, which 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 for a threshold value representing the value of the current remaining resource of the resource pool, and the first resource threshold is used for a threshold value representing the difference between the current remaining resource and the 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, the first resource threshold may be determined according to the historical remaining resources and a first preset value preset according to experience, and the second resource threshold 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 is greater than the second resource threshold.
Along the above example, the determined historical remaining resources are b, the first preset value is set to 70%, the second preset value is set to 15%, the first resource threshold is determined to be 70% of b, and the second resource threshold is determined to be 15% of b.
In sum, the first resource threshold and the second resource threshold are respectively determined according to the historical residual 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 resources in the resource pool according to a preset time interval, and acquiring the middle residual resources of the resource pool in the last preset time interval.
Specifically, after determining the first resource threshold and the second resource threshold according to the historical residual resources of the resource pool in the historical time period, in order to realize real-time monitoring of the resource pool of the target item, the current residual resources in the resource pool and the middle residual resources of the resource pool in the last preset time interval can be obtained according to the preset time interval, so that early warning can be sent to the target item in time under the condition that the current residual 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 also changes with the lapse of time, and therefore, it may be necessary to determine the historical remaining resources of the resource pool in the historical time period before each time the current remaining resources in the resource pool are acquired according to the preset time interval, 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, etc. Then the current remaining resources in the resource pool are obtained according to the preset time interval, which can be understood as obtaining the balance in the funding account at preset time intervals, for example, the balance in the funding account can be obtained at intervals of 30 minutes.
The intermediate remaining resources of the last preset time interval refer to the balance of the funding account prior to the current time and spaced from the current time by the preset time interval. For example, in the case where the balance of the funding account is obtained every 30 minutes, the remaining resources in the middle are the balances 30 minutes before the current time.
Based on this, the current remaining resources in the resource pool may be obtained according to a 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 may be obtained.
Step 208: and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
Specifically, after the current residual resource and the intermediate residual resource are obtained, whether the first type resource adjustment information needs to be sent to the target item or not can be determined according to the current residual resource, the intermediate residual resource, the first resource threshold value and the second resource threshold value.
The first type of resource adjustment information refers to early warning information for representing a sudden drop of the remaining resources in the resource pool, the sudden drop can be understood as a significant drop of the remaining resources in a short time, referring to fig. 3, fig. 3 shows a schematic diagram of a fund account of a target item in the resource processing method provided in one embodiment of the present disclosure in a suddenly drop state, in fig. 3, a first balance threshold is calculated according to a median of historical balances, and when the account balance in the fund account reaches the first resource threshold, the remaining resources still drop continuously.
The first type of resource adjustment information may alert the target item to make adjustments to resources in the resource pool.
It should be noted that, in the case where the resources in the resource pool are always in the consumed state, the current remaining resources may be smaller than or equal to the intermediate remaining resources, and the difference between the current remaining resources and the intermediate remaining resources may be understood as the difference obtained by subtracting the value of the current remaining resources from the value of the intermediate remaining resources.
Based on the above, when the current residual resource is smaller than or equal to the first resource threshold and the difference value between the current residual resource and the intermediate residual resource is larger than or equal to the second resource threshold, it is indicated that the resource in the resource pool is in a suddenly descending state greatly descending in a short time, at this time, the first type resource adjustment information can be sent to the target item to remind the target item to recharge the resource pool, the current residual resource in the resource pool is adjusted, the residual resource in the resource pool can be distinguished from slow descending and suddenly descending, and early warning is not required to be sent under the condition of slow descending, so that the accuracy of early warning is ensured.
Further, after the first type resource adjustment information is sent to the target item, the first resource threshold and the second resource threshold may be adjusted according to a feedback result of the target item on 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, which can be understood as feedback information sent by the target item, and can also be understood as adjustment behavior of the target item after receiving the first type of resource adjustment information, for example, factors such as recharging times and recharging time after the target item receives the first type of resource adjustment information can be used as the first resource adjustment feedback result.
Based on the above, a first resource adjustment feedback result sent by the target item according to the first type resource adjustment information can be received, and the effectiveness of the current early warning is better when the first resource adjustment feedback result carries a positive feedback result, and the effectiveness of the current early warning is worse 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 resource adjustment information, it does not perform recharging operation on the fund pool, which means that the remaining resources in the fund pool do not need to be adjusted yet, and the received first resource adjustment feedback result carries a negative feedback result, according to the result, the first preset value can be reduced appropriately or the second preset value can be increased appropriately.
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 resource adjustment information, so that the dynamic adjustment of the first resource threshold or the second resource threshold is realized, and the effectiveness and the instantaneity of early warning are further improved.
Further, in order to ensure the comprehensiveness of the early warning, the residual resources in the resource pool can be monitored by setting the lowest early warning threshold, and under the condition that the current residual resources are lower than the lowest early warning threshold, the resource shortage early warning is directly sent to the target item, and the specific implementation mode is as follows:
determining a third resource threshold according to the historical residual resources and a third preset value;
and sending out second type resource adjustment information to the target item under the condition that the current residual resource is smaller than the third resource threshold value.
Wherein the third preset value refers to a value preset according to experience, and a proportion parameter, such as a percentage parameter, can be selected; the third resource threshold may be used to represent a threshold value of a lowest value of the current remaining resources in the resource pool; the second type of resource adjustment information can be understood as early warning information, and is used for reminding that the current residual resources in the target project resource pool are insufficient.
Based on this, a third resource threshold may be determined according to the historical remaining resources and a third preset value preset according to experience, and in the case that the current remaining resources are less than or equal to the third resource threshold, the second type resource adjustment information of the current remaining resources shortage is sent to the target item.
Fig. 4 is a schematic diagram of a fund account of a target item in the resource processing method provided in one embodiment of the present disclosure in a spam state, referring to fig. 4, a third resource threshold is calculated according to a median of historical balances, the account balance in the fund account of the target item continuously drops below the third resource threshold (i.e., the spam threshold), and at this time, the fund account is in a spam state, and the target item needs to be reminded to recharge the fund account. It can be appreciated that the spam threshold is a floor value to which the account balance of the funded account can drop, and the drop exceeds the floor value, indicating insufficient balance in the funded account.
Along the above example, the historical residual resources are b, the third preset value is 30%, the third resource threshold is determined to be 30% of b, and when the current residual resources in the resource pool are less than or equal to 30% of b, second type resource adjustment information is sent to the target item to remind that the residual resources in the resource pool of the target item are insufficient, and recharging is needed.
In sum, by determining the third resource threshold according to the historical residual resources and the third preset value and sending the second type resource adjustment information to the target item under the condition that the current residual resources are smaller than the third resource threshold, the bottom-approaching early warning of the resource pool is realized, namely, the early warning is realized when the current residual resources in the resource pool are smaller than the set minimum threshold, 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 item caused by insufficient resources in the resource pool is avoided. And the first type resource adjustment information and the second type resource adjustment information are set, so that the bottom-approaching early warning and the sudden drop early warning are distinguished, the response to the rapid emergency condition is realized, the target business party is not required to be frequently disturbed in the slow drop condition, and the importance degree of the balance early warning is kept.
Further, after sending the second type resource adjustment information to the target item, the third resource threshold may be adjusted according to the feedback result of the target item on 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 item 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, which can be understood as feedback information sent by the target item, and can also be understood as adjustment behavior of the target item after receiving the second type of resource adjustment information, for example, factors such as recharging times and recharging time after the target item receives the first type of resource adjustment information, which can be used as the second resource adjustment feedback result.
Based on the above, the second resource adjustment feedback result sent by the target item according to the second type resource adjustment information can be received, and the effectiveness of the current early warning is better when the second resource adjustment feedback result carries a positive feedback result, and the effectiveness of the current early warning is worse when the second resource adjustment feedback result carries a negative feedback result, and at the moment, the third resource threshold can be adjusted by adjusting a third preset value.
In practical application, after the target item receives the second type resource adjustment information, it does not perform recharging operation on the fund pool, which means that the remaining resources in the fund pool do not need to be adjusted yet, and the second resource adjustment feedback result received at this time carries a negative feedback result, and according to the result, the third preset value can be reduced appropriately.
In sum, the third preset value is adjusted according to the second resource adjustment feedback result sent by the target item for the second type resource adjustment information, so that the dynamic adjustment of the third resource threshold value is realized, and the effectiveness and the instantaneity of early warning are further improved.
Further, in order to further consider the historical fluctuation situation of the resource pool, when the business party carries out the target activity, the consumption resource of the target activity in the historical time is further considered, so as to judge whether the current residual resource in the resource pool can support the consumption resource, and avoid the problem that the historical situation of the target activity is ignored, and the specific implementation mode is as follows:
determining consumed resources of the target activities in historical time according to the target activities corresponding to the current time corresponding to the current residual resources;
and sending out third type resource adjustment information to the target item under the condition that the current residual resources are smaller than the consumed resources.
Wherein, the target activity refers to the business developed by the target business party at the current time, such as a sales promotion activity or a coupon issuing activity, etc.; the historical time can be understood as the historical year of developing the target activity, the historical month of developing the target activity, or the time period of developing the target activity; the consumed resources refer to resources consumed by the funding account of the target business party when the target activity is performed in a 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 insufficient to support the consumption resources 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 resources, the resources consumed by the target activity at the historical time are determined under the condition that the target activity is determined, and the third type of resource adjustment information is sent to the target item under the condition that the current residual resources of the resource pool are smaller than the consumed resources, so that the current residual resources of the target item resource pool are reminded to be insufficient to support the consumed resources of the target activity at the historical time, and the resources in the resource pool need 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 2020, 6, 5 days, the target activity corresponding to the current time is determined to be a promotion activity, the consumed resource of the promotion activity in 2019, 6, 5 days is determined to be q, and under the condition that p is smaller than q, an early warning is sent to the target item.
In sum, by determining the consumed resources of the target activity in the historical time and sending out the third type of resource adjustment information 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 residual resources of the resource pool are further monitored comprehensively by backtracking the historical condition of the target activity, and therefore the effectiveness and accuracy of early warning are improved. And for different conditions, different types of resource adjustment information are sent to the target item, so that the pertinence of early warning is improved.
In summary, an embodiment of the present disclosure provides a method for processing resources, determining historical remaining resources in a resource pool of a target item, where the historical remaining resources are remaining resources of the resource pool in a historical time period; determining a first resource threshold and a second resource threshold according to the historical residual resources; acquiring current residual resources in the resource pool and intermediate residual resources of the resource pool in the last preset time interval according to the preset time interval; and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
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 item are considered, so that the first resource threshold and the second resource threshold determined according to the historical residual resources can be related to the historical condition of the target item, and the effectiveness and the accuracy of the first resource threshold and the second resource threshold are increased; and the current residual resources and the intermediate residual resources are acquired according to the preset time interval, and the first type resource adjustment information is sent to the target item according to the difference value between the current residual resources and the first resource threshold value and the difference value between the current residual resources and the intermediate residual resources 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 item is further reduced, and the effectiveness of early warning is improved.
The resource processing method provided in the present specification is taken as an example of application of the preferential activity with reference to fig. 5, and the resource processing method is further described below. Fig. 5 shows a flowchart of an embodiment of the present disclosure, which is applied to a preferential activity, and specifically includes the following steps.
Step 502: a historical time period is determined and divided into at least two sub-historical time periods.
The service party conducts preferential activities on users of the shopping platform, specifically, the users shop for 300-200 yuan, the service party establishes a fund account for the preferential activities, the preferential amount of the users is paid out from the fund account, specifically, when the shopping total amount of the user A is 350 yuan, the actual payment amount of the user A is 150 yuan, and the preferential amount of 200 yuan is paid out from the fund account established by the service party.
The time to develop this preference is 5 months 1 day in 2020, the 3 months of the history period 2 months-4 months before 5 months 1 day are determined, and the 3 months are divided into 3 sub-history periods, each of which is 1 month, that is, the 3 sub-history periods are 2 months, 3 months, and 4 months, respectively.
Step 504: determining sub-remaining resources of the resource pool of the target item in the at least two sub-history periods.
The balance of the funding account in each sub-historical time period is determined, and the balance of the funding account in 2 months is 200 ten thousand yuan, the balance in 3 months is 100 ten thousand yuan, and the balance in 4 months is 80 ten thousand yuan.
Step 506: and sequencing the sub-residual resources of the at least two sub-historical time periods, determining target sub-residual resources at the middle position according to the sequencing result, and determining the target sub-residual resources as historical residual resources in a resource pool of the target item.
The method comprises the steps of calculating the median of balances of the fund account in 2 months, 3 months and 4 months, specifically, sorting the balances of the 3 months according to the order from big to small to obtain sorting results of '200, 100 and 80', wherein the target balance at the middle position is 100 ten thousand yuan, and the 100 ten thousand yuan is the historical residual resource, namely the historical balance.
Step 508: and determining a first resource threshold according to the historical residual resources and a first preset value.
The first preset value is determined to be 70% according to experience, and the first resource threshold is 70% of 100 ten thousand yuan, namely 70 ten thousand yuan.
Step 510: and determining a second resource threshold 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 is 15% of 100 ten thousand yuan, namely 15 ten thousand yuan.
Step 512: and determining a third resource threshold 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 are 30% of 100 ten thousand yuan, namely 30 ten thousand yuan.
Step 514: and acquiring the current residual resources in the resource pool according to a preset time interval, and acquiring the middle residual resources of the resource pool in the last preset time interval.
The current balance in the funded account is obtained every 30 minutes as A ten thousand yuan, and the middle balance before 30 minutes as B ten thousand yuan.
Step 516: and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
And under the condition that the A is less than or equal to 70 and the B-A is greater than or equal to 15, sending an early warning to the business party to remind the business party that the balance in the fund account is in ase:Sub>A suddenly-lowered state at the moment, and needing to supplement funds.
Step 518: and sending out second type resource adjustment information to the target item under the condition that the current residual resource is smaller than the third resource threshold value.
And under the condition that A is smaller than 30, sending an early warning to the business party to remind the business party that the balance in the fund account is insufficient at the moment, and supplementing funds is needed.
Step 520: and receiving a first resource adjustment feedback result sent by the target item according to the first type resource adjustment information, and receiving a second resource adjustment feedback result sent by the target item according to the second type resource adjustment information.
After the early warning is carried out on the business party, the business party does not supplement funds to the fund-taking account, and the balance in the current fund-taking account is fed back sufficiently, and the accuracy of the set first resource threshold, second resource threshold or third resource threshold is lower.
Step 522: and adjusting the first preset value, the second preset value or the third preset value according to the first resource adjustment feedback result and the second resource adjustment feedback result.
And according to the feedback result of the service party, the first preset value, the second preset value or the third preset value can be adjusted.
Step 524: and determining the consumed resources of the target activities in the historical time according to the target activities corresponding to the current time corresponding to the current residual resources.
According to the preferential activity corresponding to the current time of 5 months and 1 days in 2020, 80 ten thousand yuan of funds consumed when the preferential activity is carried out in one year (namely 2019) of the business party can be obtained.
Step 526: and sending out third type resource adjustment information to the target item under the condition that the current residual resources are smaller than the consumed resources.
Under the condition that the current balance A is smaller than 80, the balance of the current fund account is possibly insufficient to support the progress of the preferential activity, and an early warning is sent to a business party to remind the business party to supplement funds to the fund account.
In summary, by determining the remaining 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 item are considered, so that the first resource threshold, the second resource threshold and the third resource threshold determined according to the historical remaining resources can be related to the historical condition of the target item, 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 resources and the intermediate residual resources are acquired according to the preset time interval, and the first type resource adjustment information is sent to the target item according to the difference value between the current residual resources and the first resource threshold value and the difference value between the current residual resources and the intermediate residual resources 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 item is further reduced, and the effectiveness of early warning is improved. By carrying out early warning on the conditions of insufficient balances of various types, the comprehensiveness of early warning on a resource pool of a target project is improved.
Corresponding to the above method embodiments, the present disclosure further provides an embodiment of a resource processing device, and fig. 6 shows a schematic structural diagram of a resource processing device provided in one embodiment of the present disclosure. 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 item, wherein the historical remaining resource is a remaining resource of the resource pool over a historical period of time;
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 an intermediate remaining resource of the resource pool in a last preset time interval;
a sending module 608 is 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 the difference between the current remaining resource and the intermediate remaining resource is greater than or equal to the second resource threshold.
In an alternative 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 sub-remaining resources of the resource pool of the target item in the at least two sub-history 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 alternative 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 target sub-residual resources at the middle position according to the sequencing result, and determining the target sub-residual resources as historical residual resources in a resource pool of the target item.
In an alternative 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 average sub-residual resources, and determining the average sub-residual resources as the historical residual resources in the resource pool of the target item.
In an alternative embodiment, the second determining module 604 is further configured to:
determining a first resource threshold 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 alternative 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 alternative embodiment, the second determining module 604 is further configured to:
determining a third resource threshold according to the historical residual resources and a third preset value;
and sending out second type resource adjustment information to the target item under the condition that the current residual resource is smaller than the third resource threshold value.
In an alternative embodiment, the adjustment module is further configured to:
receiving a second resource adjustment feedback result sent by the target item according to the second type resource adjustment information;
and adjusting the third preset value according to the second resource adjustment feedback result.
In an alternative embodiment, the apparatus further comprises a third determination module configured to:
determining consumed resources of the target activities in historical time according to the target activities corresponding to the current time corresponding to the current residual resources;
And sending out third type resource adjustment information to the target item under the condition that the current residual resources are smaller than the consumed resources.
In summary, an embodiment of the present disclosure provides a resource processing device, configured to determine a historical remaining resource in a resource pool of a target item, where the historical remaining resource is a remaining resource of the resource pool in a historical time period; determining a first resource threshold and a second resource threshold according to the historical residual resources; acquiring current residual resources in the resource pool and intermediate residual resources of the resource pool in the last preset time interval according to the preset time interval; and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
The device considers the fluctuation condition of the resource pool in the historical time period and the running condition of the target item by determining the residual resources of the resource pool in the historical time period, so that the first resource threshold and the second resource threshold determined according to the historical residual resources can be related to the historical condition of the target item, and the effectiveness and the accuracy of the first resource threshold and the second resource threshold are increased; and the current residual resources and the intermediate residual resources are acquired according to the preset time interval, and the first type resource adjustment information is sent to the target item according to the difference value between the current residual resources and the first resource threshold value and the difference value between the current residual resources and the intermediate residual resources 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 item is further reduced, and the effectiveness of early warning is improved.
The above is a schematic scheme of a resource processing device of the present embodiment. It should be noted that, the technical solution of the resource processing device and the technical solution of the resource processing method belong to the same conception, and details of the technical solution of the resource processing device, which are not described in detail, 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 computing device 700 include, but are not limited to, memory 710 and 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. The access device 740 may include one or more of any type of network interface, wired or wireless (e.g., a Network Interface Card (NIC)), 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 illustrated in FIG. 7 is for exemplary purposes only and is not intended to limit 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, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smart phone), wearable computing device (e.g., smart watch, 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, perform the steps of the resource processing method described above.
The foregoing is a schematic illustration of a computing device of this 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 details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the resource processing method.
An embodiment of the present disclosure also provides 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.
The above is an exemplary version of a computer-readable storage medium of the present embodiment. It should be noted that, the technical solution of the storage medium and the technical solution of the resource processing method belong to the same concept, and details of the technical solution of the storage medium which are not described in detail can be referred to the description of the technical solution of the resource processing method.
An embodiment of the present disclosure further provides a computer program, where the computer program, when executed in a computer, causes the computer to perform the steps of the resource processing method described above.
The above is an exemplary version 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 conception, and details of the technical solution of the computer program, which are not described in detail, can be referred to the description of the technical solution of the resource processing method.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The computer instructions include computer program code that may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the embodiments are not limited by the order of actions described, as some steps may be performed in other order or simultaneously according to the embodiments of the present disclosure. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the embodiments described in the specification.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are merely used to help clarify the present specification. Alternative embodiments are not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the teaching of the embodiments. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. This specification is to be limited only by the claims and the full scope and equivalents thereof.

Claims (12)

1. A resource processing method, comprising:
determining historical residual resources in a resource pool of a target item, wherein the historical residual resources are residual resources of the resource pool in a historical time period, and the historical time period is any time period before the current moment;
determining a first resource threshold and a second resource threshold according to the historical residual resources;
Acquiring current residual resources in the resource pool and intermediate residual resources of the resource pool in the last preset time interval according to the preset time interval;
and 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 intermediate residual resource is greater than or equal to the second resource threshold value, sending first type resource adjustment information to the target item.
2. The method of claim 1, the determining historical remaining resources in a resource pool of a target item, comprising:
determining a history time period and dividing the history time period into at least two sub-history time periods;
determining sub-remaining resources of the resource pool of the target item in the at least two sub-history 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 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 target sub-residual resources at the middle position according to the sequencing result, and determining the target sub-residual resources as historical residual resources in a resource pool of the target item.
4. The method of claim 2, the determining historical remaining resources in the resource pool of the target item from sub-remaining resources of the at least two sub-historical time periods, comprising:
and calculating the average value of the sub-residual resources of the at least two sub-historical time periods to obtain average sub-residual resources, and determining the average sub-residual resources as the historical residual resources in the resource pool of the target item.
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 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, further comprising, after said issuing the first type of resource adjustment information to the target item:
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 according to the historical residual resources and a third preset value;
and sending out second type resource adjustment information to the target item under the condition that the current residual resource is smaller than the third resource threshold value.
8. The method of claim 7, further comprising, after the sending out the second type of resource adjustment information to the target item:
receiving a second resource adjustment feedback result sent by the target item 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 consumed resources of the target activities in historical time according to the target activities corresponding to the current time corresponding to the current residual resources;
and sending out third type resource adjustment information to the target item under the condition that the current residual resources are smaller than the consumed resources.
10. A resource processing apparatus, comprising:
a first determining module configured to determine a historical remaining resource in a resource pool of a target item, wherein the historical remaining resource is a remaining resource of the resource pool in a historical time period, and the historical time period is an arbitrary time period before a current time;
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 according to a preset time interval and the middle residual resources of the resource pool in the last preset time interval;
and the sending module is configured to send out first type resource adjustment information to the target item 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 intermediate residual resource is greater than or equal to the second resource threshold value.
11. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer executable instructions, the processor being configured to execute 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 which when executed by a processor implement 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 CN115331412A (en) 2022-11-11
CN115331412B true 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 (14)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11853921B2 (en) * 2019-06-24 2023-12-26 Block, 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

Patent Citations (14)

* 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
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
余额宝让碎银变整钞;妮子;;分忧(第03期);全文 *
基于第三方的电子支付服务平台系统设计;薛蕾;;电脑迷(第04期);全文 *
数据挖掘技术在电信集团客户管理系统中的应用;陈霖;宋燕辉;;电信快报;20080310(第03期);全文 *
智慧热网平台预付费充值方式分析;单菲菲;石栋良;陆挺;;现代信息科技;20200825(第16期);全文 *
薛蕾 ; .基于第三方的电子支付服务平台系统设计.电脑迷.2016,(第04期),全文. *

Also Published As

Publication number Publication date
CN115331412A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN107578294B (en) User behavior prediction method and device and electronic equipment
CN107465741B (en) Information pushing method and device
US20210224832A1 (en) Method and apparatus for predicting customer purchase intention, electronic device and medium
CN108074003B (en) Prediction information pushing method and device
CN112215448A (en) Method and device for distributing customer service
US20180240108A1 (en) Cognitive mobile wallet management
WO2020112150A1 (en) System and method for customizing information feed
CN111985857A (en) Auditing method and device
CN114255040A (en) Account recharging prompting method and device, electronic equipment and storage medium
KR20200051356A (en) Apparatus, method and recording medium storing command for recommending commercial product
CN115331412B (en) Resource processing method and device
CN110717745B (en) Service processing method and server
CN112150270A (en) Method, device, equipment and computer readable medium for monitoring vehicle information
CN108738117B (en) Method for optimizing power consumption of application program and terminal
CN108090785B (en) Method and device for determining user behavior decline tendency and electronic equipment
US20210158253A1 (en) System for executing automatic resource transfers using predictive electronic data analysis
CN112118546A (en) Message pushing method, message pushing device, computer equipment and medium
CN110020728B (en) Service model reinforcement learning method and device
US11494710B1 (en) Optimization constraint adaptation for long-term target achievement
CN110060020B (en) Project cost prediction method and device
US20170330235A1 (en) Customer management system for determining aggregate customer value
CN110782167A (en) Method and device for managing receiving and dispatching area and storage medium
CN112035324A (en) Batch job execution condition monitoring method and device
TWM564215U (en) A system for establishing liquidity risk assessment form
CN110688584A (en) User matching method, electronic equipment and computer program 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