CN112348557A - Special resource consumption determination method and device and electronic equipment - Google Patents

Special resource consumption determination method and device and electronic equipment Download PDF

Info

Publication number
CN112348557A
CN112348557A CN202011037059.XA CN202011037059A CN112348557A CN 112348557 A CN112348557 A CN 112348557A CN 202011037059 A CN202011037059 A CN 202011037059A CN 112348557 A CN112348557 A CN 112348557A
Authority
CN
China
Prior art keywords
special
resource
shared
certificate
stage
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.)
Pending
Application number
CN202011037059.XA
Other languages
Chinese (zh)
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.)
Beijing Qiyu Information Technology Co Ltd
Original Assignee
Beijing Qiyu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qiyu Information Technology Co Ltd filed Critical Beijing Qiyu Information Technology Co Ltd
Priority to CN202011037059.XA priority Critical patent/CN112348557A/en
Publication of CN112348557A publication Critical patent/CN112348557A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0235Discounts or incentives, e.g. coupons or rebates constrained by time limit or expiration date
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for determining special shared resource consumption and electronic equipment, wherein the method comprises the following steps: acquiring the data of the resource request special shared certificate; converting the special shared certificate use data into special shared certificate resource consumption data; and determining the T-day specially-shared resource consumption according to the specially-shared voucher resource consumption data. By the method and the device, the use data of the special shared volume selected in the user resource request can be shared to each resource returning day according to the actual use condition of the special shared voucher to obtain the resource consumption data of the special shared voucher actually used by the user, so that the resource consumption of the special shared voucher on the day is determined according to the resource consumption data of the special shared voucher on the day, the problem that the resource consumption of the special shared voucher is determined inaccurately by directly adopting the use resource amount in the user resource request is avoided, and the accuracy of determining the resource consumption is improved.

Description

Special resource consumption determination method and device and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for determining consumption of special shared resources, electronic equipment and a computer readable medium.
Background
In the field of internet finance, in order to encourage a user to request resources, it is common to send resource request-specific credentials to the user. When the user applies for the resource request, the user chooses to use the resource request-specific certificate, and then the user can enjoy the resource exemption of the resource request-specific certificate when the resource is returned.
Unlike common commodity special certificate, the resource request special certificate has a long time interval between the use of the special certificate and the actual generation of the special certificate (the specific time interval is determined according to the number of resource return periods selected by the user and is from short 3 th to long 36 th), so that the time span problem exists in the resource consumption settlement of the special certificate. Generally, the calculation of the marketing resource consumption should be that when the marketing campaign occurs, the marketing resource consumption should be generated and counted, so as to effectively reflect the Return On Investment (ROI) of the marketing campaign at that time. Therefore, in counting the specific shared credential resource consumption, the resource consumption resource amount should be taken as "the amount of resource used by the user at the time of the resource request" on the day, which is the most direct motivation for the user, rather than as "the amount of deductive resource actually occurred" on the day. However, when the 'amount of resources used by the user in the resource request' is taken, the special-shared certificate usage rule is violated due to the fact that some users return resources in advance, are overdue, and the like, so that actual deduction cannot occur subsequently, and the 'amount of resources used by the user in the resource request' is high, and the problem that resource consumption generated by the special-shared certificate is inaccurate is caused.
Disclosure of Invention
The invention aims to solve the technical problem that the resource consumption of the special shared certificate is inaccurate by directly adopting the used resource amount when a user resource request is generated under the condition that the time interval is generated between the use of the special shared certificate and the actual production of the special shared certificate.
In order to solve the above technical problem, a first aspect of the present invention provides a method for determining consumption of an exclusive resource, where the method includes:
acquiring the data of the resource request special shared certificate;
converting the special shared certificate use data into special shared certificate resource consumption data;
and determining the T-day specially-shared resource consumption according to the specially-shared voucher resource consumption data.
According to a preferred embodiment of the present invention, the converting the specific shared certificate usage data into specific shared certificate resource consumption data includes:
acquiring the stage type of the special shared certificate, and recording as an i-stage special shared certificate;
converting the use data of the i-stage special shared voucher into an estimated use resource amount, an actual deduction resource amount and a non-deduction resource amount of the i-stage special shared voucher according to the actual use condition of the i-stage special shared voucher;
wherein i is a natural number;
the estimated resource usage amount refers to the resource amount of the special certificate selected by the user to use when applying for the resource request on the day;
the actual deduction resource amount refers to the resource amount of the shared certificate deduction resource actually occurring on the same day;
the non-withholding resource amount refers to the withholding resource amount of the special shared voucher which should occur but has failed in withholding on the current day.
According to a preferred embodiment of the present invention, the actual withholding resource amount and the non-withholding resource amount of the i-stage special certificate are determined according to whether the i-stage special certificate withholds successfully on the current day.
According to a preferred embodiment of the present invention, the amount of non-withheld resources fails to be withheld due to the user returning resources in advance or due to the user returning resources overdue.
According to a preferred embodiment of the present invention, the determining the T-day special resource consumption according to the special certificate resource consumption data includes:
determining the actual deduction rate beta of the special certificate in the stage i in a preset time period before T days according to the resource consumption data of the special certificate in the stage iiT
According to the predicted used resource amount of the special shared certificate in the stage i and the actual deduction rate beta of the special shared certificate in the stage iiTDetermining special shared resource consumption of the special shared voucher in the phase i of the day T;
and determining the special shared resource consumption of the special shared voucher according to the special shared resource consumption of all the I-stage special shared vouchers in the T day.
According to a preferred embodiment of the present invention, the actual withholding rate β of the phase-i specific shared certificateiTComprises the following steps:
βiTactual withholding amount of resources of the special shared certificate in the stage i/predicted used amount of resources of the special shared certificate in the stage i.
In order to solve the above technical problem, a second aspect of the present invention provides an apparatus for determining consumption of an exclusive resource, the apparatus comprising:
the first acquisition module is used for acquiring the resource request special shared certificate use data;
the conversion module is used for converting the special shared certificate use data into special shared certificate resource consumption data;
and the determining module is used for determining the T-day special shared resource consumption according to the special shared voucher resource consumption data.
According to a preferred embodiment of the invention, the conversion module comprises:
the sub-acquisition module is used for acquiring the stage type of the special shared certificate and recording the stage type as an i-stage special shared certificate;
the sub-conversion module is used for converting the use data of the i-stage special certificate into the predicted use resource amount, the actual deduction resource amount and the non-deduction resource amount of the i-stage special certificate according to the actual use condition of the i-stage special certificate;
wherein i is a natural number;
the estimated resource usage amount refers to the resource amount of the special certificate selected by the user to use when applying for the resource request on the day;
the actual deduction resource amount refers to the resource amount of the shared certificate deduction resource actually occurring on the same day;
the non-withholding resource amount refers to the withholding resource amount of the special shared voucher which should occur but has failed in withholding on the current day.
According to a preferred embodiment of the present invention, the sub-conversion module determines the actual withholding resource amount and the non-withholding resource amount of the i-stage special certificate according to whether the i-stage special certificate is successfully withheld on the current day.
According to a preferred embodiment of the present invention, the amount of non-withheld resources fails to be withheld due to the user returning resources in advance or due to the user returning resources overdue.
According to a preferred embodiment of the present invention, the determining module comprises:
a first determining module, configured to determine, according to the i-stage-specific shared credential resource consumption data, a distance before day TThe actual deduction rate beta of the special shared certificate in the stage i in the preset time periodiT
A second determining module, configured to determine an actual deduction rate β of the i-stage specific shared certificate according to an expected amount of resources used by the i-stage specific shared certificateiTDetermining special shared resource consumption of the special shared voucher in the phase i of the day T;
and the sub-determination module is used for determining the special shared resource consumption of the special shared certificates in the i-stage according to the special shared resource consumption of all the I-stage special shared certificates in the T-day.
According to a preferred embodiment of the present invention, the actual withholding rate β of the phase-i specific shared certificateiTComprises the following steps:
βiTactual withholding amount of resources of the special shared certificate in the stage i/predicted used amount of resources of the special shared certificate in the stage i.
To solve the above technical problem, a third aspect of the present invention provides an electronic device, comprising:
a processor; and
a memory storing computer executable instructions that, when executed, cause the processor to perform the method described above.
In order to solve the above technical problem, a fourth aspect of the present invention proposes a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs that, when executed by a processor, implement the above method.
The method comprises the steps of acquiring the data of the special shared certificate of the resource request; converting the special shared voucher usage data into special shared voucher resource consumption data which can calculate marketing resource consumption in real time; and determining the T-day specially-shared resource consumption according to the specially-shared voucher resource consumption data. By the method and the device, the use data of the special shared volume selected in the user resource request can be shared to each resource returning day according to the actual use condition of the special shared voucher to obtain the resource consumption data of the special shared voucher actually used by the user, so that the resource consumption of the special shared voucher on the day is determined according to the resource consumption data of the special shared voucher on the day, the problem that the resource consumption of the special shared voucher is determined inaccurately by directly adopting the use resource amount in the user resource request is avoided, and the accuracy of determining the resource consumption is improved.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects obtained more clear, the following will describe in detail the embodiments of the present invention with reference to the accompanying drawings. It should be noted, however, that the drawings described below are only illustrations of exemplary embodiments of the invention, from which other embodiments can be derived by those skilled in the art without inventive step.
FIG. 1 is a flow chart illustrating a method for determining consumption of an exclusive resource according to the present invention;
FIG. 2 is a schematic illustration of the resource request specific credential usage data of the present invention;
FIG. 3 is a diagram of the T-day credential resource consumption data of the present invention;
FIG. 4 is a block diagram of an architecture of an apparatus for determining consumption of special resources according to the present invention;
FIG. 5 is a block diagram of an exemplary embodiment of an electronic device in accordance with the present invention;
FIG. 6 is a diagrammatic representation of one embodiment of a computer-readable medium of the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention may be embodied in many specific forms, and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art.
The structures, properties, effects or other characteristics described in a certain embodiment may be combined in any suitable manner in one or more other embodiments, while still complying with the technical idea of the invention.
In describing particular embodiments, specific details of structures, properties, effects, or other features are set forth in order to provide a thorough understanding of the embodiments by one skilled in the art. However, it is not excluded that a person skilled in the art may implement the invention in a specific case without the above-described structures, performances, effects or other features.
The flow chart in the drawings is only an exemplary flow demonstration, and does not represent that all the contents, operations and steps in the flow chart are necessarily included in the scheme of the invention, nor does it represent that the execution is necessarily performed in the order shown in the drawings. For example, some operations/steps in the flowcharts may be divided, some operations/steps may be combined or partially combined, and the like, and the execution order shown in the flowcharts may be changed according to actual situations without departing from the gist of the present invention.
The block diagrams in the figures generally represent functional entities and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and/or processor methods and/or microcontroller methods.
The same reference numerals denote the same or similar elements, components, or parts throughout the drawings, and thus, a repetitive description thereof may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these elements, components, or sections should not be limited by these terms. That is, these phrases are used only to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention. Furthermore, the term "and/or", "and/or" is intended to include all combinations of any one or more of the listed items.
As used herein, resource refers to any substance, time, or information that may be utilized, and information resources include various types of data, including computing resources and data. Resource consumption refers to the amount of material, time, or information consumed or used. Specially-shared certificates and the like in the financial field belong to a resource of the invention. The special resource consumption in the present invention refers to resource consumption in the case where the user uses a special credential.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for determining consumption of an exclusive resource according to the present invention, as shown in fig. 1, the method includes:
s1, acquiring the special shared certificate use data of the resource request;
the special certificate use data comprises the resource amount of the special certificate selected by the user on the day of the resource request, the stage type of using the special certificate and whether the special certificate on the day is successfully withheld. If the user does not return the resources in advance or the resources are overdue, the special certificate on the day is successfully withheld; if the user in the same day has advanced resource return or overdue resource return, the special certificate on the same day fails to be withheld. Fig. 2 is an example of the T-day-specific shared voucher usage data, which includes: the user A requests to select the special certificate a, the classification type of the resource return in the 6 th stage in the T-3 th day, and the special certificate a in the T day is successfully deducted, the user A requests to select the special certificate B and the classification type of the resource return in the 12 th stage in the T-3 th day, and the special certificate B in the T day is successfully deducted, the user A requests to select the special certificate c and the classification type of the resource return in the 9 th stage in the T-1 th day, and the special certificate c in the T day is successfully deducted, and the user B requests to select the special certificate d, the classification type of the resource return in the 3 rd stage in the T-40 th day, and the classification of the special certificate d in the T day is failed.
In the invention, the server can acquire the special shared certificate use data of the system in real time and store the special shared certificate use data into the database, and when the T-day special shared resource consumption is determined, the client needs to acquire the T-day special shared certificate use data from the database of the server.
S2, converting the special shared certificate use data into special shared certificate resource consumption data;
in the invention, the special shared volume use data selected when the user resource requests is distributed to each resource return date according to the actual use condition of the special shared certificate, so as to obtain the resource consumption data of the special shared certificate actually used by the user. Illustratively, this step includes:
s21, acquiring the stage type of the special shared certificate, and recording as the special shared certificate in the stage i;
wherein i is a natural number;
the stage type of the special certificate, namely the stage type using the special certificate, refers to the resource return stage type selected on the current day of the user resource request. If the user a selects the stage type of returning the stage 6 resource for the first time in the T-3 day in fig. 2, the special shared certificate a is the stage 6 special shared certificate.
S22, converting the use data of the i-stage special certificate into the predicted use resource amount, the actual deduction resource amount and the non-deduction resource amount of the i-stage special certificate according to the actual use condition of the i-stage special certificate;
in the invention, the actual use condition of the special certificate in the i-stage can be determined according to whether the special certificate on the day in the special certificate use data is successfully deducted. If the deduction of the special shared certificate on the same day is successful, the fact that the deduction actually occurs on the same day of the special shared certificate in the stage i is indicated, and if the deduction of the special shared certificate on the same day fails, the fact that the deduction does not occur on the single day of the special shared certificate in the stage i is indicated.
The estimated used resource amount refers to the resource amount of the special certificate selected to be used by the user on the day when applying for the resource request; namely amount of specially-shared voucher resources/days in stages; the actual deduction resource amount refers to the resource amount of the shared certificate deduction resource actually occurring on the same day; the non-withholding resource amount refers to the withholding resource amount of the special shared voucher which should occur but has failed in withholding on the current day. The actual withholding resource amount and the non-withholding resource amount of the i-stage special certificate are determined according to whether the i-stage special certificate is successfully withheld on the current day, if the i-stage special certificate is successfully withheld, the actual withholding resource amount is the special certificate resource amount/days per minute, and if the i-stage special certificate is unsuccessfully withheld, the withholding failure resource amount is the special certificate resource amount/days per minute. And the non-withholding resource amount fails to withhold due to the return of the user advanced resources or the return of overdue resources.
As shown in fig. 2, on day T, if the withholding of the stage-3 special certificate d fails, the expected used resource amount and the non-withheld resource amount of the stage-3 special certificate d are the resource amount of the special certificate d divided by the days in the stage and the actual used resource amount of the stage-3 special certificate d are 0. If the deduction of the special certificate a in the 6 th period is successful, the estimated used resource amount and the actual used resource amount of the special certificate a in the 6 th period are the resource amount of the special certificate a divided by the days in the 6 th period and the non-deduction resource amount of the special certificate a in the 6 th period is 0. If the deduction of the special certificate c in the 9 th period is successful, the estimated used resource amount and the actual used resource amount of the special certificate c in the 9 th period are the resource amount of the special certificate c divided by the number of days in the 9 th period and the non-deducted resource amount of the special certificate c in the 9 th period are 0. If the deduction of the special certificate b in the 12 th period is successful, the estimated used resource amount and the actual used resource amount of the special certificate b in the 12 th period are the resource amount of the special certificate b divided by the number of days in the 12 th period and the non-deduction resource amount of the special certificate b in the 12 th period is 0.
And S3, determining the T-day specially-shared resource consumption according to the specially-shared voucher resource consumption data.
In the invention, the actual deduction rate of the special shared voucher in a long time after T days can be determined according to the resource consumption data of the special shared voucher, and the special shared resource consumption of T days is determined according to the time deduction rate of the special shared voucher in a long time after T days.
Illustratively, this step includes:
s31, determining the actual deduction rate beta of the special certificate in the stage I in the preset time period before the T day according to the resource consumption data of the special certificate in the stage IiT
Wherein, the preset time period can be set according to actual needs, in order to ensure the calculated actual deduction rate betaiTMore practically, the preset time period should cover a longer time period, such as a time period within three years before T day.
For example, as shown in fig. 3, the T day includes resource consumption data of the special certificate of the stage 3, the special certificate of the stage 6, the special certificate of the stage 9, the special certificate of the stage 12, the special certificate of the stage 24 and the special certificate of the stage 36, then in this step, the resource consumption data of each special certificate of the stage is calculated according to the resource consumption data of the special certificateActual deduction resource amount and predicted deduction resource amount in three years before T day, and calculating actual deduction rate beta of each stage special certificate according to actual deduction resource amount and predicted deduction resource amount of each stage special certificate in three years before T dayiT
Wherein the actual deduction rate beta of the special shared certificate in the stage iiTComprises the following steps:
βiTactual withholding amount of resources of the special shared certificate in the stage i/predicted used amount of resources of the special shared certificate in the stage i.
S32, according to the predicted used resource amount of the special shared certificate in the stage I and the actual deduction rate beta of the special shared certificate in the stage IiTDetermining special shared resource consumption of the special shared voucher in the phase i of the day T;
the predicted used resource amount of the special shared certificate in the i stage on the T day is set as miTAnd if the special shared resources of the special shared certificate in the phase i of the day T are consumed as follows: beta is aiTmiT
And S33, determining the special shared resource consumption of the special shared certificates in all the i-th stages of the T day according to the special shared resource consumption of the special shared certificates in all the i-th stages of the T day.
The specific resource consumption on T day is as follows:
Figure BDA0002704194790000091
further, after step S3, the T-day special shared resource consumption may be sent to the server in real time, and the server optimizes the issue policy of the special shared certificate according to the T-day special shared resource consumption sent in real time, so as to reduce the special shared resource consumption.
Fig. 4 is a schematic structural framework diagram of an apparatus for determining consumption of an exclusive resource according to the present invention, the apparatus including:
a first obtaining module 41, configured to obtain resource request specific credential usage data;
a conversion module 42, configured to convert the special share voucher usage data into special share voucher resource consumption data;
and the determining module 43 is configured to determine the T-day extra-shared resource consumption according to the extra-shared credential resource consumption data.
In one embodiment, the conversion module 42 includes:
the sub-obtaining module 421 is configured to obtain an installment type of the special shared certificate, and record the installment type as an i-period special shared certificate;
a sub-conversion module 422, configured to convert, according to an actual usage situation of the i-stage special certificate, the i-stage special certificate usage data into an expected usage resource amount, an actual deduction resource amount, and an uncapped resource amount of the i-stage special certificate;
wherein i is a natural number;
the estimated resource usage amount refers to the resource amount of the special certificate selected by the user to use when applying for the resource request on the day;
the actual deduction resource amount refers to the resource amount of the shared certificate deduction resource actually occurring on the same day;
the non-withholding resource amount refers to the withholding resource amount of the special shared voucher which should occur but has failed in withholding on the current day.
Further, the sub-conversion module 422 determines the actual withholding resource amount and the non-withholding resource amount of the i-stage special-shared certificate according to whether the i-stage special-shared certificate is successfully withheld on the current day. And the non-withholding resource amount fails to withhold due to the return of the user advanced resources or the return of overdue resources.
The determining module 43 includes:
a first determining module 431, configured to determine, according to the resource consumption data of the i-stage special-shared voucher, an actual deduction rate β of the i-stage special-shared voucher within a preset time period before T daysiT(ii) a The actual deduction rate beta of the special shared certificate in the stage iiTComprises the following steps:
βiTactual withholding amount of resources of the special shared certificate in the stage i/predicted used amount of resources of the special shared certificate in the stage i.
A second determining module 432, configured to determine the actual deduction rate β of the i-stage special shared certificate according to the expected used resource amount of the i-stage special shared certificateiTDetermining special shared resource consumption of the special shared voucher in the phase i of the day T;
and a sub-determining module 433, configured to determine the specific resource consumption of the specific shared certificate according to the specific resource consumption of all i-stage specific shared certificates for T day.
In the following, embodiments of the electronic device of the invention are described, which may be seen as an implementation in physical form for the above-described method and method embodiments of the invention. Details described in the embodiments of the electronic device of the invention should be regarded as supplementary to the method or method embodiments described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described method or method embodiments.
Fig. 5 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the electronic device 500 of the exemplary embodiment is represented in the form of a general-purpose data processing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one memory unit 520, a bus 530 connecting different electronic device components (including the memory unit 520 and the processing unit 510), a display unit 540, and the like.
The storage unit 520 stores a computer readable program, which may be a code of a source program or a read-only program. The program may be executed by the processing unit 510 such that the processing unit 510 performs the steps of various embodiments of the present invention. For example, the processing unit 510 may perform the steps as shown in fig. 1.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203. The memory unit 520 may also include a program/utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including, but not limited to: operating the electronic device, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 530 may be one or more of any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 300 (e.g., keyboard, display, network device, bluetooth device, etc.), enable a user to interact with the electronic device 500 via the external devices 500, and/or enable the electronic device 500 to communicate with one or more other data processing devices (e.g., router, modem, etc.). Such communication can occur via input/output (I/O) interfaces 550, and can also occur via network adapter 560 to one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet. The network adapter 560 may communicate with other modules of the electronic device 500 via the bus 530. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID electronics, tape drives, and data backup storage electronics, among others.
FIG. 6 is a schematic diagram of one computer-readable medium embodiment of the present invention. As shown in fig. 6, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic device, method, or apparatus that is electronic, magnetic, optical, electromagnetic, infrared, or semiconductor, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. The computer program, when executed by one or more data processing devices, enables the computer-readable medium to implement the above-described method of the invention, namely: acquiring the data of the resource request special shared certificate; converting the special shared certificate use data into special shared certificate resource consumption data; and determining the T-day specially-shared resource consumption according to the specially-shared voucher resource consumption data.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a data processing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution electronic device, method, or apparatus. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object oriented programming languages such as Java, C + + or the like and conventional procedural programming languages, such as "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention can be implemented as a method, an electronic device, or a computer-readable medium that executes a computer program. Some or all of the functions of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP).
While the foregoing embodiments have described the objects, solutions and benefits of the present invention in further detail, it should be appreciated that the present invention is not inherently related to any particular computer, virtual method or electronic device, and that various general-purpose methods may implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.

Claims (9)

1. A method for determining consumption of an ad-hoc resource, the method comprising:
acquiring the data of the resource request special shared certificate;
converting the special shared certificate use data into special shared certificate resource consumption data;
and determining the T-day specially-shared resource consumption according to the specially-shared voucher resource consumption data.
2. The method of claim 1, wherein converting the shared-secret credential usage data into shared-secret credential resource consumption data comprises:
acquiring the stage type of the special shared certificate, and recording as an i-stage special shared certificate;
converting the use data of the i-stage special shared voucher into an estimated use resource amount, an actual deduction resource amount and a non-deduction resource amount of the i-stage special shared voucher according to the actual use condition of the i-stage special shared voucher;
wherein i is a natural number;
the estimated resource usage amount refers to the resource amount of the special certificate selected by the user to use when applying for the resource request on the day;
the actual deduction resource amount refers to the resource amount of the shared certificate deduction resource actually occurring on the same day;
the non-withholding resource amount refers to the withholding resource amount of the special shared voucher which should occur but has failed in withholding on the current day.
3. The method according to any one of claims 1-2, wherein the actual withholding resource amount and the non-withholding resource amount of the stage i-specific shared certificate are determined according to whether the stage i-specific shared certificate withholds successfully on the current day.
4. The method according to any one of claims 1-3, wherein the amount of non-withheld resources fails to withhold due to a user returning resources ahead of time or due to a user returning resources past due.
5. The method according to any of claims 1-4, wherein the determining Tday-specific resource consumption from the specific-shared-credential-resource-consumption data comprises:
determining the actual deduction rate beta of the special certificate in the stage i in a preset time period before T days according to the resource consumption data of the special certificate in the stage iiT
According to the predicted used resource amount of the special shared certificate in the stage i and the actual deduction rate beta of the special shared certificate in the stage iiTDetermining special shared resource consumption of the special shared voucher in the phase i of the day T;
and determining the special shared resource consumption of the special shared voucher according to the special shared resource consumption of all the I-stage special shared vouchers in the T day.
6. According to the rightThe method of any of claims 1-5, wherein the actual withholding rate β for the phase i specialized credentialsiTComprises the following steps:
βiTactual withholding amount of resources of the special shared certificate in the stage i/predicted used amount of resources of the special shared certificate in the stage i.
7. An apparatus for determining consumption of an exclusive resource, the apparatus comprising:
the first acquisition module is used for acquiring the resource request special shared certificate use data;
the conversion module is used for converting the special shared certificate use data into special shared certificate resource consumption data;
and the determining module is used for determining the T-day special shared resource consumption according to the special shared voucher resource consumption data.
8. An electronic device, comprising:
a processor; and
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-6.
9. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-6.
CN202011037059.XA 2020-09-27 2020-09-27 Special resource consumption determination method and device and electronic equipment Pending CN112348557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011037059.XA CN112348557A (en) 2020-09-27 2020-09-27 Special resource consumption determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011037059.XA CN112348557A (en) 2020-09-27 2020-09-27 Special resource consumption determination method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112348557A true CN112348557A (en) 2021-02-09

Family

ID=74361163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011037059.XA Pending CN112348557A (en) 2020-09-27 2020-09-27 Special resource consumption determination method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112348557A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105027105A (en) * 2013-04-30 2015-11-04 惠普发展公司,有限责任合伙企业 Resource authorization quantities
CN110347496A (en) * 2019-05-24 2019-10-18 深圳壹账通智能科技有限公司 Resource handles dispatching method, device, computer equipment and storage medium
CN110874797A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Resource allocation method and resource allocation device
CN111178692A (en) * 2019-12-12 2020-05-19 上海淇玥信息技术有限公司 Resource usage amount estimation method and device and electronic equipment
CN111612505A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Resource returning request processing method and device and electronic equipment
CN111612506A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Financial resource deduction method and device and electronic equipment
CN112348227A (en) * 2020-09-27 2021-02-09 北京淇瑀信息科技有限公司 Resource cost determination method and device and electronic equipment
CN114493555A (en) * 2020-10-26 2022-05-13 腾讯科技(深圳)有限公司 Resource processing method, resource processing device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105027105A (en) * 2013-04-30 2015-11-04 惠普发展公司,有限责任合伙企业 Resource authorization quantities
CN110874797A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Resource allocation method and resource allocation device
CN110347496A (en) * 2019-05-24 2019-10-18 深圳壹账通智能科技有限公司 Resource handles dispatching method, device, computer equipment and storage medium
CN111178692A (en) * 2019-12-12 2020-05-19 上海淇玥信息技术有限公司 Resource usage amount estimation method and device and electronic equipment
CN111612505A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Resource returning request processing method and device and electronic equipment
CN111612506A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Financial resource deduction method and device and electronic equipment
CN112348227A (en) * 2020-09-27 2021-02-09 北京淇瑀信息科技有限公司 Resource cost determination method and device and electronic equipment
CN114493555A (en) * 2020-10-26 2022-05-13 腾讯科技(深圳)有限公司 Resource processing method, resource processing device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CA3033859C (en) Method and system for automatically extracting relevant tax terms from forms and instructions
US20180232444A1 (en) Web api recommendations
CN108921552B (en) Evidence verification method and device
CN111125266B (en) Data processing method, device, equipment and storage medium
CN109408834B (en) Auxiliary machine translation method, device, equipment and storage medium
CN111598494A (en) Resource limit adjusting method and device and electronic equipment
CN110955640A (en) Cross-system data file processing method, device, server and storage medium
CN111144926A (en) Service request processing method, device, system, electronic equipment and readable medium
CN110782310B (en) Method, device and system for asynchronously acquiring user attribute information from third-party platform
CN112348557A (en) Special resource consumption determination method and device and electronic equipment
CN111046085A (en) Data source tracing processing method and device, medium and equipment
CN110555732A (en) Marketing strategy pushing method and device and marketing strategy operation platform
WO2022111112A1 (en) Automatically adjusting data access policies in data analytics
CN113792039B (en) Data processing method and device, electronic equipment and storage medium
CN113592263A (en) Resource return increment prediction method and device based on dynamic resource return increase ratio
CN112950003A (en) User resource quota adjusting method and device and electronic equipment
CN111401889B (en) Credit data processing method, device, equipment and medium based on block chain
CN111625572B (en) Method and system for executing machine learning under data privacy protection
CN113094414A (en) Circulation map generation method and device
CN112767013A (en) Business report splitting method, device, server and storage medium
CN111080379A (en) Financial data processing method and device based on block chain
CN111612505A (en) Resource returning request processing method and device and electronic equipment
CN111079991A (en) Service index prediction method, device, equipment and storage medium
CN111857935B (en) Text generation method and device
CN112015975B (en) Information pushing method and device for financial users based on Newton's law of cooling

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